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 5dbf42a273..1de15c3fd8 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 @@ -19780,7 +19780,7 @@ "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", - "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "description": "List artifact storage records with a given subject digest for repositories owned by an organization.\n\nResults are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.", "tags": [ "orgs" ], @@ -26007,93 +26007,6 @@ } } }, - "/orgs/{org}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an organization", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" - }, - "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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics-day" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/usage_metrics_api_disabled" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" - } - } - }, "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { "summary": "Get Copilot organization usage metrics for a specific day", @@ -37573,96 +37486,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for a team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\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** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics-day" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/usage_metrics_api_disabled" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -38708,7 +38531,7 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], @@ -55066,7 +54889,7 @@ }, "assignees": { "type": "array", - "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.\nTo assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`).", "items": { "type": "string" } @@ -61035,6 +60858,181 @@ } } }, + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { + "get": { + "summary": "Get pull request creation cap bypass list for a repository", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-bypass-list-items" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "put": { + "summary": "Add users to the pull request creation cap bypass list for a repository", + "description": "Adds users to the pull request creation cap bypass list for a repository.\nUsers on this list can create pull requests regardless of any configured\npull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.", + "tags": [ + "interactions" + ], + "operationId": "interactions/set-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat", + "monalisa" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Remove users from the pull request creation cap bypass list for a repository", + "description": "Removes users from the pull request creation cap bypass list for a repository.\nRemoved users will be subject to any configured pull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can remove a maximum of 100 users per request.", + "tags": [ + "interactions" + ], + "operationId": "interactions/remove-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/invitations": { "get": { "summary": "List repository invitations", @@ -127654,334 +127652,6 @@ } } }, - "copilot-ide-code-completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot-ide-chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot-dotcom-chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot-dotcom-pull-requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - }, - "copilot-usage-metrics-day": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "$ref": "#/components/schemas/copilot-ide-code-completions" - }, - "copilot_ide_chat": { - "$ref": "#/components/schemas/copilot-ide-chat" - }, - "copilot_dotcom_chat": { - "$ref": "#/components/schemas/copilot-dotcom-chat" - }, - "copilot_dotcom_pull_requests": { - "$ref": "#/components/schemas/copilot-dotcom-pull-requests" - } - }, - "required": [ - "date" - ], - "additionalProperties": true - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -137132,9 +136802,6 @@ "integration_manifest": { "$ref": "#/components/schemas/rate-limit" }, - "code_scanning_upload": { - "$ref": "#/components/schemas/rate-limit" - }, "actions_runner_registration": { "$ref": "#/components/schemas/rate-limit" }, @@ -137149,6 +136816,9 @@ }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" + }, + "copilot_usage_records": { + "$ref": "#/components/schemas/rate-limit" } }, "required": [ @@ -146725,6 +146395,27 @@ "size" ] }, + "interaction-limit-pull-request-bypass-list": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, "issue-event-label": { "title": "Issue Event Label", "description": "Issue Event Label", @@ -313946,161 +313637,6 @@ ] } }, - "copilot-usage-metrics-for-day": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, @@ -319121,12 +318657,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -327825,6 +327355,30 @@ "expires_at": "2018-08-17T04:18:39Z" } }, + "pull-request-bypass-list-items": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + }, "repository-invitation-items": { "value": [ { @@ -341862,16 +341416,6 @@ } } }, - "usage_metrics_api_disabled": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } - }, "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, 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 fec6e002e7..52602239b9 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 @@ -14620,9 +14620,9 @@ paths: get: summary: List artifact storage records description: |- - List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + List artifact storage records with a given subject digest for repositories owned by an organization. - The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission. tags: - orgs operationId: orgs/list-artifact-storage-records @@ -19340,80 +19340,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-content-exclusion-management - "/orgs/{org}/copilot/metrics": - get: - summary: Get Copilot metrics for an organization - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. - Only organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization - 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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics-day" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - '500': - "$ref": "#/components/responses/internal_error" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/usage_metrics_api_disabled" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/copilot/metrics/reports/organization-1-day": get: summary: Get Copilot organization usage metrics for a specific day @@ -27633,81 +27559,6 @@ paths: enabledForGitHubApps: true category: orgs subcategory: network-configurations - "/orgs/{org}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for a team - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. - Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics-day" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - '500': - "$ref": "#/components/responses/internal_error" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/usage_metrics_api_disabled" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -28508,7 +28359,6 @@ paths: * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)." * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." - * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)." * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." @@ -40562,6 +40412,7 @@ paths: Usernames to assign to this Dependabot Alert. Pass one or more user logins to _replace_ the set of assignees on this alert. Send an empty array (`[]`) to clear all assignees from the alert. + To assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`). items: type: string anyOf: @@ -44975,6 +44826,134 @@ paths: enabledForGitHubApps: true category: interactions subcategory: repos + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": + get: + summary: Get pull request creation cap bypass list for a repository + description: |- + Lists the users that are on the pull request creation cap bypass list for a + repository. Users on this list can create pull requests regardless of any + configured pull request creation cap. + + Only repository admins can view the bypass list. + tags: + - interactions + operationId: interactions/get-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/pull-request-bypass-list-items" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + put: + summary: Add users to the pull request creation cap bypass list for a repository + description: |- + Adds users to the pull request creation cap bypass list for a repository. + Users on this list can create pull requests regardless of any configured + pull request creation cap. + + Only repository admins can modify the bypass list. + You can add a maximum of 100 users per request. + The bypass list can only hold a maximum of 100 users. + tags: + - interactions + operationId: interactions/set-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + delete: + summary: Remove users from the pull request creation cap bypass list for a repository + description: |- + Removes users from the pull request creation cap bypass list for a repository. + Removed users will be subject to any configured pull request creation cap. + + Only repository admins can modify the bypass list. + You can remove a maximum of 100 users per request. + tags: + - interactions + operationId: interactions/remove-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -92990,295 +92969,6 @@ components: items: type: string description: The path to the file that will be excluded. - copilot-ide-code-completions: - type: - - object - - 'null' - description: Usage metrics for Copilot editor code completions in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code suggestion, - across all active editors. Includes both full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages. - items: - type: object - description: Usage metrics for a given language for the given editor for - Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot code completion - suggestions. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code - completion suggestion for the given language. Includes both full - and partial acceptances. - editors: - type: array - items: - type: object - description: Copilot code completion metrics for active editors. - additionalProperties: true - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code - completion suggestion for the given editor. Includes both full and - partial acceptances. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot code completion - suggestions. If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot - code completion suggestion for the given editor, for the given - language and model. Includes both full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages, for - the given editor. - items: - type: object - description: Usage metrics for a given language for the given - editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot code - completion suggestions, for the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least one - Copilot code completion suggestion for the given editor, - for the given language. Includes both full and partial - acceptances. - total_code_suggestions: - type: integer - description: The number of Copilot code suggestions generated - for the given editor, for the given language. - total_code_acceptances: - type: integer - description: The number of Copilot code suggestions accepted - for the given editor, for the given language. Includes - both full and partial acceptances. - total_code_lines_suggested: - type: integer - description: The number of lines of code suggested by - Copilot code completions for the given editor, for the - given language. - total_code_lines_accepted: - type: integer - description: The number of lines of code accepted from - Copilot code suggestions for the given editor, for the - given language. - copilot-ide-chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat in the IDE. - editors: - type: array - items: - type: object - description: Copilot Chat metrics, for active editors. - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot Chat in the - specified editor. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. If the - default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot Chat in - the given editor and model. - total_chats: - type: integer - description: The total number of chats initiated by users in - the given editor and model. - total_chat_insertion_events: - type: integer - description: The number of times users accepted a code suggestion - from Copilot Chat using the 'Insert Code' UI element, for - the given editor. - total_chat_copy_events: - type: integer - description: The number of times users copied a code suggestion - from Copilot Chat using the keyboard, or the 'Copy' UI element, - for the given editor. - copilot-dotcom-chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in GitHub.com - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat on github.com - at least once. - models: - type: array - description: List of model metrics for a custom models and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. If the default - model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model (if applicable). - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat on github.com - at least once for each model. - total_chats: - type: integer - description: Total number of chats initiated by users on github.com. - copilot-dotcom-pull-requests: - type: - - object - - 'null' - description: Usage metrics for Copilot for pull requests. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: The number of users who used Copilot for Pull Requests on github.com - to generate a pull request summary at least once. - repositories: - type: array - description: Repositories in which users used Copilot for Pull Requests - to generate pull request summaries - items: - type: object - properties: - name: - type: string - description: Repository name - total_engaged_users: - type: integer - description: The number of users who generated pull request summaries - using Copilot for Pull Requests in the given repository. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot pull request - summaries. If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_pr_summaries_created: - type: integer - description: The number of pull request summaries generated - using Copilot for Pull Requests in the given repository. - total_engaged_users: - type: integer - description: The number of users who generated pull request - summaries using Copilot for Pull Requests in the given repository - and model. - copilot-usage-metrics-day: - title: Copilot Usage Metrics - description: Copilot usage metrics for a given day. - type: object - properties: - date: - type: string - format: date - description: The date for which the usage metrics are aggregated, in `YYYY-MM-DD` - format. - total_active_users: - type: integer - description: The total number of Copilot users with activity belonging to - any Copilot feature, globally, for the given day. Includes passive activity - such as receiving a code suggestion, as well as engagement activity such - as accepting a code suggestion or prompting chat. Does not include authentication - events. Is not limited to the individual features detailed on the endpoint. - total_engaged_users: - type: integer - description: The total number of Copilot users who engaged with any Copilot - feature, for the given day. Examples include but are not limited to accepting - a code suggestion, prompting Copilot chat, or triggering a PR Summary. - Does not include authentication events. Is not limited to the individual - features detailed on the endpoint. - copilot_ide_code_completions: - "$ref": "#/components/schemas/copilot-ide-code-completions" - copilot_ide_chat: - "$ref": "#/components/schemas/copilot-ide-chat" - copilot_dotcom_chat: - "$ref": "#/components/schemas/copilot-dotcom-chat" - copilot_dotcom_pull_requests: - "$ref": "#/components/schemas/copilot-dotcom-pull-requests" - required: - - date - additionalProperties: true organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -100045,8 +99735,6 @@ components: "$ref": "#/components/schemas/rate-limit" integration_manifest: "$ref": "#/components/schemas/rate-limit" - code_scanning_upload: - "$ref": "#/components/schemas/rate-limit" actions_runner_registration: "$ref": "#/components/schemas/rate-limit" scim: @@ -100057,6 +99745,8 @@ components: "$ref": "#/components/schemas/rate-limit" code_scanning_autofix: "$ref": "#/components/schemas/rate-limit" + copilot_usage_records: + "$ref": "#/components/schemas/rate-limit" required: - core - search @@ -107050,6 +106740,22 @@ components: - path - ref_name - size + interaction-limit-pull-request-bypass-list: + title: Interaction Limits Pull Request Bypass List + description: A list of user logins to add or remove from the pull request creation + cap bypass list. + type: object + properties: + users: + description: A list of user logins to add or remove from the bypass list. + type: array + items: + type: string + examples: + - octocat + - monalisa + required: + - users issue-event-label: title: Issue Event Label description: Issue Event Label @@ -232089,105 +231795,6 @@ components: value: octo-repo: - "/src/some-dir/kernel.rs" - copilot-usage-metrics-for-day: - value: - - date: '2024-06-24' - total_active_users: 24 - total_engaged_users: 20 - copilot_ide_code_completions: - total_engaged_users: 20 - languages: - - name: python - total_engaged_users: 10 - - name: ruby - total_engaged_users: 10 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 13 - languages: - - name: python - total_engaged_users: 6 - total_code_suggestions: 249 - total_code_acceptances: 123 - total_code_lines_suggested: 225 - total_code_lines_accepted: 135 - - name: ruby - total_engaged_users: 7 - total_code_suggestions: 496 - total_code_acceptances: 253 - total_code_lines_suggested: 520 - total_code_lines_accepted: 270 - - name: neovim - total_engaged_users: 7 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - languages: - - name: typescript - total_engaged_users: 3 - total_code_suggestions: 112 - total_code_acceptances: 56 - total_code_lines_suggested: 143 - total_code_lines_accepted: 61 - - name: go - total_engaged_users: 4 - total_code_suggestions: 132 - total_code_acceptances: 67 - total_code_lines_suggested: 154 - total_code_lines_accepted: 72 - copilot_ide_chat: - total_engaged_users: 13 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 12 - total_chats: 45 - total_chat_insertion_events: 12 - total_chat_copy_events: 16 - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_engaged_users: 1 - total_chats: 10 - total_chat_insertion_events: 11 - total_chat_copy_events: 3 - copilot_dotcom_chat: - total_engaged_users: 14 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 14 - total_chats: 38 - copilot_dotcom_pull_requests: - total_engaged_users: 12 - repositories: - - name: demo/repo1 - total_engaged_users: 8 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_pr_summaries_created: 6 - total_engaged_users: 8 - - name: demo/repo2 - total_engaged_users: 4 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_pr_summaries_created: 10 - total_engaged_users: 4 organization-dependabot-secret-paginated: value: total_count: 3 @@ -236448,11 +236055,6 @@ components: used: 1 remaining: 99 reset: 1691591091 - code_scanning_upload: - limit: 500 - used: 1 - remaining: 499 - reset: 1691594631 actions_runner_registration: limit: 10000 used: 0 @@ -243788,6 +243390,26 @@ components: limit: collaborators_only origin: repository expires_at: '2018-08-17T04:18:39Z' + pull-request-bypass-list-items: + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository-invitation-items: value: - id: 1 @@ -256019,13 +255641,6 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" - usage_metrics_api_disabled: - description: Copilot Usage Metrics API setting is disabled at the organization - or enterprise level. - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index 91fce72642..fb2f8ba61a 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -19779,7 +19779,7 @@ "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", - "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "description": "List artifact storage records with a given subject digest for repositories owned by an organization.\n\nResults are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.", "tags": [ "orgs" ], @@ -25965,93 +25965,6 @@ } } }, - "/orgs/{org}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an organization", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" - }, - "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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics-day" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/usage_metrics_api_disabled" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" - } - } - }, "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { "summary": "Get Copilot organization usage metrics for a specific day", @@ -37533,96 +37446,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for a team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\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** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics-day" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/usage_metrics_api_disabled" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -38659,7 +38482,7 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], @@ -54991,7 +54814,7 @@ }, "assignees": { "type": "array", - "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.\nTo assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`).", "items": { "type": "string" } @@ -60960,6 +60783,181 @@ } } }, + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { + "get": { + "summary": "Get pull request creation cap bypass list for a repository", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-bypass-list-items" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "put": { + "summary": "Add users to the pull request creation cap bypass list for a repository", + "description": "Adds users to the pull request creation cap bypass list for a repository.\nUsers on this list can create pull requests regardless of any configured\npull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.", + "tags": [ + "interactions" + ], + "operationId": "interactions/set-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat", + "monalisa" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Remove users from the pull request creation cap bypass list for a repository", + "description": "Removes users from the pull request creation cap bypass list for a repository.\nRemoved users will be subject to any configured pull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can remove a maximum of 100 users per request.", + "tags": [ + "interactions" + ], + "operationId": "interactions/remove-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/invitations": { "get": { "summary": "List repository invitations", @@ -127090,334 +127088,6 @@ } } }, - "copilot-ide-code-completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot-ide-chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot-dotcom-chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot-dotcom-pull-requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - }, - "copilot-usage-metrics-day": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "$ref": "#/components/schemas/copilot-ide-code-completions" - }, - "copilot_ide_chat": { - "$ref": "#/components/schemas/copilot-ide-chat" - }, - "copilot_dotcom_chat": { - "$ref": "#/components/schemas/copilot-dotcom-chat" - }, - "copilot_dotcom_pull_requests": { - "$ref": "#/components/schemas/copilot-dotcom-pull-requests" - } - }, - "required": [ - "date" - ], - "additionalProperties": true - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -136496,9 +136166,6 @@ "integration_manifest": { "$ref": "#/components/schemas/rate-limit" }, - "code_scanning_upload": { - "$ref": "#/components/schemas/rate-limit" - }, "actions_runner_registration": { "$ref": "#/components/schemas/rate-limit" }, @@ -136513,6 +136180,9 @@ }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" + }, + "copilot_usage_records": { + "$ref": "#/components/schemas/rate-limit" } }, "required": [ @@ -146083,6 +145753,27 @@ "size" ] }, + "interaction-limit-pull-request-bypass-list": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, "issue-event-label": { "title": "Issue Event Label", "description": "Issue Event Label", @@ -313105,161 +312796,6 @@ ] } }, - "copilot-usage-metrics-for-day": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, @@ -318278,12 +317814,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -326975,6 +326505,30 @@ "expires_at": "2018-08-17T04:18:39Z" } }, + "pull-request-bypass-list-items": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + }, "repository-invitation-items": { "value": [ { @@ -340922,16 +340476,6 @@ } } }, - "usage_metrics_api_disabled": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } - }, "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index 9c657f6fe3..9d91bc22b6 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -14618,9 +14618,9 @@ paths: get: summary: List artifact storage records description: |- - List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + List artifact storage records with a given subject digest for repositories owned by an organization. - The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission. tags: - orgs operationId: orgs/list-artifact-storage-records @@ -19306,80 +19306,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-content-exclusion-management - "/orgs/{org}/copilot/metrics": - get: - summary: Get Copilot metrics for an organization - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. - Only organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization - 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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics-day" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - '500': - "$ref": "#/components/responses/internal_error" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/usage_metrics_api_disabled" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/copilot/metrics/reports/organization-1-day": get: summary: Get Copilot organization usage metrics for a specific day @@ -27603,81 +27529,6 @@ paths: enabledForGitHubApps: true category: orgs subcategory: network-configurations - "/orgs/{org}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for a team - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. - Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics-day" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - '500': - "$ref": "#/components/responses/internal_error" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/usage_metrics_api_disabled" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -28470,7 +28321,6 @@ paths: * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)." * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." - * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)." * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." @@ -40501,6 +40351,7 @@ paths: Usernames to assign to this Dependabot Alert. Pass one or more user logins to _replace_ the set of assignees on this alert. Send an empty array (`[]`) to clear all assignees from the alert. + To assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`). items: type: string anyOf: @@ -44914,6 +44765,134 @@ paths: enabledForGitHubApps: true category: interactions subcategory: repos + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": + get: + summary: Get pull request creation cap bypass list for a repository + description: |- + Lists the users that are on the pull request creation cap bypass list for a + repository. Users on this list can create pull requests regardless of any + configured pull request creation cap. + + Only repository admins can view the bypass list. + tags: + - interactions + operationId: interactions/get-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/pull-request-bypass-list-items" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + put: + summary: Add users to the pull request creation cap bypass list for a repository + description: |- + Adds users to the pull request creation cap bypass list for a repository. + Users on this list can create pull requests regardless of any configured + pull request creation cap. + + Only repository admins can modify the bypass list. + You can add a maximum of 100 users per request. + The bypass list can only hold a maximum of 100 users. + tags: + - interactions + operationId: interactions/set-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + delete: + summary: Remove users from the pull request creation cap bypass list for a repository + description: |- + Removes users from the pull request creation cap bypass list for a repository. + Removed users will be subject to any configured pull request creation cap. + + Only repository admins can modify the bypass list. + You can remove a maximum of 100 users per request. + tags: + - interactions + operationId: interactions/remove-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -92571,295 +92550,6 @@ components: items: type: string description: The path to the file that will be excluded. - copilot-ide-code-completions: - type: - - object - - 'null' - description: Usage metrics for Copilot editor code completions in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code suggestion, - across all active editors. Includes both full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages. - items: - type: object - description: Usage metrics for a given language for the given editor for - Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot code completion - suggestions. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code - completion suggestion for the given language. Includes both full - and partial acceptances. - editors: - type: array - items: - type: object - description: Copilot code completion metrics for active editors. - additionalProperties: true - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code - completion suggestion for the given editor. Includes both full and - partial acceptances. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot code completion - suggestions. If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot - code completion suggestion for the given editor, for the given - language and model. Includes both full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages, for - the given editor. - items: - type: object - description: Usage metrics for a given language for the given - editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot code - completion suggestions, for the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least one - Copilot code completion suggestion for the given editor, - for the given language. Includes both full and partial - acceptances. - total_code_suggestions: - type: integer - description: The number of Copilot code suggestions generated - for the given editor, for the given language. - total_code_acceptances: - type: integer - description: The number of Copilot code suggestions accepted - for the given editor, for the given language. Includes - both full and partial acceptances. - total_code_lines_suggested: - type: integer - description: The number of lines of code suggested by - Copilot code completions for the given editor, for the - given language. - total_code_lines_accepted: - type: integer - description: The number of lines of code accepted from - Copilot code suggestions for the given editor, for the - given language. - copilot-ide-chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat in the IDE. - editors: - type: array - items: - type: object - description: Copilot Chat metrics, for active editors. - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot Chat in the - specified editor. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. If the - default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot Chat in - the given editor and model. - total_chats: - type: integer - description: The total number of chats initiated by users in - the given editor and model. - total_chat_insertion_events: - type: integer - description: The number of times users accepted a code suggestion - from Copilot Chat using the 'Insert Code' UI element, for - the given editor. - total_chat_copy_events: - type: integer - description: The number of times users copied a code suggestion - from Copilot Chat using the keyboard, or the 'Copy' UI element, - for the given editor. - copilot-dotcom-chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in GitHub.com - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat on github.com - at least once. - models: - type: array - description: List of model metrics for a custom models and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. If the default - model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model (if applicable). - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat on github.com - at least once for each model. - total_chats: - type: integer - description: Total number of chats initiated by users on github.com. - copilot-dotcom-pull-requests: - type: - - object - - 'null' - description: Usage metrics for Copilot for pull requests. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: The number of users who used Copilot for Pull Requests on github.com - to generate a pull request summary at least once. - repositories: - type: array - description: Repositories in which users used Copilot for Pull Requests - to generate pull request summaries - items: - type: object - properties: - name: - type: string - description: Repository name - total_engaged_users: - type: integer - description: The number of users who generated pull request summaries - using Copilot for Pull Requests in the given repository. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot pull request - summaries. If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_pr_summaries_created: - type: integer - description: The number of pull request summaries generated - using Copilot for Pull Requests in the given repository. - total_engaged_users: - type: integer - description: The number of users who generated pull request - summaries using Copilot for Pull Requests in the given repository - and model. - copilot-usage-metrics-day: - title: Copilot Usage Metrics - description: Copilot usage metrics for a given day. - type: object - properties: - date: - type: string - format: date - description: The date for which the usage metrics are aggregated, in `YYYY-MM-DD` - format. - total_active_users: - type: integer - description: The total number of Copilot users with activity belonging to - any Copilot feature, globally, for the given day. Includes passive activity - such as receiving a code suggestion, as well as engagement activity such - as accepting a code suggestion or prompting chat. Does not include authentication - events. Is not limited to the individual features detailed on the endpoint. - total_engaged_users: - type: integer - description: The total number of Copilot users who engaged with any Copilot - feature, for the given day. Examples include but are not limited to accepting - a code suggestion, prompting Copilot chat, or triggering a PR Summary. - Does not include authentication events. Is not limited to the individual - features detailed on the endpoint. - copilot_ide_code_completions: - "$ref": "#/components/schemas/copilot-ide-code-completions" - copilot_ide_chat: - "$ref": "#/components/schemas/copilot-ide-chat" - copilot_dotcom_chat: - "$ref": "#/components/schemas/copilot-dotcom-chat" - copilot_dotcom_pull_requests: - "$ref": "#/components/schemas/copilot-dotcom-pull-requests" - required: - - date - additionalProperties: true organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -99577,8 +99267,6 @@ components: "$ref": "#/components/schemas/rate-limit" integration_manifest: "$ref": "#/components/schemas/rate-limit" - code_scanning_upload: - "$ref": "#/components/schemas/rate-limit" actions_runner_registration: "$ref": "#/components/schemas/rate-limit" scim: @@ -99589,6 +99277,8 @@ components: "$ref": "#/components/schemas/rate-limit" code_scanning_autofix: "$ref": "#/components/schemas/rate-limit" + copilot_usage_records: + "$ref": "#/components/schemas/rate-limit" required: - core - search @@ -106577,6 +106267,22 @@ components: - path - ref_name - size + interaction-limit-pull-request-bypass-list: + title: Interaction Limits Pull Request Bypass List + description: A list of user logins to add or remove from the pull request creation + cap bypass list. + type: object + properties: + users: + description: A list of user logins to add or remove from the bypass list. + type: array + items: + type: string + examples: + - octocat + - monalisa + required: + - users issue-event-label: title: Issue Event Label description: Issue Event Label @@ -231394,105 +231100,6 @@ components: value: octo-repo: - "/src/some-dir/kernel.rs" - copilot-usage-metrics-for-day: - value: - - date: '2024-06-24' - total_active_users: 24 - total_engaged_users: 20 - copilot_ide_code_completions: - total_engaged_users: 20 - languages: - - name: python - total_engaged_users: 10 - - name: ruby - total_engaged_users: 10 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 13 - languages: - - name: python - total_engaged_users: 6 - total_code_suggestions: 249 - total_code_acceptances: 123 - total_code_lines_suggested: 225 - total_code_lines_accepted: 135 - - name: ruby - total_engaged_users: 7 - total_code_suggestions: 496 - total_code_acceptances: 253 - total_code_lines_suggested: 520 - total_code_lines_accepted: 270 - - name: neovim - total_engaged_users: 7 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - languages: - - name: typescript - total_engaged_users: 3 - total_code_suggestions: 112 - total_code_acceptances: 56 - total_code_lines_suggested: 143 - total_code_lines_accepted: 61 - - name: go - total_engaged_users: 4 - total_code_suggestions: 132 - total_code_acceptances: 67 - total_code_lines_suggested: 154 - total_code_lines_accepted: 72 - copilot_ide_chat: - total_engaged_users: 13 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 12 - total_chats: 45 - total_chat_insertion_events: 12 - total_chat_copy_events: 16 - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_engaged_users: 1 - total_chats: 10 - total_chat_insertion_events: 11 - total_chat_copy_events: 3 - copilot_dotcom_chat: - total_engaged_users: 14 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 14 - total_chats: 38 - copilot_dotcom_pull_requests: - total_engaged_users: 12 - repositories: - - name: demo/repo1 - total_engaged_users: 8 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_pr_summaries_created: 6 - total_engaged_users: 8 - - name: demo/repo2 - total_engaged_users: 4 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_pr_summaries_created: 10 - total_engaged_users: 4 organization-dependabot-secret-paginated: value: total_count: 3 @@ -235751,11 +235358,6 @@ components: used: 1 remaining: 99 reset: 1691591091 - code_scanning_upload: - limit: 500 - used: 1 - remaining: 499 - reset: 1691594631 actions_runner_registration: limit: 10000 used: 0 @@ -243085,6 +242687,26 @@ components: limit: collaborators_only origin: repository expires_at: '2018-08-17T04:18:39Z' + pull-request-bypass-list-items: + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository-invitation-items: value: - id: 1 @@ -255231,13 +254853,6 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" - usage_metrics_api_disabled: - description: Copilot Usage Metrics API setting is disabled at the organization - or enterprise level. - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 91d55304bd..7ae5c69219 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -19826,7 +19826,7 @@ "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", - "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "description": "List artifact storage records with a given subject digest for repositories owned by an organization.\n\nResults are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.", "tags": [ "orgs" ], @@ -26109,93 +26109,6 @@ } } }, - "/orgs/{org}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an organization", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" - }, - "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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics-day" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/usage_metrics_api_disabled" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" - } - } - }, "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { "summary": "Get Copilot organization usage metrics for a specific day", @@ -37765,96 +37678,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for a team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\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** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics-day" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/usage_metrics_api_disabled" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -38920,7 +38743,7 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], @@ -55335,7 +55158,7 @@ }, "assignees": { "type": "array", - "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.\nTo assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`).", "items": { "type": "string" } @@ -61304,6 +61127,181 @@ } } }, + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { + "get": { + "summary": "Get pull request creation cap bypass list for a repository", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-bypass-list-items" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "put": { + "summary": "Add users to the pull request creation cap bypass list for a repository", + "description": "Adds users to the pull request creation cap bypass list for a repository.\nUsers on this list can create pull requests regardless of any configured\npull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.", + "tags": [ + "interactions" + ], + "operationId": "interactions/set-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat", + "monalisa" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Remove users from the pull request creation cap bypass list for a repository", + "description": "Removes users from the pull request creation cap bypass list for a repository.\nRemoved users will be subject to any configured pull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can remove a maximum of 100 users per request.", + "tags": [ + "interactions" + ], + "operationId": "interactions/remove-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/invitations": { "get": { "summary": "List repository invitations", @@ -128406,334 +128404,6 @@ } } }, - "copilot-ide-code-completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot-ide-chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot-dotcom-chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot-dotcom-pull-requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - }, - "copilot-usage-metrics-day": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "$ref": "#/components/schemas/copilot-ide-code-completions" - }, - "copilot_ide_chat": { - "$ref": "#/components/schemas/copilot-ide-chat" - }, - "copilot_dotcom_chat": { - "$ref": "#/components/schemas/copilot-dotcom-chat" - }, - "copilot_dotcom_pull_requests": { - "$ref": "#/components/schemas/copilot-dotcom-pull-requests" - } - }, - "required": [ - "date" - ], - "additionalProperties": true - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -138129,9 +137799,6 @@ "integration_manifest": { "$ref": "#/components/schemas/rate-limit" }, - "code_scanning_upload": { - "$ref": "#/components/schemas/rate-limit" - }, "actions_runner_registration": { "$ref": "#/components/schemas/rate-limit" }, @@ -138146,6 +137813,9 @@ }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" + }, + "copilot_usage_records": { + "$ref": "#/components/schemas/rate-limit" } }, "required": [ @@ -147761,6 +147431,27 @@ "size" ] }, + "interaction-limit-pull-request-bypass-list": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, "issue-event-label": { "title": "Issue Event Label", "description": "Issue Event Label", @@ -315882,161 +315573,6 @@ ] } }, - "copilot-usage-metrics-for-day": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, @@ -321081,12 +320617,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -329809,6 +329339,30 @@ "expires_at": "2018-08-17T04:18:39Z" } }, + "pull-request-bypass-list-items": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + }, "repository-invitation-items": { "value": [ { @@ -343974,16 +343528,6 @@ } } }, - "usage_metrics_api_disabled": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } - }, "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 4db15daf92..3392f3b2ff 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -14645,9 +14645,9 @@ paths: get: summary: List artifact storage records description: |- - List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + List artifact storage records with a given subject digest for repositories owned by an organization. - The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission. tags: - orgs operationId: orgs/list-artifact-storage-records @@ -19394,80 +19394,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-content-exclusion-management - "/orgs/{org}/copilot/metrics": - get: - summary: Get Copilot metrics for an organization - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. - Only organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization - 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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics-day" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - '500': - "$ref": "#/components/responses/internal_error" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/usage_metrics_api_disabled" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/copilot/metrics/reports/organization-1-day": get: summary: Get Copilot organization usage metrics for a specific day @@ -27735,81 +27661,6 @@ paths: enabledForGitHubApps: true category: orgs subcategory: network-configurations - "/orgs/{org}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for a team - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. - Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics-day" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - '500': - "$ref": "#/components/responses/internal_error" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/usage_metrics_api_disabled" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -28621,7 +28472,6 @@ paths: * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)." * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." - * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)." * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." @@ -40730,6 +40580,7 @@ paths: Usernames to assign to this Dependabot Alert. Pass one or more user logins to _replace_ the set of assignees on this alert. Send an empty array (`[]`) to clear all assignees from the alert. + To assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`). items: type: string anyOf: @@ -45143,6 +44994,134 @@ paths: enabledForGitHubApps: true category: interactions subcategory: repos + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": + get: + summary: Get pull request creation cap bypass list for a repository + description: |- + Lists the users that are on the pull request creation cap bypass list for a + repository. Users on this list can create pull requests regardless of any + configured pull request creation cap. + + Only repository admins can view the bypass list. + tags: + - interactions + operationId: interactions/get-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/pull-request-bypass-list-items" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + put: + summary: Add users to the pull request creation cap bypass list for a repository + description: |- + Adds users to the pull request creation cap bypass list for a repository. + Users on this list can create pull requests regardless of any configured + pull request creation cap. + + Only repository admins can modify the bypass list. + You can add a maximum of 100 users per request. + The bypass list can only hold a maximum of 100 users. + tags: + - interactions + operationId: interactions/set-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + delete: + summary: Remove users from the pull request creation cap bypass list for a repository + description: |- + Removes users from the pull request creation cap bypass list for a repository. + Removed users will be subject to any configured pull request creation cap. + + Only repository admins can modify the bypass list. + You can remove a maximum of 100 users per request. + tags: + - interactions + operationId: interactions/remove-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -93480,295 +93459,6 @@ components: items: type: string description: The path to the file that will be excluded. - copilot-ide-code-completions: - type: - - object - - 'null' - description: Usage metrics for Copilot editor code completions in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code suggestion, - across all active editors. Includes both full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages. - items: - type: object - description: Usage metrics for a given language for the given editor for - Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot code completion - suggestions. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code - completion suggestion for the given language. Includes both full - and partial acceptances. - editors: - type: array - items: - type: object - description: Copilot code completion metrics for active editors. - additionalProperties: true - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code - completion suggestion for the given editor. Includes both full and - partial acceptances. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot code completion - suggestions. If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot - code completion suggestion for the given editor, for the given - language and model. Includes both full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages, for - the given editor. - items: - type: object - description: Usage metrics for a given language for the given - editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot code - completion suggestions, for the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least one - Copilot code completion suggestion for the given editor, - for the given language. Includes both full and partial - acceptances. - total_code_suggestions: - type: integer - description: The number of Copilot code suggestions generated - for the given editor, for the given language. - total_code_acceptances: - type: integer - description: The number of Copilot code suggestions accepted - for the given editor, for the given language. Includes - both full and partial acceptances. - total_code_lines_suggested: - type: integer - description: The number of lines of code suggested by - Copilot code completions for the given editor, for the - given language. - total_code_lines_accepted: - type: integer - description: The number of lines of code accepted from - Copilot code suggestions for the given editor, for the - given language. - copilot-ide-chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat in the IDE. - editors: - type: array - items: - type: object - description: Copilot Chat metrics, for active editors. - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot Chat in the - specified editor. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. If the - default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot Chat in - the given editor and model. - total_chats: - type: integer - description: The total number of chats initiated by users in - the given editor and model. - total_chat_insertion_events: - type: integer - description: The number of times users accepted a code suggestion - from Copilot Chat using the 'Insert Code' UI element, for - the given editor. - total_chat_copy_events: - type: integer - description: The number of times users copied a code suggestion - from Copilot Chat using the keyboard, or the 'Copy' UI element, - for the given editor. - copilot-dotcom-chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in GitHub.com - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat on github.com - at least once. - models: - type: array - description: List of model metrics for a custom models and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. If the default - model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model (if applicable). - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat on github.com - at least once for each model. - total_chats: - type: integer - description: Total number of chats initiated by users on github.com. - copilot-dotcom-pull-requests: - type: - - object - - 'null' - description: Usage metrics for Copilot for pull requests. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: The number of users who used Copilot for Pull Requests on github.com - to generate a pull request summary at least once. - repositories: - type: array - description: Repositories in which users used Copilot for Pull Requests - to generate pull request summaries - items: - type: object - properties: - name: - type: string - description: Repository name - total_engaged_users: - type: integer - description: The number of users who generated pull request summaries - using Copilot for Pull Requests in the given repository. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot pull request - summaries. If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_pr_summaries_created: - type: integer - description: The number of pull request summaries generated - using Copilot for Pull Requests in the given repository. - total_engaged_users: - type: integer - description: The number of users who generated pull request - summaries using Copilot for Pull Requests in the given repository - and model. - copilot-usage-metrics-day: - title: Copilot Usage Metrics - description: Copilot usage metrics for a given day. - type: object - properties: - date: - type: string - format: date - description: The date for which the usage metrics are aggregated, in `YYYY-MM-DD` - format. - total_active_users: - type: integer - description: The total number of Copilot users with activity belonging to - any Copilot feature, globally, for the given day. Includes passive activity - such as receiving a code suggestion, as well as engagement activity such - as accepting a code suggestion or prompting chat. Does not include authentication - events. Is not limited to the individual features detailed on the endpoint. - total_engaged_users: - type: integer - description: The total number of Copilot users who engaged with any Copilot - feature, for the given day. Examples include but are not limited to accepting - a code suggestion, prompting Copilot chat, or triggering a PR Summary. - Does not include authentication events. Is not limited to the individual - features detailed on the endpoint. - copilot_ide_code_completions: - "$ref": "#/components/schemas/copilot-ide-code-completions" - copilot_ide_chat: - "$ref": "#/components/schemas/copilot-ide-chat" - copilot_dotcom_chat: - "$ref": "#/components/schemas/copilot-dotcom-chat" - copilot_dotcom_pull_requests: - "$ref": "#/components/schemas/copilot-dotcom-pull-requests" - required: - - date - additionalProperties: true organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -100741,8 +100431,6 @@ components: "$ref": "#/components/schemas/rate-limit" integration_manifest: "$ref": "#/components/schemas/rate-limit" - code_scanning_upload: - "$ref": "#/components/schemas/rate-limit" actions_runner_registration: "$ref": "#/components/schemas/rate-limit" scim: @@ -100753,6 +100441,8 @@ components: "$ref": "#/components/schemas/rate-limit" code_scanning_autofix: "$ref": "#/components/schemas/rate-limit" + copilot_usage_records: + "$ref": "#/components/schemas/rate-limit" required: - core - search @@ -107771,6 +107461,22 @@ components: - path - ref_name - size + interaction-limit-pull-request-bypass-list: + title: Interaction Limits Pull Request Bypass List + description: A list of user logins to add or remove from the pull request creation + cap bypass list. + type: object + properties: + users: + description: A list of user logins to add or remove from the bypass list. + type: array + items: + type: string + examples: + - octocat + - monalisa + required: + - users issue-event-label: title: Issue Event Label description: Issue Event Label @@ -233339,105 +233045,6 @@ components: value: octo-repo: - "/src/some-dir/kernel.rs" - copilot-usage-metrics-for-day: - value: - - date: '2024-06-24' - total_active_users: 24 - total_engaged_users: 20 - copilot_ide_code_completions: - total_engaged_users: 20 - languages: - - name: python - total_engaged_users: 10 - - name: ruby - total_engaged_users: 10 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 13 - languages: - - name: python - total_engaged_users: 6 - total_code_suggestions: 249 - total_code_acceptances: 123 - total_code_lines_suggested: 225 - total_code_lines_accepted: 135 - - name: ruby - total_engaged_users: 7 - total_code_suggestions: 496 - total_code_acceptances: 253 - total_code_lines_suggested: 520 - total_code_lines_accepted: 270 - - name: neovim - total_engaged_users: 7 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - languages: - - name: typescript - total_engaged_users: 3 - total_code_suggestions: 112 - total_code_acceptances: 56 - total_code_lines_suggested: 143 - total_code_lines_accepted: 61 - - name: go - total_engaged_users: 4 - total_code_suggestions: 132 - total_code_acceptances: 67 - total_code_lines_suggested: 154 - total_code_lines_accepted: 72 - copilot_ide_chat: - total_engaged_users: 13 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 12 - total_chats: 45 - total_chat_insertion_events: 12 - total_chat_copy_events: 16 - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_engaged_users: 1 - total_chats: 10 - total_chat_insertion_events: 11 - total_chat_copy_events: 3 - copilot_dotcom_chat: - total_engaged_users: 14 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 14 - total_chats: 38 - copilot_dotcom_pull_requests: - total_engaged_users: 12 - repositories: - - name: demo/repo1 - total_engaged_users: 8 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_pr_summaries_created: 6 - total_engaged_users: 8 - - name: demo/repo2 - total_engaged_users: 4 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_pr_summaries_created: 10 - total_engaged_users: 4 organization-dependabot-secret-paginated: value: total_count: 3 @@ -237710,11 +237317,6 @@ components: used: 1 remaining: 99 reset: 1691591091 - code_scanning_upload: - limit: 500 - used: 1 - remaining: 499 - reset: 1691594631 actions_runner_registration: limit: 10000 used: 0 @@ -245062,6 +244664,26 @@ components: limit: collaborators_only origin: repository expires_at: '2018-08-17T04:18:39Z' + pull-request-bypass-list-items: + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository-invitation-items: value: - id: 1 @@ -257357,13 +256979,6 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" - usage_metrics_api_disabled: - description: Copilot Usage Metrics API setting is disabled at the organization - or enterprise level. - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. 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 6b1941ce52..c34294bf3b 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 @@ -116643,7 +116643,7 @@ "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", - "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "description": "List artifact storage records with a given subject digest for repositories owned by an organization.\n\nResults are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.", "tags": [ "orgs" ], @@ -144776,662 +144776,6 @@ } } }, - "/orgs/{org}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an organization", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" - }, - "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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { "summary": "Get Copilot organization usage metrics for a specific day", @@ -262757,671 +262101,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for a team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\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** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -271164,7 +269843,7 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], @@ -271331,7 +270010,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -271355,7 +270034,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -271379,7 +270058,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -271403,7 +270082,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -271427,7 +270106,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -271451,7 +270130,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -271545,12 +270224,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -402479,7 +401152,7 @@ }, "assignees": { "type": "array", - "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.\nTo assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`).", "items": { "type": "string" } @@ -446483,6 +445156,721 @@ } } }, + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { + "get": { + "summary": "Get pull request creation cap bypass list for a repository", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + } + }, + "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": "interactions", + "subcategory": "repos" + } + }, + "put": { + "summary": "Add users to the pull request creation cap bypass list for a repository", + "description": "Adds users to the pull request creation cap bypass list for a repository.\nUsers on this list can create pull requests regardless of any configured\npull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.", + "tags": [ + "interactions" + ], + "operationId": "interactions/set-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat", + "monalisa" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Remove users from the pull request creation cap bypass list for a repository", + "description": "Removes users from the pull request creation cap bypass list for a repository.\nRemoved users will be subject to any configured pull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can remove a maximum of 100 users per request.", + "tags": [ + "interactions" + ], + "operationId": "interactions/remove-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/invitations": { "get": { "summary": "List repository invitations", 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 0c7a7a263e..3a9fca8dbb 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 @@ -1080,7 +1080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &653 + - &651 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -12392,7 +12392,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 - - &487 + - &484 name: has in: query description: |- @@ -12522,7 +12522,7 @@ paths: - transitive - inconclusive - - security_advisory: &488 + security_advisory: &485 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12797,7 +12797,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &489 + auto_dismissed_at: &486 type: - string - 'null' @@ -12805,7 +12805,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &490 + dismissal_request: &487 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -14524,7 +14524,7 @@ paths: properties: action: type: string - discussion: &743 + discussion: &741 title: Discussion description: A Discussion in a repository. type: object @@ -15310,7 +15310,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &664 + sub_issues_summary: &662 title: Sub-issues Summary type: object properties: @@ -15394,7 +15394,7 @@ paths: pin: anyOf: - type: 'null' - - &561 + - &559 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15421,7 +15421,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &665 + issue_dependencies_summary: &663 title: Issue Dependencies Summary type: object properties: @@ -15440,7 +15440,7 @@ paths: - total_blocking issue_field_values: type: array - items: &545 + items: &543 title: Issue Field Value description: A value assigned to an issue field type: object @@ -16251,7 +16251,7 @@ paths: type: string release: allOf: - - &593 + - &591 title: Release description: A release. type: object @@ -16333,7 +16333,7 @@ paths: author: *4 assets: type: array - items: &594 + items: &592 title: Release Asset description: Data related to a release. type: object @@ -16936,7 +16936,7 @@ paths: url: type: string format: uri - user: &671 + user: &669 title: Public User description: Public User type: object @@ -20301,14 +20301,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &340 + - &337 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &341 + - &338 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20370,7 +20370,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &344 + '301': &341 description: Moved permanently content: application/json: @@ -20392,7 +20392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &569 + - &567 name: all description: If `true`, show notifications marked as read. in: query @@ -20400,7 +20400,7 @@ paths: schema: type: boolean default: false - - &570 + - &568 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20410,7 +20410,7 @@ paths: type: boolean default: false - *87 - - &571 + - &569 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: @@ -21003,7 +21003,7 @@ paths: - url - subscription_url examples: - default: &572 + default: &570 value: - id: '1' repository: @@ -22921,7 +22921,7 @@ paths: parameters: - *74 - *116 - - &721 + - &719 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 @@ -23033,7 +23033,7 @@ paths: - *116 - *117 - *118 - - &722 + - &720 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -23041,7 +23041,7 @@ paths: schema: type: string - *121 - - &723 + - &721 name: sku description: The SKU to query for usage. in: query @@ -24020,7 +24020,7 @@ paths: type: integer repository_cache_usages: type: array - items: &351 + items: &348 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25408,7 +25408,7 @@ paths: - all - local_only - selected - selected_actions_url: &356 + selected_actions_url: &353 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` @@ -25491,7 +25491,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &357 type: object properties: days: @@ -25533,7 +25533,7 @@ paths: required: true content: application/json: - schema: &361 + schema: &358 type: object properties: days: @@ -25590,7 +25590,7 @@ paths: required: - approval_policy examples: - default: &362 + default: &359 value: approval_policy: first_time_contributors '404': *6 @@ -25649,7 +25649,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &360 type: object required: - run_workflows_from_fork_pull_requests @@ -25703,7 +25703,7 @@ paths: required: true content: application/json: - schema: &364 + schema: &361 type: object required: - run_workflows_from_fork_pull_requests @@ -26338,7 +26338,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &362 type: object properties: default_workflow_permissions: &148 @@ -26389,7 +26389,7 @@ paths: required: false content: application/json: - schema: &366 + schema: &363 type: object properties: default_workflow_permissions: *148 @@ -27540,7 +27540,7 @@ paths: application/json: schema: type: array - items: &367 + items: &364 title: Runner Application description: Runner Application type: object @@ -27565,7 +27565,7 @@ paths: - download_url - filename examples: - default: &368 + default: &365 value: - os: osx architecture: x64 @@ -27651,7 +27651,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &369 + '201': &366 description: Response content: application/json: @@ -27766,7 +27766,7 @@ paths: - token - expires_at examples: - default: &370 + default: &367 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27805,7 +27805,7 @@ paths: application/json: schema: *159 examples: - default: &371 + default: &368 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27839,7 +27839,7 @@ paths: application/json: schema: *157 examples: - default: &372 + default: &369 value: id: 23 name: MBP @@ -28066,7 +28066,7 @@ paths: - *74 - *156 responses: - '200': &373 + '200': &370 description: Response content: application/json: @@ -28123,7 +28123,7 @@ paths: parameters: - *74 - *156 - - &374 + - &371 name: name description: The name of a self-hosted runner's custom label. in: path @@ -30605,9 +30605,9 @@ paths: get: summary: List artifact storage records description: |- - List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + List artifact storage records with a given subject digest for repositories owned by an organization. - The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission. tags: - orgs operationId: orgs/list-artifact-storage-records @@ -30725,12 +30725,12 @@ paths: required: - subject_digests examples: - default: &702 + default: &700 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &703 + withPredicateType: &701 value: subject_digests: - sha256:abc123 @@ -30789,7 +30789,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &704 + default: &702 value: attestations_subject_digests: - sha256:abc: @@ -31140,7 +31140,7 @@ paths: initiator: type: string examples: - default: &400 + default: &397 value: attestations: - bundle: @@ -32096,7 +32096,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &424 + - &421 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`, @@ -32106,7 +32106,7 @@ paths: schema: &187 type: string description: The name of the tool used to generate the code scanning analysis. - - &425 + - &422 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 @@ -32130,7 +32130,7 @@ paths: be returned. in: query required: false - schema: &427 + schema: &424 type: string description: State of a code scanning alert. enum: @@ -32153,7 +32153,7 @@ paths: be returned. in: query required: false - schema: &428 + schema: &425 type: string description: Severity of a code scanning alert. enum: @@ -32187,7 +32187,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: &429 + instances_url: &426 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -32209,7 +32209,7 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: &430 + dismissed_reason: &427 type: - string - 'null' @@ -32220,14 +32220,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &431 + dismissed_comment: &428 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &432 + rule: &429 type: object properties: id: @@ -32288,7 +32288,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &433 + tool: &430 type: object properties: name: *187 @@ -32299,26 +32299,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *188 - most_recent_instance: &434 + most_recent_instance: &431 type: object properties: - ref: &426 + ref: &423 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &444 + analysis_key: &441 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &445 + environment: &442 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &446 + category: &443 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -32338,7 +32338,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &447 + location: &444 type: object description: Describe a region within a file for the alert. properties: @@ -32359,7 +32359,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &448 + items: &445 type: - string - 'null' @@ -33694,7 +33694,7 @@ paths: machine: anyOf: - type: 'null' - - &460 + - &457 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -34646,7 +34646,7 @@ paths: - updated_at - visibility examples: - default: &461 + default: &458 value: total_count: 2 secrets: @@ -34684,7 +34684,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &459 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -34719,7 +34719,7 @@ paths: - key_id - key examples: - default: &463 + default: &460 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34751,7 +34751,7 @@ paths: application/json: schema: *195 examples: - default: &465 + default: &462 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -37752,490 +37752,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-content-exclusion-management - "/orgs/{org}/copilot/metrics": - get: - summary: Get Copilot metrics for an organization - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. - Only organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization - parameters: - - *74 - - 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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &333 - title: Copilot Usage Metrics - description: Copilot usage metrics for a given day. - type: object - properties: - date: - type: string - format: date - description: The date for which the usage metrics are aggregated, - in `YYYY-MM-DD` format. - total_active_users: - type: integer - description: The total number of Copilot users with activity - belonging to any Copilot feature, globally, for the given - day. Includes passive activity such as receiving a code suggestion, - as well as engagement activity such as accepting a code suggestion - or prompting chat. Does not include authentication events. - Is not limited to the individual features detailed on the - endpoint. - total_engaged_users: - type: integer - description: The total number of Copilot users who engaged with - any Copilot feature, for the given day. Examples include but - are not limited to accepting a code suggestion, prompting - Copilot chat, or triggering a PR Summary. Does not include - authentication events. Is not limited to the individual features - detailed on the endpoint. - copilot_ide_code_completions: - type: - - object - - 'null' - description: Usage metrics for Copilot editor code completions - in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot - code suggestion, across all active editors. Includes both - full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages. - items: - type: object - description: Usage metrics for a given language for the - given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot - code completion suggestions. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - language. Includes both full and partial acceptances. - editors: - type: array - items: - type: object - description: Copilot code completion metrics for active - editors. - additionalProperties: true - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - editor. Includes both full and partial acceptances. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - code completion suggestions. If the default - model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: Number of users who accepted at - least one Copilot code completion suggestion - for the given editor, for the given language - and model. Includes both full and partial - acceptances. - languages: - type: array - description: Code completion metrics for active - languages, for the given editor. - items: - type: object - description: Usage metrics for a given language - for the given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used - for Copilot code completion suggestions, - for the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted - at least one Copilot code completion - suggestion for the given editor, for - the given language. Includes both full - and partial acceptances. - total_code_suggestions: - type: integer - description: The number of Copilot code - suggestions generated for the given - editor, for the given language. - total_code_acceptances: - type: integer - description: The number of Copilot code - suggestions accepted for the given editor, - for the given language. Includes both - full and partial acceptances. - total_code_lines_suggested: - type: integer - description: The number of lines of code - suggested by Copilot code completions - for the given editor, for the given - language. - total_code_lines_accepted: - type: integer - description: The number of lines of code - accepted from Copilot code suggestions - for the given editor, for the given - language. - copilot_ide_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat in the IDE. - editors: - type: array - items: - type: object - description: Copilot Chat metrics, for active editors. - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot - Chat in the specified editor. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - Chat. If the default model is used will appear - as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: The number of users who prompted - Copilot Chat in the given editor and model. - total_chats: - type: integer - description: The total number of chats initiated - by users in the given editor and model. - total_chat_insertion_events: - type: integer - description: The number of times users accepted - a code suggestion from Copilot Chat using - the 'Insert Code' UI element, for the given - editor. - total_chat_copy_events: - type: integer - description: The number of times users copied - a code suggestion from Copilot Chat using - the keyboard, or the 'Copy' UI element, for - the given editor. - copilot_dotcom_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in GitHub.com - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once. - models: - type: array - description: List of model metrics for a custom models and - the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. - If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or - default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model - (if applicable). - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once for each model. - total_chats: - type: integer - description: Total number of chats initiated by users - on github.com. - copilot_dotcom_pull_requests: - type: - - object - - 'null' - description: Usage metrics for Copilot for pull requests. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: The number of users who used Copilot for Pull - Requests on github.com to generate a pull request summary - at least once. - repositories: - type: array - description: Repositories in which users used Copilot for - Pull Requests to generate pull request summaries - items: - type: object - properties: - name: - type: string - description: Repository name - total_engaged_users: - type: integer - description: The number of users who generated pull - request summaries using Copilot for Pull Requests - in the given repository. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - pull request summaries. If the default model - is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_pr_summaries_created: - type: integer - description: The number of pull request summaries - generated using Copilot for Pull Requests - in the given repository. - total_engaged_users: - type: integer - description: The number of users who generated - pull request summaries using Copilot for Pull - Requests in the given repository and model. - required: - - date - additionalProperties: true - examples: - default: &334 - value: - - date: '2024-06-24' - total_active_users: 24 - total_engaged_users: 20 - copilot_ide_code_completions: - total_engaged_users: 20 - languages: - - name: python - total_engaged_users: 10 - - name: ruby - total_engaged_users: 10 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 13 - languages: - - name: python - total_engaged_users: 6 - total_code_suggestions: 249 - total_code_acceptances: 123 - total_code_lines_suggested: 225 - total_code_lines_accepted: 135 - - name: ruby - total_engaged_users: 7 - total_code_suggestions: 496 - total_code_acceptances: 253 - total_code_lines_suggested: 520 - total_code_lines_accepted: 270 - - name: neovim - total_engaged_users: 7 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - languages: - - name: typescript - total_engaged_users: 3 - total_code_suggestions: 112 - total_code_acceptances: 56 - total_code_lines_suggested: 143 - total_code_lines_accepted: 61 - - name: go - total_engaged_users: 4 - total_code_suggestions: 132 - total_code_acceptances: 67 - total_code_lines_suggested: 154 - total_code_lines_accepted: 72 - copilot_ide_chat: - total_engaged_users: 13 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 12 - total_chats: 45 - total_chat_insertion_events: 12 - total_chat_copy_events: 16 - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_engaged_users: 1 - total_chats: 10 - total_chat_insertion_events: 11 - total_chat_copy_events: 3 - copilot_dotcom_chat: - total_engaged_users: 14 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 14 - total_chats: 38 - copilot_dotcom_pull_requests: - total_engaged_users: 12 - repositories: - - name: demo/repo1 - total_engaged_users: 8 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_pr_summaries_created: 6 - total_engaged_users: 8 - - name: demo/repo2 - total_engaged_users: 4 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_pr_summaries_created: 10 - total_engaged_users: 4 - '500': *53 - '403': *27 - '404': *6 - '422': &335 - description: Copilot Usage Metrics API setting is disabled at the organization - or enterprise level. - content: - application/json: - schema: *3 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/copilot/metrics/reports/organization-1-day": get: summary: Get Copilot organization usage metrics for a specific day @@ -38797,7 +38313,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &490 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38816,7 +38332,7 @@ paths: - key_id - key examples: - default: &494 + default: &491 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40642,7 +40158,7 @@ paths: application/json: schema: *20 examples: - default: &531 + default: &528 value: id: 1 account: @@ -40870,7 +40386,7 @@ paths: required: true content: application/json: - schema: &532 + schema: &529 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -41689,7 +41205,7 @@ paths: type: array items: *245 examples: - default: &535 + default: &533 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -42218,7 +41734,7 @@ paths: application/json: schema: *250 examples: - default: &459 + default: &456 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -43480,7 +42996,7 @@ paths: parameters: - *74 - *257 - - &685 + - &683 name: repo_name description: repo_name parameter in: path @@ -44541,7 +44057,7 @@ paths: - nuget - container - *74 - - &686 + - &684 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44582,7 +44098,7 @@ paths: default: *263 '403': *27 '401': *23 - '400': &688 + '400': &686 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46713,7 +46229,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &771 + - &769 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46987,7 +46503,7 @@ paths: content: oneOf: - *82 - - &474 + - &471 title: Pull Request Simple description: Pull Request Simple type: object @@ -47226,7 +46742,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &579 + auto_merge: &577 title: Auto merge description: The status of auto merging a pull request. type: @@ -47611,7 +47127,7 @@ paths: - updated_at - project_url examples: - default: &708 + default: &706 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47788,7 +47304,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &709 + items: &707 type: object properties: name: @@ -47825,7 +47341,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &710 + iteration_configuration: &708 type: object description: The configuration for iteration fields. properties: @@ -47875,7 +47391,7 @@ paths: value: name: Due date data_type: date - single_select_field: &711 + single_select_field: &709 summary: Create a single select field value: name: Priority @@ -47902,7 +47418,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &712 + iteration_field: &710 summary: Create an iteration field value: name: Sprint @@ -47928,7 +47444,7 @@ paths: application/json: schema: *283 examples: - text_field: &713 + text_field: &711 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47937,7 +47453,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &714 + number_field: &712 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47946,7 +47462,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &715 + date_field: &713 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47955,7 +47471,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &716 + single_select_field: &714 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47989,7 +47505,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &717 + iteration_field: &715 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -48035,7 +47551,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *280 - - &718 + - &716 name: field_id description: The unique identifier of the field. in: path @@ -48050,7 +47566,7 @@ paths: application/json: schema: *283 examples: - default: &719 + default: &717 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49261,7 +48777,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &699 + schema: &697 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -49444,7 +48960,7 @@ paths: parameters: - *280 - *74 - - &720 + - &718 name: view_number description: The number that identifies the project view. in: path @@ -50407,7 +49923,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &340 title: Full Repository description: Full Repository type: object @@ -50885,7 +50401,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &479 + code_of_conduct: &476 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50999,7 +50515,7 @@ paths: - network_count - subscribers_count examples: - default: &345 + default: &342 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51520,7 +51036,7 @@ paths: - *74 - *17 - *19 - - &601 + - &599 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51807,7 +51323,7 @@ paths: - object rules: type: array - items: &602 + items: &600 title: Repository Rule type: object description: A repository rule. @@ -51869,7 +51385,7 @@ paths: type: string enum: - required_linear_history - - &600 + - &598 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -52771,7 +52287,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &603 + - &601 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 @@ -52786,7 +52302,7 @@ paths: in: query schema: type: string - - &604 + - &602 name: time_period description: |- The time period to filter by. @@ -52802,14 +52318,14 @@ paths: - week - month default: day - - &605 + - &603 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 - - &606 + - &604 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52822,7 +52338,7 @@ paths: - bypass - all default: all - - &607 + - &605 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -52845,7 +52361,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &606 title: Rule Suites description: Response type: array @@ -52901,7 +52417,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &609 + default: &607 value: - id: 21 actor_id: 12 @@ -52945,7 +52461,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &610 + - &608 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52961,7 +52477,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &609 title: Rule Suite description: Response type: object @@ -53068,7 +52584,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &612 + default: &610 value: id: 21 actor_id: 12 @@ -53315,7 +52831,7 @@ paths: type: string format: date-time examples: - default: &614 + default: &612 value: - version_id: 3 actor: @@ -53368,7 +52884,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &613 allOf: - *326 - type: object @@ -53440,7 +52956,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &616 + - &614 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53451,7 +52967,7 @@ paths: enum: - open - resolved - - &617 + - &615 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53461,7 +52977,7 @@ paths: required: false schema: type: string - - &618 + - &616 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53472,7 +52988,7 @@ paths: required: false schema: type: string - - &619 + - &617 name: exclude_providers in: query description: |- @@ -53483,7 +52999,7 @@ paths: required: false schema: type: string - - &620 + - &618 name: providers in: query description: |- @@ -53494,7 +53010,7 @@ paths: required: false schema: type: string - - &621 + - &619 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53503,7 +53019,7 @@ paths: required: false schema: type: string - - &622 + - &620 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53522,7 +53038,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &623 + - &621 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. @@ -53537,7 +53053,7 @@ paths: - *60 - *19 - *17 - - &624 + - &622 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 @@ -53547,7 +53063,7 @@ paths: required: false schema: type: string - - &625 + - &623 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 @@ -53557,7 +53073,7 @@ paths: required: false schema: type: string - - &626 + - &624 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53566,7 +53082,7 @@ paths: required: false schema: type: string - - &627 + - &625 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53575,7 +53091,7 @@ paths: schema: type: boolean default: false - - &628 + - &626 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53584,7 +53100,7 @@ paths: schema: type: boolean default: false - - &629 + - &627 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53593,7 +53109,7 @@ paths: schema: type: boolean default: false - - &630 + - &628 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53627,14 +53143,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &631 + state: &629 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: &632 + resolution: &630 type: - string - 'null' @@ -53753,14 +53269,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &633 + - &631 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &635 + - &633 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53824,7 +53340,7 @@ paths: - blob_url - commit_sha - commit_url - - &636 + - &634 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -53885,7 +53401,7 @@ paths: - page_url - commit_sha - commit_url - - &637 + - &635 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53907,7 +53423,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &638 + - &636 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53929,7 +53445,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &639 + - &637 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53951,7 +53467,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &640 + - &638 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53966,7 +53482,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &641 + - &639 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53981,7 +53497,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &642 + - &640 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53996,7 +53512,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &643 + - &641 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -54018,7 +53534,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &644 + - &642 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -54040,7 +53556,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &645 + - &643 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -54062,7 +53578,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &646 + - &644 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -54084,7 +53600,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &647 + - &645 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -54605,7 +54121,7 @@ paths: application/json: schema: type: array - items: &651 + items: &649 description: A repository security advisory. type: object properties: @@ -54924,7 +54440,7 @@ paths: - private_fork additionalProperties: false examples: - default: &652 + default: &650 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -56049,75 +55565,6 @@ paths: enabledForGitHubApps: true category: orgs subcategory: network-configurations - "/orgs/{org}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for a team - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. - Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team - parameters: - - *74 - - *76 - - 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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *333 - examples: - default: *334 - '500': *53 - '403': *27 - '404': *6 - '422': *335 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -56248,7 +55695,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &333 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56647,7 +56094,7 @@ paths: - repos_count - organization examples: - default: &337 + default: &334 value: id: 1 node_id: MDQ6VGVhbTE= @@ -56724,9 +56171,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 x-github: githubCloudOnly: false @@ -56811,16 +56258,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '201': description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 '422': *15 '403': *27 @@ -56850,7 +56297,7 @@ paths: responses: '204': description: Response - '422': &338 + '422': &335 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -56889,7 +56336,7 @@ paths: default: *240 headers: Link: *66 - '422': *338 + '422': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56971,7 +56418,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &336 title: Team Membership description: Team Membership type: object @@ -56999,7 +56446,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &667 + response-if-user-is-a-team-maintainer: &665 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57062,9 +56509,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: &668 + response-if-users-membership-with-team-is-now-pending: &666 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57171,14 +56618,14 @@ paths: parameters: - *74 - *76 - - *340 - - *341 + - *337 + - *338 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &669 + schema: &667 title: Team Repository description: A team's access to a repository. type: object @@ -57821,8 +57268,8 @@ paths: parameters: - *74 - *76 - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -57869,8 +57316,8 @@ paths: parameters: - *74 - *76 - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -57907,7 +57354,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: &670 + response-if-child-teams-exist: &668 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58035,7 +57482,6 @@ paths: * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)." * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." - * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)." * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." @@ -58061,7 +57507,7 @@ paths: resources: type: object properties: - core: &342 + core: &339 title: Rate Limit type: object properties: @@ -58078,21 +57524,21 @@ paths: - remaining - reset - used - graphql: *342 - search: *342 - code_search: *342 - source_import: *342 - integration_manifest: *342 - code_scanning_upload: *342 - actions_runner_registration: *342 - scim: *342 - dependency_snapshots: *342 - dependency_sbom: *342 - code_scanning_autofix: *342 + graphql: *339 + search: *339 + code_search: *339 + source_import: *339 + integration_manifest: *339 + actions_runner_registration: *339 + scim: *339 + dependency_snapshots: *339 + dependency_sbom: *339 + code_scanning_autofix: *339 + copilot_usage_records: *339 required: - core - search - rate: *342 + rate: *339 required: - rate - resources @@ -58125,11 +57571,6 @@ paths: used: 1 remaining: 99 reset: 1691591091 - code_scanning_upload: - limit: 500 - used: 1 - remaining: 499 - reset: 1691594631 actions_runner_registration: limit: 10000 used: 0 @@ -58197,14 +57638,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *343 + schema: *340 examples: default-response: summary: Default response @@ -58709,7 +58150,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *344 + '301': *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58727,8 +58168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -59039,10 +58480,10 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 - '307': &346 + default: *342 + '307': &343 description: Temporary Redirect content: application/json: @@ -59071,8 +58512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -59094,7 +58535,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *346 + '307': *343 '404': *6 '409': *52 x-github: @@ -59118,11 +58559,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - - &378 + - &375 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59145,7 +58586,7 @@ paths: type: integer artifacts: type: array - items: &347 + items: &344 title: Artifact description: An artifact type: object @@ -59240,7 +58681,7 @@ paths: - expires_at - updated_at examples: - default: &379 + default: &376 value: total_count: 2 artifacts: @@ -59301,9 +58742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *340 - - *341 - - &348 + - *337 + - *338 + - &345 name: artifact_id description: The unique identifier of the artifact. in: path @@ -59315,7 +58756,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *344 examples: default: value: @@ -59353,9 +58794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *340 - - *341 - - *348 + - *337 + - *338 + - *345 responses: '204': description: Response @@ -59379,9 +58820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *340 - - *341 - - *348 + - *337 + - *338 + - *345 - name: archive_format in: path required: true @@ -59391,11 +58832,11 @@ paths: '302': description: Response headers: - Location: &496 + Location: &493 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': &536 + '410': &534 description: Gone content: application/json: @@ -59420,14 +58861,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &349 + schema: &346 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -59461,13 +58902,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *349 + schema: *346 examples: selected_actions: *40 responses: @@ -59496,14 +58937,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &350 + schema: &347 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -59537,13 +58978,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *350 + schema: *347 examples: selected_actions: *42 responses: @@ -59574,14 +59015,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *351 + schema: *348 examples: default: value: @@ -59607,11 +59048,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - - &352 + - &349 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 @@ -59645,7 +59086,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &350 title: Repository actions caches description: Repository actions caches type: object @@ -59695,7 +59136,7 @@ paths: - total_count - actions_caches examples: - default: &354 + default: &351 value: total_count: 1 actions_caches: @@ -59727,23 +59168,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: - - *340 - - *341 + - *337 + - *338 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *352 + - *349 responses: '200': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59763,8 +59204,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: - - *340 - - *341 + - *337 + - *338 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -59793,8 +59234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *46 responses: @@ -59877,8 +59318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -60034,9 +59475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *340 - - *341 - - &355 + - *337 + - *338 + - &352 name: job_id description: The unique identifier of the job. in: path @@ -60048,7 +59489,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &379 title: Job description: Information of a job execution in a workflow run type: object @@ -60395,9 +59836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *340 - - *341 - - *355 + - *337 + - *338 + - *352 responses: '302': description: Response @@ -60425,9 +59866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *340 - - *341 - - *355 + - *337 + - *338 + - *352 requestBody: required: false content: @@ -60478,8 +59919,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Status response @@ -60538,8 +59979,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -60607,8 +60048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -60626,7 +60067,7 @@ paths: type: integer secrets: type: array - items: &384 + items: &381 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60647,7 +60088,7 @@ paths: - created_at - updated_at examples: - default: &385 + default: &382 value: total_count: 2 secrets: @@ -60680,8 +60121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -60699,7 +60140,7 @@ paths: type: integer variables: type: array - items: &386 + items: &383 title: Actions Variable type: object properties: @@ -60733,7 +60174,7 @@ paths: - created_at - updated_at examples: - default: &387 + default: &384 value: total_count: 2 variables: @@ -60766,8 +60207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -60776,11 +60217,11 @@ paths: schema: type: object properties: - enabled: &357 + enabled: &354 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *140 - selected_actions_url: *356 + selected_actions_url: *353 sha_pinning_required: *141 required: - enabled @@ -60809,8 +60250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -60821,7 +60262,7 @@ paths: schema: type: object properties: - enabled: *357 + enabled: *354 allowed_actions: *140 sha_pinning_required: *141 required: @@ -60853,14 +60294,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &358 + schema: &355 type: object properties: access_level: @@ -60877,7 +60318,7 @@ paths: required: - access_level examples: - default: &359 + default: &356 value: access_level: organization x-github: @@ -60901,15 +60342,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *358 + schema: *355 examples: - default: *359 + default: *356 responses: '204': description: Response @@ -60933,14 +60374,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *360 + schema: *357 examples: default: value: @@ -60964,8 +60405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Empty response for successful settings update @@ -60975,7 +60416,7 @@ paths: required: true content: application/json: - schema: *361 + schema: *358 examples: default: summary: Set retention days @@ -60999,8 +60440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -61008,7 +60449,7 @@ paths: application/json: schema: *142 examples: - default: *362 + default: *359 '404': *6 x-github: enabledForGitHubApps: true @@ -61027,8 +60468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -61062,14 +60503,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *363 + schema: *360 examples: default: *143 '403': *27 @@ -61091,13 +60532,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *364 + schema: *361 examples: default: *143 responses: @@ -61123,8 +60564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -61151,8 +60592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -61184,14 +60625,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *365 + schema: *362 examples: default: *150 x-github: @@ -61214,8 +60655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Success response @@ -61226,7 +60667,7 @@ paths: required: true content: application/json: - schema: *366 + schema: *363 examples: default: *150 x-github: @@ -61255,8 +60696,8 @@ paths: in: query schema: type: string - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -61300,8 +60741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -61309,9 +60750,9 @@ paths: application/json: schema: type: array - items: *367 + items: *364 examples: - default: *368 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61333,8 +60774,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -61377,7 +60818,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *369 + '201': *366 '404': *6 '422': *7 '409': *52 @@ -61408,8 +60849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -61417,7 +60858,7 @@ paths: application/json: schema: *159 examples: - default: *370 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61445,8 +60886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -61454,7 +60895,7 @@ paths: application/json: schema: *159 examples: - default: *371 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61476,8 +60917,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: '200': @@ -61486,7 +60927,7 @@ paths: application/json: schema: *157 examples: - default: *372 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61507,8 +60948,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: '204': @@ -61535,8 +60976,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: '200': *161 @@ -61561,8 +61002,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: - - *340 - - *341 + - *337 + - *338 - *156 requestBody: required: true @@ -61611,8 +61052,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: - - *340 - - *341 + - *337 + - *338 - *156 requestBody: required: true @@ -61662,11 +61103,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: - '200': *373 + '200': *370 '404': *6 x-github: githubCloudOnly: false @@ -61693,10 +61134,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: - - *340 - - *341 + - *337 + - *338 - *156 - - *374 + - *371 responses: '200': *161 '404': *6 @@ -61724,9 +61165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *340 - - *341 - - &390 + - *337 + - *338 + - &387 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. @@ -61734,7 +61175,7 @@ paths: required: false schema: type: string - - &391 + - &388 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61742,7 +61183,7 @@ paths: required: false schema: type: string - - &392 + - &389 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -61751,7 +61192,7 @@ paths: required: false schema: type: string - - &393 + - &390 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 @@ -61778,7 +61219,7 @@ paths: - pending - *17 - *19 - - &394 + - &391 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)." @@ -61787,7 +61228,7 @@ paths: schema: type: string format: date-time - - &375 + - &372 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -61796,13 +61237,13 @@ paths: schema: type: boolean default: false - - &395 + - &392 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &396 + - &393 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -61825,7 +61266,7 @@ paths: type: integer workflow_runs: type: array - items: &376 + items: &373 title: Workflow Run description: An invocation of a workflow type: object @@ -62003,7 +61444,7 @@ paths: head_commit: anyOf: - type: 'null' - - &420 + - &417 title: Simple Commit description: A commit. type: object @@ -62118,7 +61559,7 @@ paths: - workflow_url - pull_requests examples: - default: &397 + default: &394 value: total_count: 1 workflow_runs: @@ -62354,24 +61795,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *340 - - *341 - - &377 + - *337 + - *338 + - &374 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *375 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: &380 + default: &377 value: id: 30433642 name: Build @@ -62612,9 +62053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '204': description: Response @@ -62637,9 +62078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '200': description: Response @@ -62767,9 +62208,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: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '201': description: Response @@ -62802,12 +62243,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 - *17 - *19 - - *378 + - *375 - *60 responses: '200': @@ -62824,9 +62265,9 @@ paths: type: integer artifacts: type: array - items: *347 + items: *344 examples: - default: *379 + default: *376 headers: Link: *66 x-github: @@ -62850,25 +62291,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *340 - - *341 - - *377 - - &381 + - *337 + - *338 + - *374 + - &378 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *375 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *380 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62891,10 +62332,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *340 - - *341 - - *377 - - *381 + - *337 + - *338 + - *374 + - *378 - *17 - *19 responses: @@ -62912,9 +62353,9 @@ paths: type: integer jobs: type: array - items: *382 + items: *379 examples: - default: &383 + default: &380 value: total_count: 1 jobs: @@ -63027,10 +62468,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *340 - - *341 - - *377 - - *381 + - *337 + - *338 + - *374 + - *378 responses: '302': description: Response @@ -63058,9 +62499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '202': description: Response @@ -63106,9 +62547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 - *17 - *45 - *46 @@ -63285,9 +62726,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: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: true content: @@ -63354,9 +62795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '202': description: Response @@ -63389,9 +62830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 - 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 @@ -63421,9 +62862,9 @@ paths: type: integer jobs: type: array - items: *382 + items: *379 examples: - default: *383 + default: *380 headers: Link: *66 x-github: @@ -63448,9 +62889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '302': description: Response @@ -63477,9 +62918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '204': description: Response @@ -63506,9 +62947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '200': description: Response @@ -63577,7 +63018,7 @@ paths: items: type: object properties: - type: &503 + type: &500 type: string description: The type of reviewer. enum: @@ -63663,9 +63104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: true content: @@ -63715,7 +63156,7 @@ paths: application/json: schema: type: array - items: &498 + items: &495 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63827,7 +63268,7 @@ paths: - created_at - updated_at examples: - default: &499 + default: &496 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63883,9 +63324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: false content: @@ -63930,9 +63371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: false content: @@ -63986,9 +63427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '200': description: Response @@ -64125,8 +63566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -64144,9 +63585,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -64171,8 +63612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -64202,17 +63643,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: &398 + default: &395 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64238,8 +63679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -64297,8 +63738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -64324,8 +63765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -64343,9 +63784,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -64368,8 +63809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -64421,17 +63862,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '200': description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: &399 + default: &396 value: name: USERNAME value: octocat @@ -64457,8 +63898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 requestBody: required: true @@ -64501,8 +63942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '204': @@ -64528,8 +63969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -64547,7 +63988,7 @@ paths: type: integer workflows: type: array - items: &388 + items: &385 title: Workflow description: A GitHub Actions workflow type: object @@ -64665,9 +64106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *340 - - *341 - - &389 + - *337 + - *338 + - &386 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64682,7 +64123,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *385 examples: default: value: @@ -64715,9 +64156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '204': description: Response @@ -64742,9 +64183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -64831,9 +64272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '204': description: Response @@ -64860,19 +64301,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *340 - - *341 + - *337 + - *338 + - *386 + - *387 + - *388 - *389 - *390 + - *17 + - *19 - *391 + - *372 - *392 - *393 - - *17 - - *19 - - *394 - - *375 - - *395 - - *396 responses: '200': description: Response @@ -64888,9 +64329,9 @@ paths: type: integer workflow_runs: type: array - items: *376 + items: *373 examples: - default: *397 + default: *394 headers: Link: *66 x-github: @@ -64922,9 +64363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '200': description: Response @@ -64985,8 +64426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *340 - - *341 + - *337 + - *338 - *60 - *17 - *45 @@ -65159,8 +64600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -65178,9 +64619,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -65204,8 +64645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -65223,9 +64664,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -65250,8 +64691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -65269,9 +64710,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -65296,8 +64737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -65327,17 +64768,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *398 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65359,8 +64800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -65418,8 +64859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -65445,8 +64886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -65464,9 +64905,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -65489,8 +64930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -65542,17 +64983,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '200': description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: *399 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65573,8 +65014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 requestBody: required: true @@ -65617,8 +65058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '204': @@ -65640,8 +65081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -65678,8 +65119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *340 - - *341 + - *337 + - *338 - name: assignee in: path required: true @@ -65715,8 +65156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -65826,8 +65267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *45 - *46 @@ -65884,7 +65325,7 @@ paths: initiator: type: string examples: - default: *400 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65904,8 +65345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -65913,7 +65354,7 @@ paths: application/json: schema: type: array - items: &401 + items: &398 title: Autolink reference description: An autolink reference. type: object @@ -65972,8 +65413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -66012,9 +65453,9 @@ paths: description: response content: application/json: - schema: *401 + schema: *398 examples: - default: &402 + default: &399 value: id: 1 key_prefix: TICKET- @@ -66045,9 +65486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *340 - - *341 - - &403 + - *337 + - *338 + - &400 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66059,9 +65500,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: *402 + default: *399 '404': *6 x-github: githubCloudOnly: false @@ -66081,9 +65522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *340 - - *341 - - *403 + - *337 + - *338 + - *400 responses: '204': description: Response @@ -66107,8 +65548,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response if Dependabot is enabled @@ -66158,8 +65599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -66180,8 +65621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -66201,8 +65642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *340 - - *341 + - *337 + - *338 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -66240,7 +65681,7 @@ paths: - url protected: type: boolean - protection: &405 + protection: &402 title: Branch Protection description: Branch Protection type: object @@ -66283,7 +65724,7 @@ paths: required: - contexts - checks - enforce_admins: &408 + enforce_admins: &405 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -66300,7 +65741,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &410 + required_pull_request_reviews: &407 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -66384,7 +65825,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &407 + restrictions: &404 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66677,9 +66118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *340 - - *341 - - &406 + - *337 + - *338 + - &403 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). @@ -66693,14 +66134,14 @@ paths: description: Response content: application/json: - schema: &416 + schema: &413 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &470 + commit: &467 title: Commit description: Commit type: object @@ -66739,7 +66180,7 @@ paths: author: anyOf: - type: 'null' - - &404 + - &401 title: Git User description: Metaproperties for Git author/committer information. @@ -66761,7 +66202,7 @@ paths: committer: anyOf: - type: 'null' - - *404 + - *401 message: type: string examples: @@ -66785,7 +66226,7 @@ paths: required: - sha - url - verification: &521 + verification: &518 title: Verification type: object properties: @@ -66865,7 +66306,7 @@ paths: type: integer files: type: array - items: &481 + items: &478 title: Diff Entry description: Diff Entry type: object @@ -66961,7 +66402,7 @@ paths: - self protected: type: boolean - protection: *405 + protection: *402 protection_url: type: string format: uri @@ -67070,7 +66511,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *344 + '301': *341 '404': *6 x-github: githubCloudOnly: false @@ -67092,15 +66533,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *405 + schema: *402 examples: default: value: @@ -67294,9 +66735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -67556,7 +66997,7 @@ paths: url: type: string format: uri - required_status_checks: &413 + required_status_checks: &410 title: Status Check Policy description: Status Check Policy type: object @@ -67715,7 +67156,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *407 + restrictions: *404 required_conversation_resolution: type: object properties: @@ -67827,9 +67268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -67854,17 +67295,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: &409 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67886,17 +67327,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *409 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67915,9 +67356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -67942,17 +67383,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *410 + schema: *407 examples: - default: &411 + default: &408 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68048,9 +67489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -68148,9 +67589,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *407 examples: - default: *411 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -68171,9 +67612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -68200,17 +67641,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: &412 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68233,17 +67674,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *412 + default: *409 '404': *6 x-github: githubCloudOnly: false @@ -68263,9 +67704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -68290,17 +67731,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *413 + schema: *410 examples: - default: &414 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -68326,9 +67767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -68380,9 +67821,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *410 examples: - default: *414 + default: *411 '404': *6 '422': *15 x-github: @@ -68404,9 +67845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -68430,9 +67871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -68466,9 +67907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -68535,9 +67976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -68601,9 +68042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: content: application/json: @@ -68669,15 +68110,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *407 + schema: *404 examples: default: value: @@ -68768,9 +68209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -68793,9 +68234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -68805,7 +68246,7 @@ paths: type: array items: *5 examples: - default: &415 + default: &412 value: - id: 1 slug: octoapp @@ -68862,9 +68303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -68898,7 +68339,7 @@ paths: type: array items: *5 examples: - default: *415 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -68919,9 +68360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -68955,7 +68396,7 @@ paths: type: array items: *5 examples: - default: *415 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -68976,9 +68417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69012,7 +68453,7 @@ paths: type: array items: *5 examples: - default: *415 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -69034,9 +68475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -69066,9 +68507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -69127,9 +68568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -69188,9 +68629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: content: application/json: @@ -69249,9 +68690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -69285,9 +68726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69345,9 +68786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69405,9 +68846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69467,9 +68908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69491,7 +68932,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *413 examples: default: value: @@ -69607,8 +69048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -69887,7 +69328,7 @@ paths: description: Response content: application/json: - schema: &417 + schema: &414 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70023,7 +69464,7 @@ paths: check. type: array items: *85 - deployment: &732 + deployment: &730 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70310,9 +69751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *340 - - *341 - - &418 + - *337 + - *338 + - &415 name: check_run_id description: The unique identifier of the check run. in: path @@ -70324,9 +69765,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *414 examples: - default: &419 + default: &416 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70426,9 +69867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *340 - - *341 - - *418 + - *337 + - *338 + - *415 requestBody: required: true content: @@ -70668,9 +70109,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *414 examples: - default: *419 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70690,9 +70131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *340 - - *341 - - *418 + - *337 + - *338 + - *415 - *17 - *19 responses: @@ -70802,9 +70243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *340 - - *341 - - *418 + - *337 + - *338 + - *415 responses: '201': description: Response @@ -70848,8 +70289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -70871,7 +70312,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &421 + schema: &418 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70969,7 +70410,7 @@ paths: - string - 'null' format: date-time - head_commit: *420 + head_commit: *417 latest_check_runs_count: type: integer check_runs_url: @@ -70997,7 +70438,7 @@ paths: - check_runs_url - pull_requests examples: - default: &422 + default: &419 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -71288,9 +70729,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *421 + schema: *418 examples: - default: *422 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71309,8 +70750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -71619,9 +71060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *340 - - *341 - - &423 + - *337 + - *338 + - &420 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71633,9 +71074,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *418 examples: - default: *422 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71658,17 +71099,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *340 - - *341 - - *423 - - &476 + - *337 + - *338 + - *420 + - &473 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &477 + - &474 name: status description: Returns check runs with the specified `status`. in: query @@ -71707,9 +71148,9 @@ paths: type: integer check_runs: type: array - items: *417 + items: *414 examples: - default: &478 + default: &475 value: total_count: 1 check_runs: @@ -71811,9 +71252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *340 - - *341 - - *423 + - *337 + - *338 + - *420 responses: '201': description: Response @@ -71842,8 +71283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -71941,8 +71382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -72072,21 +71513,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *340 - - *341 - - *424 - - *425 + - *337 + - *338 + - *421 + - *422 - *19 - *17 - - &442 + - &439 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: *426 - - &443 + schema: *423 + - &440 name: pr description: The number of the pull request for the results you want to list. in: query @@ -72111,13 +71552,13 @@ paths: be returned. in: query required: false - schema: *427 + schema: *424 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *428 + schema: *425 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -72141,7 +71582,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *429 + instances_url: *426 state: *189 fixed_at: *185 dismissed_by: @@ -72149,11 +71590,11 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *430 - dismissed_comment: *431 - rule: *432 - tool: *433 - most_recent_instance: *434 + dismissed_reason: *427 + dismissed_comment: *428 + rule: *429 + tool: *430 + most_recent_instance: *431 dismissal_approved_by: anyOf: - type: 'null' @@ -72276,7 +71717,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &435 + '403': &432 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -72303,9 +71744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *340 - - *341 - - &436 + - *337 + - *338 + - &433 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72319,7 +71760,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &434 type: object properties: number: *180 @@ -72327,7 +71768,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *429 + instances_url: *426 state: *189 fixed_at: *185 dismissed_by: @@ -72335,8 +71776,8 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_reason: *427 + dismissed_comment: *428 rule: type: object properties: @@ -72398,8 +71839,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *433 - most_recent_instance: *434 + tool: *430 + most_recent_instance: *431 dismissal_approved_by: anyOf: - type: 'null' @@ -72495,7 +71936,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -72515,9 +71956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 requestBody: required: true content: @@ -72532,8 +71973,8 @@ paths: enum: - open - dismissed - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_reason: *427 + dismissed_comment: *428 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -72561,7 +72002,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *434 examples: default: value: @@ -72637,7 +72078,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &441 + '403': &438 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -72664,15 +72105,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: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 responses: '200': description: Response content: application/json: - schema: &438 + schema: &435 type: object properties: status: @@ -72699,13 +72140,13 @@ paths: - description - started_at examples: - default: &439 + default: &436 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &440 + '400': &437 description: Bad Request content: application/json: @@ -72716,7 +72157,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': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -72741,29 +72182,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: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 responses: '200': description: OK content: application/json: - schema: *438 + schema: *435 examples: - default: *439 + default: *436 '202': description: Accepted content: application/json: - schema: *438 + schema: *435 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *440 + '400': *437 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72795,9 +72236,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: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 requestBody: required: false content: @@ -72843,8 +72284,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *440 - '403': *441 + '400': *437 + '403': *438 '404': *6 '422': description: Unprocessable Entity @@ -72868,13 +72309,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 - *19 - *17 - - *442 - - *443 + - *439 + - *440 responses: '200': description: Response @@ -72885,10 +72326,10 @@ paths: items: type: object properties: - ref: *426 - analysis_key: *444 - environment: *445 - category: *446 + ref: *423 + analysis_key: *441 + environment: *442 + category: *443 state: type: - string @@ -72905,7 +72346,7 @@ paths: properties: text: type: string - location: *447 + location: *444 html_url: type: string classifications: @@ -72913,7 +72354,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *448 + items: *445 examples: default: value: @@ -72950,7 +72391,7 @@ paths: end_column: 50 classifications: - source - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -72984,25 +72425,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *340 - - *341 - - *424 - - *425 + - *337 + - *338 + - *421 + - *422 - *19 - *17 - - *443 + - *440 - 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: *426 + schema: *423 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &449 + schema: &446 type: string description: An identifier for the upload. examples: @@ -73024,23 +72465,23 @@ paths: application/json: schema: type: array - items: &450 + items: &447 type: object properties: - ref: *426 - commit_sha: &458 + ref: *423 + commit_sha: &455 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *444 + analysis_key: *441 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *446 + category: *443 error: type: string examples: @@ -73065,8 +72506,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *449 - tool: *433 + sarif_id: *446 + tool: *430 deletable: type: boolean warning: @@ -73128,7 +72569,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -73164,8 +72605,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: - - *340 - - *341 + - *337 + - *338 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73178,7 +72619,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *447 examples: response: summary: application/json response @@ -73232,7 +72673,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *435 + '403': *432 '404': *6 '422': description: Response if analysis could not be processed @@ -73319,8 +72760,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: - - *340 - - *341 + - *337 + - *338 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73376,7 +72817,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': *441 + '403': *438 '404': *6 '503': *114 x-github: @@ -73398,8 +72839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -73407,7 +72848,7 @@ paths: application/json: schema: type: array - items: &451 + items: &448 title: CodeQL Database description: A CodeQL database. type: object @@ -73519,7 +72960,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': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -73548,8 +72989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: language in: path description: The language of the CodeQL database. @@ -73561,7 +73002,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *448 examples: default: value: @@ -73593,9 +73034,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': &485 + '302': &482 description: Found - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -73617,8 +73058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *340 - - *341 + - *337 + - *338 - name: language in: path description: The language of the CodeQL database. @@ -73628,7 +73069,7 @@ paths: responses: '204': description: Response - '403': *441 + '403': *438 '404': *6 '503': *114 x-github: @@ -73656,8 +73097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -73666,7 +73107,7 @@ paths: type: object additionalProperties: false properties: - language: &452 + language: &449 type: string description: The language targeted by the CodeQL query enum: @@ -73746,7 +73187,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &456 + schema: &453 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73756,7 +73197,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *452 + query_language: *449 query_pack_url: type: string description: The download url for the query pack. @@ -73804,7 +73245,7 @@ paths: items: type: object properties: - repository: &453 + repository: &450 title: Repository Identifier description: Repository Identifier type: object @@ -73846,7 +73287,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &457 + analysis_status: &454 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73878,7 +73319,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &454 + access_mismatch_repos: &451 type: object properties: repository_count: @@ -73893,7 +73334,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: *453 + items: *450 required: - repository_count - repositories @@ -73916,8 +73357,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *454 - over_limit_repos: *454 + no_codeql_db_repos: *451 + over_limit_repos: *451 required: - access_mismatch_repos - not_found_repos @@ -73933,7 +73374,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &455 + value: &452 summary: Default response value: id: 1 @@ -74079,10 +73520,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *455 + value: *452 repository_lists: summary: Response for a successful variant analysis submission - value: *455 + value: *452 '404': *6 '422': description: Unable to process variant analysis submission @@ -74110,8 +73551,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: - - *340 - - *341 + - *337 + - *338 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74123,9 +73564,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: - default: *455 + default: *452 '404': *6 '503': *114 x-github: @@ -74148,7 +73589,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: - - *340 + - *337 - name: repo in: path description: The name of the controller repository. @@ -74183,7 +73624,7 @@ paths: type: object properties: repository: *65 - analysis_status: *457 + analysis_status: *454 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74308,8 +73749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -74402,7 +73843,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -74423,8 +73864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -74518,7 +73959,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *441 + '403': *438 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -74589,8 +74030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -74598,7 +74039,7 @@ paths: schema: type: object properties: - commit_sha: *458 + commit_sha: *455 ref: type: string description: |- @@ -74658,7 +74099,7 @@ paths: schema: type: object properties: - id: *449 + id: *446 url: type: string description: The REST API URL for checking the status of the upload. @@ -74672,7 +74113,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': *441 + '403': *438 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74695,8 +74136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *340 - - *341 + - *337 + - *338 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74744,7 +74185,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': *435 + '403': *432 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -74769,8 +74210,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -74851,8 +74292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *340 - - *341 + - *337 + - *338 - 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 @@ -74980,8 +74421,8 @@ paths: parameters: - *17 - *19 - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -75295,8 +74736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -75362,7 +74803,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -75370,7 +74811,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '400': *14 '401': *23 '403': *27 @@ -75399,8 +74840,8 @@ paths: parameters: - *17 - *19 - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -75464,8 +74905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -75502,9 +74943,9 @@ paths: type: integer machines: type: array - items: *460 + items: *457 examples: - default: &676 + default: &674 value: total_count: 2 machines: @@ -75544,8 +74985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *340 - - *341 + - *337 + - *338 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -75632,8 +75073,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: - - *340 - - *341 + - *337 + - *338 - 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 @@ -75702,8 +75143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -75721,7 +75162,7 @@ paths: type: integer secrets: type: array - items: &464 + items: &461 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75742,7 +75183,7 @@ paths: - created_at - updated_at examples: - default: *461 + default: *458 headers: Link: *66 x-github: @@ -75765,16 +75206,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *462 + schema: *459 examples: - default: *463 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75794,17 +75235,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *464 + schema: *461 examples: - default: *465 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75824,8 +75265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -75878,8 +75319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -75908,8 +75349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *340 - - *341 + - *337 + - *338 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75947,7 +75388,7 @@ paths: application/json: schema: type: array - items: &466 + items: &463 title: Collaborator description: Collaborator type: object @@ -76140,8 +75581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *340 - - *341 + - *337 + - *338 - *70 responses: '204': @@ -76188,8 +75629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *340 - - *341 + - *337 + - *338 - *70 requestBody: required: false @@ -76216,7 +75657,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &534 + schema: &532 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -76444,8 +75885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *340 - - *341 + - *337 + - *338 - *70 responses: '204': @@ -76477,8 +75918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *340 - - *341 + - *337 + - *338 - *70 responses: '200': @@ -76499,7 +75940,7 @@ paths: user: anyOf: - type: 'null' - - *466 + - *463 required: - permission - role_name @@ -76553,8 +75994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -76564,7 +76005,7 @@ paths: application/json: schema: type: array - items: &467 + items: &464 title: Commit Comment description: Commit Comment type: object @@ -76622,7 +76063,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &469 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76681,17 +76122,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: &473 + default: &470 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76748,8 +76189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -76772,7 +76213,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: default: value: @@ -76823,8 +76264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -76846,8 +76287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76874,7 +76315,7 @@ paths: application/json: schema: type: array - items: &468 + items: &465 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -76918,7 +76359,7 @@ paths: - content - created_at examples: - default: &538 + default: &536 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -76963,8 +76404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -76997,9 +76438,9 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: &469 + default: &466 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77028,9 +76469,9 @@ paths: description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -77052,10 +76493,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *340 - - *341 + - *337 + - *338 - *96 - - &539 + - &537 name: reaction_id description: The unique identifier of the reaction. in: path @@ -77110,8 +76551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *340 - - *341 + - *337 + - *338 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77167,9 +76608,9 @@ paths: application/json: schema: type: array - items: *470 + items: *467 examples: - default: &586 + default: &584 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77263,9 +76704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *340 - - *341 - - &471 + - *337 + - *338 + - &468 name: commit_sha description: The SHA of the commit. in: path @@ -77337,9 +76778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 - *17 - *19 responses: @@ -77349,9 +76790,9 @@ paths: application/json: schema: type: array - items: *467 + items: *464 examples: - default: *472 + default: *469 headers: Link: *66 x-github: @@ -77379,9 +76820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 requestBody: required: true content: @@ -77416,9 +76857,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *473 + default: *470 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77446,9 +76887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 - *17 - *19 responses: @@ -77458,9 +76899,9 @@ paths: application/json: schema: type: array - items: *474 + items: *471 examples: - default: &578 + default: &576 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77997,11 +77438,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *340 - - *341 + - *337 + - *338 - *19 - *17 - - &475 + - &472 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)" @@ -78016,9 +77457,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *467 examples: - default: &566 + default: &564 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78106,7 +77547,7 @@ paths: schema: type: string examples: - default: &482 + default: &479 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -78119,7 +77560,7 @@ paths: schema: type: string examples: - default: &483 + default: &480 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -78172,11 +77613,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *340 - - *341 - - *475 - - *476 - - *477 + - *337 + - *338 + - *472 + - *473 + - *474 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78210,9 +77651,9 @@ paths: type: integer check_runs: type: array - items: *417 + items: *414 examples: - default: *478 + default: *475 headers: Link: *66 x-github: @@ -78237,9 +77678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *340 - - *341 - - *475 + - *337 + - *338 + - *472 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78247,7 +77688,7 @@ paths: schema: type: integer example: 1 - - *476 + - *473 - *17 - *19 responses: @@ -78265,7 +77706,7 @@ paths: type: integer check_suites: type: array - items: *421 + items: *418 examples: default: value: @@ -78465,9 +77906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *340 - - *341 - - *475 + - *337 + - *338 + - *472 - *17 - *19 responses: @@ -78669,9 +78110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *340 - - *341 - - *475 + - *337 + - *338 + - *472 - *17 - *19 responses: @@ -78681,7 +78122,7 @@ paths: application/json: schema: type: array - items: &656 + items: &654 title: Status description: The status of a commit. type: object @@ -78762,7 +78203,7 @@ paths: site_admin: false headers: Link: *66 - '301': *344 + '301': *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78790,8 +78231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -78824,11 +78265,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *479 + - *476 code_of_conduct_file: anyOf: - type: 'null' - - &480 + - &477 title: Community Health File type: object properties: @@ -78848,19 +78289,19 @@ paths: contributing: anyOf: - type: 'null' - - *480 + - *477 readme: anyOf: - type: 'null' - - *480 + - *477 issue_template: anyOf: - type: 'null' - - *480 + - *477 pull_request_template: anyOf: - type: 'null' - - *480 + - *477 required: - code_of_conduct - code_of_conduct_file @@ -78989,8 +78430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *340 - - *341 + - *337 + - *338 - *19 - *17 - name: basehead @@ -79038,8 +78479,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *470 - merge_base_commit: *470 + base_commit: *467 + merge_base_commit: *467 status: type: string enum: @@ -79063,10 +78504,10 @@ paths: - 6 commits: type: array - items: *470 + items: *467 files: type: array - items: *481 + items: *478 required: - url - html_url @@ -79312,12 +78753,12 @@ paths: schema: type: string examples: - default: *482 + default: *479 application/vnd.github.patch: schema: type: string examples: - default: *483 + default: *480 '404': *6 '500': *53 '503': *114 @@ -79362,8 +78803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *340 - - *341 + - *337 + - *338 - name: path description: path parameter in: path @@ -79533,7 +78974,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &484 + response-if-content-is-a-file-github-object: &481 summary: Response if content is a file value: type: file @@ -79670,7 +79111,7 @@ paths: - size - type - url - - &591 + - &589 title: Content File description: Content File type: object @@ -79888,7 +79329,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *484 + response-if-content-is-a-file: *481 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79957,7 +79398,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *485 + '302': *482 '304': *35 x-github: githubCloudOnly: false @@ -79980,8 +79421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *340 - - *341 + - *337 + - *338 - name: path description: path parameter in: path @@ -80076,7 +79517,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &483 title: File Commit description: File Commit type: object @@ -80232,7 +79673,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: example-for-creating-a-file: value: @@ -80286,7 +79727,7 @@ paths: schema: oneOf: - *3 - - &516 + - &513 description: Repository rule violation was detected type: object properties: @@ -80307,7 +79748,7 @@ paths: items: type: object properties: - placeholder_id: &648 + placeholder_id: &646 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80339,8 +79780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *340 - - *341 + - *337 + - *338 - name: path description: path parameter in: path @@ -80401,7 +79842,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: default: value: @@ -80456,8 +79897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *340 - - *341 + - *337 + - *338 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -80587,8 +80028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -80721,8 +80162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *202 - *203 - *204 @@ -80735,7 +80176,7 @@ paths: schema: type: string - *207 - - *487 + - *484 - *208 - *209 - *210 @@ -80750,7 +80191,7 @@ paths: application/json: schema: type: array - items: &491 + items: &488 type: object description: A Dependabot alert. properties: @@ -80801,7 +80242,7 @@ paths: - transitive - inconclusive - - security_advisory: *488 + security_advisory: *485 security_vulnerability: *64 url: *183 html_url: *184 @@ -80832,8 +80273,8 @@ paths: dismissal. maxLength: 280 fixed_at: *185 - auto_dismissed_at: *489 - dismissal_request: *490 + auto_dismissed_at: *486 + dismissal_request: *487 assignees: type: array description: The users assigned to this alert. @@ -81088,9 +80529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *340 - - *341 - - &492 + - *337 + - *338 + - &489 name: alert_number in: path description: |- @@ -81105,7 +80546,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: default: value: @@ -81237,9 +80678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *340 - - *341 - - *492 + - *337 + - *338 + - *489 requestBody: required: true content: @@ -81276,6 +80717,7 @@ paths: Usernames to assign to this Dependabot Alert. Pass one or more user logins to _replace_ the set of assignees on this alert. Send an empty array (`[]`) to clear all assignees from the alert. + To assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`). items: type: string anyOf: @@ -81295,7 +80737,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: default: value: @@ -81425,8 +80867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -81444,7 +80886,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &492 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -81498,16 +80940,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *493 + schema: *490 examples: - default: *494 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81527,15 +80969,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *495 + schema: *492 examples: default: value: @@ -81561,8 +81003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -81615,8 +81057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -81639,8 +81081,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: - - *340 - - *341 + - *337 + - *338 - 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 @@ -81817,8 +81259,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -82077,8 +81519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: sbom_uuid in: path required: true @@ -82089,7 +81531,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *496 + Location: *493 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -82110,8 +81552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -82149,8 +81591,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -82233,7 +81675,7 @@ paths: - version - url additionalProperties: false - metadata: &497 + metadata: &494 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82272,7 +81714,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *497 + metadata: *494 resolved: type: object description: A collection of resolved package dependencies. @@ -82286,7 +81728,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *497 + metadata: *494 relationship: type: string description: A notation of whether a dependency is requested @@ -82419,8 +81861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *340 - - *341 + - *337 + - *338 - name: sha description: The SHA recorded at creation time. in: query @@ -82461,9 +81903,9 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 + default: *496 headers: Link: *66 x-github: @@ -82529,8 +81971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -82612,7 +82054,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: simple-example: summary: Simple example @@ -82685,9 +82127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *340 - - *341 - - &500 + - *337 + - *338 + - &497 name: deployment_id description: deployment_id parameter in: path @@ -82699,7 +82141,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: default: value: @@ -82764,9 +82206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 responses: '204': description: Response @@ -82788,9 +82230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 - *17 - *19 responses: @@ -82800,7 +82242,7 @@ paths: application/json: schema: type: array - items: &501 + items: &498 title: Deployment Status description: The status of a deployment. type: object @@ -82964,9 +82406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 requestBody: required: true content: @@ -83041,9 +82483,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: &502 + default: &499 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83099,9 +82541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 - name: status_id in: path required: true @@ -83112,9 +82554,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: *502 + default: *499 '404': *6 x-github: githubCloudOnly: false @@ -83139,8 +82581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -83197,8 +82639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -83216,7 +82658,7 @@ paths: - 5 environments: type: array - items: &504 + items: &501 title: Environment description: Details of a deployment environment type: object @@ -83278,7 +82720,7 @@ paths: type: string examples: - wait_timer - wait_timer: &506 + wait_timer: &503 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -83320,7 +82762,7 @@ paths: items: type: object properties: - type: *503 + type: *500 reviewer: anyOf: - *4 @@ -83347,7 +82789,7 @@ paths: - id - node_id - type - deployment_branch_policy: &507 + deployment_branch_policy: &504 type: - object - 'null' @@ -83464,9 +82906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *340 - - *341 - - &505 + - *337 + - *338 + - &502 name: environment_name in: path required: true @@ -83479,9 +82921,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: - default: &508 + default: &505 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -83565,9 +83007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 requestBody: required: false content: @@ -83577,7 +83019,7 @@ paths: - object - 'null' properties: - wait_timer: *506 + wait_timer: *503 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -83596,14 +83038,14 @@ paths: items: type: object properties: - type: *503 + type: *500 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *507 + deployment_branch_policy: *504 additionalProperties: false examples: default: @@ -83623,9 +83065,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: - default: *508 + default: *505 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -83649,9 +83091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 responses: '204': description: Default response @@ -83676,9 +83118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *17 - *19 responses: @@ -83697,7 +83139,7 @@ paths: - 2 branch_policies: type: array - items: &509 + items: &506 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83758,9 +83200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 requestBody: required: true content: @@ -83808,9 +83250,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - example-wildcard: &510 + example-wildcard: &507 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -83852,10 +83294,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 - - &511 + - *337 + - *338 + - *502 + - &508 name: branch_policy_id in: path required: true @@ -83867,9 +83309,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83888,10 +83330,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 - - *511 + - *337 + - *338 + - *502 + - *508 requestBody: required: true content: @@ -83920,9 +83362,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83941,10 +83383,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 - - *511 + - *337 + - *338 + - *502 + - *508 responses: '204': description: Response @@ -83969,9 +83411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *505 - - *341 - - *340 + - *502 + - *338 + - *337 responses: '200': description: List of deployment protection rules @@ -83988,7 +83430,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &512 + items: &509 title: Deployment protection rule description: Deployment protection rule type: object @@ -84010,7 +83452,7 @@ paths: for the environment. examples: - true - app: &513 + app: &510 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84113,9 +83555,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: - - *505 - - *341 - - *340 + - *502 + - *338 + - *337 requestBody: content: application/json: @@ -84136,9 +83578,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *512 + schema: *509 examples: - default: &514 + default: &511 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84173,9 +83615,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: - - *505 - - *341 - - *340 + - *502 + - *338 + - *337 - *19 - *17 responses: @@ -84195,7 +83637,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *513 + items: *510 examples: default: value: @@ -84230,10 +83672,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *340 - - *341 - - *505 - - &515 + - *337 + - *338 + - *502 + - &512 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84245,9 +83687,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *514 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84268,10 +83710,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *505 - - *341 - - *340 - - *515 + - *502 + - *338 + - *337 + - *512 responses: '204': description: Response @@ -84297,9 +83739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *17 - *19 responses: @@ -84317,9 +83759,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -84344,9 +83786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 responses: '200': description: Response @@ -84376,18 +83818,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *163 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *398 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84409,9 +83851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *163 requestBody: required: true @@ -84469,9 +83911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *163 responses: '204': @@ -84497,9 +83939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *172 - *19 responses: @@ -84517,9 +83959,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -84542,9 +83984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 requestBody: required: true content: @@ -84596,18 +84038,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *166 responses: '200': description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: *399 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84628,10 +84070,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 - - *505 + - *502 requestBody: required: true content: @@ -84673,10 +84115,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 - - *505 + - *502 responses: '204': description: Response @@ -84698,8 +84140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -84767,8 +84209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *340 - - *341 + - *337 + - *338 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84927,8 +84369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -84961,9 +84403,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 '400': *14 '422': *15 '403': *27 @@ -84984,8 +84426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -85045,7 +84487,7 @@ paths: schema: oneOf: - *124 - - *516 + - *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85070,8 +84512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *340 - - *341 + - *337 + - *338 - name: file_sha in: path required: true @@ -85171,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -85281,7 +84723,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &514 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -85508,15 +84950,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 responses: '200': description: Response content: application/json: - schema: *517 + schema: *514 examples: default: value: @@ -85572,9 +85014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *340 - - *341 - - &518 + - *337 + - *338 + - &515 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. @@ -85591,7 +85033,7 @@ paths: application/json: schema: type: array - items: &519 + items: &516 title: Git Reference description: Git references within a repository type: object @@ -85667,17 +85109,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *340 - - *341 - - *518 + - *337 + - *338 + - *515 responses: '200': description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: &520 + default: &517 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85706,8 +85148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -85736,9 +85178,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: *520 + default: *517 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -85764,9 +85206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *340 - - *341 - - *518 + - *337 + - *338 + - *515 requestBody: required: true content: @@ -85795,9 +85237,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: *520 + default: *517 '422': *15 '409': *52 x-github: @@ -85815,9 +85257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *340 - - *341 - - *518 + - *337 + - *338 + - *515 responses: '204': description: Response @@ -85872,8 +85314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -85940,7 +85382,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &519 title: Git Tag description: Metadata for a Git tag type: object @@ -85996,7 +85438,7 @@ paths: - sha - type - url - verification: *521 + verification: *518 required: - sha - url @@ -86006,7 +85448,7 @@ paths: - tag - message examples: - default: &523 + default: &520 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86079,8 +85521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *340 - - *341 + - *337 + - *338 - name: tag_sha in: path required: true @@ -86091,9 +85533,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *519 examples: - default: *523 + default: *520 '404': *6 '409': *52 x-github: @@ -86117,8 +85559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -86192,7 +85634,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &521 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86294,8 +85736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *340 - - *341 + - *337 + - *338 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86318,7 +85760,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *521 examples: default-response: summary: Default response @@ -86376,8 +85818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -86421,8 +85863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -86432,7 +85874,7 @@ paths: application/json: schema: type: array - items: &525 + items: &522 title: Webhook description: Webhooks for repositories. type: object @@ -86495,7 +85937,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &763 + last_response: &761 title: Hook Response type: object properties: @@ -86572,8 +86014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -86626,9 +86068,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: &526 + default: &523 value: type: Repository id: 12345678 @@ -86676,17 +86118,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '200': description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: *526 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -86706,8 +86148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 requestBody: required: true @@ -86753,9 +86195,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: *526 + default: *523 '422': *15 '404': *6 x-github: @@ -86776,8 +86218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '204': @@ -86802,8 +86244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '200': @@ -86831,8 +86273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *218 requestBody: required: false @@ -86877,8 +86319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 - *17 - *219 @@ -86911,8 +86353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 - *16 responses: @@ -86941,8 +86383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 - *16 responses: @@ -86966,8 +86408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '204': @@ -86993,8 +86435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '204': @@ -87018,8 +86460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response if immutable releases are enabled @@ -87067,8 +86509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '409': *52 @@ -87088,8 +86530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '409': *52 @@ -87146,14 +86588,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &527 + schema: &524 title: Import description: A repository import from an external source. type: object @@ -87260,7 +86702,7 @@ paths: - html_url - authors_url examples: - default: &530 + default: &527 value: vcs: subversion use_lfs: true @@ -87276,7 +86718,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': &528 + '503': &525 description: Unavailable due to service under maintenance. content: application/json: @@ -87305,8 +86747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -87354,7 +86796,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *524 examples: default: value: @@ -87379,7 +86821,7 @@ paths: type: string '422': *15 '404': *6 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87407,8 +86849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -87460,7 +86902,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *524 examples: example-1: summary: Example 1 @@ -87508,7 +86950,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': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87531,12 +86973,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87562,9 +87004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *340 - - *341 - - &697 + - *337 + - *338 + - &695 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87578,7 +87020,7 @@ paths: application/json: schema: type: array - items: &529 + items: &526 title: Porter Author description: Porter Author type: object @@ -87632,7 +87074,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': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87657,8 +87099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *340 - - *341 + - *337 + - *338 - name: author_id in: path required: true @@ -87688,7 +87130,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *526 examples: default: value: @@ -87701,7 +87143,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87725,8 +87167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -87767,7 +87209,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87795,8 +87237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -87823,11 +87265,11 @@ paths: description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: *530 + default: *527 '422': *15 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87850,8 +87292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -87859,8 +87301,8 @@ paths: application/json: schema: *20 examples: - default: *531 - '301': *344 + default: *528 + '301': *341 '404': *6 x-github: githubCloudOnly: false @@ -87880,8 +87322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -87894,7 +87336,7 @@ paths: properties: {} additionalProperties: false examples: - default: &533 + default: &530 value: limit: collaborators_only origin: repository @@ -87919,13 +87361,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *532 + schema: *529 examples: default: summary: Example request body @@ -87939,7 +87381,7 @@ paths: application/json: schema: *237 examples: - default: *533 + default: *530 '409': description: Response x-github: @@ -87961,8 +87403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -87973,6 +87415,157 @@ paths: enabledForGitHubApps: true category: interactions subcategory: repos + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": + get: + summary: Get pull request creation cap bypass list for a repository + description: |- + Lists the users that are on the pull request creation cap bypass list for a + repository. Users on this list can create pull requests regardless of any + configured pull request creation cap. + + Only repository admins can view the bypass list. + tags: + - interactions + operationId: interactions/get-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *337 + - *338 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *4 + examples: + default: + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + put: + summary: Add users to the pull request creation cap bypass list for a repository + description: |- + Adds users to the pull request creation cap bypass list for a repository. + Users on this list can create pull requests regardless of any configured + pull request creation cap. + + Only repository admins can modify the bypass list. + You can add a maximum of 100 users per request. + The bypass list can only hold a maximum of 100 users. + tags: + - interactions + operationId: interactions/set-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *337 + - *338 + requestBody: + required: true + content: + application/json: + schema: &531 + title: Interaction Limits Pull Request Bypass List + description: A list of user logins to add or remove from the pull request + creation cap bypass list. + type: object + properties: + users: + description: A list of user logins to add or remove from the bypass + list. + type: array + items: + type: string + examples: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + delete: + summary: Remove users from the pull request creation cap bypass list for a repository + description: |- + Removes users from the pull request creation cap bypass list for a repository. + Removed users will be subject to any configured pull request creation cap. + + Only repository admins can modify the bypass list. + You can remove a maximum of 100 users per request. + tags: + - interactions + operationId: interactions/remove-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *337 + - *338 + requestBody: + required: true + content: + application/json: + schema: *531 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -87985,8 +87578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -87996,9 +87589,9 @@ paths: application/json: schema: type: array - items: *534 + items: *532 examples: - default: &690 + default: &688 value: - id: 1 repository: @@ -88129,8 +87722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *340 - - *341 + - *337 + - *338 - *241 requestBody: required: false @@ -88160,7 +87753,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: default: value: @@ -88291,8 +87884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *340 - - *341 + - *337 + - *338 - *241 responses: '204': @@ -88316,8 +87909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -88327,7 +87920,7 @@ paths: type: array items: *245 examples: - default: *535 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -88356,8 +87949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *340 - - *341 + - *337 + - *338 - 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 @@ -88444,7 +88037,7 @@ paths: type: array items: *82 examples: - default: &544 + default: &542 value: - id: 1 node_id: MDU6SXNzdWUx @@ -88593,7 +88186,7 @@ paths: state_reason: completed headers: Link: *66 - '301': *344 + '301': *341 '422': *15 '404': *6 x-github: @@ -88622,8 +88215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -88740,7 +88333,7 @@ paths: application/json: schema: *82 examples: - default: &541 + default: &539 value: id: 1 node_id: MDU6SXNzdWUx @@ -88897,7 +88490,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *536 + '410': *534 x-github: triggersNotification: true githubCloudOnly: false @@ -88925,8 +88518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -88949,7 +88542,7 @@ paths: type: array items: *83 examples: - default: &543 + default: &541 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89007,8 +88600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': @@ -89017,7 +88610,7 @@ paths: application/json: schema: *83 examples: - default: &537 + default: &535 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89072,8 +88665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -89098,7 +88691,7 @@ paths: application/json: schema: *83 examples: - default: *537 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -89116,8 +88709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -89146,8 +88739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': @@ -89210,7 +88803,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *536 + '410': *534 '422': *15 x-github: githubCloudOnly: false @@ -89227,8 +88820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -89236,7 +88829,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *536 + '410': *534 '503': *114 x-github: githubCloudOnly: false @@ -89254,8 +88847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -89282,9 +88875,9 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 @@ -89305,8 +88898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -89339,16 +88932,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -89370,10 +88963,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *340 - - *341 + - *337 + - *338 - *96 - - *539 + - *537 responses: '204': description: Response @@ -89393,8 +88986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -89404,7 +88997,7 @@ paths: application/json: schema: type: array - items: &540 + items: &538 title: Issue Event description: Issue Event type: object @@ -89744,8 +89337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *340 - - *341 + - *337 + - *338 - name: event_id in: path required: true @@ -89756,7 +89349,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *538 examples: default: value: @@ -89949,7 +89542,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *536 + '410': *534 '403': *27 x-github: githubCloudOnly: false @@ -89983,9 +89576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *340 - - *341 - - &542 + - *337 + - *338 + - &540 name: issue_number description: The number that identifies the issue. in: path @@ -90001,7 +89594,7 @@ paths: examples: default: summary: Issue - value: *541 + value: *539 pinned_comment: summary: Issue with pinned comment value: @@ -90200,9 +89793,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 '304': *35 x-github: githubCloudOnly: false @@ -90227,9 +89820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -90374,13 +89967,13 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 '422': *15 '503': *114 '403': *27 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90398,9 +89991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -90428,7 +90021,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90444,9 +90037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: content: application/json: @@ -90473,7 +90066,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90495,9 +90088,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: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - name: assignee in: path required: true @@ -90537,9 +90130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *87 - *17 - *19 @@ -90552,11 +90145,11 @@ paths: type: array items: *83 examples: - default: *543 + default: *541 headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90585,9 +90178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -90611,14 +90204,14 @@ paths: application/json: schema: *83 examples: - default: *537 + default: *535 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *536 + '410': *534 '422': *15 '404': *6 x-github: @@ -90646,9 +90239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -90660,12 +90253,12 @@ paths: type: array items: *82 examples: - default: *544 + default: *542 headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90693,9 +90286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -90719,15 +90312,15 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *344 + '301': *341 '403': *27 - '410': *536 + '410': *534 '422': *15 '404': *6 x-github: @@ -90758,9 +90351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -90774,13 +90367,13 @@ paths: application/json: schema: *82 examples: - default: *541 - '301': *344 + default: *539 + '301': *341 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *536 + '410': *534 x-github: triggersNotification: true githubCloudOnly: false @@ -90806,9 +90399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -90820,12 +90413,12 @@ paths: type: array items: *82 examples: - default: *544 + default: *542 headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90842,9 +90435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -90858,7 +90451,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &548 + - &546 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -90907,7 +90500,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &547 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91035,7 +90628,7 @@ paths: - performed_via_github_app - assignee - assigner - - &550 + - &548 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91081,7 +90674,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &549 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91127,7 +90720,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &550 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91176,7 +90769,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &551 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91218,7 +90811,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &552 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91260,7 +90853,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &553 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91316,7 +90909,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &554 title: Locked Issue Event description: Locked Issue Event type: object @@ -91361,7 +90954,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &555 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -91422,129 +91015,129 @@ paths: - commit_url - created_at - performed_via_github_app + - &556 + title: Moved Column in Project Issue Event + description: Moved Column in Project Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: + - string + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + project_card: + type: object + properties: + id: + type: integer + url: + type: string + format: uri + project_id: + type: integer + project_url: + type: string + format: uri + column_name: + type: string + previous_column_name: + type: string + required: + - id + - url + - project_id + - project_url + - column_name + required: + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &557 + title: Removed from Project Issue Event + description: Removed from Project Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: + - string + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + project_card: + type: object + properties: + id: + type: integer + url: + type: string + format: uri + project_id: + type: integer + project_url: + type: string + format: uri + column_name: + type: string + previous_column_name: + type: string + required: + - id + - url + - project_id + - project_url + - column_name + required: + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app - &558 - title: Moved Column in Project Issue Event - description: Moved Column in Project Issue Event - type: object - properties: - id: - type: integer - node_id: - type: string - url: - type: string - actor: *4 - event: - type: string - commit_id: - type: - - string - - 'null' - commit_url: - type: - - string - - 'null' - created_at: - type: string - performed_via_github_app: - anyOf: - - type: 'null' - - *5 - project_card: - type: object - properties: - id: - type: integer - url: - type: string - format: uri - project_id: - type: integer - project_url: - type: string - format: uri - column_name: - type: string - previous_column_name: - type: string - required: - - id - - url - - project_id - - project_url - - column_name - required: - - id - - node_id - - url - - actor - - event - - commit_id - - commit_url - - created_at - - performed_via_github_app - - &559 - title: Removed from Project Issue Event - description: Removed from Project Issue Event - type: object - properties: - id: - type: integer - node_id: - type: string - url: - type: string - actor: *4 - event: - type: string - commit_id: - type: - - string - - 'null' - commit_url: - type: - - string - - 'null' - created_at: - type: string - performed_via_github_app: - anyOf: - - type: 'null' - - *5 - project_card: - type: object - properties: - id: - type: integer - url: - type: string - format: uri - project_id: - type: integer - project_url: - type: string - format: uri - column_name: - type: string - previous_column_name: - type: string - required: - - id - - url - - project_id - - project_url - - column_name - required: - - id - - node_id - - url - - actor - - event - - commit_id - - commit_url - - created_at - - performed_via_github_app - - &560 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -91637,7 +91230,7 @@ paths: color: red headers: Link: *66 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91654,9 +91247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -91666,9 +91259,9 @@ paths: application/json: schema: type: array - items: *545 + items: *543 examples: - default: &546 + default: &544 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -91703,9 +91296,9 @@ paths: color: green headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91734,9 +91327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -91808,9 +91401,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *545 + items: *543 examples: - default: *546 + default: *544 '400': *14 '403': *27 '404': *6 @@ -91846,9 +91439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -91915,9 +91508,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *545 + items: *543 examples: - default: *546 + default: *544 '400': *14 '403': *27 '404': *6 @@ -91948,9 +91541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *244 responses: '204': @@ -91976,9 +91569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -91990,7 +91583,7 @@ paths: type: array items: *81 examples: - default: &547 + default: &545 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92008,9 +91601,9 @@ paths: default: false headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92026,9 +91619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -92073,10 +91666,10 @@ paths: type: array items: *81 examples: - default: *547 - '301': *344 + default: *545 + '301': *341 '404': *6 - '410': *536 + '410': *534 '422': *15 x-github: githubCloudOnly: false @@ -92093,9 +91686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -92157,10 +91750,10 @@ paths: type: array items: *81 examples: - default: *547 - '301': *344 + default: *545 + '301': *341 '404': *6 - '410': *536 + '410': *534 '422': *15 x-github: githubCloudOnly: false @@ -92177,15 +91770,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 responses: '204': description: Response - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92204,9 +91797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - name: name in: path required: true @@ -92230,9 +91823,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92252,9 +91845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -92283,7 +91876,7 @@ paths: '204': description: Response '403': *27 - '410': *536 + '410': *534 '404': *6 '422': *15 x-github: @@ -92301,9 +91894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 responses: '204': description: Response @@ -92333,9 +91926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 responses: '200': description: Response @@ -92343,10 +91936,10 @@ paths: application/json: schema: *82 examples: - default: *541 - '301': *344 + default: *539 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92363,9 +91956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - 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. @@ -92391,13 +91984,13 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92415,9 +92008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -92449,16 +92042,16 @@ paths: description: Response content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Response content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -92480,10 +92073,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *340 - - *341 - - *542 - - *539 + - *337 + - *338 + - *540 + - *537 responses: '204': description: Response @@ -92512,9 +92105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -92538,7 +92131,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92571,9 +92164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -92585,11 +92178,11 @@ paths: type: array items: *82 examples: - default: *544 + default: *542 headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92617,9 +92210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -92648,14 +92241,14 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *536 + '410': *534 '422': *15 '404': *6 x-github: @@ -92675,9 +92268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -92710,7 +92303,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 '403': *27 '404': *6 '422': *7 @@ -92732,9 +92325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -92749,6 +92342,8 @@ paths: description: Timeline Event type: object anyOf: + - *546 + - *547 - *548 - *549 - *550 @@ -92760,8 +92355,6 @@ paths: - *556 - *557 - *558 - - *559 - - *560 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -92818,7 +92411,7 @@ paths: pin: anyOf: - type: 'null' - - *561 + - *559 required: - event - actor @@ -93094,7 +92687,7 @@ paths: type: string comments: type: array - items: &580 + items: &578 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93335,7 +92928,7 @@ paths: type: string comments: type: array - items: *467 + items: *464 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93610,7 +93203,7 @@ paths: headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93627,8 +93220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -93638,7 +93231,7 @@ paths: application/json: schema: type: array - items: &562 + items: &560 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93706,8 +93299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -93743,9 +93336,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: &563 + default: &561 value: id: 1 key: ssh-rsa AAA... @@ -93779,9 +93372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *340 - - *341 - - &564 + - *337 + - *338 + - &562 name: key_id description: The unique identifier of the key. in: path @@ -93793,9 +93386,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: *563 + default: *561 '404': *6 x-github: githubCloudOnly: false @@ -93813,9 +93406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *340 - - *341 - - *564 + - *337 + - *338 + - *562 responses: '204': description: Response @@ -93835,8 +93428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -93848,7 +93441,7 @@ paths: type: array items: *81 examples: - default: *547 + default: *545 headers: Link: *66 '404': *6 @@ -93869,8 +93462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -93908,7 +93501,7 @@ paths: application/json: schema: *81 examples: - default: &565 + default: &563 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93940,8 +93533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *340 - - *341 + - *337 + - *338 - name: name in: path required: true @@ -93954,7 +93547,7 @@ paths: application/json: schema: *81 examples: - default: *565 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -93971,8 +93564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *340 - - *341 + - *337 + - *338 - name: name in: path required: true @@ -94037,8 +93630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *340 - - *341 + - *337 + - *338 - name: name in: path required: true @@ -94064,8 +93657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -94104,9 +93697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *340 - - *341 - - *442 + - *337 + - *338 + - *439 responses: '200': description: Response @@ -94253,8 +93846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -94319,8 +93912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -94354,9 +93947,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *470 + schema: *467 examples: - default: *566 + default: *564 '204': description: Response when already merged '404': @@ -94381,8 +93974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *340 - - *341 + - *337 + - *338 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94479,8 +94072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -94522,7 +94115,7 @@ paths: application/json: schema: *281 examples: - default: &567 + default: &565 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94581,9 +94174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *340 - - *341 - - &568 + - *337 + - *338 + - &566 name: milestone_number description: The number that identifies the milestone. in: path @@ -94597,7 +94190,7 @@ paths: application/json: schema: *281 examples: - default: *567 + default: *565 '404': *6 x-github: githubCloudOnly: false @@ -94614,9 +94207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *340 - - *341 - - *568 + - *337 + - *338 + - *566 requestBody: required: false content: @@ -94656,7 +94249,7 @@ paths: application/json: schema: *281 examples: - default: *567 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94672,9 +94265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *340 - - *341 - - *568 + - *337 + - *338 + - *566 responses: '204': description: Response @@ -94695,9 +94288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *340 - - *341 - - *568 + - *337 + - *338 + - *566 - *17 - *19 responses: @@ -94709,7 +94302,7 @@ paths: type: array items: *81 examples: - default: *547 + default: *545 headers: Link: *66 x-github: @@ -94728,12 +94321,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *340 - - *341 - - *569 - - *570 + - *337 + - *338 + - *567 + - *568 - *87 - - *571 + - *569 - *17 - *19 responses: @@ -94745,7 +94338,7 @@ paths: type: array items: *107 examples: - default: *572 + default: *570 headers: Link: *66 x-github: @@ -94769,8 +94362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -94828,14 +94421,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &573 + schema: &571 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -94979,7 +94572,7 @@ paths: - custom_404 - public examples: - default: &574 + default: &572 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95020,8 +94613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95076,9 +94669,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *571 examples: - default: *574 + default: *572 '422': *15 '409': *52 x-github: @@ -95101,8 +94694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95202,8 +94795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -95229,8 +94822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -95240,7 +94833,7 @@ paths: application/json: schema: type: array - items: &575 + items: &573 title: Page Build description: Page Build type: object @@ -95332,8 +94925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -95380,16 +94973,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *575 + schema: *573 examples: - default: &576 + default: &574 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95437,8 +95030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *340 - - *341 + - *337 + - *338 - name: build_id in: path required: true @@ -95449,9 +95042,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *573 examples: - default: *576 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95471,8 +95064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95580,9 +95173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *340 - - *341 - - &577 + - *337 + - *338 + - &575 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95640,9 +95233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *340 - - *341 - - *577 + - *337 + - *338 + - *575 responses: '204': *59 '404': *6 @@ -95669,8 +95262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -95965,8 +95558,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Private vulnerability reporting status @@ -96003,8 +95596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '422': *14 @@ -96025,8 +95618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '422': *14 @@ -96048,8 +95641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -96088,8 +95681,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -96151,8 +95744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *340 - - *341 + - *337 + - *338 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96212,9 +95805,9 @@ paths: application/json: schema: type: array - items: *474 + items: *471 examples: - default: *578 + default: *576 headers: Link: *66 '304': *35 @@ -96246,8 +95839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -96314,7 +95907,7 @@ paths: description: Response content: application/json: - schema: &582 + schema: &580 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96548,7 +96141,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *579 + auto_merge: *577 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -96650,7 +96243,7 @@ paths: - merged_by - review_comments examples: - default: &583 + default: &581 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97177,8 +96770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: sort in: query required: false @@ -97207,9 +96800,9 @@ paths: application/json: schema: type: array - items: *580 + items: *578 examples: - default: &585 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97286,17 +96879,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: &581 + default: &579 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97371,8 +96964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -97395,9 +96988,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *581 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97413,8 +97006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -97436,8 +97029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -97464,9 +97057,9 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 @@ -97487,8 +97080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -97521,16 +97114,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -97552,10 +97145,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *340 - - *341 + - *337 + - *338 - *96 - - *539 + - *537 responses: '204': description: Response @@ -97598,9 +97191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *340 - - *341 - - &584 + - *337 + - *338 + - &582 name: pull_number description: The number that identifies the pull request. in: path @@ -97613,9 +97206,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *582 + schema: *580 examples: - default: *583 + default: *581 '304': *35 '404': *6 '406': @@ -97650,9 +97243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -97694,9 +97287,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: *583 + default: *581 '422': *15 '403': *27 x-github: @@ -97718,9 +97311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: true content: @@ -97783,7 +97376,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -97791,7 +97384,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '401': *23 '403': *27 '404': *6 @@ -97821,9 +97414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -97844,9 +97437,9 @@ paths: application/json: schema: type: array - items: *580 + items: *578 examples: - default: *585 + default: *583 headers: Link: *66 x-github: @@ -97879,9 +97472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: true content: @@ -97987,7 +97580,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: example-for-a-multi-line-comment: value: @@ -98075,9 +97668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *96 requestBody: required: true @@ -98100,7 +97693,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: default: value: @@ -98186,9 +97779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *17 - *19 responses: @@ -98198,9 +97791,9 @@ paths: application/json: schema: type: array - items: *470 + items: *467 examples: - default: *586 + default: *584 headers: Link: *66 x-github: @@ -98230,9 +97823,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *17 - *19 responses: @@ -98242,7 +97835,7 @@ paths: application/json: schema: type: array - items: *481 + items: *478 examples: default: value: @@ -98280,9 +97873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 responses: '204': description: Response if pull request has been merged @@ -98305,9 +97898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -98419,9 +98012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 responses: '200': description: Response @@ -98496,9 +98089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -98535,7 +98128,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: default: value: @@ -99071,9 +98664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: true content: @@ -99107,7 +98700,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: default: value: @@ -99612,9 +99205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *17 - *19 responses: @@ -99624,7 +99217,7 @@ paths: application/json: schema: type: array - items: &587 + items: &585 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99780,9 +99373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -99872,9 +99465,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: &589 + default: &587 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99937,10 +99530,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - &588 + - *337 + - *338 + - *582 + - &586 name: review_id description: The unique identifier of the review. in: path @@ -99952,9 +99545,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: &590 + default: &588 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100013,10 +99606,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 requestBody: required: true content: @@ -100039,7 +99632,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: default: value: @@ -100101,18 +99694,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 responses: '200': description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: *589 + default: *587 '422': *7 '404': *6 x-github: @@ -100139,10 +99732,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 - *17 - *19 responses: @@ -100400,10 +99993,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 requestBody: required: true content: @@ -100432,7 +100025,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: default: value: @@ -100495,10 +100088,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 requestBody: required: true content: @@ -100533,9 +100126,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: *590 + default: *588 '404': *6 '422': *7 '403': *27 @@ -100557,9 +100150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -100623,8 +100216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *340 - - *341 + - *337 + - *338 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100637,9 +100230,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: &592 + default: &590 value: type: file encoding: base64 @@ -100681,8 +100274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *340 - - *341 + - *337 + - *338 - name: dir description: The alternate path to look for a README file in: path @@ -100702,9 +100295,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *592 + default: *590 '404': *6 '422': *15 x-github: @@ -100726,8 +100319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -100737,7 +100330,7 @@ paths: application/json: schema: type: array - items: *593 + items: *591 examples: default: value: @@ -100831,8 +100424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -100908,9 +100501,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: &597 + default: &595 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101015,9 +100608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *340 - - *341 - - &595 + - *337 + - *338 + - &593 name: asset_id description: The unique identifier of the asset. in: path @@ -101029,9 +100622,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *592 examples: - default: &596 + default: &594 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 @@ -101066,7 +100659,7 @@ paths: type: User site_admin: false '404': *6 - '302': *485 + '302': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101082,9 +100675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *340 - - *341 - - *595 + - *337 + - *338 + - *593 requestBody: required: false content: @@ -101113,9 +100706,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *592 examples: - default: *596 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101131,9 +100724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *340 - - *341 - - *595 + - *337 + - *338 + - *593 responses: '204': description: Response @@ -101158,8 +100751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -101245,16 +100838,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *597 + default: *595 '404': *6 x-github: githubCloudOnly: false @@ -101272,8 +100865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *340 - - *341 + - *337 + - *338 - name: tag description: tag parameter in: path @@ -101286,9 +100879,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *597 + default: *595 '404': *6 x-github: githubCloudOnly: false @@ -101310,9 +100903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *340 - - *341 - - &598 + - *337 + - *338 + - &596 name: release_id description: The unique identifier of the release. in: path @@ -101326,9 +100919,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: *593 + schema: *591 examples: - default: *597 + default: *595 '401': description: Unauthorized x-github: @@ -101346,9 +100939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 requestBody: required: false content: @@ -101412,9 +101005,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *597 + default: *595 '404': description: Not Found if the discussion category name is invalid content: @@ -101435,9 +101028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 responses: '204': description: Response @@ -101458,9 +101051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 - *17 - *19 responses: @@ -101470,7 +101063,7 @@ paths: application/json: schema: type: array - items: *594 + items: *592 examples: default: value: @@ -101551,9 +101144,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: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 - name: name in: query required: true @@ -101579,7 +101172,7 @@ paths: description: Response for successful upload content: application/json: - schema: *594 + schema: *592 examples: response-for-successful-upload: value: @@ -101634,9 +101227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 - 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. @@ -101660,9 +101253,9 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 @@ -101683,9 +101276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 requestBody: required: true content: @@ -101715,16 +101308,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -101746,10 +101339,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *340 - - *341 - - *598 - - *539 + - *337 + - *338 + - *596 + - *537 responses: '204': description: Response @@ -101773,9 +101366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 - *17 - *19 responses: @@ -101792,7 +101385,7 @@ paths: oneOf: - allOf: - *302 - - &599 + - &597 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101813,67 +101406,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *303 - - *599 + - *597 - allOf: - *304 - - *599 + - *597 - allOf: - *305 - - *599 + - *597 - allOf: - - *600 - - *599 + - *598 + - *597 - allOf: - *306 - - *599 + - *597 - allOf: - *307 - - *599 + - *597 - allOf: - *308 - - *599 + - *597 - allOf: - *309 - - *599 + - *597 - allOf: - *310 - - *599 + - *597 - allOf: - *311 - - *599 + - *597 - allOf: - *312 - - *599 + - *597 - allOf: - *313 - - *599 + - *597 - allOf: - *314 - - *599 + - *597 - allOf: - *315 - - *599 + - *597 - allOf: - *320 - - *599 + - *597 - allOf: - *321 - - *599 + - *597 - allOf: - *322 - - *599 + - *597 - allOf: - *316 - - *599 + - *597 - allOf: - *317 - - *599 + - *597 - allOf: - *318 - - *599 + - *597 - allOf: - *319 - - *599 + - *597 examples: default: value: @@ -101912,8 +101505,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - name: includes_parents @@ -101924,7 +101517,7 @@ paths: schema: type: boolean default: true - - *601 + - *599 responses: '200': description: Response @@ -101979,8 +101572,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 requestBody: description: Request body required: true @@ -102009,7 +101602,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *602 + items: *600 required: - name - enforcement @@ -102042,7 +101635,7 @@ paths: application/json: schema: *323 examples: - default: &613 + default: &611 value: id: 42 name: super cool ruleset @@ -102090,13 +101683,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *340 - - *341 + - *337 + - *338 + - *601 + - *602 - *603 - *604 - *605 - - *606 - - *607 - *17 - *19 responses: @@ -102104,9 +101697,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: - default: *609 + default: *607 '404': *6 '500': *53 x-github: @@ -102127,17 +101720,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *340 - - *341 - - *610 + - *337 + - *338 + - *608 responses: '200': description: Response content: application/json: - schema: *611 + schema: *609 examples: - default: *612 + default: *610 '404': *6 '500': *53 x-github: @@ -102165,8 +101758,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102188,7 +101781,7 @@ paths: application/json: schema: *323 examples: - default: *613 + default: *611 '404': *6 '500': *53 put: @@ -102206,8 +101799,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102241,7 +101834,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *602 + items: *600 examples: default: value: @@ -102271,7 +101864,7 @@ paths: application/json: schema: *323 examples: - default: *613 + default: *611 '404': *6 '422': *15 '500': *53 @@ -102290,8 +101883,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102314,8 +101907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - name: ruleset_id @@ -102333,7 +101926,7 @@ paths: type: array items: *326 examples: - default: *614 + default: *612 '404': *6 '500': *53 x-github: @@ -102352,8 +101945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102371,7 +101964,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *613 examples: default: value: @@ -102426,26 +102019,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 + - *614 + - *615 - *616 - *617 - *618 - *619 - *620 - *621 - - *622 - - *623 - *60 - *19 - *17 + - *622 + - *623 - *624 - *625 - *626 - *627 - *628 - - *629 - - *630 responses: '200': description: Response @@ -102453,7 +102046,7 @@ paths: application/json: schema: type: array - items: &634 + items: &632 type: object properties: number: *180 @@ -102469,8 +102062,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *631 - resolution: *632 + state: *629 + resolution: *630 resolved_at: type: - string @@ -102576,7 +102169,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *633 + - *631 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -102735,16 +102328,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *340 - - *341 - - *436 - - *629 + - *337 + - *338 + - *433 + - *627 responses: '200': description: Response content: application/json: - schema: *634 + schema: *632 examples: default: value: @@ -102798,9 +102391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 requestBody: required: true content: @@ -102808,8 +102401,8 @@ paths: schema: type: object properties: - state: *631 - resolution: *632 + state: *629 + resolution: *630 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -102857,7 +102450,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *632 examples: default: value: @@ -102956,9 +102549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 - *19 - *17 responses: @@ -102969,7 +102562,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &783 + items: &781 type: object properties: type: @@ -102996,6 +102589,8 @@ paths: - commit details: oneOf: + - *633 + - *634 - *635 - *636 - *637 @@ -103007,8 +102602,6 @@ paths: - *643 - *644 - *645 - - *646 - - *647 examples: default: value: @@ -103094,8 +102687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -103103,14 +102696,14 @@ paths: schema: type: object properties: - reason: &649 + reason: &647 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *648 + placeholder_id: *646 required: - reason - placeholder_id @@ -103127,7 +102720,7 @@ paths: schema: type: object properties: - reason: *649 + reason: *647 expire_at: type: - string @@ -103174,8 +102767,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: - - *340 - - *341 + - *337 + - *338 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103190,7 +102783,7 @@ paths: properties: incremental_scans: type: array - items: &650 + items: &648 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103223,15 +102816,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *650 + items: *648 backfill_scans: type: array - items: *650 + items: *648 custom_pattern_backfill_scans: type: array items: allOf: - - *650 + - *648 - type: object properties: pattern_name: @@ -103244,7 +102837,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *650 + items: *648 examples: default: value: @@ -103309,8 +102902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *340 - - *341 + - *337 + - *338 - *60 - name: sort description: The property to sort the results by. @@ -103354,9 +102947,9 @@ paths: application/json: schema: type: array - items: *651 + items: *649 examples: - default: *652 + default: *650 '400': *14 '404': *6 x-github: @@ -103379,8 +102972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -103550,9 +103143,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: &654 + default: &652 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103785,8 +103378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -103899,7 +103492,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: default: value: @@ -104046,17 +103639,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 responses: '200': description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *654 + default: *652 '403': *27 '404': *6 x-github: @@ -104080,9 +103673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 requestBody: required: true content: @@ -104253,10 +103846,10 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *654 - add_credit: *654 + default: *652 + add_credit: *652 '403': *27 '404': *6 '422': @@ -104294,9 +103887,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: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 responses: '202': *37 '400': *14 @@ -104323,17 +103916,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 responses: '202': description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 '400': *14 '422': *15 '403': *27 @@ -104359,8 +103952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -104456,8 +104049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104466,7 +104059,7 @@ paths: application/json: schema: type: array - items: &655 + items: &653 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104499,8 +104092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -104578,8 +104171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -104673,8 +104266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104828,8 +104421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104839,7 +104432,7 @@ paths: application/json: schema: type: array - items: *655 + items: *653 examples: default: value: @@ -104872,8 +104465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *340 - - *341 + - *337 + - *338 - name: sha in: path required: true @@ -104929,7 +104522,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *654 examples: default: value: @@ -104983,8 +104576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -105016,14 +104609,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &657 + schema: &655 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105096,8 +104689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -105123,7 +104716,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *655 examples: default: value: @@ -105150,8 +104743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -105171,8 +104764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -105254,8 +104847,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *340 - - *341 + - *337 + - *338 - name: ref in: path required: true @@ -105291,8 +104884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -105324,8 +104917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *340 - - *341 + - *337 + - *338 - *19 - *17 responses: @@ -105333,7 +104926,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &656 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105345,7 +104938,7 @@ paths: required: - names examples: - default: &659 + default: &657 value: names: - octocat @@ -105368,8 +104961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -105400,9 +104993,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *656 examples: - default: *659 + default: *657 '404': *6 '422': *7 x-github: @@ -105423,9 +105016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *340 - - *341 - - &660 + - *337 + - *338 + - &658 name: per description: The time frame to display results for. in: query @@ -105456,7 +105049,7 @@ paths: - 128 clones: type: array - items: &661 + items: &659 title: Traffic type: object properties: @@ -105543,8 +105136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -105638,8 +105231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -105702,9 +105295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *340 - - *341 - - *660 + - *337 + - *338 + - *658 responses: '200': description: Response @@ -105725,7 +105318,7 @@ paths: - 3782 views: type: array - items: *661 + items: *659 required: - uniques - count @@ -105802,8 +105395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -106077,8 +105670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106101,8 +105694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -106124,8 +105717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -106151,8 +105744,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *340 - - *341 + - *337 + - *338 - name: ref in: path required: true @@ -106244,9 +105837,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106498,7 +106091,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &662 + text_matches: &660 title: Search Result Text Matches type: array items: @@ -106661,7 +106254,7 @@ paths: enum: - author-date - committer-date - - &663 + - &661 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 @@ -106730,7 +106323,7 @@ paths: committer: anyOf: - type: 'null' - - *404 + - *401 comment_count: type: integer message: @@ -106749,7 +106342,7 @@ paths: url: type: string format: uri - verification: *521 + verification: *518 required: - author - committer @@ -106764,7 +106357,7 @@ paths: committer: anyOf: - type: 'null' - - *404 + - *401 parents: type: array items: @@ -106781,7 +106374,7 @@ paths: type: number node_id: type: string - text_matches: *662 + text_matches: *660 required: - sha - node_id @@ -106973,7 +106566,7 @@ paths: - interactions - created - updated - - *663 + - *661 - *17 - *19 - name: advanced_search @@ -107087,11 +106680,11 @@ paths: type: - string - 'null' - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: type: string state_reason: @@ -107119,7 +106712,7 @@ paths: - string - 'null' format: date-time - text_matches: *662 + text_matches: *660 pull_request: type: object properties: @@ -107395,7 +106988,7 @@ paths: enum: - created - updated - - *663 + - *661 - *17 - *19 responses: @@ -107440,7 +107033,7 @@ paths: - 'null' score: type: number - text_matches: *662 + text_matches: *660 required: - id - node_id @@ -107525,7 +107118,7 @@ paths: - forks - help-wanted-issues - updated - - *663 + - *661 - *17 - *19 responses: @@ -107771,7 +107364,7 @@ paths: - admin - pull - push - text_matches: *662 + text_matches: *660 temp_clone_token: type: string allow_merge_commit: @@ -108079,7 +107672,7 @@ paths: - string - 'null' format: uri - text_matches: *662 + text_matches: *660 related: type: - array @@ -108272,7 +107865,7 @@ paths: - followers - repositories - joined - - *663 + - *661 - *17 - *19 responses: @@ -108382,7 +107975,7 @@ paths: type: - boolean - 'null' - text_matches: *662 + text_matches: *660 blog: type: - string @@ -108464,7 +108057,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &666 + - &664 name: team_id description: The unique identifier of the team. in: path @@ -108476,9 +108069,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 x-github: githubCloudOnly: false @@ -108505,7 +108098,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *666 + - *664 requestBody: required: true content: @@ -108569,16 +108162,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '201': description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 '422': *15 '403': *27 @@ -108606,7 +108199,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *666 + - *664 responses: '204': description: Response @@ -108635,7 +108228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *666 + - *664 - *17 - *19 responses: @@ -108673,7 +108266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *666 + - *664 - name: role description: Filters members returned by their role in the team. in: query @@ -108724,7 +108317,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -108761,7 +108354,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -108801,7 +108394,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -108838,16 +108431,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *666 + - *664 - *70 responses: '200': description: Response content: application/json: - schema: *339 + schema: *336 examples: - response-if-user-is-a-team-maintainer: *667 + response-if-user-is-a-team-maintainer: *665 '404': *6 x-github: githubCloudOnly: false @@ -108880,7 +108473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *666 + - *664 - *70 requestBody: required: false @@ -108906,9 +108499,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: *668 + response-if-users-membership-with-team-is-now-pending: *666 '403': description: Forbidden if team synchronization is set up '422': @@ -108942,7 +108535,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -108970,7 +108563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *666 + - *664 - *17 - *19 responses: @@ -109012,15 +108605,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *666 - - *340 - - *341 + - *664 + - *337 + - *338 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *669 + schema: *667 examples: alternative-response-with-extra-repository-information: value: @@ -109171,9 +108764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *666 - - *340 - - *341 + - *664 + - *337 + - *338 requestBody: required: false content: @@ -109223,9 +108816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *666 - - *340 - - *341 + - *664 + - *337 + - *338 responses: '204': description: Response @@ -109250,7 +108843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *666 + - *664 - *17 - *19 responses: @@ -109262,7 +108855,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: *670 + response-if-child-teams-exist: *668 headers: Link: *66 '404': *6 @@ -109295,7 +108888,7 @@ paths: application/json: schema: oneOf: - - &672 + - &670 title: Private User description: Private User type: object @@ -109545,7 +109138,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *671 + - *669 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -109705,7 +109298,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *670 examples: default: value: @@ -110051,7 +109644,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -110059,7 +109652,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '401': *23 '403': *27 '404': *6 @@ -110103,7 +109696,7 @@ paths: type: integer secrets: type: array - items: &673 + items: &671 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -110145,7 +109738,7 @@ paths: - visibility - selected_repositories_url examples: - default: *461 + default: *458 headers: Link: *66 x-github: @@ -110223,7 +109816,7 @@ paths: description: Response content: application/json: - schema: *673 + schema: *671 examples: default: value: @@ -110521,7 +110114,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '304': *35 '500': *53 '401': *23 @@ -110579,7 +110172,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '401': *23 '403': *27 '404': *6 @@ -110636,7 +110229,7 @@ paths: description: Response content: application/json: - schema: &674 + schema: &672 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -110689,7 +110282,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &675 + default: &673 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -110734,9 +110327,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *672 examples: - default: *675 + default: *673 '404': *6 x-github: githubCloudOnly: false @@ -110773,9 +110366,9 @@ paths: type: integer machines: type: array - items: *460 + items: *457 examples: - default: *676 + default: *674 '304': *35 '500': *53 '401': *23 @@ -110860,11 +110453,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *343 + repository: *340 machine: anyOf: - type: 'null' - - *460 + - *457 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -111669,7 +111262,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '304': *35 '500': *53 '400': *14 @@ -111709,7 +111302,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '500': *53 '401': *23 '403': *27 @@ -111741,7 +111334,7 @@ paths: type: array items: *262 examples: - default: &687 + default: &685 value: - id: 197 name: hello_docker @@ -111842,7 +111435,7 @@ paths: application/json: schema: type: array - items: &677 + items: &675 title: Email description: Email type: object @@ -111912,9 +111505,9 @@ paths: application/json: schema: type: array - items: *677 + items: *675 examples: - default: &689 + default: &687 value: - email: octocat@github.com verified: true @@ -111991,7 +111584,7 @@ paths: application/json: schema: type: array - items: *677 + items: *675 examples: default: value: @@ -112249,7 +111842,7 @@ paths: application/json: schema: type: array - items: &678 + items: &676 title: GPG Key description: A unique encryption key type: object @@ -112394,7 +111987,7 @@ paths: - subkeys - revoked examples: - default: &706 + default: &704 value: - id: 3 name: Octocat's GPG Key @@ -112479,9 +112072,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: &679 + default: &677 value: id: 3 name: Octocat's GPG Key @@ -112538,7 +112131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &680 + - &678 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -112550,9 +112143,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: *679 + default: *677 '404': *6 '304': *35 '403': *27 @@ -112575,7 +112168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *680 + - *678 responses: '204': description: Response @@ -112892,7 +112485,7 @@ paths: required: true content: application/json: - schema: *532 + schema: *529 examples: default: value: @@ -113042,7 +112635,7 @@ paths: application/json: schema: type: array - items: &681 + items: &679 title: Key description: Key type: object @@ -113145,9 +112738,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *679 examples: - default: &682 + default: &680 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -113180,15 +112773,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *564 + - *562 responses: '200': description: Response content: application/json: - schema: *681 + schema: *679 examples: - default: *682 + default: *680 '404': *6 '304': *35 '403': *27 @@ -113211,7 +112804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *564 + - *562 responses: '204': description: Response @@ -113244,7 +112837,7 @@ paths: application/json: schema: type: array - items: &683 + items: &681 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -113323,7 +112916,7 @@ paths: - account - plan examples: - default: &684 + default: &682 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -113385,9 +112978,9 @@ paths: application/json: schema: type: array - items: *683 + items: *681 examples: - default: *684 + default: *682 headers: Link: *66 '304': *35 @@ -114405,7 +113998,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *257 - - *685 + - *683 responses: '204': description: Response @@ -114520,7 +114113,7 @@ paths: - docker - nuget - container - - *686 + - *684 - *19 - *17 responses: @@ -114532,8 +114125,8 @@ paths: type: array items: *262 examples: - default: *687 - '400': *688 + default: *685 + '400': *686 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114562,7 +114155,7 @@ paths: application/json: schema: *262 examples: - default: &707 + default: &705 value: id: 40201 name: octo-name @@ -114924,9 +114517,9 @@ paths: application/json: schema: type: array - items: *677 + items: *675 examples: - default: *689 + default: *687 headers: Link: *66 '304': *35 @@ -115039,7 +114632,7 @@ paths: type: array items: *78 examples: - default: &696 + default: &694 summary: Default response value: - id: 1296269 @@ -115357,9 +114950,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -115397,9 +114990,9 @@ paths: application/json: schema: type: array - items: *534 + items: *532 examples: - default: *690 + default: *688 headers: Link: *66 '304': *35 @@ -115478,7 +115071,7 @@ paths: application/json: schema: type: array - items: &691 + items: &689 title: Social account description: Social media account type: object @@ -115495,7 +115088,7 @@ paths: - provider - url examples: - default: &692 + default: &690 value: - provider: twitter url: https://twitter.com/github @@ -115558,9 +115151,9 @@ paths: application/json: schema: type: array - items: *691 + items: *689 examples: - default: *692 + default: *690 '422': *15 '304': *35 '404': *6 @@ -115648,7 +115241,7 @@ paths: application/json: schema: type: array - items: &693 + items: &691 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -115668,7 +115261,7 @@ paths: - title - created_at examples: - default: &724 + default: &722 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -115733,9 +115326,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *691 examples: - default: &694 + default: &692 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -115765,7 +115358,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: - - &695 + - &693 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -115777,9 +115370,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *691 examples: - default: *694 + default: *692 '404': *6 '304': *35 '403': *27 @@ -115802,7 +115395,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: - - *695 + - *693 responses: '204': description: Response @@ -115831,7 +115424,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &725 + - &723 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 @@ -115856,11 +115449,11 @@ paths: type: array items: *78 examples: - default-response: *696 + default-response: *694 application/vnd.github.v3.star+json: schema: type: array - items: &726 + items: &724 title: Starred Repository description: Starred Repository type: object @@ -116016,8 +115609,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: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response if this repository is starred by you @@ -116045,8 +115638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -116070,8 +115663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -116143,7 +115736,7 @@ paths: application/json: schema: type: array - items: *336 + items: *333 examples: default: value: @@ -116229,10 +115822,10 @@ paths: application/json: schema: oneOf: - - *672 - - *671 + - *670 + - *669 examples: - default-response: &700 + default-response: &698 summary: Default response value: login: octocat @@ -116267,7 +115860,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &701 + response-with-git-hub-plan-information: &699 summary: Response with GitHub plan information value: login: octocat @@ -116324,7 +115917,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &698 + - &696 name: user_id description: The unique identifier of the user. in: path @@ -116390,7 +115983,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *697 + - *695 - *17 responses: '200': @@ -116425,7 +116018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *698 + - *696 - *280 requestBody: required: true @@ -116500,7 +116093,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *699 + schema: *697 examples: table_view: summary: Response for creating a table view @@ -116552,11 +116145,11 @@ paths: application/json: schema: oneOf: - - *672 - - *671 + - *670 + - *669 examples: - default-response: *700 - response-with-git-hub-plan-information: *701 + default-response: *698 + response-with-git-hub-plan-information: *699 '404': *6 x-github: githubCloudOnly: false @@ -116606,8 +116199,8 @@ paths: required: - subject_digests examples: - default: *702 - withPredicateType: *703 + default: *700 + withPredicateType: *701 responses: '200': description: Response @@ -116661,7 +116254,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *704 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116866,7 +116459,7 @@ paths: initiator: type: string examples: - default: *400 + default: *397 '201': description: Response content: @@ -117150,7 +116743,7 @@ paths: application/json: schema: *196 examples: - default: &705 + default: &703 summary: Example response for a user copilot space value: id: 42 @@ -117251,7 +116844,7 @@ paths: application/json: schema: *196 examples: - default: *705 + default: *703 '403': *27 '404': *6 x-github: @@ -117377,7 +116970,7 @@ paths: application/json: schema: *196 examples: - default: *705 + default: *703 '403': *27 '404': *6 '422': *15 @@ -118145,7 +117738,7 @@ paths: type: array items: *262 examples: - default: *687 + default: *685 '403': *27 '401': *23 x-github: @@ -118529,9 +118122,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: *706 + default: *704 headers: Link: *66 x-github: @@ -118635,7 +118228,7 @@ paths: application/json: schema: *20 examples: - default: *531 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118760,7 +118353,7 @@ paths: - docker - nuget - container - - *686 + - *684 - *70 - *19 - *17 @@ -118773,10 +118366,10 @@ paths: type: array items: *262 examples: - default: *687 + default: *685 '403': *27 '401': *23 - '400': *688 + '400': *686 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118806,7 +118399,7 @@ paths: application/json: schema: *262 examples: - default: *707 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119155,7 +118748,7 @@ paths: type: array items: *283 examples: - default: *708 + default: *706 headers: Link: *66 '304': *35 @@ -119215,7 +118808,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *709 + items: *707 required: - name - data_type @@ -119231,7 +118824,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *710 + iteration_configuration: *708 required: - name - data_type @@ -119253,8 +118846,8 @@ paths: value: name: Due date data_type: date - single_select_field: *711 - iteration_field: *712 + single_select_field: *709 + iteration_field: *710 responses: '201': description: Response @@ -119262,11 +118855,11 @@ paths: application/json: schema: *283 examples: - text_field: *713 - number_field: *714 - date_field: *715 - single_select_field: *716 - iteration_field: *717 + text_field: *711 + number_field: *712 + date_field: *713 + single_select_field: *714 + iteration_field: *715 '304': *35 '403': *27 '401': *23 @@ -119288,7 +118881,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *280 - - *718 + - *716 - *70 responses: '200': @@ -119297,7 +118890,7 @@ paths: application/json: schema: *283 examples: - default: *719 + default: *717 headers: Link: *66 '304': *35 @@ -119654,7 +119247,7 @@ paths: parameters: - *280 - *70 - - *720 + - *718 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -120193,7 +119786,7 @@ paths: parameters: - *70 - *116 - - *721 + - *719 - *118 responses: '200': @@ -120292,9 +119885,9 @@ paths: - *116 - *117 - *118 - - *722 + - *720 - *121 - - *723 + - *721 responses: '200': description: Response when getting a billing usage summary @@ -120428,9 +120021,9 @@ paths: application/json: schema: type: array - items: *691 + items: *689 examples: - default: *692 + default: *690 headers: Link: *66 x-github: @@ -120460,9 +120053,9 @@ paths: application/json: schema: type: array - items: *693 + items: *691 examples: - default: *724 + default: *722 headers: Link: *66 x-github: @@ -120487,7 +120080,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *725 + - *723 - *60 - *17 - *19 @@ -120499,11 +120092,11 @@ paths: schema: anyOf: - type: array - items: *726 + items: *724 - type: array items: *78 examples: - default-response: *696 + default-response: *694 headers: Link: *66 x-github: @@ -120663,7 +120256,7 @@ webhooks: type: string enum: - disabled - enterprise: &727 + enterprise: &725 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120732,7 +120325,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &728 + installation: &726 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120753,7 +120346,7 @@ webhooks: required: - id - node_id - organization: &729 + organization: &727 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120826,7 +120419,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &730 + repository: &728 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -121752,10 +121345,10 @@ webhooks: type: string enum: - enabled - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -121831,11 +121424,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - rule: &731 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + rule: &729 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) @@ -122058,11 +121651,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - rule: *731 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + rule: *729 sender: *4 required: - action @@ -122250,11 +121843,11 @@ webhooks: - everyone required: - from - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - rule: *731 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + rule: *729 sender: *4 required: - action @@ -122338,7 +121931,7 @@ webhooks: type: string enum: - completed - check_run: &733 + check_run: &731 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122448,7 +122041,7 @@ webhooks: - examples: - neutral - deployment: *732 + deployment: *730 details_url: type: string examples: @@ -122546,10 +122139,10 @@ webhooks: - output - app - pull_requests - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 sender: *4 required: - check_run @@ -122940,11 +122533,11 @@ webhooks: type: string enum: - created - check_run: *733 - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + check_run: *731 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 sender: *4 required: - check_run @@ -123338,11 +122931,11 @@ webhooks: type: string enum: - requested_action - check_run: *733 - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + check_run: *731 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 requested_action: description: The action requested by the user. type: object @@ -123745,11 +123338,11 @@ webhooks: type: string enum: - rerequested - check_run: *733 - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + check_run: *731 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 sender: *4 required: - check_run @@ -124734,10 +124327,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -125451,10 +125044,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -126162,10 +125755,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -126334,7 +125927,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126486,20 +126079,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &734 + commit_oid: &732 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: *727 - installation: *728 - organization: *729 - ref: &735 + enterprise: *725 + installation: *726 + organization: *727 + ref: &733 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: *730 + repository: *728 sender: *4 required: - action @@ -126666,7 +126259,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126907,12 +126500,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -127010,7 +126603,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127195,12 +126788,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -127369,7 +126962,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127546,12 +127139,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -127652,7 +127245,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127841,9 +127434,9 @@ webhooks: type: - string - 'null' - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -127851,7 +127444,7 @@ webhooks: type: - string - 'null' - repository: *730 + repository: *728 sender: *4 required: - action @@ -127950,7 +127543,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128097,12 +127690,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -128271,7 +127864,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128423,10 +128016,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -128686,10 +128279,10 @@ webhooks: - updated_at - author_association - body - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -128770,18 +128363,18 @@ webhooks: type: - string - 'null' - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *729 - pusher_type: &736 + organization: *727 + pusher_type: &734 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &737 + ref: &735 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -128791,7 +128384,7 @@ webhooks: enum: - tag - branch - repository: *730 + repository: *728 sender: *4 required: - ref @@ -128874,9 +128467,9 @@ webhooks: enum: - created definition: *291 - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -128961,9 +128554,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -129041,9 +128634,9 @@ webhooks: enum: - promote_to_enterprise definition: *291 - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -129121,9 +128714,9 @@ webhooks: enum: - updated definition: *291 - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -129200,10 +128793,10 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - repository: *730 - organization: *729 + enterprise: *725 + installation: *726 + repository: *728 + organization: *727 sender: *4 new_property_values: type: array @@ -129288,18 +128881,18 @@ webhooks: title: delete event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - pusher_type: *736 - ref: *737 + enterprise: *725 + installation: *726 + organization: *727 + pusher_type: *734 + ref: *735 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *730 + repository: *728 sender: *4 required: - ref @@ -129379,11 +128972,11 @@ webhooks: type: string enum: - assignees_changed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129463,11 +129056,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129548,11 +129141,11 @@ webhooks: type: string enum: - auto_reopened - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129633,11 +129226,11 @@ webhooks: type: string enum: - created - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129716,11 +129309,11 @@ webhooks: type: string enum: - dismissed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129799,11 +129392,11 @@ webhooks: type: string enum: - fixed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129883,11 +129476,11 @@ webhooks: type: string enum: - reintroduced - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129966,11 +129559,11 @@ webhooks: type: string enum: - reopened - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -130047,9 +129640,9 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - key: &738 + enterprise: *725 + installation: *726 + key: &736 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130087,8 +129680,8 @@ webhooks: - verified - created_at - read_only - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -130165,11 +129758,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - key: *738 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + key: *736 + organization: *727 + repository: *728 sender: *4 required: - action @@ -130736,12 +130329,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: &742 + workflow: &740 title: Workflow type: - object @@ -131492,13 +131085,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *498 + - *495 pull_requests: type: array - items: *582 - repository: *730 - organization: *729 - installation: *728 + items: *580 + repository: *728 + organization: *727 + installation: *726 sender: *4 responses: '200': @@ -131569,7 +131162,7 @@ webhooks: type: string enum: - approved - approver: &739 + approver: &737 type: object properties: avatar_url: @@ -131612,11 +131205,11 @@ webhooks: type: string comment: type: string - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - reviewers: &740 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + reviewers: &738 type: array items: type: object @@ -131697,7 +131290,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &741 + workflow_job_run: &739 type: object properties: conclusion: @@ -132443,18 +132036,18 @@ webhooks: type: string enum: - rejected - approver: *739 + approver: *737 comment: type: string - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - reviewers: *740 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + reviewers: *738 sender: *4 since: type: string - workflow_job_run: *741 + workflow_job_run: *739 workflow_job_runs: type: array items: @@ -133171,13 +132764,13 @@ webhooks: type: string enum: - requested - enterprise: *727 + enterprise: *725 environment: type: string - installation: *728 - organization: *729 - repository: *730 - requestor: &747 + installation: *726 + organization: *727 + repository: *728 + requestor: &745 title: User type: - object @@ -135110,12 +134703,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 workflow_run: title: Deployment Workflow Run type: @@ -135806,7 +135399,7 @@ webhooks: type: string enum: - answered - answer: &745 + answer: &743 type: object properties: author_association: @@ -135966,11 +135559,11 @@ webhooks: - created_at - updated_at - body - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136097,11 +135690,11 @@ webhooks: - from required: - category - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136184,11 +135777,11 @@ webhooks: type: string enum: - closed - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136270,7 +135863,7 @@ webhooks: type: string enum: - created - comment: &744 + comment: &742 type: object properties: author_association: @@ -136430,11 +136023,11 @@ webhooks: - updated_at - body - reactions - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136517,12 +136110,12 @@ webhooks: type: string enum: - deleted - comment: *744 - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + comment: *742 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136617,12 +136210,12 @@ webhooks: - from required: - body - comment: *744 - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + comment: *742 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136706,11 +136299,11 @@ webhooks: type: string enum: - created - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136792,11 +136385,11 @@ webhooks: type: string enum: - deleted - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136896,11 +136489,11 @@ webhooks: type: string required: - from - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136982,10 +136575,10 @@ webhooks: type: string enum: - labeled - discussion: *743 - enterprise: *727 - installation: *728 - label: &746 + discussion: *741 + enterprise: *725 + installation: *726 + label: &744 title: Label type: object properties: @@ -137018,8 +136611,8 @@ webhooks: - color - default - description - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137102,11 +136695,11 @@ webhooks: type: string enum: - locked - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137188,11 +136781,11 @@ webhooks: type: string enum: - pinned - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137274,11 +136867,11 @@ webhooks: type: string enum: - reopened - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137363,16 +136956,16 @@ webhooks: changes: type: object properties: - new_discussion: *743 - new_repository: *730 + new_discussion: *741 + new_repository: *728 required: - new_discussion - new_repository - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137455,10 +137048,10 @@ webhooks: type: string enum: - unanswered - discussion: *743 - old_answer: *745 - organization: *729 - repository: *730 + discussion: *741 + old_answer: *743 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137540,12 +137133,12 @@ webhooks: type: string enum: - unlabeled - discussion: *743 - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137628,11 +137221,11 @@ webhooks: type: string enum: - unlocked - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137714,11 +137307,11 @@ webhooks: type: string enum: - unpinned - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137791,7 +137384,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *727 + enterprise: *725 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -138469,9 +138062,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - forkee @@ -138617,9 +138210,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pages: description: The pages that were updated. type: array @@ -138657,7 +138250,7 @@ webhooks: - action - sha - html_url - repository: *730 + repository: *728 sender: *4 required: - pages @@ -138733,10 +138326,10 @@ webhooks: type: string enum: - created - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: &748 + organization: *727 + repositories: &746 description: An array of repository objects that the installation can access. type: array @@ -138762,8 +138355,8 @@ webhooks: - name - full_name - private - repository: *730 - requester: *747 + repository: *728 + requester: *745 sender: *4 required: - action @@ -138838,11 +138431,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -138919,11 +138512,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -139000,10 +138593,10 @@ webhooks: type: string enum: - added - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories_added: &749 + organization: *727 + repositories_added: &747 description: An array of repository objects, which were added to the installation. type: array @@ -139049,15 +138642,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *730 - repository_selection: &750 + repository: *728 + repository_selection: &748 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *747 + requester: *745 sender: *4 required: - action @@ -139136,10 +138729,10 @@ webhooks: type: string enum: - removed - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories_added: *749 + organization: *727 + repositories_added: *747 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -139166,9 +138759,9 @@ webhooks: - name - full_name - private - repository: *730 - repository_selection: *750 - requester: *747 + repository: *728 + repository_selection: *748 + requester: *745 sender: *4 required: - action @@ -139247,11 +138840,11 @@ webhooks: type: string enum: - suspend - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -139433,10 +139026,10 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 target_type: type: string @@ -139515,11 +139108,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -139685,7 +139278,7 @@ webhooks: pin: anyOf: - type: 'null' - - *561 + - *559 user: title: User type: @@ -139771,8 +139364,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140584,8 +140177,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140946,8 +140539,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -141027,7 +140620,7 @@ webhooks: type: string enum: - deleted - comment: &751 + comment: &749 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -141184,7 +140777,7 @@ webhooks: pin: anyOf: - type: 'null' - - *561 + - *559 required: - url - html_url @@ -141198,8 +140791,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142007,8 +141600,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142371,8 +141964,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -142452,7 +142045,7 @@ webhooks: type: string enum: - edited - changes: &775 + changes: &773 description: The changes to the comment. type: object properties: @@ -142464,9 +142057,9 @@ webhooks: type: string required: - from - comment: *751 - enterprise: *727 - installation: *728 + comment: *749 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143277,8 +142870,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143639,8 +143232,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -143721,9 +143314,9 @@ webhooks: type: string enum: - pinned - comment: *751 - enterprise: *727 - installation: *728 + comment: *749 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144536,8 +144129,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144900,8 +144493,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -144981,9 +144574,9 @@ webhooks: type: string enum: - unpinned - comment: *751 - enterprise: *727 - installation: *728 + comment: *749 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145796,8 +145389,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146160,8 +145753,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -146250,9 +145843,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -146341,9 +145934,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -146431,9 +146024,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -146522,9 +146115,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -146604,10 +146197,10 @@ webhooks: type: string enum: - assigned - assignee: *747 - enterprise: *727 - installation: *728 - issue: &752 + assignee: *745 + enterprise: *725 + installation: *726 + issue: &750 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -147418,11 +147011,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147542,8 +147135,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -147623,8 +147216,8 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -148440,11 +148033,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148707,8 +148300,8 @@ webhooks: required: - state - closed_at - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -148787,8 +148380,8 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149595,11 +149188,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149718,8 +149311,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -149798,8 +149391,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150629,11 +150222,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150731,7 +150324,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &753 + milestone: &751 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150874,8 +150467,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -150974,8 +150567,8 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151786,11 +151379,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151910,9 +151503,9 @@ webhooks: - active_lock_reason - body - reactions - label: *746 - organization: *729 - repository: *730 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -151992,9 +151585,9 @@ webhooks: type: string enum: - field_added - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 issue_field: type: object description: The issue field whose value was set or updated on the @@ -152160,8 +151753,8 @@ webhooks: - id required: - from - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -152241,9 +151834,9 @@ webhooks: type: string enum: - field_removed - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -152330,8 +151923,8 @@ webhooks: - 'null' required: - id - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -152411,8 +152004,8 @@ webhooks: type: string enum: - labeled - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153222,11 +152815,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153346,9 +152939,9 @@ webhooks: - active_lock_reason - body - reactions - label: *746 - organization: *729 - repository: *730 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -153428,8 +153021,8 @@ webhooks: type: string enum: - locked - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154264,11 +153857,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154365,8 +153958,8 @@ webhooks: format: uri user_view_type: type: string - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -154445,8 +154038,8 @@ webhooks: type: string enum: - milestoned - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155275,11 +154868,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155376,9 +154969,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *753 - organization: *729 - repository: *730 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -156265,11 +155858,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156861,8 +156454,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157669,11 +157262,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157796,8 +157389,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -157877,9 +157470,9 @@ webhooks: type: string enum: - pinned - enterprise: *727 - installation: *728 - issue: &754 + enterprise: *725 + installation: *726 + issue: &752 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -158684,11 +158277,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158807,8 +158400,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -158887,8 +158480,8 @@ webhooks: type: string enum: - reopened - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159721,11 +159314,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159823,8 +159416,8 @@ webhooks: user_view_type: type: string type: *245 - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -160712,11 +160305,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161326,11 +160919,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *727 - installation: *728 - issue: *754 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *752 + organization: *727 + repository: *728 sender: *4 required: - action @@ -161410,12 +161003,12 @@ webhooks: type: string enum: - typed - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 type: *245 - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -161496,7 +161089,7 @@ webhooks: type: string enum: - unassigned - assignee: &778 + assignee: &776 title: User type: - object @@ -161568,11 +161161,11 @@ webhooks: required: - login - id - enterprise: *727 - installation: *728 - issue: *752 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *750 + organization: *727 + repository: *728 sender: *4 required: - action @@ -161651,12 +161244,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *727 - installation: *728 - issue: *752 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *750 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -161736,8 +161329,8 @@ webhooks: type: string enum: - unlocked - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -162570,11 +162163,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162671,8 +162264,8 @@ webhooks: format: uri user_view_type: type: string - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162752,11 +162345,11 @@ webhooks: type: string enum: - unpinned - enterprise: *727 - installation: *728 - issue: *754 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *752 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162835,12 +162428,12 @@ webhooks: type: string enum: - untyped - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 type: *245 - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162920,11 +162513,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -163002,11 +162595,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -163116,11 +162709,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -163202,9 +162795,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: &755 + enterprise: *725 + installation: *726 + marketplace_purchase: &753 title: Marketplace Purchase type: object required: @@ -163292,8 +162885,8 @@ webhooks: type: integer unit_count: type: integer - organization: *729 - previous_marketplace_purchase: &756 + organization: *727 + previous_marketplace_purchase: &754 title: Marketplace Purchase type: object properties: @@ -163377,7 +162970,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *730 + repository: *728 sender: *4 required: - action @@ -163457,10 +163050,10 @@ webhooks: - changed effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: *755 - organization: *729 + enterprise: *725 + installation: *726 + marketplace_purchase: *753 + organization: *727 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163548,7 +163141,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *730 + repository: *728 sender: *4 required: - action @@ -163630,10 +163223,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: *755 - organization: *729 + enterprise: *725 + installation: *726 + marketplace_purchase: *753 + organization: *727 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163719,7 +163312,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *730 + repository: *728 sender: *4 required: - action @@ -163800,8 +163393,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 marketplace_purchase: title: Marketplace Purchase type: object @@ -163887,9 +163480,9 @@ webhooks: type: integer unit_count: type: integer - organization: *729 - previous_marketplace_purchase: *756 - repository: *730 + organization: *727 + previous_marketplace_purchase: *754 + repository: *728 sender: *4 required: - action @@ -163969,12 +163562,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: *755 - organization: *729 - previous_marketplace_purchase: *756 - repository: *730 + enterprise: *725 + installation: *726 + marketplace_purchase: *753 + organization: *727 + previous_marketplace_purchase: *754 + repository: *728 sender: *4 required: - action @@ -164076,11 +163669,11 @@ webhooks: type: string required: - to - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 sender: *4 required: - action @@ -164182,11 +163775,11 @@ webhooks: type: - string - 'null' - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 sender: *4 required: - action @@ -164265,11 +163858,11 @@ webhooks: type: string enum: - removed - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 sender: *4 required: - action @@ -164347,11 +163940,11 @@ webhooks: type: string enum: - added - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164429,7 +164022,7 @@ webhooks: required: - login - id - team: &757 + team: &755 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164659,11 +164252,11 @@ webhooks: type: string enum: - removed - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164742,7 +164335,7 @@ webhooks: required: - login - id - team: *757 + team: *755 required: - action - scope @@ -164824,8 +164417,8 @@ webhooks: type: string enum: - checks_requested - installation: *728 - merge_group: &758 + installation: *726 + merge_group: &756 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164844,15 +164437,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *420 + head_commit: *417 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -164938,10 +164531,10 @@ webhooks: - merged - invalidated - dequeued - installation: *728 - merge_group: *758 - organization: *729 - repository: *730 + installation: *726 + merge_group: *756 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165014,7 +164607,7 @@ webhooks: type: string enum: - deleted - enterprise: *727 + enterprise: *725 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165123,12 +164716,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *728 - organization: *729 + installation: *726 + organization: *727 repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -165208,11 +164801,11 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 - milestone: *753 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165291,9 +164884,9 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - milestone: &759 + enterprise: *725 + installation: *726 + milestone: &757 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165435,8 +165028,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165515,11 +165108,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - milestone: *753 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165629,11 +165222,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - milestone: *753 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165713,11 +165306,11 @@ webhooks: type: string enum: - opened - enterprise: *727 - installation: *728 - milestone: *759 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *757 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165796,11 +165389,11 @@ webhooks: type: string enum: - blocked - blocked_user: *747 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + blocked_user: *745 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165879,11 +165472,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *747 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + blocked_user: *745 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165962,9 +165555,9 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - membership: &760 + enterprise: *725 + installation: *726 + membership: &758 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166074,8 +165667,8 @@ webhooks: - role - organization_url - user - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166153,11 +165746,11 @@ webhooks: type: string enum: - member_added - enterprise: *727 - installation: *728 - membership: *760 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + membership: *758 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166236,8 +165829,8 @@ webhooks: type: string enum: - member_invited - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166359,10 +165952,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 - user: *747 + user: *745 required: - action - invitation @@ -166440,11 +166033,11 @@ webhooks: type: string enum: - member_removed - enterprise: *727 - installation: *728 - membership: *760 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + membership: *758 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166531,11 +166124,11 @@ webhooks: properties: from: type: string - enterprise: *727 - installation: *728 - membership: *760 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + membership: *758 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166612,9 +166205,9 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 package: description: Information about the package. type: object @@ -167137,7 +166730,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &761 + items: &759 title: Ruby Gems metadata type: object properties: @@ -167234,7 +166827,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -167310,9 +166903,9 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 package: description: Information about the package. type: object @@ -167674,7 +167267,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *761 + items: *759 source_url: type: string format: uri @@ -167745,7 +167338,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -167925,12 +167518,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *727 + enterprise: *725 id: type: integer - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - id @@ -168007,7 +167600,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &762 + personal_access_token_request: &760 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168157,10 +167750,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *727 - organization: *729 + enterprise: *725 + organization: *727 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -168237,11 +167830,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *762 - enterprise: *727 - organization: *729 + personal_access_token_request: *760 + enterprise: *725 + organization: *727 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -168317,11 +167910,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *762 - enterprise: *727 - organization: *729 + personal_access_token_request: *760 + enterprise: *725 + organization: *727 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -168396,11 +167989,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *762 - organization: *729 - enterprise: *727 + personal_access_token_request: *760 + organization: *727 + enterprise: *725 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -168505,7 +168098,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *763 + last_response: *761 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168537,8 +168130,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 zen: description: Random string of GitHub zen. @@ -168783,10 +168376,10 @@ webhooks: - from required: - note - enterprise: *727 - installation: *728 - organization: *729 - project_card: &764 + enterprise: *725 + installation: *726 + organization: *727 + project_card: &762 title: Project Card type: object properties: @@ -168909,7 +168502,7 @@ webhooks: - creator - created_at - updated_at - repository: *730 + repository: *728 sender: *4 required: - action @@ -168990,11 +168583,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - project_card: *764 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_card: *762 + repository: *728 sender: *4 required: - action @@ -169074,9 +168667,9 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 project_card: title: Project Card type: object @@ -169206,7 +168799,7 @@ webhooks: repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -169300,11 +168893,11 @@ webhooks: - from required: - note - enterprise: *727 - installation: *728 - organization: *729 - project_card: *764 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_card: *762 + repository: *728 sender: *4 required: - action @@ -169398,9 +168991,9 @@ webhooks: - from required: - column_id - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 project_card: allOf: - title: Project Card @@ -169597,7 +169190,7 @@ webhooks: type: string required: - after_id - repository: *730 + repository: *728 sender: *4 required: - action @@ -169677,10 +169270,10 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 - organization: *729 - project: &766 + enterprise: *725 + installation: *726 + organization: *727 + project: &764 title: Project type: object properties: @@ -169807,7 +169400,7 @@ webhooks: - creator - created_at - updated_at - repository: *730 + repository: *728 sender: *4 required: - action @@ -169887,10 +169480,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - project_column: &765 + enterprise: *725 + installation: *726 + organization: *727 + project_column: &763 title: Project Column type: object properties: @@ -169930,7 +169523,7 @@ webhooks: - name - created_at - updated_at - repository: *730 + repository: *728 sender: *4 required: - action @@ -170009,14 +169602,14 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - project_column: *765 + enterprise: *725 + installation: *726 + organization: *727 + project_column: *763 repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -170105,11 +169698,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - project_column: *765 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_column: *763 + repository: *728 sender: *4 required: - action @@ -170189,11 +169782,11 @@ webhooks: type: string enum: - moved - enterprise: *727 - installation: *728 - organization: *729 - project_column: *765 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_column: *763 + repository: *728 sender: *4 required: - action @@ -170273,11 +169866,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - project: *766 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 + repository: *728 sender: *4 required: - action @@ -170357,14 +169950,14 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - project: *766 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -170465,11 +170058,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - project: *766 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 + repository: *728 sender: *4 required: - action @@ -170548,11 +170141,11 @@ webhooks: type: string enum: - reopened - enterprise: *727 - installation: *728 - organization: *729 - project: *766 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 + repository: *728 sender: *4 required: - action @@ -170633,8 +170226,8 @@ webhooks: type: string enum: - closed - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -170716,8 +170309,8 @@ webhooks: type: string enum: - created - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -170799,8 +170392,8 @@ webhooks: type: string enum: - deleted - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -170922,8 +170515,8 @@ webhooks: type: string to: type: string - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -171007,7 +170600,7 @@ webhooks: type: string enum: - archived - changes: &770 + changes: &768 type: object properties: archived_at: @@ -171023,9 +170616,9 @@ webhooks: - string - 'null' format: date-time - installation: *728 - organization: *729 - projects_v2_item: &767 + installation: *726 + organization: *727 + projects_v2_item: &765 title: Projects v2 Item description: An item belonging to a project type: object @@ -171165,9 +170758,9 @@ webhooks: - 'null' to: type: string - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -171249,9 +170842,9 @@ webhooks: type: string enum: - created - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -171332,9 +170925,9 @@ webhooks: type: string enum: - deleted - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -171439,7 +171032,7 @@ webhooks: oneOf: - type: string - type: integer - - &768 + - &766 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171463,7 +171056,7 @@ webhooks: required: - id - name - - &769 + - &767 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171503,8 +171096,8 @@ webhooks: oneOf: - type: string - type: integer - - *768 - - *769 + - *766 + - *767 type: - 'null' - string @@ -171527,9 +171120,9 @@ webhooks: - 'null' required: - body - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -171626,9 +171219,9 @@ webhooks: type: - string - 'null' - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -171711,10 +171304,10 @@ webhooks: type: string enum: - restored - changes: *770 - installation: *728 - organization: *729 - projects_v2_item: *767 + changes: *768 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -171796,8 +171389,8 @@ webhooks: type: string enum: - reopened - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -171879,9 +171472,9 @@ webhooks: type: string enum: - created - installation: *728 - organization: *729 - projects_v2_status_update: *771 + installation: *726 + organization: *727 + projects_v2_status_update: *769 sender: *4 required: - action @@ -171962,9 +171555,9 @@ webhooks: type: string enum: - deleted - installation: *728 - organization: *729 - projects_v2_status_update: *771 + installation: *726 + organization: *727 + projects_v2_status_update: *769 sender: *4 required: - action @@ -172110,9 +171703,9 @@ webhooks: - string - 'null' format: date - installation: *728 - organization: *729 - projects_v2_status_update: *771 + installation: *726 + organization: *727 + projects_v2_status_update: *769 sender: *4 required: - action @@ -172183,10 +171776,10 @@ webhooks: title: public event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - repository @@ -172263,13 +171856,13 @@ webhooks: type: string enum: - assigned - assignee: *747 - enterprise: *727 - installation: *728 - number: &772 + assignee: *745 + enterprise: *725 + installation: *726 + number: &770 description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -174640,7 +174233,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -174722,11 +174315,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -177090,7 +176683,7 @@ webhooks: - draft reason: type: string - repository: *730 + repository: *728 sender: *4 required: - action @@ -177172,11 +176765,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -179540,7 +179133,7 @@ webhooks: - draft reason: type: string - repository: *730 + repository: *728 sender: *4 required: - action @@ -179622,13 +179215,13 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: &773 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: &771 allOf: - - *582 + - *580 - type: object properties: allow_auto_merge: @@ -179690,7 +179283,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *730 + repository: *728 sender: *4 required: - action @@ -179771,12 +179364,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -179856,11 +179449,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *727 + enterprise: *725 milestone: *281 - number: *772 - organization: *729 - pull_request: &774 + number: *770 + organization: *727 + pull_request: &772 title: Pull Request type: object properties: @@ -182209,7 +181802,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -182288,11 +181881,11 @@ webhooks: type: string enum: - dequeued - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -184660,7 +184253,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *730 + repository: *728 sender: *4 required: - action @@ -184784,12 +184377,12 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -184869,11 +184462,11 @@ webhooks: type: string enum: - enqueued - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -187226,7 +186819,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -187306,11 +186899,11 @@ webhooks: type: string enum: - labeled - enterprise: *727 - installation: *728 - label: *746 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + label: *744 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -189680,7 +189273,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -189761,10 +189354,10 @@ webhooks: type: string enum: - locked - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -192132,7 +191725,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -192212,12 +191805,12 @@ webhooks: type: string enum: - milestoned - enterprise: *727 + enterprise: *725 milestone: *281 - number: *772 - organization: *729 - pull_request: *774 - repository: *730 + number: *770 + organization: *727 + pull_request: *772 + repository: *728 sender: *4 required: - action @@ -192296,12 +191889,12 @@ webhooks: type: string enum: - opened - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -192382,12 +191975,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -192467,12 +192060,12 @@ webhooks: type: string enum: - reopened - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -192847,9 +192440,9 @@ webhooks: - start_side - side - reactions - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: type: object properties: @@ -195101,7 +194694,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *730 + repository: *728 sender: *4 required: - action @@ -195181,7 +194774,7 @@ webhooks: type: string enum: - deleted - comment: &776 + comment: &774 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -195474,9 +195067,9 @@ webhooks: - start_side - side - reactions - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: type: object properties: @@ -197716,7 +197309,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *730 + repository: *728 sender: *4 required: - action @@ -197796,11 +197389,11 @@ webhooks: type: string enum: - edited - changes: *775 - comment: *776 - enterprise: *727 - installation: *728 - organization: *729 + changes: *773 + comment: *774 + enterprise: *725 + installation: *726 + organization: *727 pull_request: type: object properties: @@ -200043,7 +199636,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *730 + repository: *728 sender: *4 required: - action @@ -200124,9 +199717,9 @@ webhooks: type: string enum: - dismissed - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -202381,7 +201974,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 + repository: *728 review: description: The review that was affected. type: object @@ -202632,9 +202225,9 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -204748,8 +204341,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 - review: &777 + repository: *728 + review: &775 description: The review that was affected. type: object properties: @@ -204987,12 +204580,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -207361,7 +206954,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_reviewer: title: User type: @@ -207447,12 +207040,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -209828,7 +209421,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_team: title: Team description: Groups of organization members that gives permissions @@ -210023,12 +209616,12 @@ webhooks: type: string enum: - review_requested - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -212399,7 +211992,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_reviewer: title: User type: @@ -212486,12 +212079,12 @@ webhooks: type: string enum: - review_requested - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -214853,7 +214446,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215037,9 +214630,9 @@ webhooks: type: string enum: - submitted - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -217297,8 +216890,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 - review: *777 + repository: *728 + review: *775 sender: *4 required: - action @@ -217378,9 +216971,9 @@ webhooks: type: string enum: - resolved - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -219533,7 +219126,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 + repository: *728 sender: *4 thread: type: object @@ -219930,9 +219523,9 @@ webhooks: type: string enum: - unresolved - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -222068,7 +221661,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 + repository: *728 sender: *4 thread: type: object @@ -222467,10 +222060,10 @@ webhooks: type: string before: type: string - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -224827,7 +224420,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -224909,11 +224502,11 @@ webhooks: type: string enum: - unassigned - assignee: *778 - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + assignee: *776 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -227285,7 +226878,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -227364,11 +226957,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *727 - installation: *728 - label: *746 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + label: *744 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -229729,7 +229322,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -229810,10 +229403,10 @@ webhooks: type: string enum: - unlocked - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -232164,7 +231757,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -232367,7 +231960,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *727 + enterprise: *725 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232462,8 +232055,8 @@ webhooks: - url - author - committer - installation: *728 - organization: *729 + installation: *726 + organization: *727 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -233062,9 +232655,9 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 registry_package: type: object properties: @@ -233541,7 +233134,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *761 + items: *759 summary: type: string tag_name: @@ -233597,7 +233190,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -233675,9 +233268,9 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 registry_package: type: object properties: @@ -233989,7 +233582,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *761 + items: *759 summary: type: string tag_name: @@ -234039,7 +233632,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -234116,10 +233709,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - release: &779 + enterprise: *725 + installation: *726 + organization: *727 + release: &777 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -234450,7 +234043,7 @@ webhooks: - updated_at - zipball_url - body - repository: *730 + repository: *728 sender: *4 required: - action @@ -234527,11 +234120,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - release: *779 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *777 + repository: *728 sender: *4 required: - action @@ -234648,11 +234241,11 @@ webhooks: type: boolean required: - to - enterprise: *727 - installation: *728 - organization: *729 - release: *779 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *777 + repository: *728 sender: *4 required: - action @@ -234730,9 +234323,9 @@ webhooks: type: string enum: - prereleased - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -235068,7 +234661,7 @@ webhooks: - string - 'null' format: uri - repository: *730 + repository: *728 sender: *4 required: - action @@ -235144,10 +234737,10 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 - release: &780 + enterprise: *725 + installation: *726 + organization: *727 + release: &778 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -235480,7 +235073,7 @@ webhooks: - string - 'null' format: uri - repository: *730 + repository: *728 sender: *4 required: - action @@ -235556,11 +235149,11 @@ webhooks: type: string enum: - released - enterprise: *727 - installation: *728 - organization: *729 - release: *779 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *777 + repository: *728 sender: *4 required: - action @@ -235636,11 +235229,11 @@ webhooks: type: string enum: - unpublished - enterprise: *727 - installation: *728 - organization: *729 - release: *780 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *778 + repository: *728 sender: *4 required: - action @@ -235716,11 +235309,11 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - repository_advisory: *651 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + repository_advisory: *649 sender: *4 required: - action @@ -235796,11 +235389,11 @@ webhooks: type: string enum: - reported - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - repository_advisory: *651 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + repository_advisory: *649 sender: *4 required: - action @@ -235876,10 +235469,10 @@ webhooks: type: string enum: - archived - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -235956,10 +235549,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236037,10 +235630,10 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236125,10 +235718,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236243,10 +235836,10 @@ webhooks: - 'null' items: type: string - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236318,10 +235911,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 status: type: string @@ -236402,10 +235995,10 @@ webhooks: type: string enum: - privatized - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236482,10 +236075,10 @@ webhooks: type: string enum: - publicized - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236579,10 +236172,10 @@ webhooks: - name required: - repository - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236662,10 +236255,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 repository_ruleset: *323 sender: *4 required: @@ -236744,10 +236337,10 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 repository_ruleset: *323 sender: *4 required: @@ -236826,10 +236419,10 @@ webhooks: type: string enum: - edited - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 repository_ruleset: *323 changes: type: object @@ -236891,16 +236484,16 @@ webhooks: properties: added: type: array - items: *602 + items: *600 deleted: type: array - items: *602 + items: *600 updated: type: array items: type: object properties: - rule: *602 + rule: *600 changes: type: object properties: @@ -237137,10 +236730,10 @@ webhooks: - from required: - owner - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237218,10 +236811,10 @@ webhooks: type: string enum: - unarchived - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237299,7 +236892,7 @@ webhooks: type: string enum: - create - alert: &781 + alert: &779 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -237424,10 +237017,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237637,10 +237230,10 @@ webhooks: type: string enum: - dismissed - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237718,11 +237311,11 @@ webhooks: type: string enum: - reopen - alert: *781 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *779 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237924,10 +237517,10 @@ webhooks: enum: - fixed - open - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238005,7 +237598,7 @@ webhooks: type: string enum: - assigned - alert: &782 + alert: &780 type: object properties: number: *180 @@ -238145,10 +237738,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238226,11 +237819,11 @@ webhooks: type: string enum: - created - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238311,11 +237904,11 @@ webhooks: type: string enum: - created - alert: *782 - installation: *728 - location: *783 - organization: *729 - repository: *730 + alert: *780 + installation: *726 + location: *781 + organization: *727 + repository: *728 sender: *4 required: - location @@ -238553,11 +238146,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238635,11 +238228,11 @@ webhooks: type: string enum: - reopened - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238717,11 +238310,11 @@ webhooks: type: string enum: - resolved - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238799,12 +238392,12 @@ webhooks: type: string enum: - unassigned - alert: *782 + alert: *780 assignee: *4 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238882,11 +238475,11 @@ webhooks: type: string enum: - validated - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -239016,10 +238609,10 @@ webhooks: - organization - enterprise - - repository: *730 - enterprise: *727 - installation: *728 - organization: *729 + repository: *728 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -239097,11 +238690,11 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - security_advisory: &784 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + security_advisory: &782 description: The details of the security advisory, including summary, description, and severity. type: object @@ -239287,11 +238880,11 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - security_advisory: *784 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + security_advisory: *782 sender: *4 required: - action @@ -239364,10 +238957,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -239554,10 +239147,10 @@ webhooks: type: object properties: security_and_analysis: *296 - enterprise: *727 - installation: *728 - organization: *729 - repository: *343 + enterprise: *725 + installation: *726 + organization: *727 + repository: *340 sender: *4 required: - changes @@ -239635,12 +239228,12 @@ webhooks: type: string enum: - cancelled - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: &785 + sponsorship: &783 type: object properties: created_at: @@ -239945,12 +239538,12 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - sponsorship @@ -240038,12 +239631,12 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - changes @@ -240120,17 +239713,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &786 + effective_date: &784 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: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - sponsorship @@ -240204,7 +239797,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &787 + changes: &785 type: object properties: tier: @@ -240248,13 +239841,13 @@ webhooks: - from required: - tier - effective_date: *786 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + effective_date: *784 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - changes @@ -240331,13 +239924,13 @@ webhooks: type: string enum: - tier_changed - changes: *787 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + changes: *785 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - changes @@ -240411,10 +240004,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240498,10 +240091,10 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240935,15 +240528,15 @@ webhooks: type: - string - 'null' - enterprise: *727 + enterprise: *725 id: description: The unique identifier of the status. type: integer - installation: *728 + installation: *726 name: type: string - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 sha: description: The Commit SHA. @@ -241059,9 +240652,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -241150,9 +240743,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -241241,9 +240834,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -241332,9 +240925,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -241410,12 +241003,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - team: &788 + team: &786 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -241645,9 +241238,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -242117,7 +241710,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -242193,9 +241786,9 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -242665,7 +242258,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -242742,9 +242335,9 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -243214,7 +242807,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -243358,9 +242951,9 @@ webhooks: - from required: - permissions - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -243830,7 +243423,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - changes @@ -243908,9 +243501,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -244380,7 +243973,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -244456,10 +244049,10 @@ webhooks: type: string enum: - started - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -244532,17 +244125,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *727 + enterprise: *725 inputs: type: - object - 'null' additionalProperties: true - installation: *728 - organization: *729 + installation: *726 + organization: *727 ref: type: string - repository: *730 + repository: *728 sender: *4 workflow: type: string @@ -244624,10 +244217,10 @@ webhooks: type: string enum: - completed - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: allOf: @@ -244883,7 +244476,7 @@ webhooks: type: string required: - conclusion - deployment: *498 + deployment: *495 required: - action - repository @@ -244962,10 +244555,10 @@ webhooks: type: string enum: - in_progress - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: allOf: @@ -245247,7 +244840,7 @@ webhooks: required: - status - steps - deployment: *498 + deployment: *495 required: - action - repository @@ -245326,10 +244919,10 @@ webhooks: type: string enum: - queued - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: type: object @@ -245475,7 +245068,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *495 required: - action - repository @@ -245554,10 +245147,10 @@ webhooks: type: string enum: - waiting - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: type: object @@ -245704,7 +245297,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *495 required: - action - repository @@ -245784,12 +245377,12 @@ webhooks: type: string enum: - completed - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 workflow_run: title: Workflow Run type: object @@ -246808,12 +246401,12 @@ webhooks: type: string enum: - in_progress - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 workflow_run: title: Workflow Run type: object @@ -247817,12 +247410,12 @@ webhooks: type: string enum: - requested - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 67372da503..6d78c6736e 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -112372,7 +112372,7 @@ "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", - "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "description": "List artifact storage records with a given subject digest for repositories owned by an organization.\n\nResults are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.", "tags": [ "orgs" ], @@ -140455,662 +140455,6 @@ } } }, - "/orgs/{org}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an organization", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" - }, - "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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { "summary": "Get Copilot organization usage metrics for a specific day", @@ -255340,671 +254684,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for a team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\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** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -263725,7 +262404,7 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], @@ -263892,7 +262571,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -263916,7 +262595,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -263940,7 +262619,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -263964,7 +262643,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -263988,7 +262667,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -264012,7 +262691,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -264081,12 +262760,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -394469,7 +393142,7 @@ }, "assignees": { "type": "array", - "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.\nTo assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`).", "items": { "type": "string" } @@ -437992,6 +436665,721 @@ } } }, + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { + "get": { + "summary": "Get pull request creation cap bypass list for a repository", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + } + }, + "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": "interactions", + "subcategory": "repos" + } + }, + "put": { + "summary": "Add users to the pull request creation cap bypass list for a repository", + "description": "Adds users to the pull request creation cap bypass list for a repository.\nUsers on this list can create pull requests regardless of any configured\npull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.", + "tags": [ + "interactions" + ], + "operationId": "interactions/set-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat", + "monalisa" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Remove users from the pull request creation cap bypass list for a repository", + "description": "Removes users from the pull request creation cap bypass list for a repository.\nRemoved users will be subject to any configured pull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can remove a maximum of 100 users per request.", + "tags": [ + "interactions" + ], + "operationId": "interactions/remove-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/invitations": { "get": { "summary": "List repository invitations", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 628bf5c800..baffc46e48 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -1048,7 +1048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &653 + - &651 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -12340,7 +12340,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 - - &487 + - &484 name: has in: query description: |- @@ -12470,7 +12470,7 @@ paths: - transitive - inconclusive - - security_advisory: &488 + security_advisory: &485 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12722,7 +12722,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &489 + auto_dismissed_at: &486 type: - string - 'null' @@ -12730,7 +12730,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &490 + dismissal_request: &487 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -14449,7 +14449,7 @@ paths: properties: action: type: string - discussion: &743 + discussion: &741 title: Discussion description: A Discussion in a repository. type: object @@ -15236,7 +15236,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &664 + sub_issues_summary: &662 title: Sub-issues Summary type: object properties: @@ -15320,7 +15320,7 @@ paths: pin: anyOf: - type: 'null' - - &561 + - &559 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15347,7 +15347,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &665 + issue_dependencies_summary: &663 title: Issue Dependencies Summary type: object properties: @@ -15366,7 +15366,7 @@ paths: - total_blocking issue_field_values: type: array - items: &545 + items: &543 title: Issue Field Value description: A value assigned to an issue field type: object @@ -16176,7 +16176,7 @@ paths: type: string release: allOf: - - &593 + - &591 title: Release description: A release. type: object @@ -16258,7 +16258,7 @@ paths: author: *4 assets: type: array - items: &594 + items: &592 title: Release Asset description: Data related to a release. type: object @@ -19989,14 +19989,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &340 + - &337 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &341 + - &338 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20058,7 +20058,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &344 + '301': &341 description: Moved permanently content: application/json: @@ -20080,7 +20080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &569 + - &567 name: all description: If `true`, show notifications marked as read. in: query @@ -20088,7 +20088,7 @@ paths: schema: type: boolean default: false - - &570 + - &568 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20098,7 +20098,7 @@ paths: type: boolean default: false - *87 - - &571 + - &569 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: @@ -20689,7 +20689,7 @@ paths: - url - subscription_url examples: - default: &572 + default: &570 value: - id: '1' repository: @@ -22607,7 +22607,7 @@ paths: parameters: - *74 - *116 - - &721 + - &719 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 @@ -22719,7 +22719,7 @@ paths: - *116 - *117 - *118 - - &722 + - &720 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22727,7 +22727,7 @@ paths: schema: type: string - *121 - - &723 + - &721 name: sku description: The SKU to query for usage. in: query @@ -23696,7 +23696,7 @@ paths: type: integer repository_cache_usages: type: array - items: &351 + items: &348 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25084,7 +25084,7 @@ paths: - all - local_only - selected - selected_actions_url: &356 + selected_actions_url: &353 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` @@ -25167,7 +25167,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &357 type: object properties: days: @@ -25209,7 +25209,7 @@ paths: required: true content: application/json: - schema: &361 + schema: &358 type: object properties: days: @@ -25266,7 +25266,7 @@ paths: required: - approval_policy examples: - default: &362 + default: &359 value: approval_policy: first_time_contributors '404': *6 @@ -25325,7 +25325,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &360 type: object required: - run_workflows_from_fork_pull_requests @@ -25379,7 +25379,7 @@ paths: required: true content: application/json: - schema: &364 + schema: &361 type: object required: - run_workflows_from_fork_pull_requests @@ -26014,7 +26014,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &362 type: object properties: default_workflow_permissions: &148 @@ -26065,7 +26065,7 @@ paths: required: false content: application/json: - schema: &366 + schema: &363 type: object properties: default_workflow_permissions: *148 @@ -27216,7 +27216,7 @@ paths: application/json: schema: type: array - items: &367 + items: &364 title: Runner Application description: Runner Application type: object @@ -27241,7 +27241,7 @@ paths: - download_url - filename examples: - default: &368 + default: &365 value: - os: osx architecture: x64 @@ -27327,7 +27327,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &369 + '201': &366 description: Response content: application/json: @@ -27442,7 +27442,7 @@ paths: - token - expires_at examples: - default: &370 + default: &367 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27481,7 +27481,7 @@ paths: application/json: schema: *159 examples: - default: &371 + default: &368 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27515,7 +27515,7 @@ paths: application/json: schema: *157 examples: - default: &372 + default: &369 value: id: 23 name: MBP @@ -27742,7 +27742,7 @@ paths: - *74 - *156 responses: - '200': &373 + '200': &370 description: Response content: application/json: @@ -27799,7 +27799,7 @@ paths: parameters: - *74 - *156 - - &374 + - &371 name: name description: The name of a self-hosted runner's custom label. in: path @@ -30281,9 +30281,9 @@ paths: get: summary: List artifact storage records description: |- - List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + List artifact storage records with a given subject digest for repositories owned by an organization. - The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission. tags: - orgs operationId: orgs/list-artifact-storage-records @@ -30401,12 +30401,12 @@ paths: required: - subject_digests examples: - default: &702 + default: &700 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &703 + withPredicateType: &701 value: subject_digests: - sha256:abc123 @@ -30451,7 +30451,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &704 + default: &702 value: attestations_subject_digests: - sha256:abc: @@ -30784,7 +30784,7 @@ paths: initiator: type: string examples: - default: &400 + default: &397 value: attestations: - bundle: @@ -31740,7 +31740,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &424 + - &421 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`, @@ -31750,7 +31750,7 @@ paths: schema: &187 type: string description: The name of the tool used to generate the code scanning analysis. - - &425 + - &422 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 @@ -31774,7 +31774,7 @@ paths: be returned. in: query required: false - schema: &427 + schema: &424 type: string description: State of a code scanning alert. enum: @@ -31797,7 +31797,7 @@ paths: be returned. in: query required: false - schema: &428 + schema: &425 type: string description: Severity of a code scanning alert. enum: @@ -31831,7 +31831,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: &429 + instances_url: &426 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -31853,7 +31853,7 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: &430 + dismissed_reason: &427 type: - string - 'null' @@ -31864,14 +31864,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &431 + dismissed_comment: &428 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &432 + rule: &429 type: object properties: id: @@ -31932,7 +31932,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &433 + tool: &430 type: object properties: name: *187 @@ -31943,26 +31943,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *188 - most_recent_instance: &434 + most_recent_instance: &431 type: object properties: - ref: &426 + ref: &423 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &444 + analysis_key: &441 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &445 + environment: &442 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &446 + category: &443 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -31982,7 +31982,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &447 + location: &444 type: object description: Describe a region within a file for the alert. properties: @@ -32003,7 +32003,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &448 + items: &445 type: - string - 'null' @@ -33338,7 +33338,7 @@ paths: machine: anyOf: - type: 'null' - - &460 + - &457 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -34290,7 +34290,7 @@ paths: - updated_at - visibility examples: - default: &461 + default: &458 value: total_count: 2 secrets: @@ -34328,7 +34328,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &459 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -34363,7 +34363,7 @@ paths: - key_id - key examples: - default: &463 + default: &460 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34395,7 +34395,7 @@ paths: application/json: schema: *195 examples: - default: &465 + default: &462 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -37396,490 +37396,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-content-exclusion-management - "/orgs/{org}/copilot/metrics": - get: - summary: Get Copilot metrics for an organization - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. - Only organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization - parameters: - - *74 - - 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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &333 - title: Copilot Usage Metrics - description: Copilot usage metrics for a given day. - type: object - properties: - date: - type: string - format: date - description: The date for which the usage metrics are aggregated, - in `YYYY-MM-DD` format. - total_active_users: - type: integer - description: The total number of Copilot users with activity - belonging to any Copilot feature, globally, for the given - day. Includes passive activity such as receiving a code suggestion, - as well as engagement activity such as accepting a code suggestion - or prompting chat. Does not include authentication events. - Is not limited to the individual features detailed on the - endpoint. - total_engaged_users: - type: integer - description: The total number of Copilot users who engaged with - any Copilot feature, for the given day. Examples include but - are not limited to accepting a code suggestion, prompting - Copilot chat, or triggering a PR Summary. Does not include - authentication events. Is not limited to the individual features - detailed on the endpoint. - copilot_ide_code_completions: - type: - - object - - 'null' - description: Usage metrics for Copilot editor code completions - in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot - code suggestion, across all active editors. Includes both - full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages. - items: - type: object - description: Usage metrics for a given language for the - given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot - code completion suggestions. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - language. Includes both full and partial acceptances. - editors: - type: array - items: - type: object - description: Copilot code completion metrics for active - editors. - additionalProperties: true - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - editor. Includes both full and partial acceptances. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - code completion suggestions. If the default - model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: Number of users who accepted at - least one Copilot code completion suggestion - for the given editor, for the given language - and model. Includes both full and partial - acceptances. - languages: - type: array - description: Code completion metrics for active - languages, for the given editor. - items: - type: object - description: Usage metrics for a given language - for the given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used - for Copilot code completion suggestions, - for the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted - at least one Copilot code completion - suggestion for the given editor, for - the given language. Includes both full - and partial acceptances. - total_code_suggestions: - type: integer - description: The number of Copilot code - suggestions generated for the given - editor, for the given language. - total_code_acceptances: - type: integer - description: The number of Copilot code - suggestions accepted for the given editor, - for the given language. Includes both - full and partial acceptances. - total_code_lines_suggested: - type: integer - description: The number of lines of code - suggested by Copilot code completions - for the given editor, for the given - language. - total_code_lines_accepted: - type: integer - description: The number of lines of code - accepted from Copilot code suggestions - for the given editor, for the given - language. - copilot_ide_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat in the IDE. - editors: - type: array - items: - type: object - description: Copilot Chat metrics, for active editors. - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot - Chat in the specified editor. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - Chat. If the default model is used will appear - as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: The number of users who prompted - Copilot Chat in the given editor and model. - total_chats: - type: integer - description: The total number of chats initiated - by users in the given editor and model. - total_chat_insertion_events: - type: integer - description: The number of times users accepted - a code suggestion from Copilot Chat using - the 'Insert Code' UI element, for the given - editor. - total_chat_copy_events: - type: integer - description: The number of times users copied - a code suggestion from Copilot Chat using - the keyboard, or the 'Copy' UI element, for - the given editor. - copilot_dotcom_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in GitHub.com - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once. - models: - type: array - description: List of model metrics for a custom models and - the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. - If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or - default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model - (if applicable). - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once for each model. - total_chats: - type: integer - description: Total number of chats initiated by users - on github.com. - copilot_dotcom_pull_requests: - type: - - object - - 'null' - description: Usage metrics for Copilot for pull requests. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: The number of users who used Copilot for Pull - Requests on github.com to generate a pull request summary - at least once. - repositories: - type: array - description: Repositories in which users used Copilot for - Pull Requests to generate pull request summaries - items: - type: object - properties: - name: - type: string - description: Repository name - total_engaged_users: - type: integer - description: The number of users who generated pull - request summaries using Copilot for Pull Requests - in the given repository. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - pull request summaries. If the default model - is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_pr_summaries_created: - type: integer - description: The number of pull request summaries - generated using Copilot for Pull Requests - in the given repository. - total_engaged_users: - type: integer - description: The number of users who generated - pull request summaries using Copilot for Pull - Requests in the given repository and model. - required: - - date - additionalProperties: true - examples: - default: &334 - value: - - date: '2024-06-24' - total_active_users: 24 - total_engaged_users: 20 - copilot_ide_code_completions: - total_engaged_users: 20 - languages: - - name: python - total_engaged_users: 10 - - name: ruby - total_engaged_users: 10 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 13 - languages: - - name: python - total_engaged_users: 6 - total_code_suggestions: 249 - total_code_acceptances: 123 - total_code_lines_suggested: 225 - total_code_lines_accepted: 135 - - name: ruby - total_engaged_users: 7 - total_code_suggestions: 496 - total_code_acceptances: 253 - total_code_lines_suggested: 520 - total_code_lines_accepted: 270 - - name: neovim - total_engaged_users: 7 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - languages: - - name: typescript - total_engaged_users: 3 - total_code_suggestions: 112 - total_code_acceptances: 56 - total_code_lines_suggested: 143 - total_code_lines_accepted: 61 - - name: go - total_engaged_users: 4 - total_code_suggestions: 132 - total_code_acceptances: 67 - total_code_lines_suggested: 154 - total_code_lines_accepted: 72 - copilot_ide_chat: - total_engaged_users: 13 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 12 - total_chats: 45 - total_chat_insertion_events: 12 - total_chat_copy_events: 16 - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_engaged_users: 1 - total_chats: 10 - total_chat_insertion_events: 11 - total_chat_copy_events: 3 - copilot_dotcom_chat: - total_engaged_users: 14 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 14 - total_chats: 38 - copilot_dotcom_pull_requests: - total_engaged_users: 12 - repositories: - - name: demo/repo1 - total_engaged_users: 8 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_pr_summaries_created: 6 - total_engaged_users: 8 - - name: demo/repo2 - total_engaged_users: 4 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_pr_summaries_created: 10 - total_engaged_users: 4 - '500': *53 - '403': *27 - '404': *6 - '422': &335 - description: Copilot Usage Metrics API setting is disabled at the organization - or enterprise level. - content: - application/json: - schema: *3 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/copilot/metrics/reports/organization-1-day": get: summary: Get Copilot organization usage metrics for a specific day @@ -38441,7 +37957,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &490 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38460,7 +37976,7 @@ paths: - key_id - key examples: - default: &494 + default: &491 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40284,7 +39800,7 @@ paths: application/json: schema: *20 examples: - default: &531 + default: &528 value: id: 1 account: @@ -40512,7 +40028,7 @@ paths: required: true content: application/json: - schema: &532 + schema: &529 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -41331,7 +40847,7 @@ paths: type: array items: *245 examples: - default: &535 + default: &533 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -41861,7 +41377,7 @@ paths: application/json: schema: *250 examples: - default: &459 + default: &456 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -43124,7 +42640,7 @@ paths: parameters: - *74 - *257 - - &684 + - &682 name: repo_name description: repo_name parameter in: path @@ -44072,7 +43588,7 @@ paths: - nuget - container - *74 - - &685 + - &683 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44113,7 +43629,7 @@ paths: default: *263 '403': *27 '401': *23 - '400': &687 + '400': &685 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46355,7 +45871,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &771 + - &769 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46629,7 +46145,7 @@ paths: content: oneOf: - *82 - - &474 + - &471 title: Pull Request Simple description: Pull Request Simple type: object @@ -46858,7 +46374,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &579 + auto_merge: &577 title: Auto merge description: The status of auto merging a pull request. type: @@ -47241,7 +46757,7 @@ paths: - updated_at - project_url examples: - default: &708 + default: &706 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47418,7 +46934,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &709 + items: &707 type: object properties: name: @@ -47455,7 +46971,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &710 + iteration_configuration: &708 type: object description: The configuration for iteration fields. properties: @@ -47505,7 +47021,7 @@ paths: value: name: Due date data_type: date - single_select_field: &711 + single_select_field: &709 summary: Create a single select field value: name: Priority @@ -47532,7 +47048,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &712 + iteration_field: &710 summary: Create an iteration field value: name: Sprint @@ -47558,7 +47074,7 @@ paths: application/json: schema: *283 examples: - text_field: &713 + text_field: &711 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47567,7 +47083,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &714 + number_field: &712 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47576,7 +47092,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &715 + date_field: &713 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47585,7 +47101,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &716 + single_select_field: &714 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47619,7 +47135,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &717 + iteration_field: &715 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47665,7 +47181,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *280 - - &718 + - &716 name: field_id description: The unique identifier of the field. in: path @@ -47680,7 +47196,7 @@ paths: application/json: schema: *283 examples: - default: &719 + default: &717 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48891,7 +48407,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &699 + schema: &697 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -49074,7 +48590,7 @@ paths: parameters: - *280 - *74 - - &720 + - &718 name: view_number description: The number that identifies the project view. in: path @@ -50037,7 +49553,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &340 title: Full Repository description: Full Repository type: object @@ -50507,7 +50023,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &479 + code_of_conduct: &476 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50621,7 +50137,7 @@ paths: - network_count - subscribers_count examples: - default: &345 + default: &342 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51142,7 +50658,7 @@ paths: - *74 - *17 - *19 - - &601 + - &599 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51429,7 +50945,7 @@ paths: - object rules: type: array - items: &602 + items: &600 title: Repository Rule type: object description: A repository rule. @@ -51491,7 +51007,7 @@ paths: type: string enum: - required_linear_history - - &600 + - &598 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -52393,7 +51909,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &603 + - &601 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 @@ -52408,7 +51924,7 @@ paths: in: query schema: type: string - - &604 + - &602 name: time_period description: |- The time period to filter by. @@ -52424,14 +51940,14 @@ paths: - week - month default: day - - &605 + - &603 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 - - &606 + - &604 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52444,7 +51960,7 @@ paths: - bypass - all default: all - - &607 + - &605 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -52467,7 +51983,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &606 title: Rule Suites description: Response type: array @@ -52523,7 +52039,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &609 + default: &607 value: - id: 21 actor_id: 12 @@ -52567,7 +52083,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &610 + - &608 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52583,7 +52099,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &609 title: Rule Suite description: Response type: object @@ -52690,7 +52206,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &612 + default: &610 value: id: 21 actor_id: 12 @@ -52937,7 +52453,7 @@ paths: type: string format: date-time examples: - default: &614 + default: &612 value: - version_id: 3 actor: @@ -52990,7 +52506,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &613 allOf: - *326 - type: object @@ -53062,7 +52578,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &616 + - &614 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53073,7 +52589,7 @@ paths: enum: - open - resolved - - &617 + - &615 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53083,7 +52599,7 @@ paths: required: false schema: type: string - - &618 + - &616 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53094,7 +52610,7 @@ paths: required: false schema: type: string - - &619 + - &617 name: exclude_providers in: query description: |- @@ -53105,7 +52621,7 @@ paths: required: false schema: type: string - - &620 + - &618 name: providers in: query description: |- @@ -53116,7 +52632,7 @@ paths: required: false schema: type: string - - &621 + - &619 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53125,7 +52641,7 @@ paths: required: false schema: type: string - - &622 + - &620 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53144,7 +52660,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &623 + - &621 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. @@ -53159,7 +52675,7 @@ paths: - *60 - *19 - *17 - - &624 + - &622 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 @@ -53169,7 +52685,7 @@ paths: required: false schema: type: string - - &625 + - &623 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 @@ -53179,7 +52695,7 @@ paths: required: false schema: type: string - - &626 + - &624 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53188,7 +52704,7 @@ paths: required: false schema: type: string - - &627 + - &625 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53197,7 +52713,7 @@ paths: schema: type: boolean default: false - - &628 + - &626 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53206,7 +52722,7 @@ paths: schema: type: boolean default: false - - &629 + - &627 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53215,7 +52731,7 @@ paths: schema: type: boolean default: false - - &630 + - &628 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53249,14 +52765,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &631 + state: &629 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: &632 + resolution: &630 type: - string - 'null' @@ -53375,14 +52891,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &633 + - &631 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &635 + - &633 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53446,7 +52962,7 @@ paths: - blob_url - commit_sha - commit_url - - &636 + - &634 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -53507,7 +53023,7 @@ paths: - page_url - commit_sha - commit_url - - &637 + - &635 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53529,7 +53045,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &638 + - &636 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53551,7 +53067,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &639 + - &637 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53573,7 +53089,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &640 + - &638 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53588,7 +53104,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &641 + - &639 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53603,7 +53119,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &642 + - &640 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53618,7 +53134,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &643 + - &641 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -53640,7 +53156,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &644 + - &642 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -53662,7 +53178,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &645 + - &643 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -53684,7 +53200,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &646 + - &644 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -53706,7 +53222,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &647 + - &645 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -54227,7 +53743,7 @@ paths: application/json: schema: type: array - items: &651 + items: &649 description: A repository security advisory. type: object properties: @@ -54524,7 +54040,7 @@ paths: - private_fork additionalProperties: false examples: - default: &652 + default: &650 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55649,75 +55165,6 @@ paths: enabledForGitHubApps: true category: orgs subcategory: network-configurations - "/orgs/{org}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for a team - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. - Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team - parameters: - - *74 - - *76 - - 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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *333 - examples: - default: *334 - '500': *53 - '403': *27 - '404': *6 - '422': *335 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -55840,7 +55287,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &333 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56239,7 +55686,7 @@ paths: - repos_count - organization examples: - default: &337 + default: &334 value: id: 1 node_id: MDQ6VGVhbTE= @@ -56316,9 +55763,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 x-github: githubCloudOnly: false @@ -56403,16 +55850,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '201': description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 '422': *15 '403': *27 @@ -56442,7 +55889,7 @@ paths: responses: '204': description: Response - '422': &338 + '422': &335 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -56481,7 +55928,7 @@ paths: default: *240 headers: Link: *66 - '422': *338 + '422': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56563,7 +56010,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &336 title: Team Membership description: Team Membership type: object @@ -56591,7 +56038,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &667 + response-if-user-is-a-team-maintainer: &665 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56654,9 +56101,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: &668 + response-if-users-membership-with-team-is-now-pending: &666 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56763,14 +56210,14 @@ paths: parameters: - *74 - *76 - - *340 - - *341 + - *337 + - *338 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &669 + schema: &667 title: Team Repository description: A team's access to a repository. type: object @@ -57405,8 +56852,8 @@ paths: parameters: - *74 - *76 - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -57453,8 +56900,8 @@ paths: parameters: - *74 - *76 - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -57491,7 +56938,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: &670 + response-if-child-teams-exist: &668 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57619,7 +57066,6 @@ paths: * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)." * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." - * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)." * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." @@ -57645,7 +57091,7 @@ paths: resources: type: object properties: - core: &342 + core: &339 title: Rate Limit type: object properties: @@ -57662,17 +57108,17 @@ paths: - remaining - reset - used - graphql: *342 - search: *342 - code_search: *342 - source_import: *342 - integration_manifest: *342 - code_scanning_upload: *342 - actions_runner_registration: *342 - scim: *342 - dependency_snapshots: *342 - dependency_sbom: *342 - code_scanning_autofix: *342 + graphql: *339 + search: *339 + code_search: *339 + source_import: *339 + integration_manifest: *339 + actions_runner_registration: *339 + scim: *339 + dependency_snapshots: *339 + dependency_sbom: *339 + code_scanning_autofix: *339 + copilot_usage_records: *339 required: - core - search @@ -57707,11 +57153,6 @@ paths: used: 1 remaining: 99 reset: 1691591091 - code_scanning_upload: - limit: 500 - used: 1 - remaining: 499 - reset: 1691594631 actions_runner_registration: limit: 10000 used: 0 @@ -57774,14 +57215,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *343 + schema: *340 examples: default-response: summary: Default response @@ -58285,7 +57726,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *344 + '301': *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58303,8 +57744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -58615,10 +58056,10 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 - '307': &346 + default: *342 + '307': &343 description: Temporary Redirect content: application/json: @@ -58647,8 +58088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -58670,7 +58111,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *346 + '307': *343 '404': *6 '409': *52 x-github: @@ -58694,11 +58135,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - - &378 + - &375 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -58721,7 +58162,7 @@ paths: type: integer artifacts: type: array - items: &347 + items: &344 title: Artifact description: An artifact type: object @@ -58816,7 +58257,7 @@ paths: - expires_at - updated_at examples: - default: &379 + default: &376 value: total_count: 2 artifacts: @@ -58877,9 +58318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *340 - - *341 - - &348 + - *337 + - *338 + - &345 name: artifact_id description: The unique identifier of the artifact. in: path @@ -58891,7 +58332,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *344 examples: default: value: @@ -58929,9 +58370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *340 - - *341 - - *348 + - *337 + - *338 + - *345 responses: '204': description: Response @@ -58955,9 +58396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *340 - - *341 - - *348 + - *337 + - *338 + - *345 - name: archive_format in: path required: true @@ -58967,11 +58408,11 @@ paths: '302': description: Response headers: - Location: &496 + Location: &493 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': &536 + '410': &534 description: Gone content: application/json: @@ -58996,14 +58437,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &349 + schema: &346 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -59037,13 +58478,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *349 + schema: *346 examples: selected_actions: *40 responses: @@ -59072,14 +58513,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &350 + schema: &347 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -59113,13 +58554,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *350 + schema: *347 examples: selected_actions: *42 responses: @@ -59150,14 +58591,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *351 + schema: *348 examples: default: value: @@ -59183,11 +58624,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - - &352 + - &349 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 @@ -59221,7 +58662,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &350 title: Repository actions caches description: Repository actions caches type: object @@ -59271,7 +58712,7 @@ paths: - total_count - actions_caches examples: - default: &354 + default: &351 value: total_count: 1 actions_caches: @@ -59303,23 +58744,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: - - *340 - - *341 + - *337 + - *338 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *352 + - *349 responses: '200': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59339,8 +58780,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: - - *340 - - *341 + - *337 + - *338 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -59369,8 +58810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *46 responses: @@ -59453,8 +58894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -59610,9 +59051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *340 - - *341 - - &355 + - *337 + - *338 + - &352 name: job_id description: The unique identifier of the job. in: path @@ -59624,7 +59065,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &379 title: Job description: Information of a job execution in a workflow run type: object @@ -59971,9 +59412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *340 - - *341 - - *355 + - *337 + - *338 + - *352 responses: '302': description: Response @@ -60001,9 +59442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *340 - - *341 - - *355 + - *337 + - *338 + - *352 requestBody: required: false content: @@ -60054,8 +59495,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Status response @@ -60114,8 +59555,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -60183,8 +59624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -60202,7 +59643,7 @@ paths: type: integer secrets: type: array - items: &384 + items: &381 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60223,7 +59664,7 @@ paths: - created_at - updated_at examples: - default: &385 + default: &382 value: total_count: 2 secrets: @@ -60256,8 +59697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -60275,7 +59716,7 @@ paths: type: integer variables: type: array - items: &386 + items: &383 title: Actions Variable type: object properties: @@ -60309,7 +59750,7 @@ paths: - created_at - updated_at examples: - default: &387 + default: &384 value: total_count: 2 variables: @@ -60342,8 +59783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -60352,11 +59793,11 @@ paths: schema: type: object properties: - enabled: &357 + enabled: &354 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *140 - selected_actions_url: *356 + selected_actions_url: *353 sha_pinning_required: *141 required: - enabled @@ -60385,8 +59826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -60397,7 +59838,7 @@ paths: schema: type: object properties: - enabled: *357 + enabled: *354 allowed_actions: *140 sha_pinning_required: *141 required: @@ -60429,14 +59870,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &358 + schema: &355 type: object properties: access_level: @@ -60453,7 +59894,7 @@ paths: required: - access_level examples: - default: &359 + default: &356 value: access_level: organization x-github: @@ -60477,15 +59918,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *358 + schema: *355 examples: - default: *359 + default: *356 responses: '204': description: Response @@ -60509,14 +59950,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *360 + schema: *357 examples: default: value: @@ -60540,8 +59981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Empty response for successful settings update @@ -60551,7 +59992,7 @@ paths: required: true content: application/json: - schema: *361 + schema: *358 examples: default: summary: Set retention days @@ -60575,8 +60016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -60584,7 +60025,7 @@ paths: application/json: schema: *142 examples: - default: *362 + default: *359 '404': *6 x-github: enabledForGitHubApps: true @@ -60603,8 +60044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -60638,14 +60079,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *363 + schema: *360 examples: default: *143 '403': *27 @@ -60667,13 +60108,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *364 + schema: *361 examples: default: *143 responses: @@ -60699,8 +60140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -60727,8 +60168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -60760,14 +60201,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *365 + schema: *362 examples: default: *150 x-github: @@ -60790,8 +60231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Success response @@ -60802,7 +60243,7 @@ paths: required: true content: application/json: - schema: *366 + schema: *363 examples: default: *150 x-github: @@ -60831,8 +60272,8 @@ paths: in: query schema: type: string - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -60876,8 +60317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -60885,9 +60326,9 @@ paths: application/json: schema: type: array - items: *367 + items: *364 examples: - default: *368 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60909,8 +60350,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -60953,7 +60394,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *369 + '201': *366 '404': *6 '422': *7 '409': *52 @@ -60984,8 +60425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -60993,7 +60434,7 @@ paths: application/json: schema: *159 examples: - default: *370 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61021,8 +60462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -61030,7 +60471,7 @@ paths: application/json: schema: *159 examples: - default: *371 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61052,8 +60493,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: '200': @@ -61062,7 +60503,7 @@ paths: application/json: schema: *157 examples: - default: *372 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61083,8 +60524,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: '204': @@ -61111,8 +60552,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: '200': *161 @@ -61137,8 +60578,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: - - *340 - - *341 + - *337 + - *338 - *156 requestBody: required: true @@ -61187,8 +60628,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: - - *340 - - *341 + - *337 + - *338 - *156 requestBody: required: true @@ -61238,11 +60679,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: - '200': *373 + '200': *370 '404': *6 x-github: githubCloudOnly: false @@ -61269,10 +60710,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: - - *340 - - *341 + - *337 + - *338 - *156 - - *374 + - *371 responses: '200': *161 '404': *6 @@ -61300,9 +60741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *340 - - *341 - - &390 + - *337 + - *338 + - &387 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. @@ -61310,7 +60751,7 @@ paths: required: false schema: type: string - - &391 + - &388 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61318,7 +60759,7 @@ paths: required: false schema: type: string - - &392 + - &389 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -61327,7 +60768,7 @@ paths: required: false schema: type: string - - &393 + - &390 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 @@ -61354,7 +60795,7 @@ paths: - pending - *17 - *19 - - &394 + - &391 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)." @@ -61363,7 +60804,7 @@ paths: schema: type: string format: date-time - - &375 + - &372 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -61372,13 +60813,13 @@ paths: schema: type: boolean default: false - - &395 + - &392 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &396 + - &393 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -61401,7 +60842,7 @@ paths: type: integer workflow_runs: type: array - items: &376 + items: &373 title: Workflow Run description: An invocation of a workflow type: object @@ -61579,7 +61020,7 @@ paths: head_commit: anyOf: - type: 'null' - - &420 + - &417 title: Simple Commit description: A commit. type: object @@ -61694,7 +61135,7 @@ paths: - workflow_url - pull_requests examples: - default: &397 + default: &394 value: total_count: 1 workflow_runs: @@ -61930,24 +61371,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *340 - - *341 - - &377 + - *337 + - *338 + - &374 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *375 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: &380 + default: &377 value: id: 30433642 name: Build @@ -62188,9 +61629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '204': description: Response @@ -62213,9 +61654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '200': description: Response @@ -62343,9 +61784,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: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '201': description: Response @@ -62378,12 +61819,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 - *17 - *19 - - *378 + - *375 - *60 responses: '200': @@ -62400,9 +61841,9 @@ paths: type: integer artifacts: type: array - items: *347 + items: *344 examples: - default: *379 + default: *376 headers: Link: *66 x-github: @@ -62426,25 +61867,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *340 - - *341 - - *377 - - &381 + - *337 + - *338 + - *374 + - &378 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *375 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *380 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62467,10 +61908,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *340 - - *341 - - *377 - - *381 + - *337 + - *338 + - *374 + - *378 - *17 - *19 responses: @@ -62488,9 +61929,9 @@ paths: type: integer jobs: type: array - items: *382 + items: *379 examples: - default: &383 + default: &380 value: total_count: 1 jobs: @@ -62603,10 +62044,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *340 - - *341 - - *377 - - *381 + - *337 + - *338 + - *374 + - *378 responses: '302': description: Response @@ -62634,9 +62075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '202': description: Response @@ -62682,9 +62123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 - *17 - *45 - *46 @@ -62861,9 +62302,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: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: true content: @@ -62930,9 +62371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '202': description: Response @@ -62965,9 +62406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 - 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 @@ -62997,9 +62438,9 @@ paths: type: integer jobs: type: array - items: *382 + items: *379 examples: - default: *383 + default: *380 headers: Link: *66 x-github: @@ -63024,9 +62465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '302': description: Response @@ -63053,9 +62494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '204': description: Response @@ -63082,9 +62523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '200': description: Response @@ -63153,7 +62594,7 @@ paths: items: type: object properties: - type: &503 + type: &500 type: string description: The type of reviewer. enum: @@ -63239,9 +62680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: true content: @@ -63291,7 +62732,7 @@ paths: application/json: schema: type: array - items: &498 + items: &495 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63403,7 +62844,7 @@ paths: - created_at - updated_at examples: - default: &499 + default: &496 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63459,9 +62900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: false content: @@ -63506,9 +62947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: false content: @@ -63562,9 +63003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '200': description: Response @@ -63701,8 +63142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -63720,9 +63161,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -63747,8 +63188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -63778,17 +63219,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: &398 + default: &395 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -63814,8 +63255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -63873,8 +63314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -63900,8 +63341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -63919,9 +63360,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -63944,8 +63385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -63997,17 +63438,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '200': description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: &399 + default: &396 value: name: USERNAME value: octocat @@ -64033,8 +63474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 requestBody: required: true @@ -64077,8 +63518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '204': @@ -64104,8 +63545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -64123,7 +63564,7 @@ paths: type: integer workflows: type: array - items: &388 + items: &385 title: Workflow description: A GitHub Actions workflow type: object @@ -64241,9 +63682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *340 - - *341 - - &389 + - *337 + - *338 + - &386 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64258,7 +63699,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *385 examples: default: value: @@ -64291,9 +63732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '204': description: Response @@ -64318,9 +63759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '200': description: Response including the workflow run ID and URLs. @@ -64400,9 +63841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '204': description: Response @@ -64429,19 +63870,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *340 - - *341 + - *337 + - *338 + - *386 + - *387 + - *388 - *389 - *390 + - *17 + - *19 - *391 + - *372 - *392 - *393 - - *17 - - *19 - - *394 - - *375 - - *395 - - *396 responses: '200': description: Response @@ -64457,9 +63898,9 @@ paths: type: integer workflow_runs: type: array - items: *376 + items: *373 examples: - default: *397 + default: *394 headers: Link: *66 x-github: @@ -64491,9 +63932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '200': description: Response @@ -64554,8 +63995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *340 - - *341 + - *337 + - *338 - *60 - *17 - *45 @@ -64728,8 +64169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -64747,9 +64188,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -64773,8 +64214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -64792,9 +64233,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -64819,8 +64260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -64838,9 +64279,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -64865,8 +64306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -64896,17 +64337,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *398 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64928,8 +64369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -64987,8 +64428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -65014,8 +64455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -65033,9 +64474,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -65058,8 +64499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -65111,17 +64552,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '200': description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: *399 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65142,8 +64583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 requestBody: required: true @@ -65186,8 +64627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '204': @@ -65209,8 +64650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -65247,8 +64688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *340 - - *341 + - *337 + - *338 - name: assignee in: path required: true @@ -65284,8 +64725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -65395,8 +64836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *45 - *46 @@ -65437,7 +64878,7 @@ paths: initiator: type: string examples: - default: *400 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65457,8 +64898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -65466,7 +64907,7 @@ paths: application/json: schema: type: array - items: &401 + items: &398 title: Autolink reference description: An autolink reference. type: object @@ -65525,8 +64966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -65565,9 +65006,9 @@ paths: description: response content: application/json: - schema: *401 + schema: *398 examples: - default: &402 + default: &399 value: id: 1 key_prefix: TICKET- @@ -65598,9 +65039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *340 - - *341 - - &403 + - *337 + - *338 + - &400 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65612,9 +65053,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: *402 + default: *399 '404': *6 x-github: githubCloudOnly: false @@ -65634,9 +65075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *340 - - *341 - - *403 + - *337 + - *338 + - *400 responses: '204': description: Response @@ -65660,8 +65101,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response if Dependabot is enabled @@ -65711,8 +65152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -65733,8 +65174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -65754,8 +65195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *340 - - *341 + - *337 + - *338 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -65793,7 +65234,7 @@ paths: - url protected: type: boolean - protection: &405 + protection: &402 title: Branch Protection description: Branch Protection type: object @@ -65836,7 +65277,7 @@ paths: required: - contexts - checks - enforce_admins: &408 + enforce_admins: &405 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65853,7 +65294,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &410 + required_pull_request_reviews: &407 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -65937,7 +65378,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &407 + restrictions: &404 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66230,9 +65671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *340 - - *341 - - &406 + - *337 + - *338 + - &403 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). @@ -66246,14 +65687,14 @@ paths: description: Response content: application/json: - schema: &416 + schema: &413 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &470 + commit: &467 title: Commit description: Commit type: object @@ -66292,7 +65733,7 @@ paths: author: anyOf: - type: 'null' - - &404 + - &401 title: Git User description: Metaproperties for Git author/committer information. @@ -66314,7 +65755,7 @@ paths: committer: anyOf: - type: 'null' - - *404 + - *401 message: type: string examples: @@ -66338,7 +65779,7 @@ paths: required: - sha - url - verification: &521 + verification: &518 title: Verification type: object properties: @@ -66418,7 +65859,7 @@ paths: type: integer files: type: array - items: &481 + items: &478 title: Diff Entry description: Diff Entry type: object @@ -66514,7 +65955,7 @@ paths: - self protected: type: boolean - protection: *405 + protection: *402 protection_url: type: string format: uri @@ -66623,7 +66064,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *344 + '301': *341 '404': *6 x-github: githubCloudOnly: false @@ -66645,15 +66086,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *405 + schema: *402 examples: default: value: @@ -66847,9 +66288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -67109,7 +66550,7 @@ paths: url: type: string format: uri - required_status_checks: &413 + required_status_checks: &410 title: Status Check Policy description: Status Check Policy type: object @@ -67268,7 +66709,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *407 + restrictions: *404 required_conversation_resolution: type: object properties: @@ -67380,9 +66821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -67407,17 +66848,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: &409 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67439,17 +66880,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *409 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67468,9 +66909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -67495,17 +66936,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *410 + schema: *407 examples: - default: &411 + default: &408 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67601,9 +67042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -67701,9 +67142,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *407 examples: - default: *411 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -67724,9 +67165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -67753,17 +67194,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: &412 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67786,17 +67227,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *412 + default: *409 '404': *6 x-github: githubCloudOnly: false @@ -67816,9 +67257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -67843,17 +67284,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *413 + schema: *410 examples: - default: &414 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67879,9 +67320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -67933,9 +67374,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *410 examples: - default: *414 + default: *411 '404': *6 '422': *15 x-github: @@ -67957,9 +67398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -67983,9 +67424,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -68019,9 +67460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -68088,9 +67529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -68154,9 +67595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: content: application/json: @@ -68222,15 +67663,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *407 + schema: *404 examples: default: value: @@ -68321,9 +67762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -68346,9 +67787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -68358,7 +67799,7 @@ paths: type: array items: *5 examples: - default: &415 + default: &412 value: - id: 1 slug: octoapp @@ -68415,9 +67856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -68451,7 +67892,7 @@ paths: type: array items: *5 examples: - default: *415 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -68472,9 +67913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -68508,7 +67949,7 @@ paths: type: array items: *5 examples: - default: *415 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -68529,9 +67970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -68565,7 +68006,7 @@ paths: type: array items: *5 examples: - default: *415 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -68587,9 +68028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -68619,9 +68060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -68680,9 +68121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -68741,9 +68182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: content: application/json: @@ -68802,9 +68243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -68838,9 +68279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -68898,9 +68339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -68958,9 +68399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69020,9 +68461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69044,7 +68485,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *413 examples: default: value: @@ -69160,8 +68601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -69440,7 +68881,7 @@ paths: description: Response content: application/json: - schema: &417 + schema: &414 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69576,7 +69017,7 @@ paths: check. type: array items: *85 - deployment: &732 + deployment: &730 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69863,9 +69304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *340 - - *341 - - &418 + - *337 + - *338 + - &415 name: check_run_id description: The unique identifier of the check run. in: path @@ -69877,9 +69318,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *414 examples: - default: &419 + default: &416 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -69979,9 +69420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *340 - - *341 - - *418 + - *337 + - *338 + - *415 requestBody: required: true content: @@ -70221,9 +69662,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *414 examples: - default: *419 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70243,9 +69684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *340 - - *341 - - *418 + - *337 + - *338 + - *415 - *17 - *19 responses: @@ -70355,9 +69796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *340 - - *341 - - *418 + - *337 + - *338 + - *415 responses: '201': description: Response @@ -70401,8 +69842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -70424,7 +69865,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &421 + schema: &418 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70522,7 +69963,7 @@ paths: - string - 'null' format: date-time - head_commit: *420 + head_commit: *417 latest_check_runs_count: type: integer check_runs_url: @@ -70550,7 +69991,7 @@ paths: - check_runs_url - pull_requests examples: - default: &422 + default: &419 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70841,9 +70282,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *421 + schema: *418 examples: - default: *422 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70862,8 +70303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -71172,9 +70613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *340 - - *341 - - &423 + - *337 + - *338 + - &420 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71186,9 +70627,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *418 examples: - default: *422 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71211,17 +70652,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *340 - - *341 - - *423 - - &476 + - *337 + - *338 + - *420 + - &473 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &477 + - &474 name: status description: Returns check runs with the specified `status`. in: query @@ -71260,9 +70701,9 @@ paths: type: integer check_runs: type: array - items: *417 + items: *414 examples: - default: &478 + default: &475 value: total_count: 1 check_runs: @@ -71364,9 +70805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *340 - - *341 - - *423 + - *337 + - *338 + - *420 responses: '201': description: Response @@ -71395,8 +70836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -71494,8 +70935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -71625,21 +71066,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *340 - - *341 - - *424 - - *425 + - *337 + - *338 + - *421 + - *422 - *19 - *17 - - &442 + - &439 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: *426 - - &443 + schema: *423 + - &440 name: pr description: The number of the pull request for the results you want to list. in: query @@ -71664,13 +71105,13 @@ paths: be returned. in: query required: false - schema: *427 + schema: *424 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *428 + schema: *425 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -71694,7 +71135,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *429 + instances_url: *426 state: *189 fixed_at: *185 dismissed_by: @@ -71702,11 +71143,11 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *430 - dismissed_comment: *431 - rule: *432 - tool: *433 - most_recent_instance: *434 + dismissed_reason: *427 + dismissed_comment: *428 + rule: *429 + tool: *430 + most_recent_instance: *431 dismissal_approved_by: anyOf: - type: 'null' @@ -71829,7 +71270,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &435 + '403': &432 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -71856,9 +71297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *340 - - *341 - - &436 + - *337 + - *338 + - &433 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71872,7 +71313,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &434 type: object properties: number: *180 @@ -71880,7 +71321,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *429 + instances_url: *426 state: *189 fixed_at: *185 dismissed_by: @@ -71888,8 +71329,8 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_reason: *427 + dismissed_comment: *428 rule: type: object properties: @@ -71951,8 +71392,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *433 - most_recent_instance: *434 + tool: *430 + most_recent_instance: *431 dismissal_approved_by: anyOf: - type: 'null' @@ -72048,7 +71489,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -72068,9 +71509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 requestBody: required: true content: @@ -72085,8 +71526,8 @@ paths: enum: - open - dismissed - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_reason: *427 + dismissed_comment: *428 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -72114,7 +71555,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *434 examples: default: value: @@ -72190,7 +71631,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &441 + '403': &438 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -72217,15 +71658,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: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 responses: '200': description: Response content: application/json: - schema: &438 + schema: &435 type: object properties: status: @@ -72252,13 +71693,13 @@ paths: - description - started_at examples: - default: &439 + default: &436 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &440 + '400': &437 description: Bad Request content: application/json: @@ -72269,7 +71710,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': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -72294,29 +71735,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: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 responses: '200': description: OK content: application/json: - schema: *438 + schema: *435 examples: - default: *439 + default: *436 '202': description: Accepted content: application/json: - schema: *438 + schema: *435 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *440 + '400': *437 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72348,9 +71789,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: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 requestBody: required: false content: @@ -72396,8 +71837,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *440 - '403': *441 + '400': *437 + '403': *438 '404': *6 '422': description: Unprocessable Entity @@ -72421,13 +71862,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 - *19 - *17 - - *442 - - *443 + - *439 + - *440 responses: '200': description: Response @@ -72438,10 +71879,10 @@ paths: items: type: object properties: - ref: *426 - analysis_key: *444 - environment: *445 - category: *446 + ref: *423 + analysis_key: *441 + environment: *442 + category: *443 state: type: - string @@ -72458,7 +71899,7 @@ paths: properties: text: type: string - location: *447 + location: *444 html_url: type: string classifications: @@ -72466,7 +71907,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *448 + items: *445 examples: default: value: @@ -72503,7 +71944,7 @@ paths: end_column: 50 classifications: - source - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -72537,25 +71978,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *340 - - *341 - - *424 - - *425 + - *337 + - *338 + - *421 + - *422 - *19 - *17 - - *443 + - *440 - 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: *426 + schema: *423 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &449 + schema: &446 type: string description: An identifier for the upload. examples: @@ -72577,23 +72018,23 @@ paths: application/json: schema: type: array - items: &450 + items: &447 type: object properties: - ref: *426 - commit_sha: &458 + ref: *423 + commit_sha: &455 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *444 + analysis_key: *441 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *446 + category: *443 error: type: string examples: @@ -72618,8 +72059,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *449 - tool: *433 + sarif_id: *446 + tool: *430 deletable: type: boolean warning: @@ -72681,7 +72122,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -72717,8 +72158,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: - - *340 - - *341 + - *337 + - *338 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72731,7 +72172,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *447 examples: response: summary: application/json response @@ -72785,7 +72226,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *435 + '403': *432 '404': *6 '422': description: Response if analysis could not be processed @@ -72872,8 +72313,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: - - *340 - - *341 + - *337 + - *338 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72929,7 +72370,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': *441 + '403': *438 '404': *6 '503': *114 x-github: @@ -72951,8 +72392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -72960,7 +72401,7 @@ paths: application/json: schema: type: array - items: &451 + items: &448 title: CodeQL Database description: A CodeQL database. type: object @@ -73072,7 +72513,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': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -73101,8 +72542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: language in: path description: The language of the CodeQL database. @@ -73114,7 +72555,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *448 examples: default: value: @@ -73146,9 +72587,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': &485 + '302': &482 description: Found - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -73170,8 +72611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *340 - - *341 + - *337 + - *338 - name: language in: path description: The language of the CodeQL database. @@ -73181,7 +72622,7 @@ paths: responses: '204': description: Response - '403': *441 + '403': *438 '404': *6 '503': *114 x-github: @@ -73209,8 +72650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -73219,7 +72660,7 @@ paths: type: object additionalProperties: false properties: - language: &452 + language: &449 type: string description: The language targeted by the CodeQL query enum: @@ -73299,7 +72740,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &456 + schema: &453 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73309,7 +72750,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *452 + query_language: *449 query_pack_url: type: string description: The download url for the query pack. @@ -73357,7 +72798,7 @@ paths: items: type: object properties: - repository: &453 + repository: &450 title: Repository Identifier description: Repository Identifier type: object @@ -73399,7 +72840,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &457 + analysis_status: &454 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73431,7 +72872,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &454 + access_mismatch_repos: &451 type: object properties: repository_count: @@ -73446,7 +72887,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: *453 + items: *450 required: - repository_count - repositories @@ -73469,8 +72910,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *454 - over_limit_repos: *454 + no_codeql_db_repos: *451 + over_limit_repos: *451 required: - access_mismatch_repos - not_found_repos @@ -73486,7 +72927,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &455 + value: &452 summary: Default response value: id: 1 @@ -73632,10 +73073,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *455 + value: *452 repository_lists: summary: Response for a successful variant analysis submission - value: *455 + value: *452 '404': *6 '422': description: Unable to process variant analysis submission @@ -73663,8 +73104,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: - - *340 - - *341 + - *337 + - *338 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -73676,9 +73117,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: - default: *455 + default: *452 '404': *6 '503': *114 x-github: @@ -73701,7 +73142,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: - - *340 + - *337 - name: repo in: path description: The name of the controller repository. @@ -73736,7 +73177,7 @@ paths: type: object properties: repository: *65 - analysis_status: *457 + analysis_status: *454 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73861,8 +73302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -73953,7 +73394,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -73974,8 +73415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -74069,7 +73510,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *441 + '403': *438 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -74140,8 +73581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -74149,7 +73590,7 @@ paths: schema: type: object properties: - commit_sha: *458 + commit_sha: *455 ref: type: string description: |- @@ -74209,7 +73650,7 @@ paths: schema: type: object properties: - id: *449 + id: *446 url: type: string description: The REST API URL for checking the status of the upload. @@ -74223,7 +73664,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': *441 + '403': *438 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74246,8 +73687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *340 - - *341 + - *337 + - *338 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74295,7 +73736,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': *435 + '403': *432 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -74320,8 +73761,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -74402,8 +73843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *340 - - *341 + - *337 + - *338 - 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 @@ -74531,8 +73972,8 @@ paths: parameters: - *17 - *19 - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -74846,8 +74287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -74913,7 +74354,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -74921,7 +74362,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '400': *14 '401': *23 '403': *27 @@ -74950,8 +74391,8 @@ paths: parameters: - *17 - *19 - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -75015,8 +74456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -75053,9 +74494,9 @@ paths: type: integer machines: type: array - items: *460 + items: *457 examples: - default: &675 + default: &673 value: total_count: 2 machines: @@ -75095,8 +74536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *340 - - *341 + - *337 + - *338 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -75183,8 +74624,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: - - *340 - - *341 + - *337 + - *338 - 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 @@ -75253,8 +74694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -75272,7 +74713,7 @@ paths: type: integer secrets: type: array - items: &464 + items: &461 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75293,7 +74734,7 @@ paths: - created_at - updated_at examples: - default: *461 + default: *458 headers: Link: *66 x-github: @@ -75316,16 +74757,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *462 + schema: *459 examples: - default: *463 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75345,17 +74786,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *464 + schema: *461 examples: - default: *465 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75375,8 +74816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -75429,8 +74870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -75459,8 +74900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *340 - - *341 + - *337 + - *338 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75498,7 +74939,7 @@ paths: application/json: schema: type: array - items: &466 + items: &463 title: Collaborator description: Collaborator type: object @@ -75691,8 +75132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *340 - - *341 + - *337 + - *338 - *70 responses: '204': @@ -75739,8 +75180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *340 - - *341 + - *337 + - *338 - *70 requestBody: required: false @@ -75767,7 +75208,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &534 + schema: &532 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75995,8 +75436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *340 - - *341 + - *337 + - *338 - *70 responses: '204': @@ -76028,8 +75469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *340 - - *341 + - *337 + - *338 - *70 responses: '200': @@ -76050,7 +75491,7 @@ paths: user: anyOf: - type: 'null' - - *466 + - *463 required: - permission - role_name @@ -76104,8 +75545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -76115,7 +75556,7 @@ paths: application/json: schema: type: array - items: &467 + items: &464 title: Commit Comment description: Commit Comment type: object @@ -76173,7 +75614,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &469 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76232,17 +75673,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: &473 + default: &470 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76299,8 +75740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -76323,7 +75764,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: default: value: @@ -76374,8 +75815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -76397,8 +75838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76425,7 +75866,7 @@ paths: application/json: schema: type: array - items: &468 + items: &465 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -76469,7 +75910,7 @@ paths: - content - created_at examples: - default: &538 + default: &536 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -76514,8 +75955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -76548,9 +75989,9 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: &469 + default: &466 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -76579,9 +76020,9 @@ paths: description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -76603,10 +76044,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *340 - - *341 + - *337 + - *338 - *96 - - &539 + - &537 name: reaction_id description: The unique identifier of the reaction. in: path @@ -76661,8 +76102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *340 - - *341 + - *337 + - *338 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -76718,9 +76159,9 @@ paths: application/json: schema: type: array - items: *470 + items: *467 examples: - default: &586 + default: &584 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76814,9 +76255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *340 - - *341 - - &471 + - *337 + - *338 + - &468 name: commit_sha description: The SHA of the commit. in: path @@ -76888,9 +76329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 - *17 - *19 responses: @@ -76900,9 +76341,9 @@ paths: application/json: schema: type: array - items: *467 + items: *464 examples: - default: *472 + default: *469 headers: Link: *66 x-github: @@ -76930,9 +76371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 requestBody: required: true content: @@ -76967,9 +76408,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *473 + default: *470 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76997,9 +76438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 - *17 - *19 responses: @@ -77009,9 +76450,9 @@ paths: application/json: schema: type: array - items: *474 + items: *471 examples: - default: &578 + default: &576 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77548,11 +76989,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *340 - - *341 + - *337 + - *338 - *19 - *17 - - &475 + - &472 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)" @@ -77567,9 +77008,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *467 examples: - default: &566 + default: &564 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77657,7 +77098,7 @@ paths: schema: type: string examples: - default: &482 + default: &479 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -77670,7 +77111,7 @@ paths: schema: type: string examples: - default: &483 + default: &480 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -77723,11 +77164,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *340 - - *341 - - *475 - - *476 - - *477 + - *337 + - *338 + - *472 + - *473 + - *474 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77761,9 +77202,9 @@ paths: type: integer check_runs: type: array - items: *417 + items: *414 examples: - default: *478 + default: *475 headers: Link: *66 x-github: @@ -77788,9 +77229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *340 - - *341 - - *475 + - *337 + - *338 + - *472 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77798,7 +77239,7 @@ paths: schema: type: integer example: 1 - - *476 + - *473 - *17 - *19 responses: @@ -77816,7 +77257,7 @@ paths: type: integer check_suites: type: array - items: *421 + items: *418 examples: default: value: @@ -78016,9 +77457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *340 - - *341 - - *475 + - *337 + - *338 + - *472 - *17 - *19 responses: @@ -78220,9 +77661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *340 - - *341 - - *475 + - *337 + - *338 + - *472 - *17 - *19 responses: @@ -78232,7 +77673,7 @@ paths: application/json: schema: type: array - items: &656 + items: &654 title: Status description: The status of a commit. type: object @@ -78313,7 +77754,7 @@ paths: site_admin: false headers: Link: *66 - '301': *344 + '301': *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78341,8 +77782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -78375,11 +77816,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *479 + - *476 code_of_conduct_file: anyOf: - type: 'null' - - &480 + - &477 title: Community Health File type: object properties: @@ -78399,19 +77840,19 @@ paths: contributing: anyOf: - type: 'null' - - *480 + - *477 readme: anyOf: - type: 'null' - - *480 + - *477 issue_template: anyOf: - type: 'null' - - *480 + - *477 pull_request_template: anyOf: - type: 'null' - - *480 + - *477 required: - code_of_conduct - code_of_conduct_file @@ -78540,8 +77981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *340 - - *341 + - *337 + - *338 - *19 - *17 - name: basehead @@ -78589,8 +78030,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *470 - merge_base_commit: *470 + base_commit: *467 + merge_base_commit: *467 status: type: string enum: @@ -78614,10 +78055,10 @@ paths: - 6 commits: type: array - items: *470 + items: *467 files: type: array - items: *481 + items: *478 required: - url - html_url @@ -78863,12 +78304,12 @@ paths: schema: type: string examples: - default: *482 + default: *479 application/vnd.github.patch: schema: type: string examples: - default: *483 + default: *480 '404': *6 '500': *53 '503': *114 @@ -78913,8 +78354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *340 - - *341 + - *337 + - *338 - name: path description: path parameter in: path @@ -79084,7 +78525,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &484 + response-if-content-is-a-file-github-object: &481 summary: Response if content is a file value: type: file @@ -79221,7 +78662,7 @@ paths: - size - type - url - - &591 + - &589 title: Content File description: Content File type: object @@ -79439,7 +78880,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *484 + response-if-content-is-a-file: *481 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79508,7 +78949,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *485 + '302': *482 '304': *35 x-github: githubCloudOnly: false @@ -79531,8 +78972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *340 - - *341 + - *337 + - *338 - name: path description: path parameter in: path @@ -79627,7 +79068,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &483 title: File Commit description: File Commit type: object @@ -79783,7 +79224,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: example-for-creating-a-file: value: @@ -79837,7 +79278,7 @@ paths: schema: oneOf: - *3 - - &516 + - &513 description: Repository rule violation was detected type: object properties: @@ -79858,7 +79299,7 @@ paths: items: type: object properties: - placeholder_id: &648 + placeholder_id: &646 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79890,8 +79331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *340 - - *341 + - *337 + - *338 - name: path description: path parameter in: path @@ -79952,7 +79393,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: default: value: @@ -80007,8 +79448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *340 - - *341 + - *337 + - *338 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -80138,8 +79579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -80272,8 +79713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *202 - *203 - *204 @@ -80286,7 +79727,7 @@ paths: schema: type: string - *207 - - *487 + - *484 - *208 - *209 - *210 @@ -80301,7 +79742,7 @@ paths: application/json: schema: type: array - items: &491 + items: &488 type: object description: A Dependabot alert. properties: @@ -80352,7 +79793,7 @@ paths: - transitive - inconclusive - - security_advisory: *488 + security_advisory: *485 security_vulnerability: *64 url: *183 html_url: *184 @@ -80383,8 +79824,8 @@ paths: dismissal. maxLength: 280 fixed_at: *185 - auto_dismissed_at: *489 - dismissal_request: *490 + auto_dismissed_at: *486 + dismissal_request: *487 assignees: type: array description: The users assigned to this alert. @@ -80639,9 +80080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *340 - - *341 - - &492 + - *337 + - *338 + - &489 name: alert_number in: path description: |- @@ -80656,7 +80097,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: default: value: @@ -80788,9 +80229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *340 - - *341 - - *492 + - *337 + - *338 + - *489 requestBody: required: true content: @@ -80827,6 +80268,7 @@ paths: Usernames to assign to this Dependabot Alert. Pass one or more user logins to _replace_ the set of assignees on this alert. Send an empty array (`[]`) to clear all assignees from the alert. + To assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`). items: type: string anyOf: @@ -80846,7 +80288,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: default: value: @@ -80976,8 +80418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -80995,7 +80437,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &492 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -81049,16 +80491,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *493 + schema: *490 examples: - default: *494 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81078,15 +80520,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *495 + schema: *492 examples: default: value: @@ -81112,8 +80554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -81166,8 +80608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -81190,8 +80632,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: - - *340 - - *341 + - *337 + - *338 - 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 @@ -81368,8 +80810,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -81628,8 +81070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: sbom_uuid in: path required: true @@ -81640,7 +81082,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *496 + Location: *493 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -81661,8 +81103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -81700,8 +81142,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -81784,7 +81226,7 @@ paths: - version - url additionalProperties: false - metadata: &497 + metadata: &494 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81823,7 +81265,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *497 + metadata: *494 resolved: type: object description: A collection of resolved package dependencies. @@ -81837,7 +81279,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *497 + metadata: *494 relationship: type: string description: A notation of whether a dependency is requested @@ -81970,8 +81412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *340 - - *341 + - *337 + - *338 - name: sha description: The SHA recorded at creation time. in: query @@ -82012,9 +81454,9 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 + default: *496 headers: Link: *66 x-github: @@ -82080,8 +81522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -82163,7 +81605,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: simple-example: summary: Simple example @@ -82236,9 +81678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *340 - - *341 - - &500 + - *337 + - *338 + - &497 name: deployment_id description: deployment_id parameter in: path @@ -82250,7 +81692,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: default: value: @@ -82315,9 +81757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 responses: '204': description: Response @@ -82339,9 +81781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 - *17 - *19 responses: @@ -82351,7 +81793,7 @@ paths: application/json: schema: type: array - items: &501 + items: &498 title: Deployment Status description: The status of a deployment. type: object @@ -82515,9 +81957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 requestBody: required: true content: @@ -82592,9 +82034,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: &502 + default: &499 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -82650,9 +82092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 - name: status_id in: path required: true @@ -82663,9 +82105,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: *502 + default: *499 '404': *6 x-github: githubCloudOnly: false @@ -82690,8 +82132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -82748,8 +82190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -82767,7 +82209,7 @@ paths: - 5 environments: type: array - items: &504 + items: &501 title: Environment description: Details of a deployment environment type: object @@ -82829,7 +82271,7 @@ paths: type: string examples: - wait_timer - wait_timer: &506 + wait_timer: &503 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -82871,7 +82313,7 @@ paths: items: type: object properties: - type: *503 + type: *500 reviewer: anyOf: - *4 @@ -82898,7 +82340,7 @@ paths: - id - node_id - type - deployment_branch_policy: &507 + deployment_branch_policy: &504 type: - object - 'null' @@ -83015,9 +82457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *340 - - *341 - - &505 + - *337 + - *338 + - &502 name: environment_name in: path required: true @@ -83030,9 +82472,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: - default: &508 + default: &505 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -83116,9 +82558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 requestBody: required: false content: @@ -83128,7 +82570,7 @@ paths: - object - 'null' properties: - wait_timer: *506 + wait_timer: *503 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -83147,14 +82589,14 @@ paths: items: type: object properties: - type: *503 + type: *500 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *507 + deployment_branch_policy: *504 additionalProperties: false examples: default: @@ -83174,9 +82616,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: - default: *508 + default: *505 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -83200,9 +82642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 responses: '204': description: Default response @@ -83227,9 +82669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *17 - *19 responses: @@ -83248,7 +82690,7 @@ paths: - 2 branch_policies: type: array - items: &509 + items: &506 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83309,9 +82751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 requestBody: required: true content: @@ -83359,9 +82801,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - example-wildcard: &510 + example-wildcard: &507 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -83403,10 +82845,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 - - &511 + - *337 + - *338 + - *502 + - &508 name: branch_policy_id in: path required: true @@ -83418,9 +82860,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83439,10 +82881,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 - - *511 + - *337 + - *338 + - *502 + - *508 requestBody: required: true content: @@ -83471,9 +82913,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83492,10 +82934,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 - - *511 + - *337 + - *338 + - *502 + - *508 responses: '204': description: Response @@ -83520,9 +82962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *505 - - *341 - - *340 + - *502 + - *338 + - *337 responses: '200': description: List of deployment protection rules @@ -83539,7 +82981,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &512 + items: &509 title: Deployment protection rule description: Deployment protection rule type: object @@ -83561,7 +83003,7 @@ paths: for the environment. examples: - true - app: &513 + app: &510 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -83664,9 +83106,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: - - *505 - - *341 - - *340 + - *502 + - *338 + - *337 requestBody: content: application/json: @@ -83687,9 +83129,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *512 + schema: *509 examples: - default: &514 + default: &511 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -83724,9 +83166,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: - - *505 - - *341 - - *340 + - *502 + - *338 + - *337 - *19 - *17 responses: @@ -83746,7 +83188,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *513 + items: *510 examples: default: value: @@ -83781,10 +83223,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *340 - - *341 - - *505 - - &515 + - *337 + - *338 + - *502 + - &512 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -83796,9 +83238,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *514 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83819,10 +83261,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *505 - - *341 - - *340 - - *515 + - *502 + - *338 + - *337 + - *512 responses: '204': description: Response @@ -83848,9 +83290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *17 - *19 responses: @@ -83868,9 +83310,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -83895,9 +83337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 responses: '200': description: Response @@ -83927,18 +83369,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *163 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *398 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83960,9 +83402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *163 requestBody: required: true @@ -84020,9 +83462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *163 responses: '204': @@ -84048,9 +83490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *172 - *19 responses: @@ -84068,9 +83510,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -84093,9 +83535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 requestBody: required: true content: @@ -84147,18 +83589,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *166 responses: '200': description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: *399 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84179,10 +83621,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 - - *505 + - *502 requestBody: required: true content: @@ -84224,10 +83666,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 - - *505 + - *502 responses: '204': description: Response @@ -84249,8 +83691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -84318,8 +83760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *340 - - *341 + - *337 + - *338 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84478,8 +83920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -84512,9 +83954,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 '400': *14 '422': *15 '403': *27 @@ -84535,8 +83977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -84596,7 +84038,7 @@ paths: schema: oneOf: - *124 - - *516 + - *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84621,8 +84063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *340 - - *341 + - *337 + - *338 - name: file_sha in: path required: true @@ -84722,8 +84164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -84832,7 +84274,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &514 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -85059,15 +84501,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 responses: '200': description: Response content: application/json: - schema: *517 + schema: *514 examples: default: value: @@ -85123,9 +84565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *340 - - *341 - - &518 + - *337 + - *338 + - &515 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. @@ -85142,7 +84584,7 @@ paths: application/json: schema: type: array - items: &519 + items: &516 title: Git Reference description: Git references within a repository type: object @@ -85218,17 +84660,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *340 - - *341 - - *518 + - *337 + - *338 + - *515 responses: '200': description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: &520 + default: &517 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85257,8 +84699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -85287,9 +84729,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: *520 + default: *517 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -85315,9 +84757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *340 - - *341 - - *518 + - *337 + - *338 + - *515 requestBody: required: true content: @@ -85346,9 +84788,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: *520 + default: *517 '422': *15 '409': *52 x-github: @@ -85366,9 +84808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *340 - - *341 - - *518 + - *337 + - *338 + - *515 responses: '204': description: Response @@ -85423,8 +84865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -85491,7 +84933,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &519 title: Git Tag description: Metadata for a Git tag type: object @@ -85547,7 +84989,7 @@ paths: - sha - type - url - verification: *521 + verification: *518 required: - sha - url @@ -85557,7 +84999,7 @@ paths: - tag - message examples: - default: &523 + default: &520 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -85630,8 +85072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *340 - - *341 + - *337 + - *338 - name: tag_sha in: path required: true @@ -85642,9 +85084,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *519 examples: - default: *523 + default: *520 '404': *6 '409': *52 x-github: @@ -85668,8 +85110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -85743,7 +85185,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &521 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -85845,8 +85287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *340 - - *341 + - *337 + - *338 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -85869,7 +85311,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *521 examples: default-response: summary: Default response @@ -85927,8 +85369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -85972,8 +85414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -85983,7 +85425,7 @@ paths: application/json: schema: type: array - items: &525 + items: &522 title: Webhook description: Webhooks for repositories. type: object @@ -86046,7 +85488,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &763 + last_response: &761 title: Hook Response type: object properties: @@ -86123,8 +85565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -86177,9 +85619,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: &526 + default: &523 value: type: Repository id: 12345678 @@ -86227,17 +85669,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '200': description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: *526 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -86257,8 +85699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 requestBody: required: true @@ -86304,9 +85746,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: *526 + default: *523 '422': *15 '404': *6 x-github: @@ -86327,8 +85769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '204': @@ -86353,8 +85795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '200': @@ -86382,8 +85824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *218 requestBody: required: false @@ -86428,8 +85870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 - *17 - *219 @@ -86462,8 +85904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 - *16 responses: @@ -86492,8 +85934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 - *16 responses: @@ -86517,8 +85959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '204': @@ -86544,8 +85986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '204': @@ -86569,8 +86011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response if immutable releases are enabled @@ -86618,8 +86060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '409': *52 @@ -86639,8 +86081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '409': *52 @@ -86697,14 +86139,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &527 + schema: &524 title: Import description: A repository import from an external source. type: object @@ -86811,7 +86253,7 @@ paths: - html_url - authors_url examples: - default: &530 + default: &527 value: vcs: subversion use_lfs: true @@ -86827,7 +86269,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': &528 + '503': &525 description: Unavailable due to service under maintenance. content: application/json: @@ -86856,8 +86298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -86905,7 +86347,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *524 examples: default: value: @@ -86930,7 +86372,7 @@ paths: type: string '422': *15 '404': *6 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86958,8 +86400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -87011,7 +86453,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *524 examples: example-1: summary: Example 1 @@ -87059,7 +86501,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': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87082,12 +86524,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87113,9 +86555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *340 - - *341 - - &697 + - *337 + - *338 + - &695 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87129,7 +86571,7 @@ paths: application/json: schema: type: array - items: &529 + items: &526 title: Porter Author description: Porter Author type: object @@ -87183,7 +86625,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': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87208,8 +86650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *340 - - *341 + - *337 + - *338 - name: author_id in: path required: true @@ -87239,7 +86681,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *526 examples: default: value: @@ -87252,7 +86694,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87276,8 +86718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -87318,7 +86760,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87346,8 +86788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -87374,11 +86816,11 @@ paths: description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: *530 + default: *527 '422': *15 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87401,8 +86843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -87410,8 +86852,8 @@ paths: application/json: schema: *20 examples: - default: *531 - '301': *344 + default: *528 + '301': *341 '404': *6 x-github: githubCloudOnly: false @@ -87431,8 +86873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -87445,7 +86887,7 @@ paths: properties: {} additionalProperties: false examples: - default: &533 + default: &530 value: limit: collaborators_only origin: repository @@ -87470,13 +86912,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *532 + schema: *529 examples: default: summary: Example request body @@ -87490,7 +86932,7 @@ paths: application/json: schema: *237 examples: - default: *533 + default: *530 '409': description: Response x-github: @@ -87512,8 +86954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -87524,6 +86966,157 @@ paths: enabledForGitHubApps: true category: interactions subcategory: repos + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": + get: + summary: Get pull request creation cap bypass list for a repository + description: |- + Lists the users that are on the pull request creation cap bypass list for a + repository. Users on this list can create pull requests regardless of any + configured pull request creation cap. + + Only repository admins can view the bypass list. + tags: + - interactions + operationId: interactions/get-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *337 + - *338 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *4 + examples: + default: + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + put: + summary: Add users to the pull request creation cap bypass list for a repository + description: |- + Adds users to the pull request creation cap bypass list for a repository. + Users on this list can create pull requests regardless of any configured + pull request creation cap. + + Only repository admins can modify the bypass list. + You can add a maximum of 100 users per request. + The bypass list can only hold a maximum of 100 users. + tags: + - interactions + operationId: interactions/set-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *337 + - *338 + requestBody: + required: true + content: + application/json: + schema: &531 + title: Interaction Limits Pull Request Bypass List + description: A list of user logins to add or remove from the pull request + creation cap bypass list. + type: object + properties: + users: + description: A list of user logins to add or remove from the bypass + list. + type: array + items: + type: string + examples: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + delete: + summary: Remove users from the pull request creation cap bypass list for a repository + description: |- + Removes users from the pull request creation cap bypass list for a repository. + Removed users will be subject to any configured pull request creation cap. + + Only repository admins can modify the bypass list. + You can remove a maximum of 100 users per request. + tags: + - interactions + operationId: interactions/remove-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *337 + - *338 + requestBody: + required: true + content: + application/json: + schema: *531 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -87536,8 +87129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -87547,9 +87140,9 @@ paths: application/json: schema: type: array - items: *534 + items: *532 examples: - default: &689 + default: &687 value: - id: 1 repository: @@ -87680,8 +87273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *340 - - *341 + - *337 + - *338 - *241 requestBody: required: false @@ -87711,7 +87304,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: default: value: @@ -87842,8 +87435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *340 - - *341 + - *337 + - *338 - *241 responses: '204': @@ -87867,8 +87460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -87878,7 +87471,7 @@ paths: type: array items: *245 examples: - default: *535 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -87907,8 +87500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *340 - - *341 + - *337 + - *338 - 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 @@ -87995,7 +87588,7 @@ paths: type: array items: *82 examples: - default: &544 + default: &542 value: - id: 1 node_id: MDU6SXNzdWUx @@ -88144,7 +87737,7 @@ paths: state_reason: completed headers: Link: *66 - '301': *344 + '301': *341 '422': *15 '404': *6 x-github: @@ -88173,8 +87766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -88283,7 +87876,7 @@ paths: application/json: schema: *82 examples: - default: &541 + default: &539 value: id: 1 node_id: MDU6SXNzdWUx @@ -88421,7 +88014,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *536 + '410': *534 x-github: triggersNotification: true githubCloudOnly: false @@ -88449,8 +88042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -88473,7 +88066,7 @@ paths: type: array items: *83 examples: - default: &543 + default: &541 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88531,8 +88124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': @@ -88541,7 +88134,7 @@ paths: application/json: schema: *83 examples: - default: &537 + default: &535 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88596,8 +88189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -88622,7 +88215,7 @@ paths: application/json: schema: *83 examples: - default: *537 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -88640,8 +88233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -88670,8 +88263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': @@ -88734,7 +88327,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *536 + '410': *534 '422': *15 x-github: githubCloudOnly: false @@ -88751,8 +88344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -88760,7 +88353,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *536 + '410': *534 '503': *114 x-github: githubCloudOnly: false @@ -88778,8 +88371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -88806,9 +88399,9 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 @@ -88829,8 +88422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -88863,16 +88456,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -88894,10 +88487,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *340 - - *341 + - *337 + - *338 - *96 - - *539 + - *537 responses: '204': description: Response @@ -88917,8 +88510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -88928,7 +88521,7 @@ paths: application/json: schema: type: array - items: &540 + items: &538 title: Issue Event description: Issue Event type: object @@ -89268,8 +88861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *340 - - *341 + - *337 + - *338 - name: event_id in: path required: true @@ -89280,7 +88873,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *538 examples: default: value: @@ -89473,7 +89066,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *536 + '410': *534 '403': *27 x-github: githubCloudOnly: false @@ -89507,9 +89100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *340 - - *341 - - &542 + - *337 + - *338 + - &540 name: issue_number description: The number that identifies the issue. in: path @@ -89525,7 +89118,7 @@ paths: examples: default: summary: Issue - value: *541 + value: *539 pinned_comment: summary: Issue with pinned comment value: @@ -89705,9 +89298,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 '304': *35 x-github: githubCloudOnly: false @@ -89732,9 +89325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -89873,13 +89466,13 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 '422': *15 '503': *114 '403': *27 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89897,9 +89490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -89927,7 +89520,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89943,9 +89536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: content: application/json: @@ -89972,7 +89565,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89994,9 +89587,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: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - name: assignee in: path required: true @@ -90036,9 +89629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *87 - *17 - *19 @@ -90051,11 +89644,11 @@ paths: type: array items: *83 examples: - default: *543 + default: *541 headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90084,9 +89677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -90110,14 +89703,14 @@ paths: application/json: schema: *83 examples: - default: *537 + default: *535 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *536 + '410': *534 '422': *15 '404': *6 x-github: @@ -90145,9 +89738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -90159,12 +89752,12 @@ paths: type: array items: *82 examples: - default: *544 + default: *542 headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90192,9 +89785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -90218,15 +89811,15 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *344 + '301': *341 '403': *27 - '410': *536 + '410': *534 '422': *15 '404': *6 x-github: @@ -90257,9 +89850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -90273,13 +89866,13 @@ paths: application/json: schema: *82 examples: - default: *541 - '301': *344 + default: *539 + '301': *341 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *536 + '410': *534 x-github: triggersNotification: true githubCloudOnly: false @@ -90305,9 +89898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -90319,12 +89912,12 @@ paths: type: array items: *82 examples: - default: *544 + default: *542 headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90341,9 +89934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -90357,7 +89950,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &548 + - &546 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -90406,7 +89999,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &547 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -90534,7 +90127,7 @@ paths: - performed_via_github_app - assignee - assigner - - &550 + - &548 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -90580,7 +90173,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &549 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -90626,7 +90219,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &550 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -90675,7 +90268,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &551 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -90717,7 +90310,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &552 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -90759,7 +90352,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &553 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -90815,7 +90408,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &554 title: Locked Issue Event description: Locked Issue Event type: object @@ -90860,7 +90453,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &555 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90921,129 +90514,129 @@ paths: - commit_url - created_at - performed_via_github_app + - &556 + title: Moved Column in Project Issue Event + description: Moved Column in Project Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: + - string + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + project_card: + type: object + properties: + id: + type: integer + url: + type: string + format: uri + project_id: + type: integer + project_url: + type: string + format: uri + column_name: + type: string + previous_column_name: + type: string + required: + - id + - url + - project_id + - project_url + - column_name + required: + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &557 + title: Removed from Project Issue Event + description: Removed from Project Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: + - string + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + project_card: + type: object + properties: + id: + type: integer + url: + type: string + format: uri + project_id: + type: integer + project_url: + type: string + format: uri + column_name: + type: string + previous_column_name: + type: string + required: + - id + - url + - project_id + - project_url + - column_name + required: + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app - &558 - title: Moved Column in Project Issue Event - description: Moved Column in Project Issue Event - type: object - properties: - id: - type: integer - node_id: - type: string - url: - type: string - actor: *4 - event: - type: string - commit_id: - type: - - string - - 'null' - commit_url: - type: - - string - - 'null' - created_at: - type: string - performed_via_github_app: - anyOf: - - type: 'null' - - *5 - project_card: - type: object - properties: - id: - type: integer - url: - type: string - format: uri - project_id: - type: integer - project_url: - type: string - format: uri - column_name: - type: string - previous_column_name: - type: string - required: - - id - - url - - project_id - - project_url - - column_name - required: - - id - - node_id - - url - - actor - - event - - commit_id - - commit_url - - created_at - - performed_via_github_app - - &559 - title: Removed from Project Issue Event - description: Removed from Project Issue Event - type: object - properties: - id: - type: integer - node_id: - type: string - url: - type: string - actor: *4 - event: - type: string - commit_id: - type: - - string - - 'null' - commit_url: - type: - - string - - 'null' - created_at: - type: string - performed_via_github_app: - anyOf: - - type: 'null' - - *5 - project_card: - type: object - properties: - id: - type: integer - url: - type: string - format: uri - project_id: - type: integer - project_url: - type: string - format: uri - column_name: - type: string - previous_column_name: - type: string - required: - - id - - url - - project_id - - project_url - - column_name - required: - - id - - node_id - - url - - actor - - event - - commit_id - - commit_url - - created_at - - performed_via_github_app - - &560 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -91136,7 +90729,7 @@ paths: color: red headers: Link: *66 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91153,9 +90746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -91165,9 +90758,9 @@ paths: application/json: schema: type: array - items: *545 + items: *543 examples: - default: &546 + default: &544 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -91202,9 +90795,9 @@ paths: color: green headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91233,9 +90826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -91307,9 +90900,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *545 + items: *543 examples: - default: *546 + default: *544 '400': *14 '403': *27 '404': *6 @@ -91345,9 +90938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -91414,9 +91007,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *545 + items: *543 examples: - default: *546 + default: *544 '400': *14 '403': *27 '404': *6 @@ -91447,9 +91040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *244 responses: '204': @@ -91475,9 +91068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -91489,7 +91082,7 @@ paths: type: array items: *81 examples: - default: &547 + default: &545 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91507,9 +91100,9 @@ paths: default: false headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91525,9 +91118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -91572,10 +91165,10 @@ paths: type: array items: *81 examples: - default: *547 - '301': *344 + default: *545 + '301': *341 '404': *6 - '410': *536 + '410': *534 '422': *15 x-github: githubCloudOnly: false @@ -91592,9 +91185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -91656,10 +91249,10 @@ paths: type: array items: *81 examples: - default: *547 - '301': *344 + default: *545 + '301': *341 '404': *6 - '410': *536 + '410': *534 '422': *15 x-github: githubCloudOnly: false @@ -91676,15 +91269,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 responses: '204': description: Response - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91703,9 +91296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - name: name in: path required: true @@ -91729,9 +91322,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91751,9 +91344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -91782,7 +91375,7 @@ paths: '204': description: Response '403': *27 - '410': *536 + '410': *534 '404': *6 '422': *15 x-github: @@ -91800,9 +91393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 responses: '204': description: Response @@ -91832,9 +91425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 responses: '200': description: Response @@ -91842,10 +91435,10 @@ paths: application/json: schema: *82 examples: - default: *541 - '301': *344 + default: *539 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91862,9 +91455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - 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. @@ -91890,13 +91483,13 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91914,9 +91507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -91948,16 +91541,16 @@ paths: description: Response content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Response content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -91979,10 +91572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *340 - - *341 - - *542 - - *539 + - *337 + - *338 + - *540 + - *537 responses: '204': description: Response @@ -92011,9 +91604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -92037,7 +91630,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92070,9 +91663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -92084,11 +91677,11 @@ paths: type: array items: *82 examples: - default: *544 + default: *542 headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92116,9 +91709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -92147,14 +91740,14 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *536 + '410': *534 '422': *15 '404': *6 x-github: @@ -92174,9 +91767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -92209,7 +91802,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 '403': *27 '404': *6 '422': *7 @@ -92231,9 +91824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -92248,6 +91841,8 @@ paths: description: Timeline Event type: object anyOf: + - *546 + - *547 - *548 - *549 - *550 @@ -92259,8 +91854,6 @@ paths: - *556 - *557 - *558 - - *559 - - *560 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -92317,7 +91910,7 @@ paths: pin: anyOf: - type: 'null' - - *561 + - *559 required: - event - actor @@ -92593,7 +92186,7 @@ paths: type: string comments: type: array - items: &580 + items: &578 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -92834,7 +92427,7 @@ paths: type: string comments: type: array - items: *467 + items: *464 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93109,7 +92702,7 @@ paths: headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93126,8 +92719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -93137,7 +92730,7 @@ paths: application/json: schema: type: array - items: &562 + items: &560 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93205,8 +92798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -93242,9 +92835,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: &563 + default: &561 value: id: 1 key: ssh-rsa AAA... @@ -93278,9 +92871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *340 - - *341 - - &564 + - *337 + - *338 + - &562 name: key_id description: The unique identifier of the key. in: path @@ -93292,9 +92885,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: *563 + default: *561 '404': *6 x-github: githubCloudOnly: false @@ -93312,9 +92905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *340 - - *341 - - *564 + - *337 + - *338 + - *562 responses: '204': description: Response @@ -93334,8 +92927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -93347,7 +92940,7 @@ paths: type: array items: *81 examples: - default: *547 + default: *545 headers: Link: *66 '404': *6 @@ -93368,8 +92961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -93407,7 +93000,7 @@ paths: application/json: schema: *81 examples: - default: &565 + default: &563 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93439,8 +93032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *340 - - *341 + - *337 + - *338 - name: name in: path required: true @@ -93453,7 +93046,7 @@ paths: application/json: schema: *81 examples: - default: *565 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -93470,8 +93063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *340 - - *341 + - *337 + - *338 - name: name in: path required: true @@ -93536,8 +93129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *340 - - *341 + - *337 + - *338 - name: name in: path required: true @@ -93563,8 +93156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -93603,9 +93196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *340 - - *341 - - *442 + - *337 + - *338 + - *439 responses: '200': description: Response @@ -93752,8 +93345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -93818,8 +93411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -93853,9 +93446,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *470 + schema: *467 examples: - default: *566 + default: *564 '204': description: Response when already merged '404': @@ -93880,8 +93473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *340 - - *341 + - *337 + - *338 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -93978,8 +93571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -94021,7 +93614,7 @@ paths: application/json: schema: *281 examples: - default: &567 + default: &565 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94080,9 +93673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *340 - - *341 - - &568 + - *337 + - *338 + - &566 name: milestone_number description: The number that identifies the milestone. in: path @@ -94096,7 +93689,7 @@ paths: application/json: schema: *281 examples: - default: *567 + default: *565 '404': *6 x-github: githubCloudOnly: false @@ -94113,9 +93706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *340 - - *341 - - *568 + - *337 + - *338 + - *566 requestBody: required: false content: @@ -94155,7 +93748,7 @@ paths: application/json: schema: *281 examples: - default: *567 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94171,9 +93764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *340 - - *341 - - *568 + - *337 + - *338 + - *566 responses: '204': description: Response @@ -94194,9 +93787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *340 - - *341 - - *568 + - *337 + - *338 + - *566 - *17 - *19 responses: @@ -94208,7 +93801,7 @@ paths: type: array items: *81 examples: - default: *547 + default: *545 headers: Link: *66 x-github: @@ -94227,12 +93820,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *340 - - *341 - - *569 - - *570 + - *337 + - *338 + - *567 + - *568 - *87 - - *571 + - *569 - *17 - *19 responses: @@ -94244,7 +93837,7 @@ paths: type: array items: *107 examples: - default: *572 + default: *570 headers: Link: *66 x-github: @@ -94268,8 +93861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -94327,14 +93920,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &573 + schema: &571 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -94478,7 +94071,7 @@ paths: - custom_404 - public examples: - default: &574 + default: &572 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -94519,8 +94112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -94575,9 +94168,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *571 examples: - default: *574 + default: *572 '422': *15 '409': *52 x-github: @@ -94600,8 +94193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -94701,8 +94294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -94728,8 +94321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -94739,7 +94332,7 @@ paths: application/json: schema: type: array - items: &575 + items: &573 title: Page Build description: Page Build type: object @@ -94831,8 +94424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -94879,16 +94472,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *575 + schema: *573 examples: - default: &576 + default: &574 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -94936,8 +94529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *340 - - *341 + - *337 + - *338 - name: build_id in: path required: true @@ -94948,9 +94541,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *573 examples: - default: *576 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94970,8 +94563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95079,9 +94672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *340 - - *341 - - &577 + - *337 + - *338 + - &575 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95139,9 +94732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *340 - - *341 - - *577 + - *337 + - *338 + - *575 responses: '204': *59 '404': *6 @@ -95168,8 +94761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -95464,8 +95057,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Private vulnerability reporting status @@ -95502,8 +95095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '422': *14 @@ -95524,8 +95117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '422': *14 @@ -95547,8 +95140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -95587,8 +95180,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95650,8 +95243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *340 - - *341 + - *337 + - *338 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -95711,9 +95304,9 @@ paths: application/json: schema: type: array - items: *474 + items: *471 examples: - default: *578 + default: *576 headers: Link: *66 '304': *35 @@ -95745,8 +95338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95813,7 +95406,7 @@ paths: description: Response content: application/json: - schema: &582 + schema: &580 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96037,7 +95630,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *579 + auto_merge: *577 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -96137,7 +95730,7 @@ paths: - merged_by - review_comments examples: - default: &583 + default: &581 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96644,8 +96237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: sort in: query required: false @@ -96674,9 +96267,9 @@ paths: application/json: schema: type: array - items: *580 + items: *578 examples: - default: &585 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96753,17 +96346,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: &581 + default: &579 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96838,8 +96431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -96862,9 +96455,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *581 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96880,8 +96473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -96903,8 +96496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -96931,9 +96524,9 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 @@ -96954,8 +96547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -96988,16 +96581,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -97019,10 +96612,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *340 - - *341 + - *337 + - *338 - *96 - - *539 + - *537 responses: '204': description: Response @@ -97065,9 +96658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *340 - - *341 - - &584 + - *337 + - *338 + - &582 name: pull_number description: The number that identifies the pull request. in: path @@ -97080,9 +96673,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *582 + schema: *580 examples: - default: *583 + default: *581 '304': *35 '404': *6 '406': @@ -97117,9 +96710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -97161,9 +96754,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: *583 + default: *581 '422': *15 '403': *27 x-github: @@ -97185,9 +96778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: true content: @@ -97250,7 +96843,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -97258,7 +96851,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '401': *23 '403': *27 '404': *6 @@ -97288,9 +96881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -97311,9 +96904,9 @@ paths: application/json: schema: type: array - items: *580 + items: *578 examples: - default: *585 + default: *583 headers: Link: *66 x-github: @@ -97346,9 +96939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: true content: @@ -97454,7 +97047,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: example-for-a-multi-line-comment: value: @@ -97542,9 +97135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *96 requestBody: required: true @@ -97567,7 +97160,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: default: value: @@ -97653,9 +97246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *17 - *19 responses: @@ -97665,9 +97258,9 @@ paths: application/json: schema: type: array - items: *470 + items: *467 examples: - default: *586 + default: *584 headers: Link: *66 x-github: @@ -97697,9 +97290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *17 - *19 responses: @@ -97709,7 +97302,7 @@ paths: application/json: schema: type: array - items: *481 + items: *478 examples: default: value: @@ -97747,9 +97340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 responses: '204': description: Response if pull request has been merged @@ -97772,9 +97365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -97886,9 +97479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 responses: '200': description: Response @@ -97963,9 +97556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -98002,7 +97595,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: default: value: @@ -98538,9 +98131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: true content: @@ -98574,7 +98167,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: default: value: @@ -99059,9 +98652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *17 - *19 responses: @@ -99071,7 +98664,7 @@ paths: application/json: schema: type: array - items: &587 + items: &585 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99227,9 +98820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -99319,9 +98912,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: &589 + default: &587 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99384,10 +98977,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - &588 + - *337 + - *338 + - *582 + - &586 name: review_id description: The unique identifier of the review. in: path @@ -99399,9 +98992,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: &590 + default: &588 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99460,10 +99053,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 requestBody: required: true content: @@ -99486,7 +99079,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: default: value: @@ -99548,18 +99141,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 responses: '200': description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: *589 + default: *587 '422': *7 '404': *6 x-github: @@ -99586,10 +99179,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 - *17 - *19 responses: @@ -99847,10 +99440,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 requestBody: required: true content: @@ -99879,7 +99472,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: default: value: @@ -99942,10 +99535,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 requestBody: required: true content: @@ -99980,9 +99573,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: *590 + default: *588 '404': *6 '422': *7 '403': *27 @@ -100004,9 +99597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -100070,8 +99663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *340 - - *341 + - *337 + - *338 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100084,9 +99677,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: &592 + default: &590 value: type: file encoding: base64 @@ -100128,8 +99721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *340 - - *341 + - *337 + - *338 - name: dir description: The alternate path to look for a README file in: path @@ -100149,9 +99742,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *592 + default: *590 '404': *6 '422': *15 x-github: @@ -100173,8 +99766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -100184,7 +99777,7 @@ paths: application/json: schema: type: array - items: *593 + items: *591 examples: default: value: @@ -100278,8 +99871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -100355,9 +99948,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: &597 + default: &595 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -100462,9 +100055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *340 - - *341 - - &595 + - *337 + - *338 + - &593 name: asset_id description: The unique identifier of the asset. in: path @@ -100476,9 +100069,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *592 examples: - default: &596 + default: &594 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 @@ -100513,7 +100106,7 @@ paths: type: User site_admin: false '404': *6 - '302': *485 + '302': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100529,9 +100122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *340 - - *341 - - *595 + - *337 + - *338 + - *593 requestBody: required: false content: @@ -100560,9 +100153,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *592 examples: - default: *596 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100578,9 +100171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *340 - - *341 - - *595 + - *337 + - *338 + - *593 responses: '204': description: Response @@ -100605,8 +100198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -100692,16 +100285,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *597 + default: *595 '404': *6 x-github: githubCloudOnly: false @@ -100719,8 +100312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *340 - - *341 + - *337 + - *338 - name: tag description: tag parameter in: path @@ -100733,9 +100326,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *597 + default: *595 '404': *6 x-github: githubCloudOnly: false @@ -100757,9 +100350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *340 - - *341 - - &598 + - *337 + - *338 + - &596 name: release_id description: The unique identifier of the release. in: path @@ -100773,9 +100366,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: *593 + schema: *591 examples: - default: *597 + default: *595 '401': description: Unauthorized x-github: @@ -100793,9 +100386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 requestBody: required: false content: @@ -100859,9 +100452,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *597 + default: *595 '404': description: Not Found if the discussion category name is invalid content: @@ -100882,9 +100475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 responses: '204': description: Response @@ -100905,9 +100498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 - *17 - *19 responses: @@ -100917,7 +100510,7 @@ paths: application/json: schema: type: array - items: *594 + items: *592 examples: default: value: @@ -100998,9 +100591,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: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 - name: name in: query required: true @@ -101026,7 +100619,7 @@ paths: description: Response for successful upload content: application/json: - schema: *594 + schema: *592 examples: response-for-successful-upload: value: @@ -101081,9 +100674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 - 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. @@ -101107,9 +100700,9 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 @@ -101130,9 +100723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 requestBody: required: true content: @@ -101162,16 +100755,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -101193,10 +100786,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *340 - - *341 - - *598 - - *539 + - *337 + - *338 + - *596 + - *537 responses: '204': description: Response @@ -101220,9 +100813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 - *17 - *19 responses: @@ -101239,7 +100832,7 @@ paths: oneOf: - allOf: - *302 - - &599 + - &597 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101260,67 +100853,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *303 - - *599 + - *597 - allOf: - *304 - - *599 + - *597 - allOf: - *305 - - *599 + - *597 - allOf: - - *600 - - *599 + - *598 + - *597 - allOf: - *306 - - *599 + - *597 - allOf: - *307 - - *599 + - *597 - allOf: - *308 - - *599 + - *597 - allOf: - *309 - - *599 + - *597 - allOf: - *310 - - *599 + - *597 - allOf: - *311 - - *599 + - *597 - allOf: - *312 - - *599 + - *597 - allOf: - *313 - - *599 + - *597 - allOf: - *314 - - *599 + - *597 - allOf: - *315 - - *599 + - *597 - allOf: - *320 - - *599 + - *597 - allOf: - *321 - - *599 + - *597 - allOf: - *322 - - *599 + - *597 - allOf: - *316 - - *599 + - *597 - allOf: - *317 - - *599 + - *597 - allOf: - *318 - - *599 + - *597 - allOf: - *319 - - *599 + - *597 examples: default: value: @@ -101359,8 +100952,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - name: includes_parents @@ -101371,7 +100964,7 @@ paths: schema: type: boolean default: true - - *601 + - *599 responses: '200': description: Response @@ -101426,8 +101019,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 requestBody: description: Request body required: true @@ -101456,7 +101049,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *602 + items: *600 required: - name - enforcement @@ -101489,7 +101082,7 @@ paths: application/json: schema: *323 examples: - default: &613 + default: &611 value: id: 42 name: super cool ruleset @@ -101537,13 +101130,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *340 - - *341 + - *337 + - *338 + - *601 + - *602 - *603 - *604 - *605 - - *606 - - *607 - *17 - *19 responses: @@ -101551,9 +101144,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: - default: *609 + default: *607 '404': *6 '500': *53 x-github: @@ -101574,17 +101167,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *340 - - *341 - - *610 + - *337 + - *338 + - *608 responses: '200': description: Response content: application/json: - schema: *611 + schema: *609 examples: - default: *612 + default: *610 '404': *6 '500': *53 x-github: @@ -101612,8 +101205,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101635,7 +101228,7 @@ paths: application/json: schema: *323 examples: - default: *613 + default: *611 '404': *6 '500': *53 put: @@ -101653,8 +101246,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101688,7 +101281,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *602 + items: *600 examples: default: value: @@ -101718,7 +101311,7 @@ paths: application/json: schema: *323 examples: - default: *613 + default: *611 '404': *6 '422': *15 '500': *53 @@ -101737,8 +101330,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101761,8 +101354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - name: ruleset_id @@ -101780,7 +101373,7 @@ paths: type: array items: *326 examples: - default: *614 + default: *612 '404': *6 '500': *53 x-github: @@ -101799,8 +101392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101818,7 +101411,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *613 examples: default: value: @@ -101873,26 +101466,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 + - *614 + - *615 - *616 - *617 - *618 - *619 - *620 - *621 - - *622 - - *623 - *60 - *19 - *17 + - *622 + - *623 - *624 - *625 - *626 - *627 - *628 - - *629 - - *630 responses: '200': description: Response @@ -101900,7 +101493,7 @@ paths: application/json: schema: type: array - items: &634 + items: &632 type: object properties: number: *180 @@ -101916,8 +101509,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *631 - resolution: *632 + state: *629 + resolution: *630 resolved_at: type: - string @@ -102023,7 +101616,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *633 + - *631 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -102182,16 +101775,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *340 - - *341 - - *436 - - *629 + - *337 + - *338 + - *433 + - *627 responses: '200': description: Response content: application/json: - schema: *634 + schema: *632 examples: default: value: @@ -102245,9 +101838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 requestBody: required: true content: @@ -102255,8 +101848,8 @@ paths: schema: type: object properties: - state: *631 - resolution: *632 + state: *629 + resolution: *630 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -102304,7 +101897,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *632 examples: default: value: @@ -102403,9 +101996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 - *19 - *17 responses: @@ -102416,7 +102009,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &783 + items: &781 type: object properties: type: @@ -102443,6 +102036,8 @@ paths: - commit details: oneOf: + - *633 + - *634 - *635 - *636 - *637 @@ -102454,8 +102049,6 @@ paths: - *643 - *644 - *645 - - *646 - - *647 examples: default: value: @@ -102541,8 +102134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -102550,14 +102143,14 @@ paths: schema: type: object properties: - reason: &649 + reason: &647 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *648 + placeholder_id: *646 required: - reason - placeholder_id @@ -102574,7 +102167,7 @@ paths: schema: type: object properties: - reason: *649 + reason: *647 expire_at: type: - string @@ -102621,8 +102214,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: - - *340 - - *341 + - *337 + - *338 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -102637,7 +102230,7 @@ paths: properties: incremental_scans: type: array - items: &650 + items: &648 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102670,15 +102263,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *650 + items: *648 backfill_scans: type: array - items: *650 + items: *648 custom_pattern_backfill_scans: type: array items: allOf: - - *650 + - *648 - type: object properties: pattern_name: @@ -102691,7 +102284,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *650 + items: *648 examples: default: value: @@ -102756,8 +102349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *340 - - *341 + - *337 + - *338 - *60 - name: sort description: The property to sort the results by. @@ -102801,9 +102394,9 @@ paths: application/json: schema: type: array - items: *651 + items: *649 examples: - default: *652 + default: *650 '400': *14 '404': *6 x-github: @@ -102826,8 +102419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -102997,9 +102590,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: &654 + default: &652 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103229,8 +102822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -103343,7 +102936,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: default: value: @@ -103489,17 +103082,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 responses: '200': description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *654 + default: *652 '403': *27 '404': *6 x-github: @@ -103523,9 +103116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 requestBody: required: true content: @@ -103696,10 +103289,10 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *654 - add_credit: *654 + default: *652 + add_credit: *652 '403': *27 '404': *6 '422': @@ -103737,9 +103330,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: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 responses: '202': *37 '400': *14 @@ -103766,17 +103359,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 responses: '202': description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 '400': *14 '422': *15 '403': *27 @@ -103802,8 +103395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -103899,8 +103492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103909,7 +103502,7 @@ paths: application/json: schema: type: array - items: &655 + items: &653 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103942,8 +103535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -104021,8 +103614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -104116,8 +103709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104271,8 +103864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104282,7 +103875,7 @@ paths: application/json: schema: type: array - items: *655 + items: *653 examples: default: value: @@ -104315,8 +103908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *340 - - *341 + - *337 + - *338 - name: sha in: path required: true @@ -104372,7 +103965,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *654 examples: default: value: @@ -104426,8 +104019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -104459,14 +104052,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &657 + schema: &655 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104539,8 +104132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -104566,7 +104159,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *655 examples: default: value: @@ -104593,8 +104186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -104614,8 +104207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -104697,8 +104290,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *340 - - *341 + - *337 + - *338 - name: ref in: path required: true @@ -104734,8 +104327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -104767,8 +104360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *340 - - *341 + - *337 + - *338 - *19 - *17 responses: @@ -104776,7 +104369,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &656 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -104788,7 +104381,7 @@ paths: required: - names examples: - default: &659 + default: &657 value: names: - octocat @@ -104811,8 +104404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -104843,9 +104436,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *656 examples: - default: *659 + default: *657 '404': *6 '422': *7 x-github: @@ -104866,9 +104459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *340 - - *341 - - &660 + - *337 + - *338 + - &658 name: per description: The time frame to display results for. in: query @@ -104899,7 +104492,7 @@ paths: - 128 clones: type: array - items: &661 + items: &659 title: Traffic type: object properties: @@ -104986,8 +104579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -105081,8 +104674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -105145,9 +104738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *340 - - *341 - - *660 + - *337 + - *338 + - *658 responses: '200': description: Response @@ -105168,7 +104761,7 @@ paths: - 3782 views: type: array - items: *661 + items: *659 required: - uniques - count @@ -105245,8 +104838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -105519,8 +105112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105543,8 +105136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -105566,8 +105159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -105593,8 +105186,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *340 - - *341 + - *337 + - *338 - name: ref in: path required: true @@ -105686,9 +105279,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105940,7 +105533,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &662 + text_matches: &660 title: Search Result Text Matches type: array items: @@ -106103,7 +105696,7 @@ paths: enum: - author-date - committer-date - - &663 + - &661 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 @@ -106172,7 +105765,7 @@ paths: committer: anyOf: - type: 'null' - - *404 + - *401 comment_count: type: integer message: @@ -106191,7 +105784,7 @@ paths: url: type: string format: uri - verification: *521 + verification: *518 required: - author - committer @@ -106206,7 +105799,7 @@ paths: committer: anyOf: - type: 'null' - - *404 + - *401 parents: type: array items: @@ -106223,7 +105816,7 @@ paths: type: number node_id: type: string - text_matches: *662 + text_matches: *660 required: - sha - node_id @@ -106415,7 +106008,7 @@ paths: - interactions - created - updated - - *663 + - *661 - *17 - *19 - name: advanced_search @@ -106529,11 +106122,11 @@ paths: type: - string - 'null' - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: type: string state_reason: @@ -106557,7 +106150,7 @@ paths: - string - 'null' format: date-time - text_matches: *662 + text_matches: *660 pull_request: type: object properties: @@ -106831,7 +106424,7 @@ paths: enum: - created - updated - - *663 + - *661 - *17 - *19 responses: @@ -106876,7 +106469,7 @@ paths: - 'null' score: type: number - text_matches: *662 + text_matches: *660 required: - id - node_id @@ -106961,7 +106554,7 @@ paths: - forks - help-wanted-issues - updated - - *663 + - *661 - *17 - *19 responses: @@ -107207,7 +106800,7 @@ paths: - admin - pull - push - text_matches: *662 + text_matches: *660 temp_clone_token: type: string allow_merge_commit: @@ -107515,7 +107108,7 @@ paths: - string - 'null' format: uri - text_matches: *662 + text_matches: *660 related: type: - array @@ -107708,7 +107301,7 @@ paths: - followers - repositories - joined - - *663 + - *661 - *17 - *19 responses: @@ -107818,7 +107411,7 @@ paths: type: - boolean - 'null' - text_matches: *662 + text_matches: *660 blog: type: - string @@ -107900,7 +107493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &666 + - &664 name: team_id description: The unique identifier of the team. in: path @@ -107912,9 +107505,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 x-github: githubCloudOnly: false @@ -107941,7 +107534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *666 + - *664 requestBody: required: true content: @@ -108005,16 +107598,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '201': description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 '422': *15 '403': *27 @@ -108042,7 +107635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *666 + - *664 responses: '204': description: Response @@ -108071,7 +107664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *666 + - *664 - *17 - *19 responses: @@ -108109,7 +107702,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *666 + - *664 - name: role description: Filters members returned by their role in the team. in: query @@ -108160,7 +107753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -108197,7 +107790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -108237,7 +107830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -108274,16 +107867,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *666 + - *664 - *70 responses: '200': description: Response content: application/json: - schema: *339 + schema: *336 examples: - response-if-user-is-a-team-maintainer: *667 + response-if-user-is-a-team-maintainer: *665 '404': *6 x-github: githubCloudOnly: false @@ -108316,7 +107909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *666 + - *664 - *70 requestBody: required: false @@ -108342,9 +107935,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: *668 + response-if-users-membership-with-team-is-now-pending: *666 '403': description: Forbidden if team synchronization is set up '422': @@ -108378,7 +107971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -108406,7 +107999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *666 + - *664 - *17 - *19 responses: @@ -108448,15 +108041,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *666 - - *340 - - *341 + - *664 + - *337 + - *338 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *669 + schema: *667 examples: alternative-response-with-extra-repository-information: value: @@ -108606,9 +108199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *666 - - *340 - - *341 + - *664 + - *337 + - *338 requestBody: required: false content: @@ -108658,9 +108251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *666 - - *340 - - *341 + - *664 + - *337 + - *338 responses: '204': description: Response @@ -108685,7 +108278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *666 + - *664 - *17 - *19 responses: @@ -108697,7 +108290,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: *670 + response-if-child-teams-exist: *668 headers: Link: *66 '404': *6 @@ -108730,7 +108323,7 @@ paths: application/json: schema: oneOf: - - &671 + - &669 title: Private User description: Private User type: object @@ -108980,7 +108573,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &696 + - &694 title: Public User description: Public User type: object @@ -109314,7 +108907,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *669 examples: default: value: @@ -109660,7 +109253,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -109668,7 +109261,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '401': *23 '403': *27 '404': *6 @@ -109712,7 +109305,7 @@ paths: type: integer secrets: type: array - items: &672 + items: &670 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -109754,7 +109347,7 @@ paths: - visibility - selected_repositories_url examples: - default: *461 + default: *458 headers: Link: *66 x-github: @@ -109832,7 +109425,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *670 examples: default: value: @@ -110130,7 +109723,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '304': *35 '500': *53 '401': *23 @@ -110188,7 +109781,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '401': *23 '403': *27 '404': *6 @@ -110245,7 +109838,7 @@ paths: description: Response content: application/json: - schema: &673 + schema: &671 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -110298,7 +109891,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &674 + default: &672 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -110343,9 +109936,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *671 examples: - default: *674 + default: *672 '404': *6 x-github: githubCloudOnly: false @@ -110382,9 +109975,9 @@ paths: type: integer machines: type: array - items: *460 + items: *457 examples: - default: *675 + default: *673 '304': *35 '500': *53 '401': *23 @@ -110469,11 +110062,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *343 + repository: *340 machine: anyOf: - type: 'null' - - *460 + - *457 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -111278,7 +110871,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '304': *35 '500': *53 '400': *14 @@ -111318,7 +110911,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '500': *53 '401': *23 '403': *27 @@ -111350,7 +110943,7 @@ paths: type: array items: *262 examples: - default: &686 + default: &684 value: - id: 197 name: hello_docker @@ -111451,7 +111044,7 @@ paths: application/json: schema: type: array - items: &676 + items: &674 title: Email description: Email type: object @@ -111521,9 +111114,9 @@ paths: application/json: schema: type: array - items: *676 + items: *674 examples: - default: &688 + default: &686 value: - email: octocat@github.com verified: true @@ -111600,7 +111193,7 @@ paths: application/json: schema: type: array - items: *676 + items: *674 examples: default: value: @@ -111858,7 +111451,7 @@ paths: application/json: schema: type: array - items: &677 + items: &675 title: GPG Key description: A unique encryption key type: object @@ -112003,7 +111596,7 @@ paths: - subkeys - revoked examples: - default: &706 + default: &704 value: - id: 3 name: Octocat's GPG Key @@ -112088,9 +111681,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *675 examples: - default: &678 + default: &676 value: id: 3 name: Octocat's GPG Key @@ -112147,7 +111740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &679 + - &677 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -112159,9 +111752,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *675 examples: - default: *678 + default: *676 '404': *6 '304': *35 '403': *27 @@ -112184,7 +111777,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *679 + - *677 responses: '204': description: Response @@ -112501,7 +112094,7 @@ paths: required: true content: application/json: - schema: *532 + schema: *529 examples: default: value: @@ -112651,7 +112244,7 @@ paths: application/json: schema: type: array - items: &680 + items: &678 title: Key description: Key type: object @@ -112754,9 +112347,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *678 examples: - default: &681 + default: &679 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -112789,15 +112382,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *564 + - *562 responses: '200': description: Response content: application/json: - schema: *680 + schema: *678 examples: - default: *681 + default: *679 '404': *6 '304': *35 '403': *27 @@ -112820,7 +112413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *564 + - *562 responses: '204': description: Response @@ -112853,7 +112446,7 @@ paths: application/json: schema: type: array - items: &682 + items: &680 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112932,7 +112525,7 @@ paths: - account - plan examples: - default: &683 + default: &681 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112994,9 +112587,9 @@ paths: application/json: schema: type: array - items: *682 + items: *680 examples: - default: *683 + default: *681 headers: Link: *66 '304': *35 @@ -114014,7 +113607,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *257 - - *684 + - *682 responses: '204': description: Response @@ -114127,7 +113720,7 @@ paths: - docker - nuget - container - - *685 + - *683 - *19 - *17 responses: @@ -114139,8 +113732,8 @@ paths: type: array items: *262 examples: - default: *686 - '400': *687 + default: *684 + '400': *685 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114169,7 +113762,7 @@ paths: application/json: schema: *262 examples: - default: &707 + default: &705 value: id: 40201 name: octo-name @@ -114531,9 +114124,9 @@ paths: application/json: schema: type: array - items: *676 + items: *674 examples: - default: *688 + default: *686 headers: Link: *66 '304': *35 @@ -114646,7 +114239,7 @@ paths: type: array items: *78 examples: - default: &695 + default: &693 summary: Default response value: - id: 1296269 @@ -114964,9 +114557,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -115005,9 +114598,9 @@ paths: application/json: schema: type: array - items: *534 + items: *532 examples: - default: *689 + default: *687 headers: Link: *66 '304': *35 @@ -115087,7 +114680,7 @@ paths: application/json: schema: type: array - items: &690 + items: &688 title: Social account description: Social media account type: object @@ -115104,7 +114697,7 @@ paths: - provider - url examples: - default: &691 + default: &689 value: - provider: twitter url: https://twitter.com/github @@ -115167,9 +114760,9 @@ paths: application/json: schema: type: array - items: *690 + items: *688 examples: - default: *691 + default: *689 '422': *15 '304': *35 '404': *6 @@ -115257,7 +114850,7 @@ paths: application/json: schema: type: array - items: &692 + items: &690 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -115277,7 +114870,7 @@ paths: - title - created_at examples: - default: &724 + default: &722 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -115342,9 +114935,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *690 examples: - default: &693 + default: &691 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -115374,7 +114967,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: - - &694 + - &692 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -115386,9 +114979,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *690 examples: - default: *693 + default: *691 '404': *6 '304': *35 '403': *27 @@ -115411,7 +115004,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: - - *694 + - *692 responses: '204': description: Response @@ -115440,7 +115033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &725 + - &723 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 @@ -115465,11 +115058,11 @@ paths: type: array items: *78 examples: - default-response: *695 + default-response: *693 application/vnd.github.v3.star+json: schema: type: array - items: &726 + items: &724 title: Starred Repository description: Starred Repository type: object @@ -115625,8 +115218,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: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response if this repository is starred by you @@ -115654,8 +115247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -115679,8 +115272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -115752,7 +115345,7 @@ paths: application/json: schema: type: array - items: *336 + items: *333 examples: default: value: @@ -115838,10 +115431,10 @@ paths: application/json: schema: oneOf: - - *671 - - *696 + - *669 + - *694 examples: - default-response: &700 + default-response: &698 summary: Default response value: login: octocat @@ -115876,7 +115469,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &701 + response-with-git-hub-plan-information: &699 summary: Response with GitHub plan information value: login: octocat @@ -115933,7 +115526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &698 + - &696 name: user_id description: The unique identifier of the user. in: path @@ -115999,7 +115592,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *697 + - *695 - *17 responses: '200': @@ -116034,7 +115627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *698 + - *696 - *280 requestBody: required: true @@ -116109,7 +115702,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *699 + schema: *697 examples: table_view: summary: Response for creating a table view @@ -116161,11 +115754,11 @@ paths: application/json: schema: oneOf: - - *671 - - *696 + - *669 + - *694 examples: - default-response: *700 - response-with-git-hub-plan-information: *701 + default-response: *698 + response-with-git-hub-plan-information: *699 '404': *6 x-github: githubCloudOnly: false @@ -116215,8 +115808,8 @@ paths: required: - subject_digests examples: - default: *702 - withPredicateType: *703 + default: *700 + withPredicateType: *701 responses: '200': description: Response @@ -116256,7 +115849,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *704 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116445,7 +116038,7 @@ paths: initiator: type: string examples: - default: *400 + default: *397 '201': description: Response content: @@ -116729,7 +116322,7 @@ paths: application/json: schema: *196 examples: - default: &705 + default: &703 summary: Example response for a user copilot space value: id: 42 @@ -116830,7 +116423,7 @@ paths: application/json: schema: *196 examples: - default: *705 + default: *703 '403': *27 '404': *6 x-github: @@ -116956,7 +116549,7 @@ paths: application/json: schema: *196 examples: - default: *705 + default: *703 '403': *27 '404': *6 '422': *15 @@ -117724,7 +117317,7 @@ paths: type: array items: *262 examples: - default: *686 + default: *684 '403': *27 '401': *23 x-github: @@ -118108,9 +117701,9 @@ paths: application/json: schema: type: array - items: *677 + items: *675 examples: - default: *706 + default: *704 headers: Link: *66 x-github: @@ -118214,7 +117807,7 @@ paths: application/json: schema: *20 examples: - default: *531 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118339,7 +117932,7 @@ paths: - docker - nuget - container - - *685 + - *683 - *70 - *19 - *17 @@ -118352,10 +117945,10 @@ paths: type: array items: *262 examples: - default: *686 + default: *684 '403': *27 '401': *23 - '400': *687 + '400': *685 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118385,7 +117978,7 @@ paths: application/json: schema: *262 examples: - default: *707 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118734,7 +118327,7 @@ paths: type: array items: *283 examples: - default: *708 + default: *706 headers: Link: *66 '304': *35 @@ -118794,7 +118387,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *709 + items: *707 required: - name - data_type @@ -118810,7 +118403,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *710 + iteration_configuration: *708 required: - name - data_type @@ -118832,8 +118425,8 @@ paths: value: name: Due date data_type: date - single_select_field: *711 - iteration_field: *712 + single_select_field: *709 + iteration_field: *710 responses: '201': description: Response @@ -118841,11 +118434,11 @@ paths: application/json: schema: *283 examples: - text_field: *713 - number_field: *714 - date_field: *715 - single_select_field: *716 - iteration_field: *717 + text_field: *711 + number_field: *712 + date_field: *713 + single_select_field: *714 + iteration_field: *715 '304': *35 '403': *27 '401': *23 @@ -118867,7 +118460,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *280 - - *718 + - *716 - *70 responses: '200': @@ -118876,7 +118469,7 @@ paths: application/json: schema: *283 examples: - default: *719 + default: *717 headers: Link: *66 '304': *35 @@ -119233,7 +118826,7 @@ paths: parameters: - *280 - *70 - - *720 + - *718 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -119772,7 +119365,7 @@ paths: parameters: - *70 - *116 - - *721 + - *719 - *118 responses: '200': @@ -119871,9 +119464,9 @@ paths: - *116 - *117 - *118 - - *722 + - *720 - *121 - - *723 + - *721 responses: '200': description: Response when getting a billing usage summary @@ -120007,9 +119600,9 @@ paths: application/json: schema: type: array - items: *690 + items: *688 examples: - default: *691 + default: *689 headers: Link: *66 x-github: @@ -120039,9 +119632,9 @@ paths: application/json: schema: type: array - items: *692 + items: *690 examples: - default: *724 + default: *722 headers: Link: *66 x-github: @@ -120066,7 +119659,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *725 + - *723 - *60 - *17 - *19 @@ -120078,11 +119671,11 @@ paths: schema: anyOf: - type: array - items: *726 + items: *724 - type: array items: *78 examples: - default-response: *695 + default-response: *693 headers: Link: *66 x-github: @@ -120242,7 +119835,7 @@ webhooks: type: string enum: - disabled - enterprise: &727 + enterprise: &725 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120311,7 +119904,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &728 + installation: &726 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120332,7 +119925,7 @@ webhooks: required: - id - node_id - organization: &729 + organization: &727 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120405,7 +119998,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &730 + repository: &728 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -121320,10 +120913,10 @@ webhooks: type: string enum: - enabled - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -121399,11 +120992,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - rule: &731 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + rule: &729 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) @@ -121626,11 +121219,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - rule: *731 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + rule: *729 sender: *4 required: - action @@ -121818,11 +121411,11 @@ webhooks: - everyone required: - from - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - rule: *731 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + rule: *729 sender: *4 required: - action @@ -121906,7 +121499,7 @@ webhooks: type: string enum: - completed - check_run: &733 + check_run: &731 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122016,7 +121609,7 @@ webhooks: - examples: - neutral - deployment: *732 + deployment: *730 details_url: type: string examples: @@ -122114,10 +121707,10 @@ webhooks: - output - app - pull_requests - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 sender: *4 required: - check_run @@ -122508,11 +122101,11 @@ webhooks: type: string enum: - created - check_run: *733 - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + check_run: *731 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 sender: *4 required: - check_run @@ -122906,11 +122499,11 @@ webhooks: type: string enum: - requested_action - check_run: *733 - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + check_run: *731 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 requested_action: description: The action requested by the user. type: object @@ -123313,11 +122906,11 @@ webhooks: type: string enum: - rerequested - check_run: *733 - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + check_run: *731 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 sender: *4 required: - check_run @@ -124302,10 +123895,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -125019,10 +124612,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -125730,10 +125323,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -125902,7 +125495,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126054,20 +125647,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &734 + commit_oid: &732 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: *727 - installation: *728 - organization: *729 - ref: &735 + enterprise: *725 + installation: *726 + organization: *727 + ref: &733 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: *730 + repository: *728 sender: *4 required: - action @@ -126234,7 +125827,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126475,12 +126068,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -126578,7 +126171,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126763,12 +126356,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -126937,7 +126530,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127114,12 +126707,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -127220,7 +126813,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127409,9 +127002,9 @@ webhooks: type: - string - 'null' - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -127419,7 +127012,7 @@ webhooks: type: - string - 'null' - repository: *730 + repository: *728 sender: *4 required: - action @@ -127518,7 +127111,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127665,12 +127258,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -127839,7 +127432,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127991,10 +127584,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -128254,10 +127847,10 @@ webhooks: - updated_at - author_association - body - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -128338,18 +127931,18 @@ webhooks: type: - string - 'null' - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *729 - pusher_type: &736 + organization: *727 + pusher_type: &734 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &737 + ref: &735 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -128359,7 +127952,7 @@ webhooks: enum: - tag - branch - repository: *730 + repository: *728 sender: *4 required: - ref @@ -128442,9 +128035,9 @@ webhooks: enum: - created definition: *291 - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -128529,9 +128122,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -128609,9 +128202,9 @@ webhooks: enum: - promote_to_enterprise definition: *291 - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -128689,9 +128282,9 @@ webhooks: enum: - updated definition: *291 - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -128768,10 +128361,10 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - repository: *730 - organization: *729 + enterprise: *725 + installation: *726 + repository: *728 + organization: *727 sender: *4 new_property_values: type: array @@ -128856,18 +128449,18 @@ webhooks: title: delete event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - pusher_type: *736 - ref: *737 + enterprise: *725 + installation: *726 + organization: *727 + pusher_type: *734 + ref: *735 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *730 + repository: *728 sender: *4 required: - ref @@ -128947,11 +128540,11 @@ webhooks: type: string enum: - assignees_changed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129031,11 +128624,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129116,11 +128709,11 @@ webhooks: type: string enum: - auto_reopened - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129201,11 +128794,11 @@ webhooks: type: string enum: - created - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129284,11 +128877,11 @@ webhooks: type: string enum: - dismissed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129367,11 +128960,11 @@ webhooks: type: string enum: - fixed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129451,11 +129044,11 @@ webhooks: type: string enum: - reintroduced - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129534,11 +129127,11 @@ webhooks: type: string enum: - reopened - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -129615,9 +129208,9 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - key: &738 + enterprise: *725 + installation: *726 + key: &736 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -129655,8 +129248,8 @@ webhooks: - verified - created_at - read_only - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -129733,11 +129326,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - key: *738 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + key: *736 + organization: *727 + repository: *728 sender: *4 required: - action @@ -130304,12 +129897,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: &742 + workflow: &740 title: Workflow type: - object @@ -131060,13 +130653,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *498 + - *495 pull_requests: type: array - items: *582 - repository: *730 - organization: *729 - installation: *728 + items: *580 + repository: *728 + organization: *727 + installation: *726 sender: *4 responses: '200': @@ -131137,7 +130730,7 @@ webhooks: type: string enum: - approved - approver: &739 + approver: &737 type: object properties: avatar_url: @@ -131180,11 +130773,11 @@ webhooks: type: string comment: type: string - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - reviewers: &740 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + reviewers: &738 type: array items: type: object @@ -131265,7 +130858,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &741 + workflow_job_run: &739 type: object properties: conclusion: @@ -132011,18 +131604,18 @@ webhooks: type: string enum: - rejected - approver: *739 + approver: *737 comment: type: string - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - reviewers: *740 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + reviewers: *738 sender: *4 since: type: string - workflow_job_run: *741 + workflow_job_run: *739 workflow_job_runs: type: array items: @@ -132739,13 +132332,13 @@ webhooks: type: string enum: - requested - enterprise: *727 + enterprise: *725 environment: type: string - installation: *728 - organization: *729 - repository: *730 - requestor: &747 + installation: *726 + organization: *727 + repository: *728 + requestor: &745 title: User type: - object @@ -134678,12 +134271,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 workflow_run: title: Deployment Workflow Run type: @@ -135374,7 +134967,7 @@ webhooks: type: string enum: - answered - answer: &745 + answer: &743 type: object properties: author_association: @@ -135534,11 +135127,11 @@ webhooks: - created_at - updated_at - body - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -135665,11 +135258,11 @@ webhooks: - from required: - category - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -135752,11 +135345,11 @@ webhooks: type: string enum: - closed - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -135838,7 +135431,7 @@ webhooks: type: string enum: - created - comment: &744 + comment: &742 type: object properties: author_association: @@ -135998,11 +135591,11 @@ webhooks: - updated_at - body - reactions - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136085,12 +135678,12 @@ webhooks: type: string enum: - deleted - comment: *744 - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + comment: *742 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136185,12 +135778,12 @@ webhooks: - from required: - body - comment: *744 - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + comment: *742 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136274,11 +135867,11 @@ webhooks: type: string enum: - created - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136360,11 +135953,11 @@ webhooks: type: string enum: - deleted - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136464,11 +136057,11 @@ webhooks: type: string required: - from - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136550,10 +136143,10 @@ webhooks: type: string enum: - labeled - discussion: *743 - enterprise: *727 - installation: *728 - label: &746 + discussion: *741 + enterprise: *725 + installation: *726 + label: &744 title: Label type: object properties: @@ -136586,8 +136179,8 @@ webhooks: - color - default - description - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136670,11 +136263,11 @@ webhooks: type: string enum: - locked - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136756,11 +136349,11 @@ webhooks: type: string enum: - pinned - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136842,11 +136435,11 @@ webhooks: type: string enum: - reopened - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -136931,16 +136524,16 @@ webhooks: changes: type: object properties: - new_discussion: *743 - new_repository: *730 + new_discussion: *741 + new_repository: *728 required: - new_discussion - new_repository - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137023,10 +136616,10 @@ webhooks: type: string enum: - unanswered - discussion: *743 - old_answer: *745 - organization: *729 - repository: *730 + discussion: *741 + old_answer: *743 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137108,12 +136701,12 @@ webhooks: type: string enum: - unlabeled - discussion: *743 - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137196,11 +136789,11 @@ webhooks: type: string enum: - unlocked - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137282,11 +136875,11 @@ webhooks: type: string enum: - unpinned - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137359,7 +136952,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *727 + enterprise: *725 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -138037,9 +137630,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - forkee @@ -138185,9 +137778,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pages: description: The pages that were updated. type: array @@ -138225,7 +137818,7 @@ webhooks: - action - sha - html_url - repository: *730 + repository: *728 sender: *4 required: - pages @@ -138301,10 +137894,10 @@ webhooks: type: string enum: - created - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: &748 + organization: *727 + repositories: &746 description: An array of repository objects that the installation can access. type: array @@ -138330,8 +137923,8 @@ webhooks: - name - full_name - private - repository: *730 - requester: *747 + repository: *728 + requester: *745 sender: *4 required: - action @@ -138406,11 +137999,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -138487,11 +138080,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -138568,10 +138161,10 @@ webhooks: type: string enum: - added - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories_added: &749 + organization: *727 + repositories_added: &747 description: An array of repository objects, which were added to the installation. type: array @@ -138617,15 +138210,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *730 - repository_selection: &750 + repository: *728 + repository_selection: &748 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *747 + requester: *745 sender: *4 required: - action @@ -138704,10 +138297,10 @@ webhooks: type: string enum: - removed - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories_added: *749 + organization: *727 + repositories_added: *747 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -138734,9 +138327,9 @@ webhooks: - name - full_name - private - repository: *730 - repository_selection: *750 - requester: *747 + repository: *728 + repository_selection: *748 + requester: *745 sender: *4 required: - action @@ -138815,11 +138408,11 @@ webhooks: type: string enum: - suspend - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -139001,10 +138594,10 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 target_type: type: string @@ -139083,11 +138676,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -139253,7 +138846,7 @@ webhooks: pin: anyOf: - type: 'null' - - *561 + - *559 user: title: User type: @@ -139339,8 +138932,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140152,8 +139745,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140514,8 +140107,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -140595,7 +140188,7 @@ webhooks: type: string enum: - deleted - comment: &751 + comment: &749 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -140752,7 +140345,7 @@ webhooks: pin: anyOf: - type: 'null' - - *561 + - *559 required: - url - html_url @@ -140766,8 +140359,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141575,8 +141168,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141939,8 +141532,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -142020,7 +141613,7 @@ webhooks: type: string enum: - edited - changes: &775 + changes: &773 description: The changes to the comment. type: object properties: @@ -142032,9 +141625,9 @@ webhooks: type: string required: - from - comment: *751 - enterprise: *727 - installation: *728 + comment: *749 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142845,8 +142438,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143207,8 +142800,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -143289,9 +142882,9 @@ webhooks: type: string enum: - pinned - comment: *751 - enterprise: *727 - installation: *728 + comment: *749 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144104,8 +143697,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144468,8 +144061,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -144549,9 +144142,9 @@ webhooks: type: string enum: - unpinned - comment: *751 - enterprise: *727 - installation: *728 + comment: *749 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145364,8 +144957,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145728,8 +145321,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -145818,9 +145411,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -145909,9 +145502,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -145999,9 +145592,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -146090,9 +145683,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -146172,10 +145765,10 @@ webhooks: type: string enum: - assigned - assignee: *747 - enterprise: *727 - installation: *728 - issue: &752 + assignee: *745 + enterprise: *725 + installation: *726 + issue: &750 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -146986,11 +146579,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147110,8 +146703,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -147191,8 +146784,8 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -148008,11 +147601,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148275,8 +147868,8 @@ webhooks: required: - state - closed_at - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -148355,8 +147948,8 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149163,11 +148756,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149286,8 +148879,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -149366,8 +148959,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150197,11 +149790,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150299,7 +149892,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &753 + milestone: &751 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150442,8 +150035,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -150542,8 +150135,8 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151354,11 +150947,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151478,9 +151071,9 @@ webhooks: - active_lock_reason - body - reactions - label: *746 - organization: *729 - repository: *730 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -151560,9 +151153,9 @@ webhooks: type: string enum: - field_added - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 issue_field: type: object description: The issue field whose value was set or updated on the @@ -151728,8 +151321,8 @@ webhooks: - id required: - from - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -151809,9 +151402,9 @@ webhooks: type: string enum: - field_removed - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -151898,8 +151491,8 @@ webhooks: - 'null' required: - id - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -151979,8 +151572,8 @@ webhooks: type: string enum: - labeled - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152790,11 +152383,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152914,9 +152507,9 @@ webhooks: - active_lock_reason - body - reactions - label: *746 - organization: *729 - repository: *730 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -152996,8 +152589,8 @@ webhooks: type: string enum: - locked - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153832,11 +153425,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153933,8 +153526,8 @@ webhooks: format: uri user_view_type: type: string - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -154013,8 +153606,8 @@ webhooks: type: string enum: - milestoned - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154843,11 +154436,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154944,9 +154537,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *753 - organization: *729 - repository: *730 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -155833,11 +155426,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156429,8 +156022,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157237,11 +156830,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157364,8 +156957,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -157445,9 +157038,9 @@ webhooks: type: string enum: - pinned - enterprise: *727 - installation: *728 - issue: &754 + enterprise: *725 + installation: *726 + issue: &752 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -158252,11 +157845,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158375,8 +157968,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -158455,8 +158048,8 @@ webhooks: type: string enum: - reopened - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159289,11 +158882,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159391,8 +158984,8 @@ webhooks: user_view_type: type: string type: *245 - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -160280,11 +159873,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160894,11 +160487,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *727 - installation: *728 - issue: *754 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *752 + organization: *727 + repository: *728 sender: *4 required: - action @@ -160978,12 +160571,12 @@ webhooks: type: string enum: - typed - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 type: *245 - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -161064,7 +160657,7 @@ webhooks: type: string enum: - unassigned - assignee: &778 + assignee: &776 title: User type: - object @@ -161136,11 +160729,11 @@ webhooks: required: - login - id - enterprise: *727 - installation: *728 - issue: *752 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *750 + organization: *727 + repository: *728 sender: *4 required: - action @@ -161219,12 +160812,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *727 - installation: *728 - issue: *752 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *750 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -161304,8 +160897,8 @@ webhooks: type: string enum: - unlocked - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -162138,11 +161731,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162239,8 +161832,8 @@ webhooks: format: uri user_view_type: type: string - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162320,11 +161913,11 @@ webhooks: type: string enum: - unpinned - enterprise: *727 - installation: *728 - issue: *754 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *752 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162403,12 +161996,12 @@ webhooks: type: string enum: - untyped - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 type: *245 - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162488,11 +162081,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162570,11 +162163,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162684,11 +162277,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162770,9 +162363,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: &755 + enterprise: *725 + installation: *726 + marketplace_purchase: &753 title: Marketplace Purchase type: object required: @@ -162860,8 +162453,8 @@ webhooks: type: integer unit_count: type: integer - organization: *729 - previous_marketplace_purchase: &756 + organization: *727 + previous_marketplace_purchase: &754 title: Marketplace Purchase type: object properties: @@ -162945,7 +162538,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *730 + repository: *728 sender: *4 required: - action @@ -163025,10 +162618,10 @@ webhooks: - changed effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: *755 - organization: *729 + enterprise: *725 + installation: *726 + marketplace_purchase: *753 + organization: *727 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163116,7 +162709,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *730 + repository: *728 sender: *4 required: - action @@ -163198,10 +162791,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: *755 - organization: *729 + enterprise: *725 + installation: *726 + marketplace_purchase: *753 + organization: *727 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163287,7 +162880,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *730 + repository: *728 sender: *4 required: - action @@ -163368,8 +162961,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 marketplace_purchase: title: Marketplace Purchase type: object @@ -163455,9 +163048,9 @@ webhooks: type: integer unit_count: type: integer - organization: *729 - previous_marketplace_purchase: *756 - repository: *730 + organization: *727 + previous_marketplace_purchase: *754 + repository: *728 sender: *4 required: - action @@ -163537,12 +163130,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: *755 - organization: *729 - previous_marketplace_purchase: *756 - repository: *730 + enterprise: *725 + installation: *726 + marketplace_purchase: *753 + organization: *727 + previous_marketplace_purchase: *754 + repository: *728 sender: *4 required: - action @@ -163644,11 +163237,11 @@ webhooks: type: string required: - to - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 sender: *4 required: - action @@ -163750,11 +163343,11 @@ webhooks: type: - string - 'null' - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 sender: *4 required: - action @@ -163833,11 +163426,11 @@ webhooks: type: string enum: - removed - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 sender: *4 required: - action @@ -163915,11 +163508,11 @@ webhooks: type: string enum: - added - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163997,7 +163590,7 @@ webhooks: required: - login - id - team: &757 + team: &755 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164227,11 +163820,11 @@ webhooks: type: string enum: - removed - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164310,7 +163903,7 @@ webhooks: required: - login - id - team: *757 + team: *755 required: - action - scope @@ -164392,8 +163985,8 @@ webhooks: type: string enum: - checks_requested - installation: *728 - merge_group: &758 + installation: *726 + merge_group: &756 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164412,15 +164005,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *420 + head_commit: *417 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -164506,10 +164099,10 @@ webhooks: - merged - invalidated - dequeued - installation: *728 - merge_group: *758 - organization: *729 - repository: *730 + installation: *726 + merge_group: *756 + organization: *727 + repository: *728 sender: *4 required: - action @@ -164582,7 +164175,7 @@ webhooks: type: string enum: - deleted - enterprise: *727 + enterprise: *725 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -164691,12 +164284,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *728 - organization: *729 + installation: *726 + organization: *727 repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -164776,11 +164369,11 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 - milestone: *753 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -164859,9 +164452,9 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - milestone: &759 + enterprise: *725 + installation: *726 + milestone: &757 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165003,8 +164596,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165083,11 +164676,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - milestone: *753 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165197,11 +164790,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - milestone: *753 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165281,11 +164874,11 @@ webhooks: type: string enum: - opened - enterprise: *727 - installation: *728 - milestone: *759 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *757 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165364,11 +164957,11 @@ webhooks: type: string enum: - blocked - blocked_user: *747 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + blocked_user: *745 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165447,11 +165040,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *747 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + blocked_user: *745 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165530,9 +165123,9 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - membership: &760 + enterprise: *725 + installation: *726 + membership: &758 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -165642,8 +165235,8 @@ webhooks: - role - organization_url - user - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165721,11 +165314,11 @@ webhooks: type: string enum: - member_added - enterprise: *727 - installation: *728 - membership: *760 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + membership: *758 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165804,8 +165397,8 @@ webhooks: type: string enum: - member_invited - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -165927,10 +165520,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 - user: *747 + user: *745 required: - action - invitation @@ -166008,11 +165601,11 @@ webhooks: type: string enum: - member_removed - enterprise: *727 - installation: *728 - membership: *760 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + membership: *758 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166099,11 +165692,11 @@ webhooks: properties: from: type: string - enterprise: *727 - installation: *728 - membership: *760 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + membership: *758 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166180,9 +165773,9 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 package: description: Information about the package. type: object @@ -166705,7 +166298,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &761 + items: &759 title: Ruby Gems metadata type: object properties: @@ -166802,7 +166395,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -166878,9 +166471,9 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 package: description: Information about the package. type: object @@ -167242,7 +166835,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *761 + items: *759 source_url: type: string format: uri @@ -167313,7 +166906,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -167493,12 +167086,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *727 + enterprise: *725 id: type: integer - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - id @@ -167575,7 +167168,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &762 + personal_access_token_request: &760 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -167725,10 +167318,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *727 - organization: *729 + enterprise: *725 + organization: *727 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -167805,11 +167398,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *762 - enterprise: *727 - organization: *729 + personal_access_token_request: *760 + enterprise: *725 + organization: *727 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -167885,11 +167478,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *762 - enterprise: *727 - organization: *729 + personal_access_token_request: *760 + enterprise: *725 + organization: *727 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -167964,11 +167557,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *762 - organization: *729 - enterprise: *727 + personal_access_token_request: *760 + organization: *727 + enterprise: *725 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -168073,7 +167666,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *763 + last_response: *761 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168105,8 +167698,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 zen: description: Random string of GitHub zen. @@ -168351,10 +167944,10 @@ webhooks: - from required: - note - enterprise: *727 - installation: *728 - organization: *729 - project_card: &764 + enterprise: *725 + installation: *726 + organization: *727 + project_card: &762 title: Project Card type: object properties: @@ -168477,7 +168070,7 @@ webhooks: - creator - created_at - updated_at - repository: *730 + repository: *728 sender: *4 required: - action @@ -168558,11 +168151,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - project_card: *764 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_card: *762 + repository: *728 sender: *4 required: - action @@ -168642,9 +168235,9 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 project_card: title: Project Card type: object @@ -168774,7 +168367,7 @@ webhooks: repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -168868,11 +168461,11 @@ webhooks: - from required: - note - enterprise: *727 - installation: *728 - organization: *729 - project_card: *764 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_card: *762 + repository: *728 sender: *4 required: - action @@ -168966,9 +168559,9 @@ webhooks: - from required: - column_id - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 project_card: allOf: - title: Project Card @@ -169165,7 +168758,7 @@ webhooks: type: string required: - after_id - repository: *730 + repository: *728 sender: *4 required: - action @@ -169245,10 +168838,10 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 - organization: *729 - project: &766 + enterprise: *725 + installation: *726 + organization: *727 + project: &764 title: Project type: object properties: @@ -169375,7 +168968,7 @@ webhooks: - creator - created_at - updated_at - repository: *730 + repository: *728 sender: *4 required: - action @@ -169455,10 +169048,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - project_column: &765 + enterprise: *725 + installation: *726 + organization: *727 + project_column: &763 title: Project Column type: object properties: @@ -169498,7 +169091,7 @@ webhooks: - name - created_at - updated_at - repository: *730 + repository: *728 sender: *4 required: - action @@ -169577,14 +169170,14 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - project_column: *765 + enterprise: *725 + installation: *726 + organization: *727 + project_column: *763 repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -169673,11 +169266,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - project_column: *765 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_column: *763 + repository: *728 sender: *4 required: - action @@ -169757,11 +169350,11 @@ webhooks: type: string enum: - moved - enterprise: *727 - installation: *728 - organization: *729 - project_column: *765 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_column: *763 + repository: *728 sender: *4 required: - action @@ -169841,11 +169434,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - project: *766 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 + repository: *728 sender: *4 required: - action @@ -169925,14 +169518,14 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - project: *766 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -170033,11 +169626,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - project: *766 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 + repository: *728 sender: *4 required: - action @@ -170116,11 +169709,11 @@ webhooks: type: string enum: - reopened - enterprise: *727 - installation: *728 - organization: *729 - project: *766 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 + repository: *728 sender: *4 required: - action @@ -170201,8 +169794,8 @@ webhooks: type: string enum: - closed - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -170284,8 +169877,8 @@ webhooks: type: string enum: - created - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -170367,8 +169960,8 @@ webhooks: type: string enum: - deleted - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -170490,8 +170083,8 @@ webhooks: type: string to: type: string - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -170575,7 +170168,7 @@ webhooks: type: string enum: - archived - changes: &770 + changes: &768 type: object properties: archived_at: @@ -170591,9 +170184,9 @@ webhooks: - string - 'null' format: date-time - installation: *728 - organization: *729 - projects_v2_item: &767 + installation: *726 + organization: *727 + projects_v2_item: &765 title: Projects v2 Item description: An item belonging to a project type: object @@ -170733,9 +170326,9 @@ webhooks: - 'null' to: type: string - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -170817,9 +170410,9 @@ webhooks: type: string enum: - created - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -170900,9 +170493,9 @@ webhooks: type: string enum: - deleted - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -171007,7 +170600,7 @@ webhooks: oneOf: - type: string - type: integer - - &768 + - &766 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171031,7 +170624,7 @@ webhooks: required: - id - name - - &769 + - &767 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171071,8 +170664,8 @@ webhooks: oneOf: - type: string - type: integer - - *768 - - *769 + - *766 + - *767 type: - 'null' - string @@ -171095,9 +170688,9 @@ webhooks: - 'null' required: - body - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -171194,9 +170787,9 @@ webhooks: type: - string - 'null' - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -171279,10 +170872,10 @@ webhooks: type: string enum: - restored - changes: *770 - installation: *728 - organization: *729 - projects_v2_item: *767 + changes: *768 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -171364,8 +170957,8 @@ webhooks: type: string enum: - reopened - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -171447,9 +171040,9 @@ webhooks: type: string enum: - created - installation: *728 - organization: *729 - projects_v2_status_update: *771 + installation: *726 + organization: *727 + projects_v2_status_update: *769 sender: *4 required: - action @@ -171530,9 +171123,9 @@ webhooks: type: string enum: - deleted - installation: *728 - organization: *729 - projects_v2_status_update: *771 + installation: *726 + organization: *727 + projects_v2_status_update: *769 sender: *4 required: - action @@ -171678,9 +171271,9 @@ webhooks: - string - 'null' format: date - installation: *728 - organization: *729 - projects_v2_status_update: *771 + installation: *726 + organization: *727 + projects_v2_status_update: *769 sender: *4 required: - action @@ -171751,10 +171344,10 @@ webhooks: title: public event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - repository @@ -171831,13 +171424,13 @@ webhooks: type: string enum: - assigned - assignee: *747 - enterprise: *727 - installation: *728 - number: &772 + assignee: *745 + enterprise: *725 + installation: *726 + number: &770 description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -174189,7 +173782,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -174271,11 +173864,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -176620,7 +176213,7 @@ webhooks: - draft reason: type: string - repository: *730 + repository: *728 sender: *4 required: - action @@ -176702,11 +176295,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -179051,7 +178644,7 @@ webhooks: - draft reason: type: string - repository: *730 + repository: *728 sender: *4 required: - action @@ -179133,13 +178726,13 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: &773 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: &771 allOf: - - *582 + - *580 - type: object properties: allow_auto_merge: @@ -179201,7 +178794,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *730 + repository: *728 sender: *4 required: - action @@ -179282,12 +178875,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -179367,11 +178960,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *727 + enterprise: *725 milestone: *281 - number: *772 - organization: *729 - pull_request: &774 + number: *770 + organization: *727 + pull_request: &772 title: Pull Request type: object properties: @@ -181715,7 +181308,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -181794,11 +181387,11 @@ webhooks: type: string enum: - dequeued - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -184161,7 +183754,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *730 + repository: *728 sender: *4 required: - action @@ -184285,12 +183878,12 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -184370,11 +183963,11 @@ webhooks: type: string enum: - enqueued - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -186722,7 +186315,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -186802,11 +186395,11 @@ webhooks: type: string enum: - labeled - enterprise: *727 - installation: *728 - label: *746 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + label: *744 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -189157,7 +188750,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -189238,10 +188831,10 @@ webhooks: type: string enum: - locked - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -191590,7 +191183,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -191670,12 +191263,12 @@ webhooks: type: string enum: - milestoned - enterprise: *727 + enterprise: *725 milestone: *281 - number: *772 - organization: *729 - pull_request: *774 - repository: *730 + number: *770 + organization: *727 + pull_request: *772 + repository: *728 sender: *4 required: - action @@ -191754,12 +191347,12 @@ webhooks: type: string enum: - opened - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -191840,12 +191433,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -191925,12 +191518,12 @@ webhooks: type: string enum: - reopened - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -192305,9 +191898,9 @@ webhooks: - start_side - side - reactions - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: type: object properties: @@ -194540,7 +194133,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *730 + repository: *728 sender: *4 required: - action @@ -194620,7 +194213,7 @@ webhooks: type: string enum: - deleted - comment: &776 + comment: &774 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -194913,9 +194506,9 @@ webhooks: - start_side - side - reactions - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: type: object properties: @@ -197136,7 +196729,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *730 + repository: *728 sender: *4 required: - action @@ -197216,11 +196809,11 @@ webhooks: type: string enum: - edited - changes: *775 - comment: *776 - enterprise: *727 - installation: *728 - organization: *729 + changes: *773 + comment: *774 + enterprise: *725 + installation: *726 + organization: *727 pull_request: type: object properties: @@ -199444,7 +199037,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *730 + repository: *728 sender: *4 required: - action @@ -199525,9 +199118,9 @@ webhooks: type: string enum: - dismissed - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -201763,7 +201356,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 + repository: *728 review: description: The review that was affected. type: object @@ -202014,9 +201607,9 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -204125,8 +203718,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 - review: &777 + repository: *728 + review: &775 description: The review that was affected. type: object properties: @@ -204364,12 +203957,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -206719,7 +206312,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_reviewer: title: User type: @@ -206805,12 +206398,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -209167,7 +208760,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209362,12 +208955,12 @@ webhooks: type: string enum: - review_requested - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -211719,7 +211312,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_reviewer: title: User type: @@ -211806,12 +211399,12 @@ webhooks: type: string enum: - review_requested - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -214154,7 +213747,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214338,9 +213931,9 @@ webhooks: type: string enum: - submitted - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -216579,8 +216172,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 - review: *777 + repository: *728 + review: *775 sender: *4 required: - action @@ -216660,9 +216253,9 @@ webhooks: type: string enum: - resolved - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -218810,7 +218403,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 + repository: *728 sender: *4 thread: type: object @@ -219207,9 +218800,9 @@ webhooks: type: string enum: - unresolved - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -221340,7 +220933,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 + repository: *728 sender: *4 thread: type: object @@ -221739,10 +221332,10 @@ webhooks: type: string before: type: string - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -224080,7 +223673,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -224162,11 +223755,11 @@ webhooks: type: string enum: - unassigned - assignee: *778 - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + assignee: *776 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -226519,7 +226112,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -226598,11 +226191,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *727 - installation: *728 - label: *746 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + label: *744 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -228944,7 +228537,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -229025,10 +228618,10 @@ webhooks: type: string enum: - unlocked - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -231360,7 +230953,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -231563,7 +231156,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *727 + enterprise: *725 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -231658,8 +231251,8 @@ webhooks: - url - author - committer - installation: *728 - organization: *729 + installation: *726 + organization: *727 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232258,9 +231851,9 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 registry_package: type: object properties: @@ -232737,7 +232330,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *761 + items: *759 summary: type: string tag_name: @@ -232793,7 +232386,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -232871,9 +232464,9 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 registry_package: type: object properties: @@ -233185,7 +232778,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *761 + items: *759 summary: type: string tag_name: @@ -233235,7 +232828,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -233312,10 +232905,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - release: &779 + enterprise: *725 + installation: *726 + organization: *727 + release: &777 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -233646,7 +233239,7 @@ webhooks: - updated_at - zipball_url - body - repository: *730 + repository: *728 sender: *4 required: - action @@ -233723,11 +233316,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - release: *779 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *777 + repository: *728 sender: *4 required: - action @@ -233844,11 +233437,11 @@ webhooks: type: boolean required: - to - enterprise: *727 - installation: *728 - organization: *729 - release: *779 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *777 + repository: *728 sender: *4 required: - action @@ -233926,9 +233519,9 @@ webhooks: type: string enum: - prereleased - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -234264,7 +233857,7 @@ webhooks: - string - 'null' format: uri - repository: *730 + repository: *728 sender: *4 required: - action @@ -234340,10 +233933,10 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 - release: &780 + enterprise: *725 + installation: *726 + organization: *727 + release: &778 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -234676,7 +234269,7 @@ webhooks: - string - 'null' format: uri - repository: *730 + repository: *728 sender: *4 required: - action @@ -234752,11 +234345,11 @@ webhooks: type: string enum: - released - enterprise: *727 - installation: *728 - organization: *729 - release: *779 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *777 + repository: *728 sender: *4 required: - action @@ -234832,11 +234425,11 @@ webhooks: type: string enum: - unpublished - enterprise: *727 - installation: *728 - organization: *729 - release: *780 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *778 + repository: *728 sender: *4 required: - action @@ -234912,11 +234505,11 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - repository_advisory: *651 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + repository_advisory: *649 sender: *4 required: - action @@ -234992,11 +234585,11 @@ webhooks: type: string enum: - reported - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - repository_advisory: *651 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + repository_advisory: *649 sender: *4 required: - action @@ -235072,10 +234665,10 @@ webhooks: type: string enum: - archived - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -235152,10 +234745,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -235233,10 +234826,10 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -235321,10 +234914,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -235439,10 +235032,10 @@ webhooks: - 'null' items: type: string - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -235514,10 +235107,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 status: type: string @@ -235598,10 +235191,10 @@ webhooks: type: string enum: - privatized - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -235678,10 +235271,10 @@ webhooks: type: string enum: - publicized - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -235775,10 +235368,10 @@ webhooks: - name required: - repository - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -235858,10 +235451,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 repository_ruleset: *323 sender: *4 required: @@ -235940,10 +235533,10 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 repository_ruleset: *323 sender: *4 required: @@ -236022,10 +235615,10 @@ webhooks: type: string enum: - edited - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 repository_ruleset: *323 changes: type: object @@ -236087,16 +235680,16 @@ webhooks: properties: added: type: array - items: *602 + items: *600 deleted: type: array - items: *602 + items: *600 updated: type: array items: type: object properties: - rule: *602 + rule: *600 changes: type: object properties: @@ -236333,10 +235926,10 @@ webhooks: - from required: - owner - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236414,10 +236007,10 @@ webhooks: type: string enum: - unarchived - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236495,7 +236088,7 @@ webhooks: type: string enum: - create - alert: &781 + alert: &779 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236620,10 +236213,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236833,10 +236426,10 @@ webhooks: type: string enum: - dismissed - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -236914,11 +236507,11 @@ webhooks: type: string enum: - reopen - alert: *781 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *779 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237120,10 +236713,10 @@ webhooks: enum: - fixed - open - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237201,7 +236794,7 @@ webhooks: type: string enum: - assigned - alert: &782 + alert: &780 type: object properties: number: *180 @@ -237341,10 +236934,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237422,11 +237015,11 @@ webhooks: type: string enum: - created - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237507,11 +237100,11 @@ webhooks: type: string enum: - created - alert: *782 - installation: *728 - location: *783 - organization: *729 - repository: *730 + alert: *780 + installation: *726 + location: *781 + organization: *727 + repository: *728 sender: *4 required: - location @@ -237749,11 +237342,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237831,11 +237424,11 @@ webhooks: type: string enum: - reopened - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237913,11 +237506,11 @@ webhooks: type: string enum: - resolved - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237995,12 +237588,12 @@ webhooks: type: string enum: - unassigned - alert: *782 + alert: *780 assignee: *4 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238078,11 +237671,11 @@ webhooks: type: string enum: - validated - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238212,10 +237805,10 @@ webhooks: - organization - enterprise - - repository: *730 - enterprise: *727 - installation: *728 - organization: *729 + repository: *728 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -238293,11 +237886,11 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - security_advisory: &784 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + security_advisory: &782 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238470,11 +238063,11 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - security_advisory: *784 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + security_advisory: *782 sender: *4 required: - action @@ -238547,10 +238140,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238724,10 +238317,10 @@ webhooks: type: object properties: security_and_analysis: *296 - enterprise: *727 - installation: *728 - organization: *729 - repository: *343 + enterprise: *725 + installation: *726 + organization: *727 + repository: *340 sender: *4 required: - changes @@ -238805,12 +238398,12 @@ webhooks: type: string enum: - cancelled - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: &785 + sponsorship: &783 type: object properties: created_at: @@ -239115,12 +238708,12 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - sponsorship @@ -239208,12 +238801,12 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - changes @@ -239290,17 +238883,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &786 + effective_date: &784 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: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - sponsorship @@ -239374,7 +238967,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &787 + changes: &785 type: object properties: tier: @@ -239418,13 +239011,13 @@ webhooks: - from required: - tier - effective_date: *786 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + effective_date: *784 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - changes @@ -239501,13 +239094,13 @@ webhooks: type: string enum: - tier_changed - changes: *787 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + changes: *785 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - changes @@ -239581,10 +239174,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239668,10 +239261,10 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240105,15 +239698,15 @@ webhooks: type: - string - 'null' - enterprise: *727 + enterprise: *725 id: description: The unique identifier of the status. type: integer - installation: *728 + installation: *726 name: type: string - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 sha: description: The Commit SHA. @@ -240229,9 +239822,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -240320,9 +239913,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -240411,9 +240004,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -240502,9 +240095,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -240580,12 +240173,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - team: &788 + team: &786 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240815,9 +240408,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -241287,7 +240880,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -241363,9 +240956,9 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -241835,7 +241428,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -241912,9 +241505,9 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -242384,7 +241977,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -242528,9 +242121,9 @@ webhooks: - from required: - permissions - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -243000,7 +242593,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - changes @@ -243078,9 +242671,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -243550,7 +243143,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -243626,10 +243219,10 @@ webhooks: type: string enum: - started - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -243702,17 +243295,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *727 + enterprise: *725 inputs: type: - object - 'null' additionalProperties: true - installation: *728 - organization: *729 + installation: *726 + organization: *727 ref: type: string - repository: *730 + repository: *728 sender: *4 workflow: type: string @@ -243794,10 +243387,10 @@ webhooks: type: string enum: - completed - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: allOf: @@ -244053,7 +243646,7 @@ webhooks: type: string required: - conclusion - deployment: *498 + deployment: *495 required: - action - repository @@ -244132,10 +243725,10 @@ webhooks: type: string enum: - in_progress - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: allOf: @@ -244417,7 +244010,7 @@ webhooks: required: - status - steps - deployment: *498 + deployment: *495 required: - action - repository @@ -244496,10 +244089,10 @@ webhooks: type: string enum: - queued - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: type: object @@ -244645,7 +244238,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *495 required: - action - repository @@ -244724,10 +244317,10 @@ webhooks: type: string enum: - waiting - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: type: object @@ -244874,7 +244467,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *495 required: - action - repository @@ -244954,12 +244547,12 @@ webhooks: type: string enum: - completed - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 workflow_run: title: Workflow Run type: object @@ -245978,12 +245571,12 @@ webhooks: type: string enum: - in_progress - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 workflow_run: title: Workflow Run type: object @@ -246987,12 +246580,12 @@ webhooks: type: string enum: - requested - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 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 ed0c74e735..c07a0dc1ba 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 @@ -118727,7 +118727,7 @@ "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", - "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "description": "List artifact storage records with a given subject digest for repositories owned by an organization.\n\nResults are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.", "tags": [ "orgs" ], @@ -146949,662 +146949,6 @@ } } }, - "/orgs/{org}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an organization", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" - }, - "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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { "summary": "Get Copilot organization usage metrics for a specific day", @@ -269712,671 +269056,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for a team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\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** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -278247,7 +276926,7 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/rest/dependency-graph).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], @@ -278414,7 +277093,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -278438,7 +277117,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -278462,7 +277141,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -278486,7 +277165,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -278510,7 +277189,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -278534,7 +277213,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -278642,12 +277321,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -411095,7 +409768,7 @@ }, "assignees": { "type": "array", - "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.\nTo assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`).", "items": { "type": "string" } @@ -455802,6 +454475,721 @@ } } }, + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { + "get": { + "summary": "Get pull request creation cap bypass list for a repository", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + } + }, + "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": "interactions", + "subcategory": "repos" + } + }, + "put": { + "summary": "Add users to the pull request creation cap bypass list for a repository", + "description": "Adds users to the pull request creation cap bypass list for a repository.\nUsers on this list can create pull requests regardless of any configured\npull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.", + "tags": [ + "interactions" + ], + "operationId": "interactions/set-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat", + "monalisa" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Remove users from the pull request creation cap bypass list for a repository", + "description": "Removes users from the pull request creation cap bypass list for a repository.\nRemoved users will be subject to any configured pull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can remove a maximum of 100 users per request.", + "tags": [ + "interactions" + ], + "operationId": "interactions/remove-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/invitations": { "get": { "summary": "List repository invitations", 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 11cca692e6..141ef0c523 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 @@ -1131,7 +1131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &653 + - &651 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -12546,7 +12546,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 - - &487 + - &484 name: has in: query description: |- @@ -12676,7 +12676,7 @@ paths: - transitive - inconclusive - - security_advisory: &488 + security_advisory: &485 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12970,7 +12970,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &489 + auto_dismissed_at: &486 type: - string - 'null' @@ -12978,7 +12978,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &490 + dismissal_request: &487 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -14697,7 +14697,7 @@ paths: properties: action: type: string - discussion: &743 + discussion: &741 title: Discussion description: A Discussion in a repository. type: object @@ -15483,7 +15483,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &664 + sub_issues_summary: &662 title: Sub-issues Summary type: object properties: @@ -15567,7 +15567,7 @@ paths: pin: anyOf: - type: 'null' - - &561 + - &559 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15594,7 +15594,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &665 + issue_dependencies_summary: &663 title: Issue Dependencies Summary type: object properties: @@ -15613,7 +15613,7 @@ paths: - total_blocking issue_field_values: type: array - items: &545 + items: &543 title: Issue Field Value description: A value assigned to an issue field type: object @@ -16467,7 +16467,7 @@ paths: type: string release: allOf: - - &593 + - &591 title: Release description: A release. type: object @@ -16549,7 +16549,7 @@ paths: author: *4 assets: type: array - items: &594 + items: &592 title: Release Asset description: Data related to a release. type: object @@ -17181,7 +17181,7 @@ paths: url: type: string format: uri - user: &671 + user: &669 title: Public User description: Public User type: object @@ -20560,14 +20560,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &340 + - &337 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &341 + - &338 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20629,7 +20629,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &344 + '301': &341 description: Moved permanently content: application/json: @@ -20651,7 +20651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &569 + - &567 name: all description: If `true`, show notifications marked as read. in: query @@ -20659,7 +20659,7 @@ paths: schema: type: boolean default: false - - &570 + - &568 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20669,7 +20669,7 @@ paths: type: boolean default: false - *87 - - &571 + - &569 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: @@ -21268,7 +21268,7 @@ paths: - url - subscription_url examples: - default: &572 + default: &570 value: - id: '1' repository: @@ -23186,7 +23186,7 @@ paths: parameters: - *74 - *116 - - &721 + - &719 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 @@ -23298,7 +23298,7 @@ paths: - *116 - *117 - *118 - - &722 + - &720 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -23306,7 +23306,7 @@ paths: schema: type: string - *121 - - &723 + - &721 name: sku description: The SKU to query for usage. in: query @@ -24313,7 +24313,7 @@ paths: type: integer repository_cache_usages: type: array - items: &351 + items: &348 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25701,7 +25701,7 @@ paths: - all - local_only - selected - selected_actions_url: &356 + selected_actions_url: &353 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` @@ -25784,7 +25784,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &357 type: object properties: days: @@ -25826,7 +25826,7 @@ paths: required: true content: application/json: - schema: &361 + schema: &358 type: object properties: days: @@ -25883,7 +25883,7 @@ paths: required: - approval_policy examples: - default: &362 + default: &359 value: approval_policy: first_time_contributors '404': *6 @@ -25942,7 +25942,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &360 type: object required: - run_workflows_from_fork_pull_requests @@ -25996,7 +25996,7 @@ paths: required: true content: application/json: - schema: &364 + schema: &361 type: object required: - run_workflows_from_fork_pull_requests @@ -26631,7 +26631,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &362 type: object properties: default_workflow_permissions: &148 @@ -26682,7 +26682,7 @@ paths: required: false content: application/json: - schema: &366 + schema: &363 type: object properties: default_workflow_permissions: *148 @@ -27833,7 +27833,7 @@ paths: application/json: schema: type: array - items: &367 + items: &364 title: Runner Application description: Runner Application type: object @@ -27858,7 +27858,7 @@ paths: - download_url - filename examples: - default: &368 + default: &365 value: - os: osx architecture: x64 @@ -27944,7 +27944,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &369 + '201': &366 description: Response content: application/json: @@ -28059,7 +28059,7 @@ paths: - token - expires_at examples: - default: &370 + default: &367 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -28098,7 +28098,7 @@ paths: application/json: schema: *159 examples: - default: &371 + default: &368 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -28132,7 +28132,7 @@ paths: application/json: schema: *157 examples: - default: &372 + default: &369 value: id: 23 name: MBP @@ -28359,7 +28359,7 @@ paths: - *74 - *156 responses: - '200': &373 + '200': &370 description: Response content: application/json: @@ -28416,7 +28416,7 @@ paths: parameters: - *74 - *156 - - &374 + - &371 name: name description: The name of a self-hosted runner's custom label. in: path @@ -30898,9 +30898,9 @@ paths: get: summary: List artifact storage records description: |- - List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + List artifact storage records with a given subject digest for repositories owned by an organization. - The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission. tags: - orgs operationId: orgs/list-artifact-storage-records @@ -31018,12 +31018,12 @@ paths: required: - subject_digests examples: - default: &702 + default: &700 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &703 + withPredicateType: &701 value: subject_digests: - sha256:abc123 @@ -31082,7 +31082,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &704 + default: &702 value: attestations_subject_digests: - sha256:abc: @@ -31448,7 +31448,7 @@ paths: initiator: type: string examples: - default: &400 + default: &397 value: attestations: - bundle: @@ -32418,7 +32418,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &424 + - &421 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`, @@ -32428,7 +32428,7 @@ paths: schema: &187 type: string description: The name of the tool used to generate the code scanning analysis. - - &425 + - &422 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 @@ -32452,7 +32452,7 @@ paths: be returned. in: query required: false - schema: &427 + schema: &424 type: string description: State of a code scanning alert. enum: @@ -32475,7 +32475,7 @@ paths: be returned. in: query required: false - schema: &428 + schema: &425 type: string description: Severity of a code scanning alert. enum: @@ -32509,7 +32509,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: &429 + instances_url: &426 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -32531,7 +32531,7 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: &430 + dismissed_reason: &427 type: - string - 'null' @@ -32542,14 +32542,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &431 + dismissed_comment: &428 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &432 + rule: &429 type: object properties: id: @@ -32610,7 +32610,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &433 + tool: &430 type: object properties: name: *187 @@ -32621,26 +32621,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *188 - most_recent_instance: &434 + most_recent_instance: &431 type: object properties: - ref: &426 + ref: &423 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &444 + analysis_key: &441 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &445 + environment: &442 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &446 + category: &443 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -32660,7 +32660,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &447 + location: &444 type: object description: Describe a region within a file for the alert. properties: @@ -32681,7 +32681,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &448 + items: &445 type: - string - 'null' @@ -34016,7 +34016,7 @@ paths: machine: anyOf: - type: 'null' - - &460 + - &457 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -34968,7 +34968,7 @@ paths: - updated_at - visibility examples: - default: &461 + default: &458 value: total_count: 2 secrets: @@ -35006,7 +35006,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &459 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -35041,7 +35041,7 @@ paths: - key_id - key examples: - default: &463 + default: &460 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35073,7 +35073,7 @@ paths: application/json: schema: *195 examples: - default: &465 + default: &462 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38074,490 +38074,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-content-exclusion-management - "/orgs/{org}/copilot/metrics": - get: - summary: Get Copilot metrics for an organization - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. - Only organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization - parameters: - - *74 - - 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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &333 - title: Copilot Usage Metrics - description: Copilot usage metrics for a given day. - type: object - properties: - date: - type: string - format: date - description: The date for which the usage metrics are aggregated, - in `YYYY-MM-DD` format. - total_active_users: - type: integer - description: The total number of Copilot users with activity - belonging to any Copilot feature, globally, for the given - day. Includes passive activity such as receiving a code suggestion, - as well as engagement activity such as accepting a code suggestion - or prompting chat. Does not include authentication events. - Is not limited to the individual features detailed on the - endpoint. - total_engaged_users: - type: integer - description: The total number of Copilot users who engaged with - any Copilot feature, for the given day. Examples include but - are not limited to accepting a code suggestion, prompting - Copilot chat, or triggering a PR Summary. Does not include - authentication events. Is not limited to the individual features - detailed on the endpoint. - copilot_ide_code_completions: - type: - - object - - 'null' - description: Usage metrics for Copilot editor code completions - in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot - code suggestion, across all active editors. Includes both - full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages. - items: - type: object - description: Usage metrics for a given language for the - given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot - code completion suggestions. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - language. Includes both full and partial acceptances. - editors: - type: array - items: - type: object - description: Copilot code completion metrics for active - editors. - additionalProperties: true - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - editor. Includes both full and partial acceptances. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - code completion suggestions. If the default - model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: Number of users who accepted at - least one Copilot code completion suggestion - for the given editor, for the given language - and model. Includes both full and partial - acceptances. - languages: - type: array - description: Code completion metrics for active - languages, for the given editor. - items: - type: object - description: Usage metrics for a given language - for the given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used - for Copilot code completion suggestions, - for the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted - at least one Copilot code completion - suggestion for the given editor, for - the given language. Includes both full - and partial acceptances. - total_code_suggestions: - type: integer - description: The number of Copilot code - suggestions generated for the given - editor, for the given language. - total_code_acceptances: - type: integer - description: The number of Copilot code - suggestions accepted for the given editor, - for the given language. Includes both - full and partial acceptances. - total_code_lines_suggested: - type: integer - description: The number of lines of code - suggested by Copilot code completions - for the given editor, for the given - language. - total_code_lines_accepted: - type: integer - description: The number of lines of code - accepted from Copilot code suggestions - for the given editor, for the given - language. - copilot_ide_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat in the IDE. - editors: - type: array - items: - type: object - description: Copilot Chat metrics, for active editors. - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot - Chat in the specified editor. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - Chat. If the default model is used will appear - as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: The number of users who prompted - Copilot Chat in the given editor and model. - total_chats: - type: integer - description: The total number of chats initiated - by users in the given editor and model. - total_chat_insertion_events: - type: integer - description: The number of times users accepted - a code suggestion from Copilot Chat using - the 'Insert Code' UI element, for the given - editor. - total_chat_copy_events: - type: integer - description: The number of times users copied - a code suggestion from Copilot Chat using - the keyboard, or the 'Copy' UI element, for - the given editor. - copilot_dotcom_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in GitHub.com - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once. - models: - type: array - description: List of model metrics for a custom models and - the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. - If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or - default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model - (if applicable). - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once for each model. - total_chats: - type: integer - description: Total number of chats initiated by users - on github.com. - copilot_dotcom_pull_requests: - type: - - object - - 'null' - description: Usage metrics for Copilot for pull requests. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: The number of users who used Copilot for Pull - Requests on github.com to generate a pull request summary - at least once. - repositories: - type: array - description: Repositories in which users used Copilot for - Pull Requests to generate pull request summaries - items: - type: object - properties: - name: - type: string - description: Repository name - total_engaged_users: - type: integer - description: The number of users who generated pull - request summaries using Copilot for Pull Requests - in the given repository. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - pull request summaries. If the default model - is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_pr_summaries_created: - type: integer - description: The number of pull request summaries - generated using Copilot for Pull Requests - in the given repository. - total_engaged_users: - type: integer - description: The number of users who generated - pull request summaries using Copilot for Pull - Requests in the given repository and model. - required: - - date - additionalProperties: true - examples: - default: &334 - value: - - date: '2024-06-24' - total_active_users: 24 - total_engaged_users: 20 - copilot_ide_code_completions: - total_engaged_users: 20 - languages: - - name: python - total_engaged_users: 10 - - name: ruby - total_engaged_users: 10 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 13 - languages: - - name: python - total_engaged_users: 6 - total_code_suggestions: 249 - total_code_acceptances: 123 - total_code_lines_suggested: 225 - total_code_lines_accepted: 135 - - name: ruby - total_engaged_users: 7 - total_code_suggestions: 496 - total_code_acceptances: 253 - total_code_lines_suggested: 520 - total_code_lines_accepted: 270 - - name: neovim - total_engaged_users: 7 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - languages: - - name: typescript - total_engaged_users: 3 - total_code_suggestions: 112 - total_code_acceptances: 56 - total_code_lines_suggested: 143 - total_code_lines_accepted: 61 - - name: go - total_engaged_users: 4 - total_code_suggestions: 132 - total_code_acceptances: 67 - total_code_lines_suggested: 154 - total_code_lines_accepted: 72 - copilot_ide_chat: - total_engaged_users: 13 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 12 - total_chats: 45 - total_chat_insertion_events: 12 - total_chat_copy_events: 16 - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_engaged_users: 1 - total_chats: 10 - total_chat_insertion_events: 11 - total_chat_copy_events: 3 - copilot_dotcom_chat: - total_engaged_users: 14 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 14 - total_chats: 38 - copilot_dotcom_pull_requests: - total_engaged_users: 12 - repositories: - - name: demo/repo1 - total_engaged_users: 8 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_pr_summaries_created: 6 - total_engaged_users: 8 - - name: demo/repo2 - total_engaged_users: 4 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_pr_summaries_created: 10 - total_engaged_users: 4 - '500': *53 - '403': *27 - '404': *6 - '422': &335 - description: Copilot Usage Metrics API setting is disabled at the organization - or enterprise level. - content: - application/json: - schema: *3 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/copilot/metrics/reports/organization-1-day": get: summary: Get Copilot organization usage metrics for a specific day @@ -39119,7 +38635,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &490 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -39138,7 +38654,7 @@ paths: - key_id - key examples: - default: &494 + default: &491 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40972,7 +40488,7 @@ paths: application/json: schema: *20 examples: - default: &531 + default: &528 value: id: 1 account: @@ -41200,7 +40716,7 @@ paths: required: true content: application/json: - schema: &532 + schema: &529 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -42019,7 +41535,7 @@ paths: type: array items: *245 examples: - default: &535 + default: &533 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -42554,7 +42070,7 @@ paths: application/json: schema: *250 examples: - default: &459 + default: &456 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -43833,7 +43349,7 @@ paths: parameters: - *74 - *257 - - &685 + - &683 name: repo_name description: repo_name parameter in: path @@ -44912,7 +44428,7 @@ paths: - nuget - container - *74 - - &686 + - &684 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44953,7 +44469,7 @@ paths: default: *263 '403': *27 '401': *23 - '400': &688 + '400': &686 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -47084,7 +46600,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &771 + - &769 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -47358,7 +46874,7 @@ paths: content: oneOf: - *82 - - &474 + - &471 title: Pull Request Simple description: Pull Request Simple type: object @@ -47597,7 +47113,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &579 + auto_merge: &577 title: Auto merge description: The status of auto merging a pull request. type: @@ -48054,7 +47570,7 @@ paths: - updated_at - project_url examples: - default: &708 + default: &706 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48231,7 +47747,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &709 + items: &707 type: object properties: name: @@ -48268,7 +47784,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &710 + iteration_configuration: &708 type: object description: The configuration for iteration fields. properties: @@ -48318,7 +47834,7 @@ paths: value: name: Due date data_type: date - single_select_field: &711 + single_select_field: &709 summary: Create a single select field value: name: Priority @@ -48345,7 +47861,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &712 + iteration_field: &710 summary: Create an iteration field value: name: Sprint @@ -48371,7 +47887,7 @@ paths: application/json: schema: *283 examples: - text_field: &713 + text_field: &711 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -48380,7 +47896,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &714 + number_field: &712 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -48389,7 +47905,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &715 + date_field: &713 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -48398,7 +47914,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &716 + single_select_field: &714 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48432,7 +47948,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &717 + iteration_field: &715 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -48478,7 +47994,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *280 - - &718 + - &716 name: field_id description: The unique identifier of the field. in: path @@ -48493,7 +48009,7 @@ paths: application/json: schema: *283 examples: - default: &719 + default: &717 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49704,7 +49220,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &699 + schema: &697 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -49887,7 +49403,7 @@ paths: parameters: - *280 - *74 - - &720 + - &718 name: view_number description: The number that identifies the project view. in: path @@ -50850,7 +50366,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &340 title: Full Repository description: Full Repository type: object @@ -51328,7 +50844,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &479 + code_of_conduct: &476 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -51453,7 +50969,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &345 + default: &342 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51986,7 +51502,7 @@ paths: - *74 - *17 - *19 - - &601 + - &599 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52273,7 +51789,7 @@ paths: - object rules: type: array - items: &602 + items: &600 title: Repository Rule type: object description: A repository rule. @@ -52335,7 +51851,7 @@ paths: type: string enum: - required_linear_history - - &600 + - &598 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -53237,7 +52753,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &603 + - &601 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 @@ -53252,7 +52768,7 @@ paths: in: query schema: type: string - - &604 + - &602 name: time_period description: |- The time period to filter by. @@ -53268,14 +52784,14 @@ paths: - week - month default: day - - &605 + - &603 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 - - &606 + - &604 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -53288,7 +52804,7 @@ paths: - bypass - all default: all - - &607 + - &605 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -53311,7 +52827,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &606 title: Rule Suites description: Response type: array @@ -53367,7 +52883,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &609 + default: &607 value: - id: 21 actor_id: 12 @@ -53411,7 +52927,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &610 + - &608 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53427,7 +52943,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &609 title: Rule Suite description: Response type: object @@ -53534,7 +53050,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &612 + default: &610 value: id: 21 actor_id: 12 @@ -53781,7 +53297,7 @@ paths: type: string format: date-time examples: - default: &614 + default: &612 value: - version_id: 3 actor: @@ -53834,7 +53350,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &613 allOf: - *326 - type: object @@ -53906,7 +53422,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &616 + - &614 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53917,7 +53433,7 @@ paths: enum: - open - resolved - - &617 + - &615 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53927,7 +53443,7 @@ paths: required: false schema: type: string - - &618 + - &616 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53938,7 +53454,7 @@ paths: required: false schema: type: string - - &619 + - &617 name: exclude_providers in: query description: |- @@ -53949,7 +53465,7 @@ paths: required: false schema: type: string - - &620 + - &618 name: providers in: query description: |- @@ -53960,7 +53476,7 @@ paths: required: false schema: type: string - - &621 + - &619 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53969,7 +53485,7 @@ paths: required: false schema: type: string - - &622 + - &620 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53988,7 +53504,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &623 + - &621 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. @@ -54003,7 +53519,7 @@ paths: - *60 - *19 - *17 - - &624 + - &622 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 @@ -54013,7 +53529,7 @@ paths: required: false schema: type: string - - &625 + - &623 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 @@ -54023,7 +53539,7 @@ paths: required: false schema: type: string - - &626 + - &624 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -54032,7 +53548,7 @@ paths: required: false schema: type: string - - &627 + - &625 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -54041,7 +53557,7 @@ paths: schema: type: boolean default: false - - &628 + - &626 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -54050,7 +53566,7 @@ paths: schema: type: boolean default: false - - &629 + - &627 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -54059,7 +53575,7 @@ paths: schema: type: boolean default: false - - &630 + - &628 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -54093,14 +53609,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &631 + state: &629 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: &632 + resolution: &630 type: - string - 'null' @@ -54219,14 +53735,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &633 + - &631 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &635 + - &633 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -54290,7 +53806,7 @@ paths: - blob_url - commit_sha - commit_url - - &636 + - &634 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -54351,7 +53867,7 @@ paths: - page_url - commit_sha - commit_url - - &637 + - &635 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -54373,7 +53889,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &638 + - &636 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -54395,7 +53911,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &639 + - &637 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -54417,7 +53933,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &640 + - &638 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -54432,7 +53948,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &641 + - &639 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -54447,7 +53963,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &642 + - &640 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -54462,7 +53978,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &643 + - &641 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -54484,7 +54000,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &644 + - &642 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -54506,7 +54022,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &645 + - &643 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -54528,7 +54044,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &646 + - &644 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -54550,7 +54066,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &647 + - &645 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -55071,7 +54587,7 @@ paths: application/json: schema: type: array - items: &651 + items: &649 description: A repository security advisory. type: object properties: @@ -55422,7 +54938,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &652 + default: &650 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -56547,75 +56063,6 @@ paths: enabledForGitHubApps: true category: orgs subcategory: network-configurations - "/orgs/{org}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for a team - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. - Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team - parameters: - - *74 - - *76 - - 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 100 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 100). - For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *333 - examples: - default: *334 - '500': *53 - '403': *27 - '404': *6 - '422': *335 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -56746,7 +56193,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &333 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -57145,7 +56592,7 @@ paths: - repos_count - organization examples: - default: &337 + default: &334 value: id: 1 node_id: MDQ6VGVhbTE= @@ -57233,9 +56680,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 x-github: githubCloudOnly: false @@ -57320,16 +56767,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '201': description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 '422': *15 '403': *27 @@ -57359,7 +56806,7 @@ paths: responses: '204': description: Response - '422': &338 + '422': &335 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -57398,7 +56845,7 @@ paths: default: *240 headers: Link: *66 - '422': *338 + '422': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57480,7 +56927,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &336 title: Team Membership description: Team Membership type: object @@ -57508,7 +56955,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &667 + response-if-user-is-a-team-maintainer: &665 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57571,9 +57018,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: &668 + response-if-users-membership-with-team-is-now-pending: &666 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57680,14 +57127,14 @@ paths: parameters: - *74 - *76 - - *340 - - *341 + - *337 + - *338 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &669 + schema: &667 title: Team Repository description: A team's access to a repository. type: object @@ -58415,8 +57862,8 @@ paths: parameters: - *74 - *76 - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -58463,8 +57910,8 @@ paths: parameters: - *74 - *76 - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -58501,7 +57948,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: &670 + response-if-child-teams-exist: &668 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58629,7 +58076,6 @@ paths: * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)." * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." - * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)." * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." @@ -58655,7 +58101,7 @@ paths: resources: type: object properties: - core: &342 + core: &339 title: Rate Limit type: object properties: @@ -58672,21 +58118,21 @@ paths: - remaining - reset - used - graphql: *342 - search: *342 - code_search: *342 - source_import: *342 - integration_manifest: *342 - code_scanning_upload: *342 - actions_runner_registration: *342 - scim: *342 - dependency_snapshots: *342 - dependency_sbom: *342 - code_scanning_autofix: *342 + graphql: *339 + search: *339 + code_search: *339 + source_import: *339 + integration_manifest: *339 + actions_runner_registration: *339 + scim: *339 + dependency_snapshots: *339 + dependency_sbom: *339 + code_scanning_autofix: *339 + copilot_usage_records: *339 required: - core - search - rate: *342 + rate: *339 required: - rate - resources @@ -58727,11 +58173,6 @@ paths: used: 1 remaining: 99 reset: 1691591091 - code_scanning_upload: - limit: 500 - used: 1 - remaining: 499 - reset: 1691594631 actions_runner_registration: limit: 10000 used: 0 @@ -58805,14 +58246,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *343 + schema: *340 examples: default-response: summary: Default response @@ -59323,7 +58764,7 @@ paths: version: '2026-03-10' '403': *27 '404': *6 - '301': *344 + '301': *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59341,8 +58782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -59653,10 +59094,10 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 - '307': &346 + default: *342 + '307': &343 description: Temporary Redirect content: application/json: @@ -59685,8 +59126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -59708,7 +59149,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *346 + '307': *343 '404': *6 '409': *52 x-github: @@ -59732,11 +59173,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - - &378 + - &375 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59759,7 +59200,7 @@ paths: type: integer artifacts: type: array - items: &347 + items: &344 title: Artifact description: An artifact type: object @@ -59854,7 +59295,7 @@ paths: - expires_at - updated_at examples: - default: &379 + default: &376 value: total_count: 2 artifacts: @@ -59915,9 +59356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *340 - - *341 - - &348 + - *337 + - *338 + - &345 name: artifact_id description: The unique identifier of the artifact. in: path @@ -59929,7 +59370,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *344 examples: default: value: @@ -59967,9 +59408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *340 - - *341 - - *348 + - *337 + - *338 + - *345 responses: '204': description: Response @@ -59993,9 +59434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *340 - - *341 - - *348 + - *337 + - *338 + - *345 - name: archive_format in: path required: true @@ -60005,11 +59446,11 @@ paths: '302': description: Response headers: - Location: &496 + Location: &493 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': &536 + '410': &534 description: Gone content: application/json: @@ -60034,14 +59475,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &349 + schema: &346 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -60075,13 +59516,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *349 + schema: *346 examples: selected_actions: *40 responses: @@ -60110,14 +59551,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &350 + schema: &347 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -60151,13 +59592,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *350 + schema: *347 examples: selected_actions: *42 responses: @@ -60188,14 +59629,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *351 + schema: *348 examples: default: value: @@ -60221,11 +59662,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - - &352 + - &349 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 @@ -60259,7 +59700,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &350 title: Repository actions caches description: Repository actions caches type: object @@ -60309,7 +59750,7 @@ paths: - total_count - actions_caches examples: - default: &354 + default: &351 value: total_count: 1 actions_caches: @@ -60341,23 +59782,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: - - *340 - - *341 + - *337 + - *338 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *352 + - *349 responses: '200': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60377,8 +59818,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: - - *340 - - *341 + - *337 + - *338 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60407,8 +59848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *46 responses: @@ -60491,8 +59932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -60648,9 +60089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *340 - - *341 - - &355 + - *337 + - *338 + - &352 name: job_id description: The unique identifier of the job. in: path @@ -60662,7 +60103,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &379 title: Job description: Information of a job execution in a workflow run type: object @@ -61009,9 +60450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *340 - - *341 - - *355 + - *337 + - *338 + - *352 responses: '302': description: Response @@ -61039,9 +60480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *340 - - *341 - - *355 + - *337 + - *338 + - *352 requestBody: required: false content: @@ -61092,8 +60533,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Status response @@ -61152,8 +60593,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -61221,8 +60662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -61240,7 +60681,7 @@ paths: type: integer secrets: type: array - items: &384 + items: &381 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -61261,7 +60702,7 @@ paths: - created_at - updated_at examples: - default: &385 + default: &382 value: total_count: 2 secrets: @@ -61294,8 +60735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -61313,7 +60754,7 @@ paths: type: integer variables: type: array - items: &386 + items: &383 title: Actions Variable type: object properties: @@ -61347,7 +60788,7 @@ paths: - created_at - updated_at examples: - default: &387 + default: &384 value: total_count: 2 variables: @@ -61380,8 +60821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -61390,11 +60831,11 @@ paths: schema: type: object properties: - enabled: &357 + enabled: &354 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *140 - selected_actions_url: *356 + selected_actions_url: *353 sha_pinning_required: *141 required: - enabled @@ -61423,8 +60864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -61435,7 +60876,7 @@ paths: schema: type: object properties: - enabled: *357 + enabled: *354 allowed_actions: *140 sha_pinning_required: *141 required: @@ -61467,14 +60908,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &358 + schema: &355 type: object properties: access_level: @@ -61491,7 +60932,7 @@ paths: required: - access_level examples: - default: &359 + default: &356 value: access_level: organization x-github: @@ -61515,15 +60956,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *358 + schema: *355 examples: - default: *359 + default: *356 responses: '204': description: Response @@ -61547,14 +60988,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *360 + schema: *357 examples: default: value: @@ -61578,8 +61019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Empty response for successful settings update @@ -61589,7 +61030,7 @@ paths: required: true content: application/json: - schema: *361 + schema: *358 examples: default: summary: Set retention days @@ -61613,8 +61054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -61622,7 +61063,7 @@ paths: application/json: schema: *142 examples: - default: *362 + default: *359 '404': *6 x-github: enabledForGitHubApps: true @@ -61641,8 +61082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -61676,14 +61117,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *363 + schema: *360 examples: default: *143 '403': *27 @@ -61705,13 +61146,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *364 + schema: *361 examples: default: *143 responses: @@ -61737,8 +61178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -61765,8 +61206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -61798,14 +61239,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *365 + schema: *362 examples: default: *150 x-github: @@ -61828,8 +61269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Success response @@ -61840,7 +61281,7 @@ paths: required: true content: application/json: - schema: *366 + schema: *363 examples: default: *150 x-github: @@ -61869,8 +61310,8 @@ paths: in: query schema: type: string - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -61914,8 +61355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -61923,9 +61364,9 @@ paths: application/json: schema: type: array - items: *367 + items: *364 examples: - default: *368 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61947,8 +61388,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -61991,7 +61432,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *369 + '201': *366 '404': *6 '422': *7 '409': *52 @@ -62022,8 +61463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -62031,7 +61472,7 @@ paths: application/json: schema: *159 examples: - default: *370 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62059,8 +61500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -62068,7 +61509,7 @@ paths: application/json: schema: *159 examples: - default: *371 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62090,8 +61531,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: '200': @@ -62100,7 +61541,7 @@ paths: application/json: schema: *157 examples: - default: *372 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62121,8 +61562,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: '204': @@ -62149,8 +61590,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: '200': *161 @@ -62175,8 +61616,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: - - *340 - - *341 + - *337 + - *338 - *156 requestBody: required: true @@ -62225,8 +61666,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: - - *340 - - *341 + - *337 + - *338 - *156 requestBody: required: true @@ -62276,11 +61717,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: - - *340 - - *341 + - *337 + - *338 - *156 responses: - '200': *373 + '200': *370 '404': *6 x-github: githubCloudOnly: false @@ -62307,10 +61748,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: - - *340 - - *341 + - *337 + - *338 - *156 - - *374 + - *371 responses: '200': *161 '404': *6 @@ -62338,9 +61779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *340 - - *341 - - &390 + - *337 + - *338 + - &387 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. @@ -62348,7 +61789,7 @@ paths: required: false schema: type: string - - &391 + - &388 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62356,7 +61797,7 @@ paths: required: false schema: type: string - - &392 + - &389 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62365,7 +61806,7 @@ paths: required: false schema: type: string - - &393 + - &390 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 @@ -62392,7 +61833,7 @@ paths: - pending - *17 - *19 - - &394 + - &391 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)." @@ -62401,7 +61842,7 @@ paths: schema: type: string format: date-time - - &375 + - &372 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62410,13 +61851,13 @@ paths: schema: type: boolean default: false - - &395 + - &392 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &396 + - &393 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62439,7 +61880,7 @@ paths: type: integer workflow_runs: type: array - items: &376 + items: &373 title: Workflow Run description: An invocation of a workflow type: object @@ -62617,7 +62058,7 @@ paths: head_commit: anyOf: - type: 'null' - - &420 + - &417 title: Simple Commit description: A commit. type: object @@ -62732,7 +62173,7 @@ paths: - workflow_url - pull_requests examples: - default: &397 + default: &394 value: total_count: 1 workflow_runs: @@ -62968,24 +62409,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *340 - - *341 - - &377 + - *337 + - *338 + - &374 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *375 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: &380 + default: &377 value: id: 30433642 name: Build @@ -63226,9 +62667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '204': description: Response @@ -63251,9 +62692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '200': description: Response @@ -63381,9 +62822,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: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '201': description: Response @@ -63416,12 +62857,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 - *17 - *19 - - *378 + - *375 - *60 responses: '200': @@ -63438,9 +62879,9 @@ paths: type: integer artifacts: type: array - items: *347 + items: *344 examples: - default: *379 + default: *376 headers: Link: *66 x-github: @@ -63464,25 +62905,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *340 - - *341 - - *377 - - &381 + - *337 + - *338 + - *374 + - &378 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *375 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *380 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63505,10 +62946,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *340 - - *341 - - *377 - - *381 + - *337 + - *338 + - *374 + - *378 - *17 - *19 responses: @@ -63526,9 +62967,9 @@ paths: type: integer jobs: type: array - items: *382 + items: *379 examples: - default: &383 + default: &380 value: total_count: 1 jobs: @@ -63641,10 +63082,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *340 - - *341 - - *377 - - *381 + - *337 + - *338 + - *374 + - *378 responses: '302': description: Response @@ -63672,9 +63113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '202': description: Response @@ -63720,9 +63161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 - *17 - *45 - *46 @@ -63899,9 +63340,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: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: true content: @@ -63968,9 +63409,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '202': description: Response @@ -64003,9 +63444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 - 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 @@ -64035,9 +63476,9 @@ paths: type: integer jobs: type: array - items: *382 + items: *379 examples: - default: *383 + default: *380 headers: Link: *66 x-github: @@ -64062,9 +63503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '302': description: Response @@ -64091,9 +63532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '204': description: Response @@ -64120,9 +63561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '200': description: Response @@ -64191,7 +63632,7 @@ paths: items: type: object properties: - type: &503 + type: &500 type: string description: The type of reviewer. enum: @@ -64277,9 +63718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: true content: @@ -64329,7 +63770,7 @@ paths: application/json: schema: type: array - items: &498 + items: &495 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -64441,7 +63882,7 @@ paths: - created_at - updated_at examples: - default: &499 + default: &496 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -64497,9 +63938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: false content: @@ -64544,9 +63985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 requestBody: required: false content: @@ -64600,9 +64041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *340 - - *341 - - *377 + - *337 + - *338 + - *374 responses: '200': description: Response @@ -64739,8 +64180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -64758,9 +64199,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -64785,8 +64226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -64816,17 +64257,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: &398 + default: &395 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64852,8 +64293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -64911,8 +64352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -64938,8 +64379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -64957,9 +64398,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -64982,8 +64423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -65035,17 +64476,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '200': description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: &399 + default: &396 value: name: USERNAME value: octocat @@ -65071,8 +64512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 requestBody: required: true @@ -65115,8 +64556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '204': @@ -65142,8 +64583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -65161,7 +64602,7 @@ paths: type: integer workflows: type: array - items: &388 + items: &385 title: Workflow description: A GitHub Actions workflow type: object @@ -65279,9 +64720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *340 - - *341 - - &389 + - *337 + - *338 + - &386 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -65296,7 +64737,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *385 examples: default: value: @@ -65329,9 +64770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '204': description: Response @@ -65356,9 +64797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -65456,9 +64897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '204': description: Response @@ -65485,19 +64926,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *340 - - *341 + - *337 + - *338 + - *386 + - *387 + - *388 - *389 - *390 + - *17 + - *19 - *391 + - *372 - *392 - *393 - - *17 - - *19 - - *394 - - *375 - - *395 - - *396 responses: '200': description: Response @@ -65513,9 +64954,9 @@ paths: type: integer workflow_runs: type: array - items: *376 + items: *373 examples: - default: *397 + default: *394 headers: Link: *66 x-github: @@ -65547,9 +64988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *340 - - *341 - - *389 + - *337 + - *338 + - *386 responses: '200': description: Response @@ -65610,8 +65051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *340 - - *341 + - *337 + - *338 - *60 - *17 - *45 @@ -65784,8 +65225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -65803,9 +65244,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -65829,8 +65270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -65848,9 +65289,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -65875,8 +65316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -65894,9 +65335,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -65921,8 +65362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -65952,17 +65393,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *398 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65984,8 +65425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -66043,8 +65484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -66070,8 +65511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *340 - - *341 + - *337 + - *338 - *172 - *19 responses: @@ -66089,9 +65530,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -66114,8 +65555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -66167,17 +65608,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '200': description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: *399 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66198,8 +65639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 requestBody: required: true @@ -66242,8 +65683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 responses: '204': @@ -66265,8 +65706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -66303,8 +65744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *340 - - *341 + - *337 + - *338 - name: assignee in: path required: true @@ -66340,8 +65781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -66451,8 +65892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *45 - *46 @@ -66509,7 +65950,7 @@ paths: initiator: type: string examples: - default: *400 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66543,8 +65984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -66552,7 +65993,7 @@ paths: application/json: schema: type: array - items: &401 + items: &398 title: Autolink reference description: An autolink reference. type: object @@ -66611,8 +66052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -66651,9 +66092,9 @@ paths: description: response content: application/json: - schema: *401 + schema: *398 examples: - default: &402 + default: &399 value: id: 1 key_prefix: TICKET- @@ -66684,9 +66125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *340 - - *341 - - &403 + - *337 + - *338 + - &400 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66698,9 +66139,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: *402 + default: *399 '404': *6 x-github: githubCloudOnly: false @@ -66720,9 +66161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *340 - - *341 - - *403 + - *337 + - *338 + - *400 responses: '204': description: Response @@ -66746,8 +66187,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response if Dependabot is enabled @@ -66797,8 +66238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -66819,8 +66260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -66840,8 +66281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *340 - - *341 + - *337 + - *338 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -66879,7 +66320,7 @@ paths: - url protected: type: boolean - protection: &405 + protection: &402 title: Branch Protection description: Branch Protection type: object @@ -66922,7 +66363,7 @@ paths: required: - contexts - checks - enforce_admins: &408 + enforce_admins: &405 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -66939,7 +66380,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &410 + required_pull_request_reviews: &407 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67023,7 +66464,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &407 + restrictions: &404 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67316,9 +66757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *340 - - *341 - - &406 + - *337 + - *338 + - &403 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). @@ -67332,14 +66773,14 @@ paths: description: Response content: application/json: - schema: &416 + schema: &413 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &470 + commit: &467 title: Commit description: Commit type: object @@ -67378,7 +66819,7 @@ paths: author: anyOf: - type: 'null' - - &404 + - &401 title: Git User description: Metaproperties for Git author/committer information. @@ -67400,7 +66841,7 @@ paths: committer: anyOf: - type: 'null' - - *404 + - *401 message: type: string examples: @@ -67424,7 +66865,7 @@ paths: required: - sha - url - verification: &521 + verification: &518 title: Verification type: object properties: @@ -67504,7 +66945,7 @@ paths: type: integer files: type: array - items: &481 + items: &478 title: Diff Entry description: Diff Entry type: object @@ -67600,7 +67041,7 @@ paths: - self protected: type: boolean - protection: *405 + protection: *402 protection_url: type: string format: uri @@ -67709,7 +67150,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *344 + '301': *341 '404': *6 x-github: githubCloudOnly: false @@ -67731,15 +67172,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *405 + schema: *402 examples: default: value: @@ -67933,9 +67374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -68195,7 +67636,7 @@ paths: url: type: string format: uri - required_status_checks: &413 + required_status_checks: &410 title: Status Check Policy description: Status Check Policy type: object @@ -68354,7 +67795,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *407 + restrictions: *404 required_conversation_resolution: type: object properties: @@ -68466,9 +67907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -68493,17 +67934,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: &409 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68525,17 +67966,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *409 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68554,9 +67995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -68581,17 +68022,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *410 + schema: *407 examples: - default: &411 + default: &408 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68687,9 +68128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -68787,9 +68228,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *407 examples: - default: *411 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -68810,9 +68251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -68839,17 +68280,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: &412 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68872,17 +68313,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *412 + default: *409 '404': *6 x-github: githubCloudOnly: false @@ -68902,9 +68343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -68929,17 +68370,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *413 + schema: *410 examples: - default: &414 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -68965,9 +68406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -69019,9 +68460,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *410 examples: - default: *414 + default: *411 '404': *6 '422': *15 x-github: @@ -69043,9 +68484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -69069,9 +68510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -69105,9 +68546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -69174,9 +68615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -69240,9 +68681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: content: application/json: @@ -69308,15 +68749,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response content: application/json: - schema: *407 + schema: *404 examples: default: value: @@ -69407,9 +68848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '204': description: Response @@ -69432,9 +68873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -69444,7 +68885,7 @@ paths: type: array items: *5 examples: - default: &415 + default: &412 value: - id: 1 slug: octoapp @@ -69501,9 +68942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69537,7 +68978,7 @@ paths: type: array items: *5 examples: - default: *415 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -69558,9 +68999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69594,7 +69035,7 @@ paths: type: array items: *5 examples: - default: *415 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -69615,9 +69056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69651,7 +69092,7 @@ paths: type: array items: *5 examples: - default: *415 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -69673,9 +69114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -69705,9 +69146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -69766,9 +69207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: false content: @@ -69827,9 +69268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: content: application/json: @@ -69888,9 +69329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 responses: '200': description: Response @@ -69924,9 +69365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -69984,9 +69425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -70044,9 +69485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -70106,9 +69547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 requestBody: required: true content: @@ -70130,7 +69571,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *413 examples: default: value: @@ -70246,8 +69687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -70526,7 +69967,7 @@ paths: description: Response content: application/json: - schema: &417 + schema: &414 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70662,7 +70103,7 @@ paths: check. type: array items: *85 - deployment: &732 + deployment: &730 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70949,9 +70390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *340 - - *341 - - &418 + - *337 + - *338 + - &415 name: check_run_id description: The unique identifier of the check run. in: path @@ -70963,9 +70404,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *414 examples: - default: &419 + default: &416 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71065,9 +70506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *340 - - *341 - - *418 + - *337 + - *338 + - *415 requestBody: required: true content: @@ -71307,9 +70748,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *414 examples: - default: *419 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71329,9 +70770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *340 - - *341 - - *418 + - *337 + - *338 + - *415 - *17 - *19 responses: @@ -71441,9 +70882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *340 - - *341 - - *418 + - *337 + - *338 + - *415 responses: '201': description: Response @@ -71487,8 +70928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -71510,7 +70951,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &421 + schema: &418 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71608,7 +71049,7 @@ paths: - string - 'null' format: date-time - head_commit: *420 + head_commit: *417 latest_check_runs_count: type: integer check_runs_url: @@ -71636,7 +71077,7 @@ paths: - check_runs_url - pull_requests examples: - default: &422 + default: &419 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -71927,9 +71368,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *421 + schema: *418 examples: - default: *422 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71948,8 +71389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -72258,9 +71699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *340 - - *341 - - &423 + - *337 + - *338 + - &420 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72272,9 +71713,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *418 examples: - default: *422 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72297,17 +71738,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *340 - - *341 - - *423 - - &476 + - *337 + - *338 + - *420 + - &473 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &477 + - &474 name: status description: Returns check runs with the specified `status`. in: query @@ -72346,9 +71787,9 @@ paths: type: integer check_runs: type: array - items: *417 + items: *414 examples: - default: &478 + default: &475 value: total_count: 1 check_runs: @@ -72450,9 +71891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *340 - - *341 - - *423 + - *337 + - *338 + - *420 responses: '201': description: Response @@ -72481,8 +71922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -72580,8 +72021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -72711,21 +72152,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *340 - - *341 - - *424 - - *425 + - *337 + - *338 + - *421 + - *422 - *19 - *17 - - &442 + - &439 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: *426 - - &443 + schema: *423 + - &440 name: pr description: The number of the pull request for the results you want to list. in: query @@ -72750,13 +72191,13 @@ paths: be returned. in: query required: false - schema: *427 + schema: *424 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *428 + schema: *425 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -72780,7 +72221,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *429 + instances_url: *426 state: *189 fixed_at: *185 dismissed_by: @@ -72788,11 +72229,11 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *430 - dismissed_comment: *431 - rule: *432 - tool: *433 - most_recent_instance: *434 + dismissed_reason: *427 + dismissed_comment: *428 + rule: *429 + tool: *430 + most_recent_instance: *431 dismissal_approved_by: anyOf: - type: 'null' @@ -72915,7 +72356,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &435 + '403': &432 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -72942,9 +72383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *340 - - *341 - - &436 + - *337 + - *338 + - &433 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72958,7 +72399,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &434 type: object properties: number: *180 @@ -72966,7 +72407,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *429 + instances_url: *426 state: *189 fixed_at: *185 dismissed_by: @@ -72974,8 +72415,8 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_reason: *427 + dismissed_comment: *428 rule: type: object properties: @@ -73037,8 +72478,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *433 - most_recent_instance: *434 + tool: *430 + most_recent_instance: *431 dismissal_approved_by: anyOf: - type: 'null' @@ -73134,7 +72575,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -73154,9 +72595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 requestBody: required: true content: @@ -73171,8 +72612,8 @@ paths: enum: - open - dismissed - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_reason: *427 + dismissed_comment: *428 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73200,7 +72641,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *434 examples: default: value: @@ -73276,7 +72717,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &441 + '403': &438 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73303,15 +72744,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: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 responses: '200': description: Response content: application/json: - schema: &438 + schema: &435 type: object properties: status: @@ -73338,13 +72779,13 @@ paths: - description - started_at examples: - default: &439 + default: &436 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &440 + '400': &437 description: Bad Request content: application/json: @@ -73355,7 +72796,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': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -73380,29 +72821,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: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 responses: '200': description: OK content: application/json: - schema: *438 + schema: *435 examples: - default: *439 + default: *436 '202': description: Accepted content: application/json: - schema: *438 + schema: *435 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *440 + '400': *437 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73434,9 +72875,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: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 requestBody: required: false content: @@ -73482,8 +72923,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *440 - '403': *441 + '400': *437 + '403': *438 '404': *6 '422': description: Unprocessable Entity @@ -73507,13 +72948,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 - *19 - *17 - - *442 - - *443 + - *439 + - *440 responses: '200': description: Response @@ -73524,10 +72965,10 @@ paths: items: type: object properties: - ref: *426 - analysis_key: *444 - environment: *445 - category: *446 + ref: *423 + analysis_key: *441 + environment: *442 + category: *443 state: type: - string @@ -73544,7 +72985,7 @@ paths: properties: text: type: string - location: *447 + location: *444 html_url: type: string classifications: @@ -73552,7 +72993,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *448 + items: *445 examples: default: value: @@ -73589,7 +73030,7 @@ paths: end_column: 50 classifications: - source - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -73623,25 +73064,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *340 - - *341 - - *424 - - *425 + - *337 + - *338 + - *421 + - *422 - *19 - *17 - - *443 + - *440 - 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: *426 + schema: *423 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &449 + schema: &446 type: string description: An identifier for the upload. examples: @@ -73663,23 +73104,23 @@ paths: application/json: schema: type: array - items: &450 + items: &447 type: object properties: - ref: *426 - commit_sha: &458 + ref: *423 + commit_sha: &455 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *444 + analysis_key: *441 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *446 + category: *443 error: type: string examples: @@ -73704,8 +73145,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *449 - tool: *433 + sarif_id: *446 + tool: *430 deletable: type: boolean warning: @@ -73767,7 +73208,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -73803,8 +73244,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: - - *340 - - *341 + - *337 + - *338 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73817,7 +73258,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *447 examples: response: summary: application/json response @@ -73871,7 +73312,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *435 + '403': *432 '404': *6 '422': description: Response if analysis could not be processed @@ -73958,8 +73399,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: - - *340 - - *341 + - *337 + - *338 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74015,7 +73456,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': *441 + '403': *438 '404': *6 '503': *114 x-github: @@ -74037,8 +73478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -74046,7 +73487,7 @@ paths: application/json: schema: type: array - items: &451 + items: &448 title: CodeQL Database description: A CodeQL database. type: object @@ -74158,7 +73599,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': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -74187,8 +73628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: language in: path description: The language of the CodeQL database. @@ -74200,7 +73641,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *448 examples: default: value: @@ -74232,9 +73673,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': &485 + '302': &482 description: Found - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -74256,8 +73697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *340 - - *341 + - *337 + - *338 - name: language in: path description: The language of the CodeQL database. @@ -74267,7 +73708,7 @@ paths: responses: '204': description: Response - '403': *441 + '403': *438 '404': *6 '503': *114 x-github: @@ -74295,8 +73736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -74305,7 +73746,7 @@ paths: type: object additionalProperties: false properties: - language: &452 + language: &449 type: string description: The language targeted by the CodeQL query enum: @@ -74385,7 +73826,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &456 + schema: &453 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74395,7 +73836,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *452 + query_language: *449 query_pack_url: type: string description: The download url for the query pack. @@ -74443,7 +73884,7 @@ paths: items: type: object properties: - repository: &453 + repository: &450 title: Repository Identifier description: Repository Identifier type: object @@ -74485,7 +73926,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &457 + analysis_status: &454 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74517,7 +73958,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &454 + access_mismatch_repos: &451 type: object properties: repository_count: @@ -74532,7 +73973,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: *453 + items: *450 required: - repository_count - repositories @@ -74555,8 +73996,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *454 - over_limit_repos: *454 + no_codeql_db_repos: *451 + over_limit_repos: *451 required: - access_mismatch_repos - not_found_repos @@ -74572,7 +74013,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &455 + value: &452 summary: Default response value: id: 1 @@ -74718,10 +74159,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *455 + value: *452 repository_lists: summary: Response for a successful variant analysis submission - value: *455 + value: *452 '404': *6 '422': description: Unable to process variant analysis submission @@ -74749,8 +74190,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: - - *340 - - *341 + - *337 + - *338 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74762,9 +74203,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: - default: *455 + default: *452 '404': *6 '503': *114 x-github: @@ -74787,7 +74228,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: - - *340 + - *337 - name: repo in: path description: The name of the controller repository. @@ -74822,7 +74263,7 @@ paths: type: object properties: repository: *65 - analysis_status: *457 + analysis_status: *454 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74947,8 +74388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -75058,7 +74499,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *435 + '403': *432 '404': *6 '503': *114 x-github: @@ -75079,8 +74520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -75174,7 +74615,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *441 + '403': *438 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75245,8 +74686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -75254,7 +74695,7 @@ paths: schema: type: object properties: - commit_sha: *458 + commit_sha: *455 ref: type: string description: |- @@ -75314,7 +74755,7 @@ paths: schema: type: object properties: - id: *449 + id: *446 url: type: string description: The REST API URL for checking the status of the upload. @@ -75328,7 +74769,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': *441 + '403': *438 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75351,8 +74792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *340 - - *341 + - *337 + - *338 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75400,7 +74841,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': *435 + '403': *432 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -75425,8 +74866,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -75507,8 +74948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *340 - - *341 + - *337 + - *338 - 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 @@ -75636,8 +75077,8 @@ paths: parameters: - *17 - *19 - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -75951,8 +75392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -76018,7 +75459,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -76026,7 +75467,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '400': *14 '401': *23 '403': *27 @@ -76055,8 +75496,8 @@ paths: parameters: - *17 - *19 - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -76120,8 +75561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76158,9 +75599,9 @@ paths: type: integer machines: type: array - items: *460 + items: *457 examples: - default: &676 + default: &674 value: total_count: 2 machines: @@ -76200,8 +75641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *340 - - *341 + - *337 + - *338 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76288,8 +75729,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: - - *340 - - *341 + - *337 + - *338 - 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 @@ -76358,8 +75799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -76377,7 +75818,7 @@ paths: type: integer secrets: type: array - items: &464 + items: &461 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76398,7 +75839,7 @@ paths: - created_at - updated_at examples: - default: *461 + default: *458 headers: Link: *66 x-github: @@ -76421,16 +75862,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *462 + schema: *459 examples: - default: *463 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76450,17 +75891,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *464 + schema: *461 examples: - default: *465 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76480,8 +75921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -76534,8 +75975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -76564,8 +76005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *340 - - *341 + - *337 + - *338 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76603,7 +76044,7 @@ paths: application/json: schema: type: array - items: &466 + items: &463 title: Collaborator description: Collaborator type: object @@ -76796,8 +76237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *340 - - *341 + - *337 + - *338 - *70 responses: '204': @@ -76844,8 +76285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *340 - - *341 + - *337 + - *338 - *70 requestBody: required: false @@ -76872,7 +76313,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &534 + schema: &532 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77100,8 +76541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *340 - - *341 + - *337 + - *338 - *70 responses: '204': @@ -77133,8 +76574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *340 - - *341 + - *337 + - *338 - *70 responses: '200': @@ -77155,7 +76596,7 @@ paths: user: anyOf: - type: 'null' - - *466 + - *463 required: - permission - role_name @@ -77209,8 +76650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -77220,7 +76661,7 @@ paths: application/json: schema: type: array - items: &467 + items: &464 title: Commit Comment description: Commit Comment type: object @@ -77278,7 +76719,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &469 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77337,17 +76778,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: &473 + default: &470 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77404,8 +76845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -77428,7 +76869,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: default: value: @@ -77479,8 +76920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -77502,8 +76943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77530,7 +76971,7 @@ paths: application/json: schema: type: array - items: &468 + items: &465 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -77574,7 +77015,7 @@ paths: - content - created_at examples: - default: &538 + default: &536 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77619,8 +77060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -77653,9 +77094,9 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: &469 + default: &466 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77684,9 +77125,9 @@ paths: description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -77708,10 +77149,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *340 - - *341 + - *337 + - *338 - *96 - - &539 + - &537 name: reaction_id description: The unique identifier of the reaction. in: path @@ -77766,8 +77207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *340 - - *341 + - *337 + - *338 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77823,9 +77264,9 @@ paths: application/json: schema: type: array - items: *470 + items: *467 examples: - default: &586 + default: &584 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77919,9 +77360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *340 - - *341 - - &471 + - *337 + - *338 + - &468 name: commit_sha description: The SHA of the commit. in: path @@ -77993,9 +77434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 - *17 - *19 responses: @@ -78005,9 +77446,9 @@ paths: application/json: schema: type: array - items: *467 + items: *464 examples: - default: *472 + default: *469 headers: Link: *66 x-github: @@ -78035,9 +77476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 requestBody: required: true content: @@ -78072,9 +77513,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *473 + default: *470 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78102,9 +77543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 - *17 - *19 responses: @@ -78114,9 +77555,9 @@ paths: application/json: schema: type: array - items: *474 + items: *471 examples: - default: &578 + default: &576 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78653,11 +78094,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *340 - - *341 + - *337 + - *338 - *19 - *17 - - &475 + - &472 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)" @@ -78672,9 +78113,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *467 examples: - default: &566 + default: &564 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78762,7 +78203,7 @@ paths: schema: type: string examples: - default: &482 + default: &479 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -78775,7 +78216,7 @@ paths: schema: type: string examples: - default: &483 + default: &480 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -78828,11 +78269,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *340 - - *341 - - *475 - - *476 - - *477 + - *337 + - *338 + - *472 + - *473 + - *474 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78866,9 +78307,9 @@ paths: type: integer check_runs: type: array - items: *417 + items: *414 examples: - default: *478 + default: *475 headers: Link: *66 x-github: @@ -78893,9 +78334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *340 - - *341 - - *475 + - *337 + - *338 + - *472 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78903,7 +78344,7 @@ paths: schema: type: integer example: 1 - - *476 + - *473 - *17 - *19 responses: @@ -78921,7 +78362,7 @@ paths: type: integer check_suites: type: array - items: *421 + items: *418 examples: default: value: @@ -79121,9 +78562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *340 - - *341 - - *475 + - *337 + - *338 + - *472 - *17 - *19 responses: @@ -79325,9 +78766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *340 - - *341 - - *475 + - *337 + - *338 + - *472 - *17 - *19 responses: @@ -79337,7 +78778,7 @@ paths: application/json: schema: type: array - items: &656 + items: &654 title: Status description: The status of a commit. type: object @@ -79418,7 +78859,7 @@ paths: site_admin: false headers: Link: *66 - '301': *344 + '301': *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79446,8 +78887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -79480,11 +78921,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *479 + - *476 code_of_conduct_file: anyOf: - type: 'null' - - &480 + - &477 title: Community Health File type: object properties: @@ -79504,19 +78945,19 @@ paths: contributing: anyOf: - type: 'null' - - *480 + - *477 readme: anyOf: - type: 'null' - - *480 + - *477 issue_template: anyOf: - type: 'null' - - *480 + - *477 pull_request_template: anyOf: - type: 'null' - - *480 + - *477 required: - code_of_conduct - code_of_conduct_file @@ -79645,8 +79086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *340 - - *341 + - *337 + - *338 - *19 - *17 - name: basehead @@ -79694,8 +79135,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *470 - merge_base_commit: *470 + base_commit: *467 + merge_base_commit: *467 status: type: string enum: @@ -79719,10 +79160,10 @@ paths: - 6 commits: type: array - items: *470 + items: *467 files: type: array - items: *481 + items: *478 required: - url - html_url @@ -79968,12 +79409,12 @@ paths: schema: type: string examples: - default: *482 + default: *479 application/vnd.github.patch: schema: type: string examples: - default: *483 + default: *480 '404': *6 '500': *53 '503': *114 @@ -80018,8 +79459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *340 - - *341 + - *337 + - *338 - name: path description: path parameter in: path @@ -80189,7 +79630,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &484 + response-if-content-is-a-file-github-object: &481 summary: Response if content is a file value: type: file @@ -80326,7 +79767,7 @@ paths: - size - type - url - - &591 + - &589 title: Content File description: Content File type: object @@ -80544,7 +79985,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *484 + response-if-content-is-a-file: *481 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80613,7 +80054,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *485 + '302': *482 '304': *35 x-github: githubCloudOnly: false @@ -80666,8 +80107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *340 - - *341 + - *337 + - *338 - name: path description: path parameter in: path @@ -80762,7 +80203,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &483 title: File Commit description: File Commit type: object @@ -80918,7 +80359,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: example-for-creating-a-file: value: @@ -80972,7 +80413,7 @@ paths: schema: oneOf: - *3 - - &516 + - &513 description: Repository rule violation was detected type: object properties: @@ -80993,7 +80434,7 @@ paths: items: type: object properties: - placeholder_id: &648 + placeholder_id: &646 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81025,8 +80466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *340 - - *341 + - *337 + - *338 - name: path description: path parameter in: path @@ -81087,7 +80528,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: default: value: @@ -81142,8 +80583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *340 - - *341 + - *337 + - *338 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81273,8 +80714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -81407,8 +80848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *202 - *203 - *204 @@ -81421,7 +80862,7 @@ paths: schema: type: string - *207 - - *487 + - *484 - *208 - *209 - *210 @@ -81436,7 +80877,7 @@ paths: application/json: schema: type: array - items: &491 + items: &488 type: object description: A Dependabot alert. properties: @@ -81487,7 +80928,7 @@ paths: - transitive - inconclusive - - security_advisory: *488 + security_advisory: *485 security_vulnerability: *64 url: *183 html_url: *184 @@ -81518,8 +80959,8 @@ paths: dismissal. maxLength: 280 fixed_at: *185 - auto_dismissed_at: *489 - dismissal_request: *490 + auto_dismissed_at: *486 + dismissal_request: *487 assignees: type: array description: The users assigned to this alert. @@ -81774,9 +81215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *340 - - *341 - - &492 + - *337 + - *338 + - &489 name: alert_number in: path description: |- @@ -81791,7 +81232,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: default: value: @@ -81923,9 +81364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *340 - - *341 - - *492 + - *337 + - *338 + - *489 requestBody: required: true content: @@ -81962,6 +81403,7 @@ paths: Usernames to assign to this Dependabot Alert. Pass one or more user logins to _replace_ the set of assignees on this alert. Send an empty array (`[]`) to clear all assignees from the alert. + To assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`). items: type: string anyOf: @@ -81981,7 +81423,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: default: value: @@ -82111,8 +81553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -82130,7 +81572,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &492 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82184,16 +81626,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *493 + schema: *490 examples: - default: *494 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82213,15 +81655,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '200': description: Response content: application/json: - schema: *495 + schema: *492 examples: default: value: @@ -82247,8 +81689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 requestBody: required: true @@ -82301,8 +81743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *340 - - *341 + - *337 + - *338 - *163 responses: '204': @@ -82325,8 +81767,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: - - *340 - - *341 + - *337 + - *338 - 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 @@ -82503,8 +81945,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -82763,8 +82205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: sbom_uuid in: path required: true @@ -82775,7 +82217,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *496 + Location: *493 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -82796,8 +82238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -82835,8 +82277,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -82919,7 +82361,7 @@ paths: - version - url additionalProperties: false - metadata: &497 + metadata: &494 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82958,7 +82400,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *497 + metadata: *494 resolved: type: object description: A collection of resolved package dependencies. @@ -82972,7 +82414,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *497 + metadata: *494 relationship: type: string description: A notation of whether a dependency is requested @@ -83105,8 +82547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *340 - - *341 + - *337 + - *338 - name: sha description: The SHA recorded at creation time. in: query @@ -83147,9 +82589,9 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 + default: *496 headers: Link: *66 x-github: @@ -83215,8 +82657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -83298,7 +82740,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: simple-example: summary: Simple example @@ -83371,9 +82813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *340 - - *341 - - &500 + - *337 + - *338 + - &497 name: deployment_id description: deployment_id parameter in: path @@ -83385,7 +82827,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: default: value: @@ -83450,9 +82892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 responses: '204': description: Response @@ -83474,9 +82916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 - *17 - *19 responses: @@ -83486,7 +82928,7 @@ paths: application/json: schema: type: array - items: &501 + items: &498 title: Deployment Status description: The status of a deployment. type: object @@ -83650,9 +83092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 requestBody: required: true content: @@ -83727,9 +83169,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: &502 + default: &499 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83785,9 +83227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *340 - - *341 - - *500 + - *337 + - *338 + - *497 - name: status_id in: path required: true @@ -83798,9 +83240,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: *502 + default: *499 '404': *6 x-github: githubCloudOnly: false @@ -83825,8 +83267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -83883,8 +83325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -83902,7 +83344,7 @@ paths: - 5 environments: type: array - items: &504 + items: &501 title: Environment description: Details of a deployment environment type: object @@ -83964,7 +83406,7 @@ paths: type: string examples: - wait_timer - wait_timer: &506 + wait_timer: &503 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -84006,7 +83448,7 @@ paths: items: type: object properties: - type: *503 + type: *500 reviewer: anyOf: - *4 @@ -84033,7 +83475,7 @@ paths: - id - node_id - type - deployment_branch_policy: &507 + deployment_branch_policy: &504 type: - object - 'null' @@ -84150,9 +83592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *340 - - *341 - - &505 + - *337 + - *338 + - &502 name: environment_name in: path required: true @@ -84165,9 +83607,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: - default: &508 + default: &505 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84251,9 +83693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 requestBody: required: false content: @@ -84263,7 +83705,7 @@ paths: - object - 'null' properties: - wait_timer: *506 + wait_timer: *503 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84282,14 +83724,14 @@ paths: items: type: object properties: - type: *503 + type: *500 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *507 + deployment_branch_policy: *504 additionalProperties: false examples: default: @@ -84309,9 +83751,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: - default: *508 + default: *505 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84335,9 +83777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 responses: '204': description: Default response @@ -84362,9 +83804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *17 - *19 responses: @@ -84383,7 +83825,7 @@ paths: - 2 branch_policies: type: array - items: &509 + items: &506 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84444,9 +83886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 requestBody: required: true content: @@ -84494,9 +83936,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - example-wildcard: &510 + example-wildcard: &507 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84538,10 +83980,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 - - &511 + - *337 + - *338 + - *502 + - &508 name: branch_policy_id in: path required: true @@ -84553,9 +83995,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84574,10 +84016,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 - - *511 + - *337 + - *338 + - *502 + - *508 requestBody: required: true content: @@ -84606,9 +84048,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84627,10 +84069,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *340 - - *341 - - *505 - - *511 + - *337 + - *338 + - *502 + - *508 responses: '204': description: Response @@ -84655,9 +84097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *505 - - *341 - - *340 + - *502 + - *338 + - *337 responses: '200': description: List of deployment protection rules @@ -84674,7 +84116,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &512 + items: &509 title: Deployment protection rule description: Deployment protection rule type: object @@ -84696,7 +84138,7 @@ paths: for the environment. examples: - true - app: &513 + app: &510 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84799,9 +84241,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: - - *505 - - *341 - - *340 + - *502 + - *338 + - *337 requestBody: content: application/json: @@ -84822,9 +84264,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *512 + schema: *509 examples: - default: &514 + default: &511 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84859,9 +84301,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: - - *505 - - *341 - - *340 + - *502 + - *338 + - *337 - *19 - *17 responses: @@ -84881,7 +84323,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *513 + items: *510 examples: default: value: @@ -84916,10 +84358,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *340 - - *341 - - *505 - - &515 + - *337 + - *338 + - *502 + - &512 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84931,9 +84373,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *514 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84954,10 +84396,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *505 - - *341 - - *340 - - *515 + - *502 + - *338 + - *337 + - *512 responses: '204': description: Response @@ -84983,9 +84425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *17 - *19 responses: @@ -85003,9 +84445,9 @@ paths: type: integer secrets: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 headers: Link: *66 x-github: @@ -85030,9 +84472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 responses: '200': description: Response @@ -85062,18 +84504,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *163 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *398 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85095,9 +84537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *163 requestBody: required: true @@ -85155,9 +84597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *163 responses: '204': @@ -85183,9 +84625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *172 - *19 responses: @@ -85203,9 +84645,9 @@ paths: type: integer variables: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 headers: Link: *66 x-github: @@ -85228,9 +84670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 requestBody: required: true content: @@ -85282,18 +84724,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *340 - - *341 - - *505 + - *337 + - *338 + - *502 - *166 responses: '200': description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: *399 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85314,10 +84756,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 - - *505 + - *502 requestBody: required: true content: @@ -85359,10 +84801,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *340 - - *341 + - *337 + - *338 - *166 - - *505 + - *502 responses: '204': description: Response @@ -85384,8 +84826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -85453,8 +84895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *340 - - *341 + - *337 + - *338 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85613,8 +85055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -85647,9 +85089,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 '400': *14 '422': *15 '403': *27 @@ -85670,8 +85112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -85731,7 +85173,7 @@ paths: schema: oneOf: - *124 - - *516 + - *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85756,8 +85198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *340 - - *341 + - *337 + - *338 - name: file_sha in: path required: true @@ -85857,8 +85299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -85967,7 +85409,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &514 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86194,15 +85636,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *340 - - *341 - - *471 + - *337 + - *338 + - *468 responses: '200': description: Response content: application/json: - schema: *517 + schema: *514 examples: default: value: @@ -86258,9 +85700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *340 - - *341 - - &518 + - *337 + - *338 + - &515 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. @@ -86277,7 +85719,7 @@ paths: application/json: schema: type: array - items: &519 + items: &516 title: Git Reference description: Git references within a repository type: object @@ -86353,17 +85795,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *340 - - *341 - - *518 + - *337 + - *338 + - *515 responses: '200': description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: &520 + default: &517 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86392,8 +85834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -86422,9 +85864,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: *520 + default: *517 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86450,9 +85892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *340 - - *341 - - *518 + - *337 + - *338 + - *515 requestBody: required: true content: @@ -86481,9 +85923,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: *520 + default: *517 '422': *15 '409': *52 x-github: @@ -86501,9 +85943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *340 - - *341 - - *518 + - *337 + - *338 + - *515 responses: '204': description: Response @@ -86558,8 +86000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -86626,7 +86068,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &519 title: Git Tag description: Metadata for a Git tag type: object @@ -86682,7 +86124,7 @@ paths: - sha - type - url - verification: *521 + verification: *518 required: - sha - url @@ -86692,7 +86134,7 @@ paths: - tag - message examples: - default: &523 + default: &520 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86765,8 +86207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *340 - - *341 + - *337 + - *338 - name: tag_sha in: path required: true @@ -86777,9 +86219,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *519 examples: - default: *523 + default: *520 '404': *6 '409': *52 x-github: @@ -86803,8 +86245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -86878,7 +86320,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &521 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86980,8 +86422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *340 - - *341 + - *337 + - *338 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87004,7 +86446,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *521 examples: default-response: summary: Default response @@ -87062,8 +86504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -87107,8 +86549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -87118,7 +86560,7 @@ paths: application/json: schema: type: array - items: &525 + items: &522 title: Webhook description: Webhooks for repositories. type: object @@ -87181,7 +86623,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &763 + last_response: &761 title: Hook Response type: object properties: @@ -87258,8 +86700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -87312,9 +86754,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: &526 + default: &523 value: type: Repository id: 12345678 @@ -87362,17 +86804,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '200': description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: *526 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -87392,8 +86834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 requestBody: required: true @@ -87439,9 +86881,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: *526 + default: *523 '422': *15 '404': *6 x-github: @@ -87462,8 +86904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '204': @@ -87488,8 +86930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '200': @@ -87517,8 +86959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *218 requestBody: required: false @@ -87563,8 +87005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 - *17 - *219 @@ -87597,8 +87039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 - *16 responses: @@ -87627,8 +87069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 - *16 responses: @@ -87652,8 +87094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '204': @@ -87679,8 +87121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *340 - - *341 + - *337 + - *338 - *218 responses: '204': @@ -87704,8 +87146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response if immutable releases are enabled @@ -87753,8 +87195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '409': *52 @@ -87774,8 +87216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '409': *52 @@ -87832,14 +87274,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &527 + schema: &524 title: Import description: A repository import from an external source. type: object @@ -87946,7 +87388,7 @@ paths: - html_url - authors_url examples: - default: &530 + default: &527 value: vcs: subversion use_lfs: true @@ -87962,7 +87404,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': &528 + '503': &525 description: Unavailable due to service under maintenance. content: application/json: @@ -87991,8 +87433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -88040,7 +87482,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *524 examples: default: value: @@ -88065,7 +87507,7 @@ paths: type: string '422': *15 '404': *6 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88093,8 +87535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -88146,7 +87588,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *524 examples: example-1: summary: Example 1 @@ -88194,7 +87636,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': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88217,12 +87659,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88248,9 +87690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *340 - - *341 - - &697 + - *337 + - *338 + - &695 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88264,7 +87706,7 @@ paths: application/json: schema: type: array - items: &529 + items: &526 title: Porter Author description: Porter Author type: object @@ -88318,7 +87760,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': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88343,8 +87785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *340 - - *341 + - *337 + - *338 - name: author_id in: path required: true @@ -88374,7 +87816,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *526 examples: default: value: @@ -88387,7 +87829,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88411,8 +87853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -88453,7 +87895,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88481,8 +87923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -88509,11 +87951,11 @@ paths: description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: *530 + default: *527 '422': *15 - '503': *528 + '503': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88536,8 +87978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -88545,8 +87987,8 @@ paths: application/json: schema: *20 examples: - default: *531 - '301': *344 + default: *528 + '301': *341 '404': *6 x-github: githubCloudOnly: false @@ -88566,8 +88008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -88580,7 +88022,7 @@ paths: properties: {} additionalProperties: false examples: - default: &533 + default: &530 value: limit: collaborators_only origin: repository @@ -88605,13 +88047,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: application/json: - schema: *532 + schema: *529 examples: default: summary: Example request body @@ -88625,7 +88067,7 @@ paths: application/json: schema: *237 examples: - default: *533 + default: *530 '409': description: Response x-github: @@ -88647,8 +88089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -88659,6 +88101,157 @@ paths: enabledForGitHubApps: true category: interactions subcategory: repos + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": + get: + summary: Get pull request creation cap bypass list for a repository + description: |- + Lists the users that are on the pull request creation cap bypass list for a + repository. Users on this list can create pull requests regardless of any + configured pull request creation cap. + + Only repository admins can view the bypass list. + tags: + - interactions + operationId: interactions/get-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *337 + - *338 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *4 + examples: + default: + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + put: + summary: Add users to the pull request creation cap bypass list for a repository + description: |- + Adds users to the pull request creation cap bypass list for a repository. + Users on this list can create pull requests regardless of any configured + pull request creation cap. + + Only repository admins can modify the bypass list. + You can add a maximum of 100 users per request. + The bypass list can only hold a maximum of 100 users. + tags: + - interactions + operationId: interactions/set-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *337 + - *338 + requestBody: + required: true + content: + application/json: + schema: &531 + title: Interaction Limits Pull Request Bypass List + description: A list of user logins to add or remove from the pull request + creation cap bypass list. + type: object + properties: + users: + description: A list of user logins to add or remove from the bypass + list. + type: array + items: + type: string + examples: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + delete: + summary: Remove users from the pull request creation cap bypass list for a repository + description: |- + Removes users from the pull request creation cap bypass list for a repository. + Removed users will be subject to any configured pull request creation cap. + + Only repository admins can modify the bypass list. + You can remove a maximum of 100 users per request. + tags: + - interactions + operationId: interactions/remove-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *337 + - *338 + requestBody: + required: true + content: + application/json: + schema: *531 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -88671,8 +88264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -88682,9 +88275,9 @@ paths: application/json: schema: type: array - items: *534 + items: *532 examples: - default: &690 + default: &688 value: - id: 1 repository: @@ -88815,8 +88408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *340 - - *341 + - *337 + - *338 - *241 requestBody: required: false @@ -88846,7 +88439,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: default: value: @@ -88977,8 +88570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *340 - - *341 + - *337 + - *338 - *241 responses: '204': @@ -89002,8 +88595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -89013,7 +88606,7 @@ paths: type: array items: *245 examples: - default: *535 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -89042,8 +88635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *340 - - *341 + - *337 + - *338 - 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 @@ -89130,7 +88723,7 @@ paths: type: array items: *82 examples: - default: &544 + default: &542 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89279,7 +88872,7 @@ paths: state_reason: completed headers: Link: *66 - '301': *344 + '301': *341 '422': *15 '404': *6 x-github: @@ -89308,8 +88901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -89426,7 +89019,7 @@ paths: application/json: schema: *82 examples: - default: &541 + default: &539 value: id: 1 node_id: MDU6SXNzdWUx @@ -89589,7 +89182,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *536 + '410': *534 x-github: triggersNotification: true githubCloudOnly: false @@ -89627,8 +89220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -89651,7 +89244,7 @@ paths: type: array items: *83 examples: - default: &543 + default: &541 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89709,8 +89302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': @@ -89719,7 +89312,7 @@ paths: application/json: schema: *83 examples: - default: &537 + default: &535 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89774,8 +89367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -89800,7 +89393,7 @@ paths: application/json: schema: *83 examples: - default: *537 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -89818,8 +89411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -89848,8 +89441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': @@ -89912,7 +89505,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *536 + '410': *534 '422': *15 x-github: githubCloudOnly: false @@ -89929,8 +89522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -89938,7 +89531,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *536 + '410': *534 '503': *114 x-github: githubCloudOnly: false @@ -89956,8 +89549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -89984,9 +89577,9 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 @@ -90007,8 +89600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -90041,16 +89634,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -90072,10 +89665,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *340 - - *341 + - *337 + - *338 - *96 - - *539 + - *537 responses: '204': description: Response @@ -90095,8 +89688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -90106,7 +89699,7 @@ paths: application/json: schema: type: array - items: &540 + items: &538 title: Issue Event description: Issue Event type: object @@ -90446,8 +90039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *340 - - *341 + - *337 + - *338 - name: event_id in: path required: true @@ -90458,7 +90051,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *538 examples: default: value: @@ -90651,7 +90244,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *536 + '410': *534 '403': *27 x-github: githubCloudOnly: false @@ -90685,9 +90278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *340 - - *341 - - &542 + - *337 + - *338 + - &540 name: issue_number description: The number that identifies the issue. in: path @@ -90703,7 +90296,7 @@ paths: examples: default: summary: Issue - value: *541 + value: *539 pinned_comment: summary: Issue with pinned comment value: @@ -90908,9 +90501,9 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 '304': *35 x-github: githubCloudOnly: false @@ -90935,9 +90528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -91082,13 +90675,13 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 '422': *15 '503': *114 '403': *27 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91116,9 +90709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -91146,7 +90739,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91162,9 +90755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: content: application/json: @@ -91191,7 +90784,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91213,9 +90806,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: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - name: assignee in: path required: true @@ -91255,9 +90848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *87 - *17 - *19 @@ -91270,11 +90863,11 @@ paths: type: array items: *83 examples: - default: *543 + default: *541 headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91303,9 +90896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -91329,14 +90922,14 @@ paths: application/json: schema: *83 examples: - default: *537 + default: *535 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *536 + '410': *534 '422': *15 '404': *6 x-github: @@ -91364,9 +90957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -91378,12 +90971,12 @@ paths: type: array items: *82 examples: - default: *544 + default: *542 headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91411,9 +91004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -91437,15 +91030,15 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *344 + '301': *341 '403': *27 - '410': *536 + '410': *534 '422': *15 '404': *6 x-github: @@ -91476,9 +91069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91492,13 +91085,13 @@ paths: application/json: schema: *82 examples: - default: *541 - '301': *344 + default: *539 + '301': *341 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *536 + '410': *534 x-github: triggersNotification: true githubCloudOnly: false @@ -91524,9 +91117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -91538,12 +91131,12 @@ paths: type: array items: *82 examples: - default: *544 + default: *542 headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91560,9 +91153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -91576,7 +91169,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &548 + - &546 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91625,7 +91218,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &547 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91753,7 +91346,7 @@ paths: - performed_via_github_app - assignee - assigner - - &550 + - &548 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91799,7 +91392,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &549 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91845,7 +91438,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &550 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91894,7 +91487,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &551 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91936,7 +91529,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &552 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91978,7 +91571,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &553 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -92034,7 +91627,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &554 title: Locked Issue Event description: Locked Issue Event type: object @@ -92079,7 +91672,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &555 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92140,7 +91733,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &556 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92201,7 +91794,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &557 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92262,7 +91855,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &558 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92355,7 +91948,7 @@ paths: color: red headers: Link: *66 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92372,9 +91965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -92384,9 +91977,9 @@ paths: application/json: schema: type: array - items: *545 + items: *543 examples: - default: &546 + default: &544 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -92421,9 +92014,9 @@ paths: color: green headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92452,9 +92045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -92526,9 +92119,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *545 + items: *543 examples: - default: *546 + default: *544 '400': *14 '403': *27 '404': *6 @@ -92564,9 +92157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -92633,9 +92226,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *545 + items: *543 examples: - default: *546 + default: *544 '400': *14 '403': *27 '404': *6 @@ -92666,9 +92259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *244 responses: '204': @@ -92694,9 +92287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -92708,7 +92301,7 @@ paths: type: array items: *81 examples: - default: &547 + default: &545 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92726,9 +92319,9 @@ paths: default: false headers: Link: *66 - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92744,9 +92337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -92791,10 +92384,10 @@ paths: type: array items: *81 examples: - default: *547 - '301': *344 + default: *545 + '301': *341 '404': *6 - '410': *536 + '410': *534 '422': *15 x-github: githubCloudOnly: false @@ -92811,9 +92404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -92875,10 +92468,10 @@ paths: type: array items: *81 examples: - default: *547 - '301': *344 + default: *545 + '301': *341 '404': *6 - '410': *536 + '410': *534 '422': *15 x-github: githubCloudOnly: false @@ -92895,15 +92488,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 responses: '204': description: Response - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92922,9 +92515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - name: name in: path required: true @@ -92948,9 +92541,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *344 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92970,9 +92563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: false content: @@ -93001,7 +92594,7 @@ paths: '204': description: Response '403': *27 - '410': *536 + '410': *534 '404': *6 '422': *15 x-github: @@ -93019,9 +92612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 responses: '204': description: Response @@ -93051,9 +92644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 responses: '200': description: Response @@ -93061,10 +92654,10 @@ paths: application/json: schema: *82 examples: - default: *541 - '301': *344 + default: *539 + '301': *341 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93081,9 +92674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - 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. @@ -93109,13 +92702,13 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93133,9 +92726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -93167,16 +92760,16 @@ paths: description: Response content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Response content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -93198,10 +92791,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *340 - - *341 - - *542 - - *539 + - *337 + - *338 + - *540 + - *537 responses: '204': description: Response @@ -93230,9 +92823,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -93256,7 +92849,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -93289,9 +92882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -93303,11 +92896,11 @@ paths: type: array items: *82 examples: - default: *544 + default: *542 headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93335,9 +92928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -93366,14 +92959,14 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *536 + '410': *534 '422': *15 '404': *6 x-github: @@ -93393,9 +92986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 requestBody: required: true content: @@ -93428,7 +93021,7 @@ paths: application/json: schema: *82 examples: - default: *541 + default: *539 '403': *27 '404': *6 '422': *7 @@ -93450,9 +93043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *340 - - *341 - - *542 + - *337 + - *338 + - *540 - *17 - *19 responses: @@ -93467,6 +93060,8 @@ paths: description: Timeline Event type: object anyOf: + - *546 + - *547 - *548 - *549 - *550 @@ -93478,8 +93073,6 @@ paths: - *556 - *557 - *558 - - *559 - - *560 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93536,7 +93129,7 @@ paths: pin: anyOf: - type: 'null' - - *561 + - *559 required: - event - actor @@ -93812,7 +93405,7 @@ paths: type: string comments: type: array - items: &580 + items: &578 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94053,7 +93646,7 @@ paths: type: string comments: type: array - items: *467 + items: *464 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -94328,7 +93921,7 @@ paths: headers: Link: *66 '404': *6 - '410': *536 + '410': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94345,8 +93938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -94356,7 +93949,7 @@ paths: application/json: schema: type: array - items: &562 + items: &560 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94424,8 +94017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -94461,9 +94054,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: &563 + default: &561 value: id: 1 key: ssh-rsa AAA... @@ -94497,9 +94090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *340 - - *341 - - &564 + - *337 + - *338 + - &562 name: key_id description: The unique identifier of the key. in: path @@ -94511,9 +94104,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: *563 + default: *561 '404': *6 x-github: githubCloudOnly: false @@ -94531,9 +94124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *340 - - *341 - - *564 + - *337 + - *338 + - *562 responses: '204': description: Response @@ -94553,8 +94146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -94566,7 +94159,7 @@ paths: type: array items: *81 examples: - default: *547 + default: *545 headers: Link: *66 '404': *6 @@ -94587,8 +94180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -94626,7 +94219,7 @@ paths: application/json: schema: *81 examples: - default: &565 + default: &563 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94658,8 +94251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *340 - - *341 + - *337 + - *338 - name: name in: path required: true @@ -94672,7 +94265,7 @@ paths: application/json: schema: *81 examples: - default: *565 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -94689,8 +94282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *340 - - *341 + - *337 + - *338 - name: name in: path required: true @@ -94755,8 +94348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *340 - - *341 + - *337 + - *338 - name: name in: path required: true @@ -94782,8 +94375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -94822,9 +94415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *340 - - *341 - - *442 + - *337 + - *338 + - *439 responses: '200': description: Response @@ -94971,8 +94564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95037,8 +94630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95072,9 +94665,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *470 + schema: *467 examples: - default: *566 + default: *564 '204': description: Response when already merged '404': @@ -95099,8 +94692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *340 - - *341 + - *337 + - *338 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95197,8 +94790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95240,7 +94833,7 @@ paths: application/json: schema: *281 examples: - default: &567 + default: &565 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -95299,9 +94892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *340 - - *341 - - &568 + - *337 + - *338 + - &566 name: milestone_number description: The number that identifies the milestone. in: path @@ -95315,7 +94908,7 @@ paths: application/json: schema: *281 examples: - default: *567 + default: *565 '404': *6 x-github: githubCloudOnly: false @@ -95332,9 +94925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *340 - - *341 - - *568 + - *337 + - *338 + - *566 requestBody: required: false content: @@ -95374,7 +94967,7 @@ paths: application/json: schema: *281 examples: - default: *567 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95390,9 +94983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *340 - - *341 - - *568 + - *337 + - *338 + - *566 responses: '204': description: Response @@ -95413,9 +95006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *340 - - *341 - - *568 + - *337 + - *338 + - *566 - *17 - *19 responses: @@ -95427,7 +95020,7 @@ paths: type: array items: *81 examples: - default: *547 + default: *545 headers: Link: *66 x-github: @@ -95446,12 +95039,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *340 - - *341 - - *569 - - *570 + - *337 + - *338 + - *567 + - *568 - *87 - - *571 + - *569 - *17 - *19 responses: @@ -95463,7 +95056,7 @@ paths: type: array items: *107 examples: - default: *572 + default: *570 headers: Link: *66 x-github: @@ -95487,8 +95080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -95546,14 +95139,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &573 + schema: &571 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95697,7 +95290,7 @@ paths: - custom_404 - public examples: - default: &574 + default: &572 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95738,8 +95331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95794,9 +95387,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *571 examples: - default: *574 + default: *572 '422': *15 '409': *52 x-github: @@ -95819,8 +95412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -95920,8 +95513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -95947,8 +95540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -95958,7 +95551,7 @@ paths: application/json: schema: type: array - items: &575 + items: &573 title: Page Build description: Page Build type: object @@ -96050,8 +95643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *340 - - *341 + - *337 + - *338 responses: '201': description: Response @@ -96098,16 +95691,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *575 + schema: *573 examples: - default: &576 + default: &574 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -96155,8 +95748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *340 - - *341 + - *337 + - *338 - name: build_id in: path required: true @@ -96167,9 +95760,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *573 examples: - default: *576 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96189,8 +95782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -96298,9 +95891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *340 - - *341 - - &577 + - *337 + - *338 + - &575 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96358,9 +95951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *340 - - *341 - - *577 + - *337 + - *338 + - *575 responses: '204': *59 '404': *6 @@ -96387,8 +95980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -96683,8 +96276,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: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Private vulnerability reporting status @@ -96721,8 +96314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '422': *14 @@ -96743,8 +96336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': *59 '422': *14 @@ -96766,8 +96359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -96806,8 +96399,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: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -96869,8 +96462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *340 - - *341 + - *337 + - *338 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96930,9 +96523,9 @@ paths: application/json: schema: type: array - items: *474 + items: *471 examples: - default: *578 + default: *576 headers: Link: *66 '304': *35 @@ -96964,8 +96557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -97032,7 +96625,7 @@ paths: description: Response content: application/json: - schema: &582 + schema: &580 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97266,7 +96859,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *579 + auto_merge: *577 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -97462,7 +97055,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &583 + default: &581 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -98000,8 +97593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *340 - - *341 + - *337 + - *338 - name: sort in: query required: false @@ -98030,9 +97623,9 @@ paths: application/json: schema: type: array - items: *580 + items: *578 examples: - default: &585 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98109,17 +97702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '200': description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: &581 + default: &579 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98194,8 +97787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -98218,9 +97811,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *581 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98236,8 +97829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 + - *337 + - *338 - *96 responses: '204': @@ -98259,8 +97852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -98287,9 +97880,9 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 @@ -98310,8 +97903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *340 - - *341 + - *337 + - *338 - *96 requestBody: required: true @@ -98344,16 +97937,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -98375,10 +97968,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *340 - - *341 + - *337 + - *338 - *96 - - *539 + - *537 responses: '204': description: Response @@ -98421,9 +98014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *340 - - *341 - - &584 + - *337 + - *338 + - &582 name: pull_number description: The number that identifies the pull request. in: path @@ -98436,9 +98029,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *582 + schema: *580 examples: - default: *583 + default: *581 '304': *35 '404': *6 '406': @@ -98473,9 +98066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -98517,9 +98110,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: *583 + default: *581 '422': *15 '403': *27 x-github: @@ -98541,9 +98134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: true content: @@ -98606,7 +98199,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -98614,7 +98207,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '401': *23 '403': *27 '404': *6 @@ -98644,9 +98237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98667,9 +98260,9 @@ paths: application/json: schema: type: array - items: *580 + items: *578 examples: - default: *585 + default: *583 headers: Link: *66 x-github: @@ -98702,9 +98295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: true content: @@ -98810,7 +98403,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: example-for-a-multi-line-comment: value: @@ -98898,9 +98491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *96 requestBody: required: true @@ -98923,7 +98516,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: default: value: @@ -99009,9 +98602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *17 - *19 responses: @@ -99021,9 +98614,9 @@ paths: application/json: schema: type: array - items: *470 + items: *467 examples: - default: *586 + default: *584 headers: Link: *66 x-github: @@ -99053,9 +98646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *17 - *19 responses: @@ -99065,7 +98658,7 @@ paths: application/json: schema: type: array - items: *481 + items: *478 examples: default: value: @@ -99103,9 +98696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 responses: '204': description: Response if pull request has been merged @@ -99128,9 +98721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -99242,9 +98835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 responses: '200': description: Response @@ -99319,9 +98912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -99358,7 +98951,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: default: value: @@ -99894,9 +99487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: true content: @@ -99930,7 +99523,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: default: value: @@ -100446,9 +100039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 - *17 - *19 responses: @@ -100458,7 +100051,7 @@ paths: application/json: schema: type: array - items: &587 + items: &585 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100614,9 +100207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -100706,9 +100299,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: &589 + default: &587 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100771,10 +100364,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - &588 + - *337 + - *338 + - *582 + - &586 name: review_id description: The unique identifier of the review. in: path @@ -100786,9 +100379,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: &590 + default: &588 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100847,10 +100440,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 requestBody: required: true content: @@ -100873,7 +100466,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: default: value: @@ -100935,18 +100528,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 responses: '200': description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: *589 + default: *587 '422': *7 '404': *6 x-github: @@ -100973,10 +100566,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 - *17 - *19 responses: @@ -101234,10 +100827,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 requestBody: required: true content: @@ -101266,7 +100859,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: default: value: @@ -101329,10 +100922,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *340 - - *341 - - *584 - - *588 + - *337 + - *338 + - *582 + - *586 requestBody: required: true content: @@ -101367,9 +100960,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: - default: *590 + default: *588 '404': *6 '422': *7 '403': *27 @@ -101391,9 +100984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *340 - - *341 - - *584 + - *337 + - *338 + - *582 requestBody: required: false content: @@ -101457,8 +101050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *340 - - *341 + - *337 + - *338 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101471,9 +101064,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: &592 + default: &590 value: type: file encoding: base64 @@ -101515,8 +101108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *340 - - *341 + - *337 + - *338 - name: dir description: The alternate path to look for a README file in: path @@ -101536,9 +101129,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *592 + default: *590 '404': *6 '422': *15 x-github: @@ -101560,8 +101153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -101571,7 +101164,7 @@ paths: application/json: schema: type: array - items: *593 + items: *591 examples: default: value: @@ -101665,8 +101258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -101742,9 +101335,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: &597 + default: &595 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101849,9 +101442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *340 - - *341 - - &595 + - *337 + - *338 + - &593 name: asset_id description: The unique identifier of the asset. in: path @@ -101863,9 +101456,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *592 examples: - default: &596 + default: &594 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 @@ -101900,7 +101493,7 @@ paths: type: User site_admin: false '404': *6 - '302': *485 + '302': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101916,9 +101509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *340 - - *341 - - *595 + - *337 + - *338 + - *593 requestBody: required: false content: @@ -101947,9 +101540,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *592 examples: - default: *596 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101965,9 +101558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *340 - - *341 - - *595 + - *337 + - *338 + - *593 responses: '204': description: Response @@ -101992,8 +101585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -102079,16 +101672,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *597 + default: *595 '404': *6 x-github: githubCloudOnly: false @@ -102106,8 +101699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *340 - - *341 + - *337 + - *338 - name: tag description: tag parameter in: path @@ -102120,9 +101713,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *597 + default: *595 '404': *6 x-github: githubCloudOnly: false @@ -102144,9 +101737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *340 - - *341 - - &598 + - *337 + - *338 + - &596 name: release_id description: The unique identifier of the release. in: path @@ -102160,9 +101753,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: *593 + schema: *591 examples: - default: *597 + default: *595 '401': description: Unauthorized x-github: @@ -102180,9 +101773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 requestBody: required: false content: @@ -102246,9 +101839,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *597 + default: *595 '404': description: Not Found if the discussion category name is invalid content: @@ -102269,9 +101862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 responses: '204': description: Response @@ -102292,9 +101885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 - *17 - *19 responses: @@ -102304,7 +101897,7 @@ paths: application/json: schema: type: array - items: *594 + items: *592 examples: default: value: @@ -102385,9 +101978,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: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 - name: name in: query required: true @@ -102413,7 +102006,7 @@ paths: description: Response for successful upload content: application/json: - schema: *594 + schema: *592 examples: response-for-successful-upload: value: @@ -102468,9 +102061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 - 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. @@ -102494,9 +102087,9 @@ paths: application/json: schema: type: array - items: *468 + items: *465 examples: - default: *538 + default: *536 headers: Link: *66 '404': *6 @@ -102517,9 +102110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *340 - - *341 - - *598 + - *337 + - *338 + - *596 requestBody: required: true content: @@ -102549,16 +102142,16 @@ paths: description: Reaction exists content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '201': description: Reaction created content: application/json: - schema: *468 + schema: *465 examples: - default: *469 + default: *466 '422': *15 x-github: githubCloudOnly: false @@ -102580,10 +102173,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *340 - - *341 - - *598 - - *539 + - *337 + - *338 + - *596 + - *537 responses: '204': description: Response @@ -102607,9 +102200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *340 - - *341 - - *406 + - *337 + - *338 + - *403 - *17 - *19 responses: @@ -102626,7 +102219,7 @@ paths: oneOf: - allOf: - *302 - - &599 + - &597 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102647,67 +102240,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *303 - - *599 + - *597 - allOf: - *304 - - *599 + - *597 - allOf: - *305 - - *599 + - *597 - allOf: - - *600 - - *599 + - *598 + - *597 - allOf: - *306 - - *599 + - *597 - allOf: - *307 - - *599 + - *597 - allOf: - *308 - - *599 + - *597 - allOf: - *309 - - *599 + - *597 - allOf: - *310 - - *599 + - *597 - allOf: - *311 - - *599 + - *597 - allOf: - *312 - - *599 + - *597 - allOf: - *313 - - *599 + - *597 - allOf: - *314 - - *599 + - *597 - allOf: - *315 - - *599 + - *597 - allOf: - *320 - - *599 + - *597 - allOf: - *321 - - *599 + - *597 - allOf: - *322 - - *599 + - *597 - allOf: - *316 - - *599 + - *597 - allOf: - *317 - - *599 + - *597 - allOf: - *318 - - *599 + - *597 - allOf: - *319 - - *599 + - *597 examples: default: value: @@ -102746,8 +102339,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - name: includes_parents @@ -102758,7 +102351,7 @@ paths: schema: type: boolean default: true - - *601 + - *599 responses: '200': description: Response @@ -102813,8 +102406,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 requestBody: description: Request body required: true @@ -102843,7 +102436,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *602 + items: *600 required: - name - enforcement @@ -102876,7 +102469,7 @@ paths: application/json: schema: *323 examples: - default: &613 + default: &611 value: id: 42 name: super cool ruleset @@ -102924,13 +102517,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *340 - - *341 + - *337 + - *338 + - *601 + - *602 - *603 - *604 - *605 - - *606 - - *607 - *17 - *19 responses: @@ -102938,9 +102531,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: - default: *609 + default: *607 '404': *6 '500': *53 x-github: @@ -102961,17 +102554,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *340 - - *341 - - *610 + - *337 + - *338 + - *608 responses: '200': description: Response content: application/json: - schema: *611 + schema: *609 examples: - default: *612 + default: *610 '404': *6 '500': *53 x-github: @@ -102999,8 +102592,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103022,7 +102615,7 @@ paths: application/json: schema: *323 examples: - default: *613 + default: *611 '404': *6 '500': *53 put: @@ -103040,8 +102633,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103075,7 +102668,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *602 + items: *600 examples: default: value: @@ -103105,7 +102698,7 @@ paths: application/json: schema: *323 examples: - default: *613 + default: *611 '404': *6 '422': *15 '500': *53 @@ -103124,8 +102717,8 @@ paths: category: repos subcategory: rules parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103148,8 +102741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 - name: ruleset_id @@ -103167,7 +102760,7 @@ paths: type: array items: *326 examples: - default: *614 + default: *612 '404': *6 '500': *53 x-github: @@ -103186,8 +102779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *340 - - *341 + - *337 + - *338 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103205,7 +102798,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *613 examples: default: value: @@ -103260,26 +102853,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 + - *614 + - *615 - *616 - *617 - *618 - *619 - *620 - *621 - - *622 - - *623 - *60 - *19 - *17 + - *622 + - *623 - *624 - *625 - *626 - *627 - *628 - - *629 - - *630 responses: '200': description: Response @@ -103287,7 +102880,7 @@ paths: application/json: schema: type: array - items: &634 + items: &632 type: object properties: number: *180 @@ -103303,8 +102896,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *631 - resolution: *632 + state: *629 + resolution: *630 resolved_at: type: - string @@ -103410,7 +103003,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *633 + - *631 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -103569,16 +103162,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *340 - - *341 - - *436 - - *629 + - *337 + - *338 + - *433 + - *627 responses: '200': description: Response content: application/json: - schema: *634 + schema: *632 examples: default: value: @@ -103632,9 +103225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 requestBody: required: true content: @@ -103642,8 +103235,8 @@ paths: schema: type: object properties: - state: *631 - resolution: *632 + state: *629 + resolution: *630 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103691,7 +103284,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *632 examples: default: value: @@ -103790,9 +103383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *340 - - *341 - - *436 + - *337 + - *338 + - *433 - *19 - *17 responses: @@ -103803,7 +103396,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &783 + items: &781 type: object properties: type: @@ -103830,6 +103423,8 @@ paths: - commit details: oneOf: + - *633 + - *634 - *635 - *636 - *637 @@ -103841,8 +103436,6 @@ paths: - *643 - *644 - *645 - - *646 - - *647 examples: default: value: @@ -103928,8 +103521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -103937,14 +103530,14 @@ paths: schema: type: object properties: - reason: &649 + reason: &647 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *648 + placeholder_id: *646 required: - reason - placeholder_id @@ -103961,7 +103554,7 @@ paths: schema: type: object properties: - reason: *649 + reason: *647 expire_at: type: - string @@ -104008,8 +103601,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: - - *340 - - *341 + - *337 + - *338 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -104024,7 +103617,7 @@ paths: properties: incremental_scans: type: array - items: &650 + items: &648 description: Information on a single scan performed by secret scanning on the repository type: object @@ -104057,15 +103650,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *650 + items: *648 backfill_scans: type: array - items: *650 + items: *648 custom_pattern_backfill_scans: type: array items: allOf: - - *650 + - *648 - type: object properties: pattern_name: @@ -104078,7 +103671,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *650 + items: *648 examples: default: value: @@ -104143,8 +103736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *340 - - *341 + - *337 + - *338 - *60 - name: sort description: The property to sort the results by. @@ -104188,9 +103781,9 @@ paths: application/json: schema: type: array - items: *651 + items: *649 examples: - default: *652 + default: *650 '400': *14 '404': *6 x-github: @@ -104213,8 +103806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -104384,9 +103977,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: &654 + default: &652 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104625,8 +104218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -104739,7 +104332,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: default: value: @@ -104892,17 +104485,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 responses: '200': description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *654 + default: *652 '403': *27 '404': *6 x-github: @@ -104926,9 +104519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 requestBody: required: true content: @@ -105099,10 +104692,10 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *654 - add_credit: *654 + default: *652 + add_credit: *652 '403': *27 '404': *6 '422': @@ -105140,9 +104733,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: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 responses: '202': *37 '400': *14 @@ -105169,17 +104762,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *340 - - *341 - - *653 + - *337 + - *338 + - *651 responses: '202': description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 '400': *14 '422': *15 '403': *27 @@ -105205,8 +104798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -105302,8 +104895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -105312,7 +104905,7 @@ paths: application/json: schema: type: array - items: &655 + items: &653 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -105345,8 +104938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -105424,8 +105017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -105519,8 +105112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105674,8 +105267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105685,7 +105278,7 @@ paths: application/json: schema: type: array - items: *655 + items: *653 examples: default: value: @@ -105718,8 +105311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *340 - - *341 + - *337 + - *338 - name: sha in: path required: true @@ -105775,7 +105368,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *654 examples: default: value: @@ -105829,8 +105422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -105862,14 +105455,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &657 + schema: &655 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105942,8 +105535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: false content: @@ -105969,7 +105562,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *655 examples: default: value: @@ -105996,8 +105589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -106017,8 +105610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -106100,8 +105693,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *340 - - *341 + - *337 + - *338 - name: ref in: path required: true @@ -106137,8 +105730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *340 - - *341 + - *337 + - *338 - *17 - *19 responses: @@ -106170,8 +105763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *340 - - *341 + - *337 + - *338 - *19 - *17 responses: @@ -106179,7 +105772,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &656 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -106191,7 +105784,7 @@ paths: required: - names examples: - default: &659 + default: &657 value: names: - octocat @@ -106214,8 +105807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -106246,9 +105839,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *656 examples: - default: *659 + default: *657 '404': *6 '422': *7 x-github: @@ -106269,9 +105862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *340 - - *341 - - &660 + - *337 + - *338 + - &658 name: per description: The time frame to display results for. in: query @@ -106302,7 +105895,7 @@ paths: - 128 clones: type: array - items: &661 + items: &659 title: Traffic type: object properties: @@ -106389,8 +105982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -106484,8 +106077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *340 - - *341 + - *337 + - *338 responses: '200': description: Response @@ -106548,9 +106141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *340 - - *341 - - *660 + - *337 + - *338 + - *658 responses: '200': description: Response @@ -106571,7 +106164,7 @@ paths: - 3782 views: type: array - items: *661 + items: *659 required: - uniques - count @@ -106648,8 +106241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *340 - - *341 + - *337 + - *338 requestBody: required: true content: @@ -106929,8 +106522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106953,8 +106546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -106976,8 +106569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -107003,8 +106596,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *340 - - *341 + - *337 + - *338 - name: ref in: path required: true @@ -107096,9 +106689,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107350,7 +106943,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &662 + text_matches: &660 title: Search Result Text Matches type: array items: @@ -107513,7 +107106,7 @@ paths: enum: - author-date - committer-date - - &663 + - &661 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 @@ -107582,7 +107175,7 @@ paths: committer: anyOf: - type: 'null' - - *404 + - *401 comment_count: type: integer message: @@ -107601,7 +107194,7 @@ paths: url: type: string format: uri - verification: *521 + verification: *518 required: - author - committer @@ -107616,7 +107209,7 @@ paths: committer: anyOf: - type: 'null' - - *404 + - *401 parents: type: array items: @@ -107633,7 +107226,7 @@ paths: type: number node_id: type: string - text_matches: *662 + text_matches: *660 required: - sha - node_id @@ -107825,7 +107418,7 @@ paths: - interactions - created - updated - - *663 + - *661 - *17 - *19 - name: advanced_search @@ -107939,11 +107532,11 @@ paths: type: - string - 'null' - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: type: string state_reason: @@ -107971,7 +107564,7 @@ paths: - string - 'null' format: date-time - text_matches: *662 + text_matches: *660 pull_request: type: object properties: @@ -108281,7 +107874,7 @@ paths: enum: - created - updated - - *663 + - *661 - *17 - *19 responses: @@ -108326,7 +107919,7 @@ paths: - 'null' score: type: number - text_matches: *662 + text_matches: *660 required: - id - node_id @@ -108411,7 +108004,7 @@ paths: - forks - help-wanted-issues - updated - - *663 + - *661 - *17 - *19 responses: @@ -108657,7 +108250,7 @@ paths: - admin - pull - push - text_matches: *662 + text_matches: *660 temp_clone_token: type: string allow_merge_commit: @@ -108965,7 +108558,7 @@ paths: - string - 'null' format: uri - text_matches: *662 + text_matches: *660 related: type: - array @@ -109158,7 +108751,7 @@ paths: - followers - repositories - joined - - *663 + - *661 - *17 - *19 responses: @@ -109268,7 +108861,7 @@ paths: type: - boolean - 'null' - text_matches: *662 + text_matches: *660 blog: type: - string @@ -109350,7 +108943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &666 + - &664 name: team_id description: The unique identifier of the team. in: path @@ -109362,9 +108955,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 x-github: githubCloudOnly: false @@ -109391,7 +108984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *666 + - *664 requestBody: required: true content: @@ -109455,16 +109048,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '201': description: Response content: application/json: - schema: *336 + schema: *333 examples: - default: *337 + default: *334 '404': *6 '422': *15 '403': *27 @@ -109492,7 +109085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *666 + - *664 responses: '204': description: Response @@ -109521,7 +109114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *666 + - *664 - *17 - *19 responses: @@ -109559,7 +109152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *666 + - *664 - name: role description: Filters members returned by their role in the team. in: query @@ -109610,7 +109203,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -109647,7 +109240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -109687,7 +109280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -109724,16 +109317,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *666 + - *664 - *70 responses: '200': description: Response content: application/json: - schema: *339 + schema: *336 examples: - response-if-user-is-a-team-maintainer: *667 + response-if-user-is-a-team-maintainer: *665 '404': *6 x-github: githubCloudOnly: false @@ -109766,7 +109359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *666 + - *664 - *70 requestBody: required: false @@ -109792,9 +109385,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: *668 + response-if-users-membership-with-team-is-now-pending: *666 '403': description: Forbidden if team synchronization is set up '422': @@ -109828,7 +109421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *666 + - *664 - *70 responses: '204': @@ -109856,7 +109449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *666 + - *664 - *17 - *19 responses: @@ -109898,15 +109491,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *666 - - *340 - - *341 + - *664 + - *337 + - *338 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *669 + schema: *667 examples: alternative-response-with-extra-repository-information: value: @@ -110063,9 +109656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *666 - - *340 - - *341 + - *664 + - *337 + - *338 requestBody: required: false content: @@ -110115,9 +109708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *666 - - *340 - - *341 + - *664 + - *337 + - *338 responses: '204': description: Response @@ -110142,7 +109735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *666 + - *664 - *17 - *19 responses: @@ -110154,7 +109747,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: *670 + response-if-child-teams-exist: *668 headers: Link: *66 '404': *6 @@ -110187,7 +109780,7 @@ paths: application/json: schema: oneOf: - - &672 + - &670 title: Private User description: Private User type: object @@ -110437,7 +110030,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *671 + - *669 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -110597,7 +110190,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *670 examples: default: value: @@ -110943,7 +110536,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -110951,7 +110544,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '401': *23 '403': *27 '404': *6 @@ -110995,7 +110588,7 @@ paths: type: integer secrets: type: array - items: &673 + items: &671 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -111037,7 +110630,7 @@ paths: - visibility - selected_repositories_url examples: - default: *461 + default: *458 headers: Link: *66 x-github: @@ -111115,7 +110708,7 @@ paths: description: Response content: application/json: - schema: *673 + schema: *671 examples: default: value: @@ -111413,7 +111006,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '304': *35 '500': *53 '401': *23 @@ -111471,7 +111064,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '401': *23 '403': *27 '404': *6 @@ -111528,7 +111121,7 @@ paths: description: Response content: application/json: - schema: &674 + schema: &672 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -111581,7 +111174,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &675 + default: &673 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -111626,9 +111219,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *672 examples: - default: *675 + default: *673 '404': *6 x-github: githubCloudOnly: false @@ -111665,9 +111258,9 @@ paths: type: integer machines: type: array - items: *460 + items: *457 examples: - default: *676 + default: *674 '304': *35 '500': *53 '401': *23 @@ -111752,11 +111345,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *343 + repository: *340 machine: anyOf: - type: 'null' - - *460 + - *457 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -112561,7 +112154,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '304': *35 '500': *53 '400': *14 @@ -112601,7 +112194,7 @@ paths: application/json: schema: *250 examples: - default: *459 + default: *456 '500': *53 '401': *23 '403': *27 @@ -112633,7 +112226,7 @@ paths: type: array items: *262 examples: - default: &687 + default: &685 value: - id: 197 name: hello_docker @@ -112734,7 +112327,7 @@ paths: application/json: schema: type: array - items: &677 + items: &675 title: Email description: Email type: object @@ -112804,9 +112397,9 @@ paths: application/json: schema: type: array - items: *677 + items: *675 examples: - default: &689 + default: &687 value: - email: octocat@github.com verified: true @@ -112883,7 +112476,7 @@ paths: application/json: schema: type: array - items: *677 + items: *675 examples: default: value: @@ -113141,7 +112734,7 @@ paths: application/json: schema: type: array - items: &678 + items: &676 title: GPG Key description: A unique encryption key type: object @@ -113286,7 +112879,7 @@ paths: - subkeys - revoked examples: - default: &706 + default: &704 value: - id: 3 name: Octocat's GPG Key @@ -113371,9 +112964,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: &679 + default: &677 value: id: 3 name: Octocat's GPG Key @@ -113430,7 +113023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &680 + - &678 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -113442,9 +113035,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: *679 + default: *677 '404': *6 '304': *35 '403': *27 @@ -113467,7 +113060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *680 + - *678 responses: '204': description: Response @@ -113784,7 +113377,7 @@ paths: required: true content: application/json: - schema: *532 + schema: *529 examples: default: value: @@ -113934,7 +113527,7 @@ paths: application/json: schema: type: array - items: &681 + items: &679 title: Key description: Key type: object @@ -114037,9 +113630,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *679 examples: - default: &682 + default: &680 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114072,15 +113665,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *564 + - *562 responses: '200': description: Response content: application/json: - schema: *681 + schema: *679 examples: - default: *682 + default: *680 '404': *6 '304': *35 '403': *27 @@ -114103,7 +113696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *564 + - *562 responses: '204': description: Response @@ -114136,7 +113729,7 @@ paths: application/json: schema: type: array - items: &683 + items: &681 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -114215,7 +113808,7 @@ paths: - account - plan examples: - default: &684 + default: &682 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -114277,9 +113870,9 @@ paths: application/json: schema: type: array - items: *683 + items: *681 examples: - default: *684 + default: *682 headers: Link: *66 '304': *35 @@ -115297,7 +114890,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *257 - - *685 + - *683 responses: '204': description: Response @@ -115430,7 +115023,7 @@ paths: - docker - nuget - container - - *686 + - *684 - *19 - *17 responses: @@ -115442,8 +115035,8 @@ paths: type: array items: *262 examples: - default: *687 - '400': *688 + default: *685 + '400': *686 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115472,7 +115065,7 @@ paths: application/json: schema: *262 examples: - default: &707 + default: &705 value: id: 40201 name: octo-name @@ -115834,9 +115427,9 @@ paths: application/json: schema: type: array - items: *677 + items: *675 examples: - default: *689 + default: *687 headers: Link: *66 '304': *35 @@ -115949,7 +115542,7 @@ paths: type: array items: *78 examples: - default: &696 + default: &694 summary: Default response value: - id: 1296269 @@ -116267,9 +115860,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *345 + default: *342 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -116313,9 +115906,9 @@ paths: application/json: schema: type: array - items: *534 + items: *532 examples: - default: *690 + default: *688 headers: Link: *66 '304': *35 @@ -116400,7 +115993,7 @@ paths: application/json: schema: type: array - items: &691 + items: &689 title: Social account description: Social media account type: object @@ -116417,7 +116010,7 @@ paths: - provider - url examples: - default: &692 + default: &690 value: - provider: twitter url: https://twitter.com/github @@ -116480,9 +116073,9 @@ paths: application/json: schema: type: array - items: *691 + items: *689 examples: - default: *692 + default: *690 '422': *15 '304': *35 '404': *6 @@ -116570,7 +116163,7 @@ paths: application/json: schema: type: array - items: &693 + items: &691 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -116590,7 +116183,7 @@ paths: - title - created_at examples: - default: &724 + default: &722 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -116655,9 +116248,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *691 examples: - default: &694 + default: &692 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -116687,7 +116280,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: - - &695 + - &693 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -116699,9 +116292,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *691 examples: - default: *694 + default: *692 '404': *6 '304': *35 '403': *27 @@ -116724,7 +116317,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: - - *695 + - *693 responses: '204': description: Response @@ -116753,7 +116346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &725 + - &723 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 @@ -116778,11 +116371,11 @@ paths: type: array items: *78 examples: - default-response: *696 + default-response: *694 application/vnd.github.v3.star+json: schema: type: array - items: &726 + items: &724 title: Starred Repository description: Starred Repository type: object @@ -116938,8 +116531,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: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response if this repository is starred by you @@ -116967,8 +116560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -116992,8 +116585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *340 - - *341 + - *337 + - *338 responses: '204': description: Response @@ -117065,7 +116658,7 @@ paths: application/json: schema: type: array - items: *336 + items: *333 examples: default: value: @@ -117151,10 +116744,10 @@ paths: application/json: schema: oneOf: - - *672 - - *671 + - *670 + - *669 examples: - default-response: &700 + default-response: &698 summary: Default response value: login: octocat @@ -117189,7 +116782,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &701 + response-with-git-hub-plan-information: &699 summary: Response with GitHub plan information value: login: octocat @@ -117246,7 +116839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &698 + - &696 name: user_id description: The unique identifier of the user. in: path @@ -117312,7 +116905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *697 + - *695 - *17 responses: '200': @@ -117347,7 +116940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *698 + - *696 - *280 requestBody: required: true @@ -117422,7 +117015,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *699 + schema: *697 examples: table_view: summary: Response for creating a table view @@ -117474,11 +117067,11 @@ paths: application/json: schema: oneOf: - - *672 - - *671 + - *670 + - *669 examples: - default-response: *700 - response-with-git-hub-plan-information: *701 + default-response: *698 + response-with-git-hub-plan-information: *699 '404': *6 x-github: githubCloudOnly: false @@ -117528,8 +117121,8 @@ paths: required: - subject_digests examples: - default: *702 - withPredicateType: *703 + default: *700 + withPredicateType: *701 responses: '200': description: Response @@ -117583,7 +117176,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *704 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117803,7 +117396,7 @@ paths: initiator: type: string examples: - default: *400 + default: *397 '201': description: Response content: @@ -118101,7 +117694,7 @@ paths: application/json: schema: *196 examples: - default: &705 + default: &703 summary: Example response for a user copilot space value: id: 42 @@ -118202,7 +117795,7 @@ paths: application/json: schema: *196 examples: - default: *705 + default: *703 '403': *27 '404': *6 x-github: @@ -118328,7 +117921,7 @@ paths: application/json: schema: *196 examples: - default: *705 + default: *703 '403': *27 '404': *6 '422': *15 @@ -119096,7 +118689,7 @@ paths: type: array items: *262 examples: - default: *687 + default: *685 '403': *27 '401': *23 x-github: @@ -119480,9 +119073,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: *706 + default: *704 headers: Link: *66 x-github: @@ -119586,7 +119179,7 @@ paths: application/json: schema: *20 examples: - default: *531 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119711,7 +119304,7 @@ paths: - docker - nuget - container - - *686 + - *684 - *70 - *19 - *17 @@ -119724,10 +119317,10 @@ paths: type: array items: *262 examples: - default: *687 + default: *685 '403': *27 '401': *23 - '400': *688 + '400': *686 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119757,7 +119350,7 @@ paths: application/json: schema: *262 examples: - default: *707 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120106,7 +119699,7 @@ paths: type: array items: *283 examples: - default: *708 + default: *706 headers: Link: *66 '304': *35 @@ -120166,7 +119759,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *709 + items: *707 required: - name - data_type @@ -120182,7 +119775,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *710 + iteration_configuration: *708 required: - name - data_type @@ -120204,8 +119797,8 @@ paths: value: name: Due date data_type: date - single_select_field: *711 - iteration_field: *712 + single_select_field: *709 + iteration_field: *710 responses: '201': description: Response @@ -120213,11 +119806,11 @@ paths: application/json: schema: *283 examples: - text_field: *713 - number_field: *714 - date_field: *715 - single_select_field: *716 - iteration_field: *717 + text_field: *711 + number_field: *712 + date_field: *713 + single_select_field: *714 + iteration_field: *715 '304': *35 '403': *27 '401': *23 @@ -120239,7 +119832,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *280 - - *718 + - *716 - *70 responses: '200': @@ -120248,7 +119841,7 @@ paths: application/json: schema: *283 examples: - default: *719 + default: *717 headers: Link: *66 '304': *35 @@ -120605,7 +120198,7 @@ paths: parameters: - *280 - *70 - - *720 + - *718 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -121144,7 +120737,7 @@ paths: parameters: - *70 - *116 - - *721 + - *719 - *118 responses: '200': @@ -121243,9 +120836,9 @@ paths: - *116 - *117 - *118 - - *722 + - *720 - *121 - - *723 + - *721 responses: '200': description: Response when getting a billing usage summary @@ -121379,9 +120972,9 @@ paths: application/json: schema: type: array - items: *691 + items: *689 examples: - default: *692 + default: *690 headers: Link: *66 x-github: @@ -121411,9 +121004,9 @@ paths: application/json: schema: type: array - items: *693 + items: *691 examples: - default: *724 + default: *722 headers: Link: *66 x-github: @@ -121438,7 +121031,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *725 + - *723 - *60 - *17 - *19 @@ -121450,11 +121043,11 @@ paths: schema: anyOf: - type: array - items: *726 + items: *724 - type: array items: *78 examples: - default-response: *696 + default-response: *694 headers: Link: *66 x-github: @@ -121614,7 +121207,7 @@ webhooks: type: string enum: - disabled - enterprise: &727 + enterprise: &725 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -121683,7 +121276,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &728 + installation: &726 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -121704,7 +121297,7 @@ webhooks: required: - id - node_id - organization: &729 + organization: &727 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121777,7 +121370,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &730 + repository: &728 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122717,10 +122310,10 @@ webhooks: type: string enum: - enabled - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -122796,11 +122389,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - rule: &731 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + rule: &729 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) @@ -123023,11 +122616,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - rule: *731 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + rule: *729 sender: *4 required: - action @@ -123215,11 +122808,11 @@ webhooks: - everyone required: - from - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - rule: *731 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + rule: *729 sender: *4 required: - action @@ -123303,7 +122896,7 @@ webhooks: type: string enum: - completed - check_run: &733 + check_run: &731 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123413,7 +123006,7 @@ webhooks: - examples: - neutral - deployment: *732 + deployment: *730 details_url: type: string examples: @@ -123511,10 +123104,10 @@ webhooks: - output - app - pull_requests - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 sender: *4 required: - check_run @@ -123905,11 +123498,11 @@ webhooks: type: string enum: - created - check_run: *733 - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + check_run: *731 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 sender: *4 required: - check_run @@ -124303,11 +123896,11 @@ webhooks: type: string enum: - requested_action - check_run: *733 - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + check_run: *731 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 requested_action: description: The action requested by the user. type: object @@ -124710,11 +124303,11 @@ webhooks: type: string enum: - rerequested - check_run: *733 - installation: *728 - enterprise: *727 - organization: *729 - repository: *730 + check_run: *731 + installation: *726 + enterprise: *725 + organization: *727 + repository: *728 sender: *4 required: - check_run @@ -125699,10 +125292,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -126416,10 +126009,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -127127,10 +126720,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -127299,7 +126892,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127451,20 +127044,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &734 + commit_oid: &732 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: *727 - installation: *728 - organization: *729 - ref: &735 + enterprise: *725 + installation: *726 + organization: *727 + ref: &733 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: *730 + repository: *728 sender: *4 required: - action @@ -127631,7 +127224,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127872,12 +127465,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -127975,7 +127568,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128160,12 +127753,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -128334,7 +127927,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128511,12 +128104,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -128617,7 +128210,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128806,9 +128399,9 @@ webhooks: type: - string - 'null' - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -128816,7 +128409,7 @@ webhooks: type: - string - 'null' - repository: *730 + repository: *728 sender: *4 required: - action @@ -128915,7 +128508,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129062,12 +128655,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *734 - enterprise: *727 - installation: *728 - organization: *729 - ref: *735 - repository: *730 + commit_oid: *732 + enterprise: *725 + installation: *726 + organization: *727 + ref: *733 + repository: *728 sender: *4 required: - action @@ -129236,7 +128829,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *428 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129388,10 +128981,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -129651,10 +129244,10 @@ webhooks: - updated_at - author_association - body - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -129735,18 +129328,18 @@ webhooks: type: - string - 'null' - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *729 - pusher_type: &736 + organization: *727 + pusher_type: &734 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &737 + ref: &735 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -129756,7 +129349,7 @@ webhooks: enum: - tag - branch - repository: *730 + repository: *728 sender: *4 required: - ref @@ -129839,9 +129432,9 @@ webhooks: enum: - created definition: *291 - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -129926,9 +129519,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -130006,9 +129599,9 @@ webhooks: enum: - promote_to_enterprise definition: *291 - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -130086,9 +129679,9 @@ webhooks: enum: - updated definition: *291 - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -130165,10 +129758,10 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - repository: *730 - organization: *729 + enterprise: *725 + installation: *726 + repository: *728 + organization: *727 sender: *4 new_property_values: type: array @@ -130253,18 +129846,18 @@ webhooks: title: delete event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - pusher_type: *736 - ref: *737 + enterprise: *725 + installation: *726 + organization: *727 + pusher_type: *734 + ref: *735 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *730 + repository: *728 sender: *4 required: - ref @@ -130344,11 +129937,11 @@ webhooks: type: string enum: - assignees_changed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -130428,11 +130021,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -130513,11 +130106,11 @@ webhooks: type: string enum: - auto_reopened - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -130598,11 +130191,11 @@ webhooks: type: string enum: - created - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -130681,11 +130274,11 @@ webhooks: type: string enum: - dismissed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -130764,11 +130357,11 @@ webhooks: type: string enum: - fixed - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -130848,11 +130441,11 @@ webhooks: type: string enum: - reintroduced - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -130931,11 +130524,11 @@ webhooks: type: string enum: - reopened - alert: *491 - installation: *728 - organization: *729 - enterprise: *727 - repository: *730 + alert: *488 + installation: *726 + organization: *727 + enterprise: *725 + repository: *728 sender: *4 required: - action @@ -131012,9 +130605,9 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - key: &738 + enterprise: *725 + installation: *726 + key: &736 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131052,8 +130645,8 @@ webhooks: - verified - created_at - read_only - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -131130,11 +130723,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - key: *738 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + key: *736 + organization: *727 + repository: *728 sender: *4 required: - action @@ -131701,12 +131294,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: &742 + workflow: &740 title: Workflow type: - object @@ -132457,13 +132050,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *498 + - *495 pull_requests: type: array - items: *582 - repository: *730 - organization: *729 - installation: *728 + items: *580 + repository: *728 + organization: *727 + installation: *726 sender: *4 responses: '200': @@ -132534,7 +132127,7 @@ webhooks: type: string enum: - approved - approver: &739 + approver: &737 type: object properties: avatar_url: @@ -132577,11 +132170,11 @@ webhooks: type: string comment: type: string - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - reviewers: &740 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + reviewers: &738 type: array items: type: object @@ -132662,7 +132255,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &741 + workflow_job_run: &739 type: object properties: conclusion: @@ -133408,18 +133001,18 @@ webhooks: type: string enum: - rejected - approver: *739 + approver: *737 comment: type: string - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - reviewers: *740 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + reviewers: *738 sender: *4 since: type: string - workflow_job_run: *741 + workflow_job_run: *739 workflow_job_runs: type: array items: @@ -134136,13 +133729,13 @@ webhooks: type: string enum: - requested - enterprise: *727 + enterprise: *725 environment: type: string - installation: *728 - organization: *729 - repository: *730 - requestor: &747 + installation: *726 + organization: *727 + repository: *728 + requestor: &745 title: User type: - object @@ -136075,12 +135668,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 workflow_run: title: Deployment Workflow Run type: @@ -136771,7 +136364,7 @@ webhooks: type: string enum: - answered - answer: &745 + answer: &743 type: object properties: author_association: @@ -136931,11 +136524,11 @@ webhooks: - created_at - updated_at - body - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137062,11 +136655,11 @@ webhooks: - from required: - category - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137149,11 +136742,11 @@ webhooks: type: string enum: - closed - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137235,7 +136828,7 @@ webhooks: type: string enum: - created - comment: &744 + comment: &742 type: object properties: author_association: @@ -137395,11 +136988,11 @@ webhooks: - updated_at - body - reactions - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137482,12 +137075,12 @@ webhooks: type: string enum: - deleted - comment: *744 - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + comment: *742 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137582,12 +137175,12 @@ webhooks: - from required: - body - comment: *744 - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + comment: *742 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137671,11 +137264,11 @@ webhooks: type: string enum: - created - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137757,11 +137350,11 @@ webhooks: type: string enum: - deleted - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137861,11 +137454,11 @@ webhooks: type: string required: - from - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -137947,10 +137540,10 @@ webhooks: type: string enum: - labeled - discussion: *743 - enterprise: *727 - installation: *728 - label: &746 + discussion: *741 + enterprise: *725 + installation: *726 + label: &744 title: Label type: object properties: @@ -137983,8 +137576,8 @@ webhooks: - color - default - description - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -138067,11 +137660,11 @@ webhooks: type: string enum: - locked - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -138153,11 +137746,11 @@ webhooks: type: string enum: - pinned - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -138239,11 +137832,11 @@ webhooks: type: string enum: - reopened - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -138328,16 +137921,16 @@ webhooks: changes: type: object properties: - new_discussion: *743 - new_repository: *730 + new_discussion: *741 + new_repository: *728 required: - new_discussion - new_repository - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -138420,10 +138013,10 @@ webhooks: type: string enum: - unanswered - discussion: *743 - old_answer: *745 - organization: *729 - repository: *730 + discussion: *741 + old_answer: *743 + organization: *727 + repository: *728 sender: *4 required: - action @@ -138505,12 +138098,12 @@ webhooks: type: string enum: - unlabeled - discussion: *743 - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -138593,11 +138186,11 @@ webhooks: type: string enum: - unlocked - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -138679,11 +138272,11 @@ webhooks: type: string enum: - unpinned - discussion: *743 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + discussion: *741 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -138756,7 +138349,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *727 + enterprise: *725 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -139434,9 +139027,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - forkee @@ -139582,9 +139175,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pages: description: The pages that were updated. type: array @@ -139622,7 +139215,7 @@ webhooks: - action - sha - html_url - repository: *730 + repository: *728 sender: *4 required: - pages @@ -139698,10 +139291,10 @@ webhooks: type: string enum: - created - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: &748 + organization: *727 + repositories: &746 description: An array of repository objects that the installation can access. type: array @@ -139727,8 +139320,8 @@ webhooks: - name - full_name - private - repository: *730 - requester: *747 + repository: *728 + requester: *745 sender: *4 required: - action @@ -139803,11 +139396,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -139884,11 +139477,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -139965,10 +139558,10 @@ webhooks: type: string enum: - added - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories_added: &749 + organization: *727 + repositories_added: &747 description: An array of repository objects, which were added to the installation. type: array @@ -140014,15 +139607,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *730 - repository_selection: &750 + repository: *728 + repository_selection: &748 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *747 + requester: *745 sender: *4 required: - action @@ -140101,10 +139694,10 @@ webhooks: type: string enum: - removed - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories_added: *749 + organization: *727 + repositories_added: *747 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140131,9 +139724,9 @@ webhooks: - name - full_name - private - repository: *730 - repository_selection: *750 - requester: *747 + repository: *728 + repository_selection: *748 + requester: *745 sender: *4 required: - action @@ -140212,11 +139805,11 @@ webhooks: type: string enum: - suspend - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -140398,10 +139991,10 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 target_type: type: string @@ -140480,11 +140073,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *727 + enterprise: *725 installation: *20 - organization: *729 - repositories: *748 - repository: *730 + organization: *727 + repositories: *746 + repository: *728 requester: type: - 'null' @@ -140650,7 +140243,7 @@ webhooks: pin: anyOf: - type: 'null' - - *561 + - *559 user: title: User type: @@ -140736,8 +140329,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141549,8 +141142,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141911,8 +141504,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -141992,7 +141585,7 @@ webhooks: type: string enum: - deleted - comment: &751 + comment: &749 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -142149,7 +141742,7 @@ webhooks: pin: anyOf: - type: 'null' - - *561 + - *559 required: - url - html_url @@ -142163,8 +141756,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142972,8 +142565,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143336,8 +142929,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -143417,7 +143010,7 @@ webhooks: type: string enum: - edited - changes: &775 + changes: &773 description: The changes to the comment. type: object properties: @@ -143429,9 +143022,9 @@ webhooks: type: string required: - from - comment: *751 - enterprise: *727 - installation: *728 + comment: *749 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144242,8 +143835,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144604,8 +144197,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -144686,9 +144279,9 @@ webhooks: type: string enum: - pinned - comment: *751 - enterprise: *727 - installation: *728 + comment: *749 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145501,8 +145094,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145865,8 +145458,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -145946,9 +145539,9 @@ webhooks: type: string enum: - unpinned - comment: *751 - enterprise: *727 - installation: *728 + comment: *749 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146761,8 +146354,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147125,8 +146718,8 @@ webhooks: - state - locked - assignee - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -147215,9 +146808,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -147306,9 +146899,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -147396,9 +146989,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -147487,9 +147080,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -147569,10 +147162,10 @@ webhooks: type: string enum: - assigned - assignee: *747 - enterprise: *727 - installation: *728 - issue: &752 + assignee: *745 + enterprise: *725 + installation: *726 + issue: &750 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -148383,11 +147976,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148507,8 +148100,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -148588,8 +148181,8 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -149405,11 +148998,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149672,8 +149265,8 @@ webhooks: required: - state - closed_at - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -149752,8 +149345,8 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150560,11 +150153,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150683,8 +150276,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -150763,8 +150356,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151594,11 +151187,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151696,7 +151289,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &753 + milestone: &751 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151839,8 +151432,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -151939,8 +151532,8 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152751,11 +152344,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152875,9 +152468,9 @@ webhooks: - active_lock_reason - body - reactions - label: *746 - organization: *729 - repository: *730 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -152957,9 +152550,9 @@ webhooks: type: string enum: - field_added - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 issue_field: type: object description: The issue field whose value was set or updated on the @@ -153125,8 +152718,8 @@ webhooks: - id required: - from - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -153206,9 +152799,9 @@ webhooks: type: string enum: - field_removed - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -153295,8 +152888,8 @@ webhooks: - 'null' required: - id - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -153376,8 +152969,8 @@ webhooks: type: string enum: - labeled - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154187,11 +153780,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154311,9 +153904,9 @@ webhooks: - active_lock_reason - body - reactions - label: *746 - organization: *729 - repository: *730 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -154393,8 +153986,8 @@ webhooks: type: string enum: - locked - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155229,11 +154822,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155330,8 +154923,8 @@ webhooks: format: uri user_view_type: type: string - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -155410,8 +155003,8 @@ webhooks: type: string enum: - milestoned - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156240,11 +155833,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156341,9 +155934,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *753 - organization: *729 - repository: *730 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -157230,11 +156823,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157826,8 +157419,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158634,11 +158227,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158761,8 +158354,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -158842,9 +158435,9 @@ webhooks: type: string enum: - pinned - enterprise: *727 - installation: *728 - issue: &754 + enterprise: *725 + installation: *726 + issue: &752 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -159649,11 +159242,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159772,8 +159365,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -159852,8 +159445,8 @@ webhooks: type: string enum: - reopened - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -160686,11 +160279,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160788,8 +160381,8 @@ webhooks: user_view_type: type: string type: *245 - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -161677,11 +161270,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162291,11 +161884,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *727 - installation: *728 - issue: *754 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *752 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162375,12 +161968,12 @@ webhooks: type: string enum: - typed - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 type: *245 - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162461,7 +162054,7 @@ webhooks: type: string enum: - unassigned - assignee: &778 + assignee: &776 title: User type: - object @@ -162533,11 +162126,11 @@ webhooks: required: - login - id - enterprise: *727 - installation: *728 - issue: *752 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *750 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162616,12 +162209,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *727 - installation: *728 - issue: *752 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *750 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -162701,8 +162294,8 @@ webhooks: type: string enum: - unlocked - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -163535,11 +163128,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *664 - issue_dependencies_summary: *665 + sub_issues_summary: *662 + issue_dependencies_summary: *663 issue_field_values: type: array - items: *545 + items: *543 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163636,8 +163229,8 @@ webhooks: format: uri user_view_type: type: string - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -163717,11 +163310,11 @@ webhooks: type: string enum: - unpinned - enterprise: *727 - installation: *728 - issue: *754 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + issue: *752 + organization: *727 + repository: *728 sender: *4 required: - action @@ -163800,12 +163393,12 @@ webhooks: type: string enum: - untyped - enterprise: *727 - installation: *728 - issue: *752 + enterprise: *725 + installation: *726 + issue: *750 type: *245 - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -163885,11 +163478,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -163967,11 +163560,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -164081,11 +163674,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - label: *746 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + label: *744 + organization: *727 + repository: *728 sender: *4 required: - action @@ -164167,9 +163760,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: &755 + enterprise: *725 + installation: *726 + marketplace_purchase: &753 title: Marketplace Purchase type: object required: @@ -164257,8 +163850,8 @@ webhooks: type: integer unit_count: type: integer - organization: *729 - previous_marketplace_purchase: &756 + organization: *727 + previous_marketplace_purchase: &754 title: Marketplace Purchase type: object properties: @@ -164342,7 +163935,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *730 + repository: *728 sender: *4 required: - action @@ -164422,10 +164015,10 @@ webhooks: - changed effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: *755 - organization: *729 + enterprise: *725 + installation: *726 + marketplace_purchase: *753 + organization: *727 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -164513,7 +164106,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *730 + repository: *728 sender: *4 required: - action @@ -164595,10 +164188,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: *755 - organization: *729 + enterprise: *725 + installation: *726 + marketplace_purchase: *753 + organization: *727 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -164684,7 +164277,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *730 + repository: *728 sender: *4 required: - action @@ -164765,8 +164358,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 marketplace_purchase: title: Marketplace Purchase type: object @@ -164852,9 +164445,9 @@ webhooks: type: integer unit_count: type: integer - organization: *729 - previous_marketplace_purchase: *756 - repository: *730 + organization: *727 + previous_marketplace_purchase: *754 + repository: *728 sender: *4 required: - action @@ -164934,12 +164527,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *727 - installation: *728 - marketplace_purchase: *755 - organization: *729 - previous_marketplace_purchase: *756 - repository: *730 + enterprise: *725 + installation: *726 + marketplace_purchase: *753 + organization: *727 + previous_marketplace_purchase: *754 + repository: *728 sender: *4 required: - action @@ -165041,11 +164634,11 @@ webhooks: type: string required: - to - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165147,11 +164740,11 @@ webhooks: type: - string - 'null' - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165230,11 +164823,11 @@ webhooks: type: string enum: - removed - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165312,11 +164905,11 @@ webhooks: type: string enum: - added - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165394,7 +164987,7 @@ webhooks: required: - login - id - team: &757 + team: &755 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -165624,11 +165217,11 @@ webhooks: type: string enum: - removed - enterprise: *727 - installation: *728 - member: *747 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + member: *745 + organization: *727 + repository: *728 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165707,7 +165300,7 @@ webhooks: required: - login - id - team: *757 + team: *755 required: - action - scope @@ -165789,8 +165382,8 @@ webhooks: type: string enum: - checks_requested - installation: *728 - merge_group: &758 + installation: *726 + merge_group: &756 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -165809,15 +165402,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *420 + head_commit: *417 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165903,10 +165496,10 @@ webhooks: - merged - invalidated - dequeued - installation: *728 - merge_group: *758 - organization: *729 - repository: *730 + installation: *726 + merge_group: *756 + organization: *727 + repository: *728 sender: *4 required: - action @@ -165979,7 +165572,7 @@ webhooks: type: string enum: - deleted - enterprise: *727 + enterprise: *725 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -166088,12 +165681,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *728 - organization: *729 + installation: *726 + organization: *727 repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -166173,11 +165766,11 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 - milestone: *753 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166256,9 +165849,9 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - milestone: &759 + enterprise: *725 + installation: *726 + milestone: &757 title: Milestone description: A collection of related issues and pull requests. type: object @@ -166400,8 +165993,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166480,11 +166073,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - milestone: *753 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166594,11 +166187,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - milestone: *753 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *751 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166678,11 +166271,11 @@ webhooks: type: string enum: - opened - enterprise: *727 - installation: *728 - milestone: *759 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + milestone: *757 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166761,11 +166354,11 @@ webhooks: type: string enum: - blocked - blocked_user: *747 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + blocked_user: *745 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166844,11 +166437,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *747 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + blocked_user: *745 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -166927,9 +166520,9 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - membership: &760 + enterprise: *725 + installation: *726 + membership: &758 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -167039,8 +166632,8 @@ webhooks: - role - organization_url - user - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 required: - action @@ -167118,11 +166711,11 @@ webhooks: type: string enum: - member_added - enterprise: *727 - installation: *728 - membership: *760 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + membership: *758 + organization: *727 + repository: *728 sender: *4 required: - action @@ -167201,8 +166794,8 @@ webhooks: type: string enum: - member_invited - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -167324,10 +166917,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 - user: *747 + user: *745 required: - action - invitation @@ -167405,11 +166998,11 @@ webhooks: type: string enum: - member_removed - enterprise: *727 - installation: *728 - membership: *760 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + membership: *758 + organization: *727 + repository: *728 sender: *4 required: - action @@ -167496,11 +167089,11 @@ webhooks: properties: from: type: string - enterprise: *727 - installation: *728 - membership: *760 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + membership: *758 + organization: *727 + repository: *728 sender: *4 required: - action @@ -167577,9 +167170,9 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 package: description: Information about the package. type: object @@ -168102,7 +167695,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &761 + items: &759 title: Ruby Gems metadata type: object properties: @@ -168199,7 +167792,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -168275,9 +167868,9 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 package: description: Information about the package. type: object @@ -168639,7 +168232,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *761 + items: *759 source_url: type: string format: uri @@ -168710,7 +168303,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -168890,12 +168483,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *727 + enterprise: *725 id: type: integer - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - id @@ -168972,7 +168565,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &762 + personal_access_token_request: &760 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -169122,10 +168715,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *727 - organization: *729 + enterprise: *725 + organization: *727 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -169202,11 +168795,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *762 - enterprise: *727 - organization: *729 + personal_access_token_request: *760 + enterprise: *725 + organization: *727 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -169282,11 +168875,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *762 - enterprise: *727 - organization: *729 + personal_access_token_request: *760 + enterprise: *725 + organization: *727 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -169361,11 +168954,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *762 - organization: *729 - enterprise: *727 + personal_access_token_request: *760 + organization: *727 + enterprise: *725 sender: *4 - installation: *728 + installation: *726 required: - action - personal_access_token_request @@ -169470,7 +169063,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *763 + last_response: *761 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -169502,8 +169095,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 zen: description: Random string of GitHub zen. @@ -169748,10 +169341,10 @@ webhooks: - from required: - note - enterprise: *727 - installation: *728 - organization: *729 - project_card: &764 + enterprise: *725 + installation: *726 + organization: *727 + project_card: &762 title: Project Card type: object properties: @@ -169874,7 +169467,7 @@ webhooks: - creator - created_at - updated_at - repository: *730 + repository: *728 sender: *4 required: - action @@ -169955,11 +169548,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - project_card: *764 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_card: *762 + repository: *728 sender: *4 required: - action @@ -170039,9 +169632,9 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 project_card: title: Project Card type: object @@ -170171,7 +169764,7 @@ webhooks: repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -170265,11 +169858,11 @@ webhooks: - from required: - note - enterprise: *727 - installation: *728 - organization: *729 - project_card: *764 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_card: *762 + repository: *728 sender: *4 required: - action @@ -170363,9 +169956,9 @@ webhooks: - from required: - column_id - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 project_card: allOf: - title: Project Card @@ -170562,7 +170155,7 @@ webhooks: type: string required: - after_id - repository: *730 + repository: *728 sender: *4 required: - action @@ -170642,10 +170235,10 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 - organization: *729 - project: &766 + enterprise: *725 + installation: *726 + organization: *727 + project: &764 title: Project type: object properties: @@ -170772,7 +170365,7 @@ webhooks: - creator - created_at - updated_at - repository: *730 + repository: *728 sender: *4 required: - action @@ -170852,10 +170445,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - project_column: &765 + enterprise: *725 + installation: *726 + organization: *727 + project_column: &763 title: Project Column type: object properties: @@ -170895,7 +170488,7 @@ webhooks: - name - created_at - updated_at - repository: *730 + repository: *728 sender: *4 required: - action @@ -170974,14 +170567,14 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - project_column: *765 + enterprise: *725 + installation: *726 + organization: *727 + project_column: *763 repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -171070,11 +170663,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - project_column: *765 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_column: *763 + repository: *728 sender: *4 required: - action @@ -171154,11 +170747,11 @@ webhooks: type: string enum: - moved - enterprise: *727 - installation: *728 - organization: *729 - project_column: *765 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project_column: *763 + repository: *728 sender: *4 required: - action @@ -171238,11 +170831,11 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - project: *766 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 + repository: *728 sender: *4 required: - action @@ -171322,14 +170915,14 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - project: *766 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 repository: anyOf: - type: 'null' - - *730 + - *728 sender: *4 required: - action @@ -171430,11 +171023,11 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - project: *766 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 + repository: *728 sender: *4 required: - action @@ -171513,11 +171106,11 @@ webhooks: type: string enum: - reopened - enterprise: *727 - installation: *728 - organization: *729 - project: *766 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + project: *764 + repository: *728 sender: *4 required: - action @@ -171598,8 +171191,8 @@ webhooks: type: string enum: - closed - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -171681,8 +171274,8 @@ webhooks: type: string enum: - created - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -171764,8 +171357,8 @@ webhooks: type: string enum: - deleted - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -171887,8 +171480,8 @@ webhooks: type: string to: type: string - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -171972,7 +171565,7 @@ webhooks: type: string enum: - archived - changes: &770 + changes: &768 type: object properties: archived_at: @@ -171988,9 +171581,9 @@ webhooks: - string - 'null' format: date-time - installation: *728 - organization: *729 - projects_v2_item: &767 + installation: *726 + organization: *727 + projects_v2_item: &765 title: Projects v2 Item description: An item belonging to a project type: object @@ -172130,9 +171723,9 @@ webhooks: - 'null' to: type: string - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -172214,9 +171807,9 @@ webhooks: type: string enum: - created - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -172297,9 +171890,9 @@ webhooks: type: string enum: - deleted - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -172404,7 +171997,7 @@ webhooks: oneOf: - type: string - type: integer - - &768 + - &766 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -172428,7 +172021,7 @@ webhooks: required: - id - name - - &769 + - &767 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -172468,8 +172061,8 @@ webhooks: oneOf: - type: string - type: integer - - *768 - - *769 + - *766 + - *767 type: - 'null' - string @@ -172492,9 +172085,9 @@ webhooks: - 'null' required: - body - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -172591,9 +172184,9 @@ webhooks: type: - string - 'null' - installation: *728 - organization: *729 - projects_v2_item: *767 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -172676,10 +172269,10 @@ webhooks: type: string enum: - restored - changes: *770 - installation: *728 - organization: *729 - projects_v2_item: *767 + changes: *768 + installation: *726 + organization: *727 + projects_v2_item: *765 sender: *4 required: - action @@ -172761,8 +172354,8 @@ webhooks: type: string enum: - reopened - installation: *728 - organization: *729 + installation: *726 + organization: *727 projects_v2: *278 sender: *4 required: @@ -172844,9 +172437,9 @@ webhooks: type: string enum: - created - installation: *728 - organization: *729 - projects_v2_status_update: *771 + installation: *726 + organization: *727 + projects_v2_status_update: *769 sender: *4 required: - action @@ -172927,9 +172520,9 @@ webhooks: type: string enum: - deleted - installation: *728 - organization: *729 - projects_v2_status_update: *771 + installation: *726 + organization: *727 + projects_v2_status_update: *769 sender: *4 required: - action @@ -173075,9 +172668,9 @@ webhooks: - string - 'null' format: date - installation: *728 - organization: *729 - projects_v2_status_update: *771 + installation: *726 + organization: *727 + projects_v2_status_update: *769 sender: *4 required: - action @@ -173148,10 +172741,10 @@ webhooks: title: public event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - repository @@ -173228,13 +172821,13 @@ webhooks: type: string enum: - assigned - assignee: *747 - enterprise: *727 - installation: *728 - number: &772 + assignee: *745 + enterprise: *725 + installation: *726 + number: &770 description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -175605,7 +175198,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -175702,11 +175295,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -178070,7 +177663,7 @@ webhooks: - draft reason: type: string - repository: *730 + repository: *728 sender: *4 required: - action @@ -178167,11 +177760,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -180535,7 +180128,7 @@ webhooks: - draft reason: type: string - repository: *730 + repository: *728 sender: *4 required: - action @@ -180632,13 +180225,13 @@ webhooks: type: string enum: - closed - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: &773 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: &771 allOf: - - *582 + - *580 - type: object properties: allow_auto_merge: @@ -180700,7 +180293,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *730 + repository: *728 sender: *4 required: - action @@ -180781,12 +180374,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -180866,11 +180459,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *727 + enterprise: *725 milestone: *281 - number: *772 - organization: *729 - pull_request: &774 + number: *770 + organization: *727 + pull_request: &772 title: Pull Request type: object properties: @@ -183261,7 +182854,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *730 + repository: *728 sender: *4 required: - action @@ -183340,11 +182933,11 @@ webhooks: type: string enum: - dequeued - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -185712,7 +185305,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *730 + repository: *728 sender: *4 required: - action @@ -185844,12 +185437,12 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -185929,11 +185522,11 @@ webhooks: type: string enum: - enqueued - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -188286,7 +187879,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -188374,11 +187967,11 @@ webhooks: type: string enum: - labeled - enterprise: *727 - installation: *728 - label: *746 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + label: *744 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -190748,7 +190341,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -190844,10 +190437,10 @@ webhooks: type: string enum: - locked - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -193215,7 +192808,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -193310,12 +192903,12 @@ webhooks: type: string enum: - milestoned - enterprise: *727 + enterprise: *725 milestone: *281 - number: *772 - organization: *729 - pull_request: *774 - repository: *730 + number: *770 + organization: *727 + pull_request: *772 + repository: *728 sender: *4 required: - action @@ -193394,12 +192987,12 @@ webhooks: type: string enum: - opened - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -193480,12 +193073,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -193565,12 +193158,12 @@ webhooks: type: string enum: - reopened - enterprise: *727 - installation: *728 - number: *772 - organization: *729 - pull_request: *773 - repository: *730 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 + pull_request: *771 + repository: *728 sender: *4 required: - action @@ -193945,9 +193538,9 @@ webhooks: - start_side - side - reactions - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: type: object properties: @@ -196199,7 +195792,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *730 + repository: *728 sender: *4 required: - action @@ -196294,7 +195887,7 @@ webhooks: type: string enum: - deleted - comment: &776 + comment: &774 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -196587,9 +196180,9 @@ webhooks: - start_side - side - reactions - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: type: object properties: @@ -198829,7 +198422,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *730 + repository: *728 sender: *4 required: - action @@ -198924,11 +198517,11 @@ webhooks: type: string enum: - edited - changes: *775 - comment: *776 - enterprise: *727 - installation: *728 - organization: *729 + changes: *773 + comment: *774 + enterprise: *725 + installation: *726 + organization: *727 pull_request: type: object properties: @@ -201171,7 +200764,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *730 + repository: *728 sender: *4 required: - action @@ -201267,9 +200860,9 @@ webhooks: type: string enum: - dismissed - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -203524,7 +203117,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 + repository: *728 review: description: The review that was affected. type: object @@ -203790,9 +203383,9 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -205906,8 +205499,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 - review: &777 + repository: *728 + review: &775 description: The review that was affected. type: object properties: @@ -206153,12 +205746,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -208527,7 +208120,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_reviewer: title: User type: @@ -208613,12 +208206,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -210994,7 +210587,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211212,12 +210805,12 @@ webhooks: type: string enum: - review_requested - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -213588,7 +213181,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_reviewer: title: User type: @@ -213675,12 +213268,12 @@ webhooks: type: string enum: - review_requested - enterprise: *727 - installation: *728 + enterprise: *725 + installation: *726 number: description: The pull request number. type: integer - organization: *729 + organization: *727 pull_request: title: Pull Request type: object @@ -216042,7 +215635,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 requested_team: title: Team description: Groups of organization members that gives permissions @@ -216249,9 +215842,9 @@ webhooks: type: string enum: - submitted - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -218509,8 +218102,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 - review: *777 + repository: *728 + review: *775 sender: *4 required: - action @@ -218605,9 +218198,9 @@ webhooks: type: string enum: - resolved - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -220760,7 +220353,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 + repository: *728 sender: *4 thread: type: object @@ -221165,9 +220758,9 @@ webhooks: type: string enum: - unresolved - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 pull_request: title: Simple Pull Request type: object @@ -223303,7 +222896,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *730 + repository: *728 sender: *4 thread: type: object @@ -223710,10 +223303,10 @@ webhooks: type: string before: type: string - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -226070,7 +225663,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -226167,11 +225760,11 @@ webhooks: type: string enum: - unassigned - assignee: *778 - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + assignee: *776 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -228543,7 +228136,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -228637,11 +228230,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *727 - installation: *728 - label: *746 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + label: *744 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -231002,7 +230595,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -231098,10 +230691,10 @@ webhooks: type: string enum: - unlocked - enterprise: *727 - installation: *728 - number: *772 - organization: *729 + enterprise: *725 + installation: *726 + number: *770 + organization: *727 pull_request: title: Pull Request type: object @@ -233452,7 +233045,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *730 + repository: *728 sender: *4 required: - action @@ -233670,7 +233263,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *727 + enterprise: *725 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -233765,8 +233358,8 @@ webhooks: - url - author - committer - installation: *728 - organization: *729 + installation: *726 + organization: *727 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -234365,9 +233958,9 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 registry_package: type: object properties: @@ -234844,7 +234437,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *761 + items: *759 summary: type: string tag_name: @@ -234900,7 +234493,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -234978,9 +234571,9 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 registry_package: type: object properties: @@ -235292,7 +234885,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *761 + items: *759 summary: type: string tag_name: @@ -235342,7 +234935,7 @@ webhooks: - owner - package_version - registry - repository: *730 + repository: *728 sender: *4 required: - action @@ -235419,10 +235012,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - release: &779 + enterprise: *725 + installation: *726 + organization: *727 + release: &777 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -235753,7 +235346,7 @@ webhooks: - updated_at - zipball_url - body - repository: *730 + repository: *728 sender: *4 required: - action @@ -235830,11 +235423,11 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - release: *779 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *777 + repository: *728 sender: *4 required: - action @@ -235951,11 +235544,11 @@ webhooks: type: boolean required: - to - enterprise: *727 - installation: *728 - organization: *729 - release: *779 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *777 + repository: *728 sender: *4 required: - action @@ -236033,9 +235626,9 @@ webhooks: type: string enum: - prereleased - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -236371,7 +235964,7 @@ webhooks: - string - 'null' format: uri - repository: *730 + repository: *728 sender: *4 required: - action @@ -236447,10 +236040,10 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 - release: &780 + enterprise: *725 + installation: *726 + organization: *727 + release: &778 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -236783,7 +236376,7 @@ webhooks: - string - 'null' format: uri - repository: *730 + repository: *728 sender: *4 required: - action @@ -236859,11 +236452,11 @@ webhooks: type: string enum: - released - enterprise: *727 - installation: *728 - organization: *729 - release: *779 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *777 + repository: *728 sender: *4 required: - action @@ -236939,11 +236532,11 @@ webhooks: type: string enum: - unpublished - enterprise: *727 - installation: *728 - organization: *729 - release: *780 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + release: *778 + repository: *728 sender: *4 required: - action @@ -237019,11 +236612,11 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - repository_advisory: *651 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + repository_advisory: *649 sender: *4 required: - action @@ -237099,11 +236692,11 @@ webhooks: type: string enum: - reported - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - repository_advisory: *651 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + repository_advisory: *649 sender: *4 required: - action @@ -237179,10 +236772,10 @@ webhooks: type: string enum: - archived - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237259,10 +236852,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237340,10 +236933,10 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237428,10 +237021,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237546,10 +237139,10 @@ webhooks: - 'null' items: type: string - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237621,10 +237214,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 status: type: string @@ -237705,10 +237298,10 @@ webhooks: type: string enum: - privatized - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237785,10 +237378,10 @@ webhooks: type: string enum: - publicized - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237882,10 +237475,10 @@ webhooks: - name required: - repository - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -237965,10 +237558,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 repository_ruleset: *323 sender: *4 required: @@ -238047,10 +237640,10 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 repository_ruleset: *323 sender: *4 required: @@ -238129,10 +237722,10 @@ webhooks: type: string enum: - edited - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 repository_ruleset: *323 changes: type: object @@ -238194,16 +237787,16 @@ webhooks: properties: added: type: array - items: *602 + items: *600 deleted: type: array - items: *602 + items: *600 updated: type: array items: type: object properties: - rule: *602 + rule: *600 changes: type: object properties: @@ -238440,10 +238033,10 @@ webhooks: - from required: - owner - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238521,10 +238114,10 @@ webhooks: type: string enum: - unarchived - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238602,7 +238195,7 @@ webhooks: type: string enum: - create - alert: &781 + alert: &779 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -238727,10 +238320,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -238940,10 +238533,10 @@ webhooks: type: string enum: - dismissed - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -239021,11 +238614,11 @@ webhooks: type: string enum: - reopen - alert: *781 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *779 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -239227,10 +238820,10 @@ webhooks: enum: - fixed - open - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -239308,7 +238901,7 @@ webhooks: type: string enum: - assigned - alert: &782 + alert: &780 type: object properties: number: *180 @@ -239448,10 +239041,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -239529,11 +239122,11 @@ webhooks: type: string enum: - created - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -239614,11 +239207,11 @@ webhooks: type: string enum: - created - alert: *782 - installation: *728 - location: *783 - organization: *729 - repository: *730 + alert: *780 + installation: *726 + location: *781 + organization: *727 + repository: *728 sender: *4 required: - location @@ -239856,11 +239449,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -239938,11 +239531,11 @@ webhooks: type: string enum: - reopened - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -240020,11 +239613,11 @@ webhooks: type: string enum: - resolved - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -240102,12 +239695,12 @@ webhooks: type: string enum: - unassigned - alert: *782 + alert: *780 assignee: *4 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -240185,11 +239778,11 @@ webhooks: type: string enum: - validated - alert: *782 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + alert: *780 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -240319,10 +239912,10 @@ webhooks: - organization - enterprise - - repository: *730 - enterprise: *727 - installation: *728 - organization: *729 + repository: *728 + enterprise: *725 + installation: *726 + organization: *727 sender: *4 required: - action @@ -240400,11 +239993,11 @@ webhooks: type: string enum: - published - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - security_advisory: &784 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + security_advisory: &782 description: The details of the security advisory, including summary, description, and severity. type: object @@ -240608,11 +240201,11 @@ webhooks: type: string enum: - updated - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 - security_advisory: *784 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 + security_advisory: *782 sender: *4 required: - action @@ -240685,10 +240278,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -240883,10 +240476,10 @@ webhooks: type: object properties: security_and_analysis: *296 - enterprise: *727 - installation: *728 - organization: *729 - repository: *343 + enterprise: *725 + installation: *726 + organization: *727 + repository: *340 sender: *4 required: - changes @@ -240964,12 +240557,12 @@ webhooks: type: string enum: - cancelled - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: &785 + sponsorship: &783 type: object properties: created_at: @@ -241274,12 +240867,12 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - sponsorship @@ -241367,12 +240960,12 @@ webhooks: type: string required: - from - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - changes @@ -241449,17 +241042,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &786 + effective_date: &784 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: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - sponsorship @@ -241533,7 +241126,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &787 + changes: &785 type: object properties: tier: @@ -241577,13 +241170,13 @@ webhooks: - from required: - tier - effective_date: *786 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + effective_date: *784 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - changes @@ -241660,13 +241253,13 @@ webhooks: type: string enum: - tier_changed - changes: *787 - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + changes: *785 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - sponsorship: *785 + sponsorship: *783 required: - action - changes @@ -241740,10 +241333,10 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241827,10 +241420,10 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242264,15 +241857,15 @@ webhooks: type: - string - 'null' - enterprise: *727 + enterprise: *725 id: description: The unique identifier of the status. type: integer - installation: *728 + installation: *726 name: type: string - organization: *729 - repository: *730 + organization: *727 + repository: *728 sender: *4 sha: description: The Commit SHA. @@ -242388,9 +241981,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -242479,9 +242072,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -242570,9 +242163,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -242661,9 +242254,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *728 - organization: *729 - repository: *730 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -242739,12 +242332,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - team: &788 + team: &786 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -242974,9 +242567,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -243446,7 +243039,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -243522,9 +243115,9 @@ webhooks: type: string enum: - created - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -243994,7 +243587,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -244071,9 +243664,9 @@ webhooks: type: string enum: - deleted - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -244543,7 +244136,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -244687,9 +244280,9 @@ webhooks: - from required: - permissions - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -245159,7 +244752,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - changes @@ -245237,9 +244830,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *727 - installation: *728 - organization: *729 + enterprise: *725 + installation: *726 + organization: *727 repository: title: Repository description: A git repository @@ -245709,7 +245302,7 @@ webhooks: - topics - visibility sender: *4 - team: *788 + team: *786 required: - action - team @@ -245785,10 +245378,10 @@ webhooks: type: string enum: - started - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 required: - action @@ -245861,17 +245454,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *727 + enterprise: *725 inputs: type: - object - 'null' additionalProperties: true - installation: *728 - organization: *729 + installation: *726 + organization: *727 ref: type: string - repository: *730 + repository: *728 sender: *4 workflow: type: string @@ -245953,10 +245546,10 @@ webhooks: type: string enum: - completed - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: allOf: @@ -246212,7 +245805,7 @@ webhooks: type: string required: - conclusion - deployment: *498 + deployment: *495 required: - action - repository @@ -246291,10 +245884,10 @@ webhooks: type: string enum: - in_progress - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: allOf: @@ -246576,7 +246169,7 @@ webhooks: required: - status - steps - deployment: *498 + deployment: *495 required: - action - repository @@ -246655,10 +246248,10 @@ webhooks: type: string enum: - queued - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: type: object @@ -246804,7 +246397,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *495 required: - action - repository @@ -246883,10 +246476,10 @@ webhooks: type: string enum: - waiting - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 workflow_job: type: object @@ -247033,7 +246626,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *495 required: - action - repository @@ -247113,12 +246706,12 @@ webhooks: type: string enum: - completed - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 workflow_run: title: Workflow Run type: object @@ -248137,12 +247730,12 @@ webhooks: type: string enum: - in_progress - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 workflow_run: title: Workflow Run type: object @@ -249146,12 +248739,12 @@ webhooks: type: string enum: - requested - enterprise: *727 - installation: *728 - organization: *729 - repository: *730 + enterprise: *725 + installation: *726 + organization: *727 + repository: *728 sender: *4 - workflow: *742 + workflow: *740 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 f952aecde6..cd5bdecb74 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -51720,662 +51720,6 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an enterprise", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly enterprise owners and billing managers can view Copilot 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/copilot-metrics-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise 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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { "get": { "summary": "Get Copilot enterprise usage metrics for a specific day", @@ -84196,671 +83540,6 @@ } } }, - "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 100 days prior. 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** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot 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/copilot-metrics-for-enterprise-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the enterprise 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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -167211,7 +165890,7 @@ "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", - "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "description": "List artifact storage records with a given subject digest for repositories owned by an organization.\n\nResults are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.", "tags": [ "orgs" ], @@ -196626,662 +195305,6 @@ } } }, - "/orgs/{org}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an organization", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" - }, - "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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { "summary": "Get Copilot organization usage metrics for a specific day", @@ -321662,671 +319685,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for a team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\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** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -330823,7 +328181,7 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/enterprise-cloud@latest/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/enterprise-cloud@latest/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/enterprise-cloud@latest/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/enterprise-cloud@latest/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], @@ -330990,7 +328348,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -331014,7 +328372,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -331038,7 +328396,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -331062,7 +328420,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -331086,7 +328444,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -331110,7 +328468,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -331204,12 +328562,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -464066,7 +461418,7 @@ }, "assignees": { "type": "array", - "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.\nTo assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`).", "items": { "type": "string" } @@ -512076,6 +509428,721 @@ } } }, + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { + "get": { + "summary": "Get pull request creation cap bypass list for a repository", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + } + }, + "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": "interactions", + "subcategory": "repos" + } + }, + "put": { + "summary": "Add users to the pull request creation cap bypass list for a repository", + "description": "Adds users to the pull request creation cap bypass list for a repository.\nUsers on this list can create pull requests regardless of any configured\npull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.", + "tags": [ + "interactions" + ], + "operationId": "interactions/set-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat", + "monalisa" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Remove users from the pull request creation cap bypass list for a repository", + "description": "Removes users from the pull request creation cap bypass list for a repository.\nRemoved users will be subject to any configured pull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can remove a maximum of 100 users per request.", + "tags": [ + "interactions" + ], + "operationId": "interactions/remove-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/invitations": { "get": { "summary": "List repository invitations", 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 99b4002d33..62abcb5cd0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -922,7 +922,7 @@ paths: - subscriptions_url - type - url - type: &459 + type: &456 type: string description: The type of credit the user is receiving. enum: @@ -1055,7 +1055,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &256 + schema: &253 title: Validation Error Simple description: Validation Error Simple type: object @@ -1088,7 +1088,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: - - &764 + - &762 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4204,7 +4204,7 @@ paths: schema: type: integer default: 30 - - &362 + - &359 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 @@ -4213,7 +4213,7 @@ paths: required: false schema: type: string - - &363 + - &360 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4233,7 +4233,7 @@ paths: application/json: schema: type: array - items: &364 + items: &361 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4329,7 +4329,7 @@ paths: - installation_id - repository_id examples: - default: &365 + default: &362 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4361,7 +4361,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &773 + schema: &771 title: Scim Error description: Scim Error type: object @@ -4392,7 +4392,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &255 + schema: &252 title: Validation Error description: Validation Error type: object @@ -4464,7 +4464,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &363 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4599,7 +4599,7 @@ paths: - request - response examples: - default: &367 + default: &364 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4803,7 +4803,7 @@ paths: parameters: - *17 - *19 - - &226 + - &223 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) @@ -5650,7 +5650,7 @@ paths: license: anyOf: - type: 'null' - - &223 + - &220 title: License Simple description: License Simple type: object @@ -10575,7 +10575,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &254 type: object properties: total_active_caches_count: @@ -10590,7 +10590,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &258 + default: &255 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10805,7 +10805,7 @@ paths: - public_ip_enabled - platform examples: - default: &259 + default: &256 value: total_count: 2 runners: @@ -11109,7 +11109,7 @@ paths: application/json: schema: *47 examples: - default: &260 + default: &257 value: id: 1 platform: linux-x64 @@ -11254,7 +11254,7 @@ paths: application/json: schema: *50 examples: - default: &261 + default: &258 value: version: 1.0.0 size_gb: 75 @@ -11422,7 +11422,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &259 type: object properties: public_ips: @@ -11449,7 +11449,7 @@ paths: required: - public_ips examples: - default: &263 + default: &260 value: public_ips: current_usage: 17 @@ -11489,7 +11489,7 @@ paths: type: array items: *54 examples: - default: &264 + default: &261 value: id: 4-core cpu_cores: 4 @@ -11807,7 +11807,7 @@ paths: required: true content: application/json: - schema: &265 + schema: &262 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11918,7 +11918,7 @@ paths: - all - local_only - selected - selected_actions_url: &267 + selected_actions_url: &264 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` @@ -11998,7 +11998,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &269 + schema: &266 type: object properties: days: @@ -12016,7 +12016,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &774 + '401': &772 description: Authorization failure '404': *6 x-github: @@ -12044,7 +12044,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &267 type: object properties: days: @@ -12093,7 +12093,7 @@ paths: required: - approval_policy examples: - default: &271 + default: &268 value: approval_policy: first_time_contributors '404': *6 @@ -12151,7 +12151,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &269 type: object required: - run_workflows_from_fork_pull_requests @@ -12205,7 +12205,7 @@ paths: required: true content: application/json: - schema: &273 + schema: &270 type: object required: - run_workflows_from_fork_pull_requests @@ -12641,7 +12641,7 @@ paths: description: Success response content: application/json: - schema: &276 + schema: &273 type: object properties: default_workflow_permissions: &67 @@ -12689,7 +12689,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &274 type: object properties: default_workflow_permissions: *67 @@ -13545,7 +13545,7 @@ paths: application/json: schema: type: array - items: &281 + items: &278 title: Runner Application description: Runner Application type: object @@ -13570,7 +13570,7 @@ paths: - download_url - filename examples: - default: &282 + default: &279 value: - os: osx architecture: x64 @@ -13654,7 +13654,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &283 + '201': &280 description: Response content: application/json: @@ -13773,7 +13773,7 @@ paths: - token - expires_at examples: - default: &284 + default: &281 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13813,7 +13813,7 @@ paths: application/json: schema: *79 examples: - default: &285 + default: &282 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13845,7 +13845,7 @@ paths: application/json: schema: *76 examples: - default: &286 + default: &283 value: id: 23 name: MBP @@ -14062,7 +14062,7 @@ paths: - *39 - *75 responses: - '200': &287 + '200': &284 description: Response content: application/json: @@ -14118,7 +14118,7 @@ paths: parameters: - *39 - *75 - - &288 + - &285 name: name description: The name of a self-hosted runner's custom label. in: path @@ -14215,7 +14215,7 @@ paths: required: true content: application/json: - schema: &302 + schema: &299 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14866,7 +14866,7 @@ paths: required: false schema: type: string - - &305 + - &302 name: include description: |- The event types to include: @@ -14884,7 +14884,7 @@ paths: - web - git - all - - &306 + - &303 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. @@ -14892,7 +14892,7 @@ paths: required: false schema: type: string - - &307 + - &304 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. @@ -14900,7 +14900,7 @@ paths: required: false schema: type: string - - &308 + - &305 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14922,7 +14922,7 @@ paths: application/json: schema: type: array - items: &309 + items: &306 type: object properties: "@timestamp": @@ -15044,7 +15044,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &310 + default: &307 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15712,7 +15712,7 @@ paths: application/json: schema: type: array - items: &311 + items: &308 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15884,7 +15884,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &312 + default: &309 value: - id: 21 number: 42 @@ -15989,7 +15989,7 @@ paths: application/json: schema: type: array - items: &314 + items: &311 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -16120,7 +16120,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &315 + default: &312 value: - id: 21 number: 42 @@ -16205,7 +16205,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &320 + - &317 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`, @@ -16215,7 +16215,7 @@ paths: schema: &111 type: string description: The name of the tool used to generate the code scanning analysis. - - &321 + - &318 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 @@ -16239,7 +16239,7 @@ paths: be returned. in: query required: false - schema: &322 + schema: &319 type: string description: State of a code scanning alert. enum: @@ -16272,7 +16272,7 @@ paths: application/json: schema: type: array - items: &323 + items: &320 type: object properties: number: &127 @@ -16301,7 +16301,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &547 + instances_url: &544 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -16337,7 +16337,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &548 + dismissed_reason: &545 type: - string - 'null' @@ -16348,14 +16348,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &549 + dismissed_comment: &546 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &550 + rule: &547 type: object properties: id: @@ -16416,7 +16416,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &551 + tool: &548 type: object properties: name: *111 @@ -16427,26 +16427,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &552 + most_recent_instance: &549 type: object properties: - ref: &545 + ref: &542 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &562 + analysis_key: &559 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &563 + environment: &560 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &564 + category: &561 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16466,7 +16466,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &565 + location: &562 type: object description: Describe a region within a file for the alert. properties: @@ -16487,7 +16487,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &566 + items: &563 type: - string - 'null' @@ -16843,7 +16843,7 @@ paths: - most_recent_instance - repository examples: - default: &324 + default: &321 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17739,7 +17739,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &323 type: array description: A list of default code security configurations items: @@ -17755,7 +17755,7 @@ paths: default configuration: *114 examples: - default: &327 + default: &324 value: - default_for_new_repos: public configuration: @@ -18213,7 +18213,7 @@ paths: default: value: default_for_new_repos: all - configuration: &325 + configuration: &322 value: id: 1325 target_type: organization @@ -18303,7 +18303,7 @@ paths: application/json: schema: type: array - items: &328 + items: &325 type: object description: Repositories associated with a code security configuration and attachment status @@ -18327,7 +18327,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &329 + repository: &326 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18828,7 +18828,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &316 + - &313 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18905,7 +18905,7 @@ paths: parent: anyOf: - type: 'null' - - &402 + - &399 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -19692,7 +19692,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &336 + '413': &333 description: Payload Too Large content: application/json: @@ -20065,487 +20065,6 @@ paths: content: application/json: schema: *3 - "/enterprises/{enterprise}/copilot/metrics": - get: - summary: Get Copilot metrics for an enterprise - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled or set to "no policy" for the enterprise within GitHub settings. - Only enterprise owners and billing managers can view Copilot 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/copilot-metrics-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise - parameters: - - *39 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &207 - title: Copilot Usage Metrics - description: Copilot usage metrics for a given day. - type: object - properties: - date: - type: string - format: date - description: The date for which the usage metrics are aggregated, - in `YYYY-MM-DD` format. - total_active_users: - type: integer - description: The total number of Copilot users with activity - belonging to any Copilot feature, globally, for the given - day. Includes passive activity such as receiving a code suggestion, - as well as engagement activity such as accepting a code suggestion - or prompting chat. Does not include authentication events. - Is not limited to the individual features detailed on the - endpoint. - total_engaged_users: - type: integer - description: The total number of Copilot users who engaged with - any Copilot feature, for the given day. Examples include but - are not limited to accepting a code suggestion, prompting - Copilot chat, or triggering a PR Summary. Does not include - authentication events. Is not limited to the individual features - detailed on the endpoint. - copilot_ide_code_completions: - type: - - object - - 'null' - description: Usage metrics for Copilot editor code completions - in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot - code suggestion, across all active editors. Includes both - full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages. - items: - type: object - description: Usage metrics for a given language for the - given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot - code completion suggestions. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - language. Includes both full and partial acceptances. - editors: - type: array - items: - type: object - description: Copilot code completion metrics for active - editors. - additionalProperties: true - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - editor. Includes both full and partial acceptances. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - code completion suggestions. If the default - model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: Number of users who accepted at - least one Copilot code completion suggestion - for the given editor, for the given language - and model. Includes both full and partial - acceptances. - languages: - type: array - description: Code completion metrics for active - languages, for the given editor. - items: - type: object - description: Usage metrics for a given language - for the given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used - for Copilot code completion suggestions, - for the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted - at least one Copilot code completion - suggestion for the given editor, for - the given language. Includes both full - and partial acceptances. - total_code_suggestions: - type: integer - description: The number of Copilot code - suggestions generated for the given - editor, for the given language. - total_code_acceptances: - type: integer - description: The number of Copilot code - suggestions accepted for the given editor, - for the given language. Includes both - full and partial acceptances. - total_code_lines_suggested: - type: integer - description: The number of lines of code - suggested by Copilot code completions - for the given editor, for the given - language. - total_code_lines_accepted: - type: integer - description: The number of lines of code - accepted from Copilot code suggestions - for the given editor, for the given - language. - copilot_ide_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat in the IDE. - editors: - type: array - items: - type: object - description: Copilot Chat metrics, for active editors. - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot - Chat in the specified editor. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - Chat. If the default model is used will appear - as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: The number of users who prompted - Copilot Chat in the given editor and model. - total_chats: - type: integer - description: The total number of chats initiated - by users in the given editor and model. - total_chat_insertion_events: - type: integer - description: The number of times users accepted - a code suggestion from Copilot Chat using - the 'Insert Code' UI element, for the given - editor. - total_chat_copy_events: - type: integer - description: The number of times users copied - a code suggestion from Copilot Chat using - the keyboard, or the 'Copy' UI element, for - the given editor. - copilot_dotcom_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in GitHub.com - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once. - models: - type: array - description: List of model metrics for a custom models and - the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. - If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or - default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model - (if applicable). - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once for each model. - total_chats: - type: integer - description: Total number of chats initiated by users - on github.com. - copilot_dotcom_pull_requests: - type: - - object - - 'null' - description: Usage metrics for Copilot for pull requests. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: The number of users who used Copilot for Pull - Requests on github.com to generate a pull request summary - at least once. - repositories: - type: array - description: Repositories in which users used Copilot for - Pull Requests to generate pull request summaries - items: - type: object - properties: - name: - type: string - description: Repository name - total_engaged_users: - type: integer - description: The number of users who generated pull - request summaries using Copilot for Pull Requests - in the given repository. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - pull request summaries. If the default model - is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_pr_summaries_created: - type: integer - description: The number of pull request summaries - generated using Copilot for Pull Requests - in the given repository. - total_engaged_users: - type: integer - description: The number of users who generated - pull request summaries using Copilot for Pull - Requests in the given repository and model. - required: - - date - additionalProperties: true - examples: - default: &208 - value: - - date: '2024-06-24' - total_active_users: 24 - total_engaged_users: 20 - copilot_ide_code_completions: - total_engaged_users: 20 - languages: - - name: python - total_engaged_users: 10 - - name: ruby - total_engaged_users: 10 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 13 - languages: - - name: python - total_engaged_users: 6 - total_code_suggestions: 249 - total_code_acceptances: 123 - total_code_lines_suggested: 225 - total_code_lines_accepted: 135 - - name: ruby - total_engaged_users: 7 - total_code_suggestions: 496 - total_code_acceptances: 253 - total_code_lines_suggested: 520 - total_code_lines_accepted: 270 - - name: neovim - total_engaged_users: 7 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - languages: - - name: typescript - total_engaged_users: 3 - total_code_suggestions: 112 - total_code_acceptances: 56 - total_code_lines_suggested: 143 - total_code_lines_accepted: 61 - - name: go - total_engaged_users: 4 - total_code_suggestions: 132 - total_code_acceptances: 67 - total_code_lines_suggested: 154 - total_code_lines_accepted: 72 - copilot_ide_chat: - total_engaged_users: 13 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 12 - total_chats: 45 - total_chat_insertion_events: 12 - total_chat_copy_events: 16 - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_engaged_users: 1 - total_chats: 10 - total_chat_insertion_events: 11 - total_chat_copy_events: 3 - copilot_dotcom_chat: - total_engaged_users: 14 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 14 - total_chats: 38 - copilot_dotcom_pull_requests: - total_engaged_users: 12 - repositories: - - name: demo/repo1 - total_engaged_users: 8 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_pr_summaries_created: 6 - total_engaged_users: 8 - - name: demo/repo2 - total_engaged_users: 4 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_pr_summaries_created: 10 - total_engaged_users: 4 - '500': *38 - '403': *27 - '404': *6 - '422': &209 - description: Copilot Usage Metrics API setting is disabled at the organization - or enterprise level. - content: - application/json: - schema: *3 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": get: summary: Get Copilot enterprise usage metrics for a specific day @@ -21108,7 +20627,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &341 + - &338 name: classification in: query description: |- @@ -21117,7 +20636,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &342 + - &339 name: state in: query description: |- @@ -21126,7 +20645,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &343 + - &340 name: severity in: query description: |- @@ -21135,7 +20654,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &344 + - &341 name: ecosystem in: query description: |- @@ -21144,14 +20663,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &345 + - &342 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 - - &346 + - &343 name: epss_percentage in: query description: |- @@ -21163,7 +20682,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 - - &605 + - &602 name: has in: query description: |- @@ -21177,7 +20696,7 @@ paths: type: string enum: - patch - - &347 + - &344 name: assignee in: query description: |- @@ -21186,7 +20705,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &348 + - &345 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -21196,7 +20715,7 @@ paths: enum: - development - runtime - - &349 + - &346 name: sort in: query description: |- @@ -21222,7 +20741,7 @@ paths: application/json: schema: type: array - items: &350 + items: &347 type: object description: A Dependabot alert. properties: @@ -21290,7 +20809,7 @@ paths: - transitive - inconclusive - - security_advisory: &606 + security_advisory: &603 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -21533,7 +21052,7 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: &607 + auto_dismissed_at: &604 type: - string - 'null' @@ -21541,7 +21060,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &608 + dismissal_request: &605 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21604,7 +21123,7 @@ paths: - repository additionalProperties: false examples: - default: &351 + default: &348 value: - number: 2 state: dismissed @@ -21989,7 +21508,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &349 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -22015,7 +21534,7 @@ paths: - *120 additionalProperties: false examples: - default: &353 + default: &350 value: default_level: public accessible_repositories: @@ -22238,7 +21757,7 @@ paths: - *103 - *104 - *105 - - &355 + - &352 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -22264,7 +21783,7 @@ paths: application/json: schema: type: array - items: &357 + items: &354 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -22391,7 +21910,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &358 + default: &355 value: - id: 21 number: 42 @@ -22922,7 +22441,7 @@ paths: type: array items: *142 examples: - default: &210 + default: &207 value: - id: 1 name: Justice League @@ -23086,7 +22605,7 @@ paths: application/json: schema: *20 examples: - default: &379 + default: &376 value: id: 1 account: @@ -23347,7 +22866,7 @@ paths: - name - created_on examples: - default: &463 + default: &460 value: total_count: 2 network_configurations: @@ -23598,7 +23117,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: - *39 - - &464 + - &461 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23610,7 +23129,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &462 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23649,7 +23168,7 @@ paths: - subnet_id - region examples: - default: &466 + default: &463 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -24502,7 +24021,7 @@ paths: required: true content: application/json: - schema: &433 + schema: &430 title: Custom Property Set Payload description: Custom property set payload type: object @@ -25706,7 +25225,7 @@ paths: conditions: anyOf: - *158 - - &437 + - &434 title: Organization ruleset conditions type: object description: |- @@ -25756,7 +25275,7 @@ paths: - object rules: type: array - items: &729 + items: &727 title: Repository Rule type: object description: A repository rule. @@ -25765,7 +25284,7 @@ paths: - *167 - *168 - *169 - - &727 + - &725 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -26093,7 +25612,7 @@ paths: type: string format: date-time examples: - default: &440 + default: &437 value: - version_id: 3 actor: @@ -26146,7 +25665,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &438 allOf: - *191 - type: object @@ -26201,7 +25720,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &442 + - &439 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26212,7 +25731,7 @@ paths: enum: - open - resolved - - &443 + - &440 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26222,7 +25741,7 @@ paths: required: false schema: type: string - - &444 + - &441 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26233,7 +25752,7 @@ paths: required: false schema: type: string - - &445 + - &442 name: exclude_providers in: query description: |- @@ -26244,7 +25763,7 @@ paths: required: false schema: type: string - - &446 + - &443 name: providers in: query description: |- @@ -26255,7 +25774,7 @@ paths: required: false schema: type: string - - &447 + - &444 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26264,7 +25783,7 @@ paths: required: false schema: type: string - - &448 + - &445 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26283,7 +25802,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &449 + - &446 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. @@ -26299,7 +25818,7 @@ paths: - *17 - *108 - *109 - - &450 + - &447 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26308,7 +25827,7 @@ paths: required: false schema: type: string - - &451 + - &448 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26317,7 +25836,7 @@ paths: schema: type: boolean default: false - - &452 + - &449 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26326,7 +25845,7 @@ paths: schema: type: boolean default: false - - &453 + - &450 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26335,7 +25854,7 @@ paths: schema: type: boolean default: false - - &454 + - &451 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26353,7 +25872,7 @@ paths: application/json: schema: type: array - items: &455 + items: &452 type: object properties: number: *127 @@ -26369,14 +25888,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &742 + state: &740 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: &743 + resolution: &741 type: - string - 'null' @@ -26495,14 +26014,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &744 + - &742 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &746 + - &744 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26566,7 +26085,7 @@ paths: - blob_url - commit_sha - commit_url - - &747 + - &745 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -26627,7 +26146,7 @@ paths: - page_url - commit_sha - commit_url - - &748 + - &746 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26649,7 +26168,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &749 + - &747 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26671,7 +26190,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &750 + - &748 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26693,7 +26212,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &751 + - &749 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26708,7 +26227,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &752 + - &750 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26723,7 +26242,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &753 + - &751 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26738,7 +26257,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &754 + - &752 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -26760,7 +26279,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &755 + - &753 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -26782,7 +26301,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &756 + - &754 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -26804,7 +26323,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &757 + - &755 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -26826,7 +26345,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &758 + - &756 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -26872,7 +26391,7 @@ paths: - type: 'null' - *4 examples: - default: &456 + default: &453 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -27081,7 +26600,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &454 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -27168,7 +26687,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *193 examples: - default: &458 + default: &455 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27304,7 +26823,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &460 + - &457 name: advanced_security_product in: query description: | @@ -27324,7 +26843,7 @@ paths: description: Success content: application/json: - schema: &461 + schema: &458 type: object properties: total_advanced_security_committers: @@ -27387,7 +26906,7 @@ paths: required: - repositories examples: - default: &462 + default: &459 value: total_advanced_security_committers: 2 total_count: 2 @@ -29821,78 +29340,6 @@ paths: enabledForGitHubApps: false category: billing subcategory: usage - "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for an enterprise team - description: |- - > [!NOTE] - > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." - - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 100 days prior. 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** on that day, as evaluated at the end of that day. - - To access this endpoint, the Copilot Metrics API access policy must be enabled or set to "no policy" for the enterprise within GitHub settings. - Only owners and billing managers for the enterprise that contains the enterprise team can view Copilot 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/copilot-metrics-for-enterprise-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team - parameters: - - *39 - - *138 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *207 - examples: - default: *208 - '500': *38 - '403': *27 - '404': *6 - '422': *209 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -29916,7 +29363,7 @@ paths: type: array items: *142 examples: - default: *210 + default: *207 headers: Link: *45 '403': *27 @@ -30007,7 +29454,7 @@ paths: application/json: schema: *142 examples: - default: &215 + default: &212 value: id: 1 name: Justice League @@ -30036,7 +29483,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &211 + - &208 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -30055,7 +29502,7 @@ paths: type: array items: *4 examples: - default: &212 + default: &209 value: - login: octocat id: 1 @@ -30094,7 +29541,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30125,7 +29572,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30143,7 +29590,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30174,7 +29621,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30192,7 +29639,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *211 + - *208 - *140 responses: '200': @@ -30201,7 +29648,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &213 + exampleKey1: &210 value: login: octocat id: 1 @@ -30237,7 +29684,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *211 + - *208 - *140 responses: '201': @@ -30246,7 +29693,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *213 + exampleKey1: *210 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30264,7 +29711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *211 + - *208 - *140 responses: '204': @@ -30287,7 +29734,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *39 - - *211 + - *208 - *17 - *19 responses: @@ -30299,7 +29746,7 @@ paths: type: array items: *73 examples: - default: &214 + default: &211 value: login: github id: 1 @@ -30330,7 +29777,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30360,7 +29807,7 @@ paths: type: array items: *73 examples: - default: &250 + default: &247 value: - login: github id: 1 @@ -30391,7 +29838,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30432,7 +29879,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *39 - - *211 + - *208 - *87 responses: '200': @@ -30441,7 +29888,7 @@ paths: application/json: schema: *73 examples: - default: *214 + default: *211 '404': description: The team is not assigned to the organization x-github: @@ -30460,7 +29907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *39 - - *211 + - *208 - *87 responses: '201': @@ -30469,7 +29916,7 @@ paths: application/json: schema: *73 examples: - default: *214 + default: *211 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30486,7 +29933,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *39 - - *211 + - *208 - *87 responses: '204': @@ -30511,7 +29958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &216 + - &213 name: team_slug description: The slug of the team name. in: path @@ -30525,7 +29972,7 @@ paths: application/json: schema: *142 examples: - default: *215 + default: *212 headers: Link: *45 '403': *27 @@ -30545,7 +29992,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *216 + - *213 requestBody: required: true content: @@ -30615,7 +30062,7 @@ paths: application/json: schema: *142 examples: - default: *215 + default: *212 headers: Link: *45 '403': *27 @@ -30638,7 +30085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *216 + - *213 responses: '204': description: Response @@ -30737,7 +30184,7 @@ paths: application/json: schema: type: array - items: &245 + items: &242 title: Event description: Event type: object @@ -30748,7 +30195,7 @@ paths: type: - string - 'null' - actor: &217 + actor: &214 title: Actor description: Actor type: object @@ -30789,7 +30236,7 @@ paths: - id - name - url - org: *217 + org: *214 payload: oneOf: - title: CreateEvent @@ -30836,7 +30283,7 @@ paths: properties: action: type: string - discussion: &879 + discussion: &877 title: Discussion description: A Discussion in a repository. type: object @@ -31133,7 +30580,7 @@ paths: - id labels: type: array - items: &220 + items: &217 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -31216,7 +30663,7 @@ paths: properties: action: type: string - issue: &221 + issue: &218 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -31337,7 +30784,7 @@ paths: milestone: anyOf: - type: 'null' - - &423 + - &420 title: Milestone description: A collection of related issues and pull requests. @@ -31509,7 +30956,7 @@ paths: timeline_url: type: string format: uri - type: &389 + type: &386 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -31570,7 +31017,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &218 + author_association: &215 title: author_association type: string description: How the author is associated with the @@ -31586,7 +31033,7 @@ paths: - OWNER examples: - OWNER - reactions: &219 + reactions: &216 title: Reaction Rollup type: object properties: @@ -31622,7 +31069,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &801 + sub_issues_summary: &799 title: Sub-issues Summary type: object properties: @@ -31646,7 +31093,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &222 + - &219 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -31697,16 +31144,16 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *215 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *216 pin: anyOf: - type: 'null' - - &686 + - &684 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -31733,7 +31180,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &802 + issue_dependencies_summary: &800 title: Issue Dependencies Summary type: object properties: @@ -31752,7 +31199,7 @@ paths: - total_blocking issue_field_values: type: array - items: &670 + items: &668 title: Issue Field Value description: A value assigned to an issue field type: object @@ -31882,10 +31329,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *217 labels: type: array - items: *220 + items: *217 required: - action - issue @@ -31894,8 +31341,8 @@ paths: properties: action: type: string - issue: *221 - comment: *222 + issue: *218 + comment: *219 required: - action - issue @@ -32074,7 +31521,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 allow_forking: type: boolean is_template: @@ -32165,7 +31612,7 @@ paths: type: string number: type: integer - pull_request: &224 + pull_request: &221 title: Pull Request Minimal type: object properties: @@ -32236,10 +31683,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *217 labels: type: array - items: *220 + items: *217 required: - action - number @@ -32249,7 +31696,7 @@ paths: properties: action: type: string - pull_request: *224 + pull_request: *221 comment: type: object properties: @@ -32503,7 +31950,7 @@ paths: - pull_request updated_at: type: string - pull_request: *224 + pull_request: *221 required: - action - review @@ -32552,7 +31999,7 @@ paths: updated_at: type: string format: date-time - reactions: *219 + reactions: *216 required: - action - comment @@ -32563,7 +32010,7 @@ paths: type: string release: allOf: - - &720 + - &718 title: Release description: A release. type: object @@ -32645,7 +32092,7 @@ paths: author: *4 assets: type: array - items: &721 + items: &719 title: Release Asset description: Data related to a release. type: object @@ -32720,7 +32167,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *219 + reactions: *216 required: - assets_url - upload_url @@ -32903,7 +32350,7 @@ paths: _links: type: object properties: - timeline: &225 + timeline: &222 title: Link With Type description: Hypermedia Link with Type type: object @@ -32915,17 +32362,17 @@ paths: required: - href - type - user: *225 - security_advisories: *225 - current_user: *225 - current_user_public: *225 - current_user_actor: *225 - current_user_organization: *225 + user: *222 + security_advisories: *222 + current_user: *222 + current_user_public: *222 + current_user_actor: *222 + current_user_organization: *222 current_user_organizations: type: array - items: *225 - repository_discussions: *225 - repository_discussions_category: *225 + items: *222 + repository_discussions: *222 + repository_discussions_category: *222 required: - timeline - user @@ -32987,7 +32434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *226 + - *223 - *17 - *19 responses: @@ -32997,7 +32444,7 @@ paths: application/json: schema: type: array - items: &227 + items: &224 title: Base Gist description: Base Gist type: object @@ -33094,7 +32541,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &225 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -33218,7 +32665,7 @@ paths: description: Response content: application/json: - schema: &229 + schema: &226 title: Gist Simple description: Gist Simple type: object @@ -33236,7 +32683,7 @@ paths: url: type: string format: uri - user: &808 + user: &806 title: Public User description: Public User type: object @@ -33610,7 +33057,7 @@ paths: truncated: type: boolean examples: - default: &230 + default: &227 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -33714,7 +33161,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *226 + - *223 - *17 - *19 responses: @@ -33724,9 +33171,9 @@ paths: application/json: schema: type: array - items: *227 + items: *224 examples: - default: *228 + default: *225 headers: Link: *45 '422': *15 @@ -33748,7 +33195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *226 + - *223 - *17 - *19 responses: @@ -33758,9 +33205,9 @@ paths: application/json: schema: type: array - items: *227 + items: *224 examples: - default: *228 + default: *225 headers: Link: *45 '401': *23 @@ -33787,7 +33234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &231 + - &228 name: gist_id description: The unique identifier of the gist. in: path @@ -33799,10 +33246,10 @@ paths: description: Response content: application/json: - schema: *229 + schema: *226 examples: - default: *230 - '403': &234 + default: *227 + '403': &231 description: Forbidden Gist content: application/json: @@ -33850,7 +33297,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *231 + - *228 requestBody: required: true content: @@ -33914,9 +33361,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *226 examples: - updateGist: *230 + updateGist: *227 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -34074,7 +33521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *231 + - *228 responses: '204': description: Response @@ -34102,7 +33549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *231 + - *228 - *17 - *19 responses: @@ -34112,7 +33559,7 @@ paths: application/json: schema: type: array - items: &232 + items: &229 title: Gist Comment description: A comment made to a gist. type: object @@ -34150,7 +33597,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *218 + author_association: *215 required: - url - id @@ -34214,7 +33661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *231 + - *228 requestBody: required: true content: @@ -34240,9 +33687,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *229 examples: - default: &233 + default: &230 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -34299,8 +33746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *231 - - &235 + - *228 + - &232 name: comment_id description: The unique identifier of the comment. in: path @@ -34313,12 +33760,12 @@ paths: description: Response content: application/json: - schema: *232 + schema: *229 examples: - default: *233 + default: *230 '304': *35 '404': *6 - '403': *234 + '403': *231 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34339,8 +33786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *231 - - *235 + - *228 + - *232 requestBody: required: true content: @@ -34366,9 +33813,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *229 examples: - default: *233 + default: *230 '404': *6 x-github: githubCloudOnly: false @@ -34385,8 +33832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *231 - - *235 + - *228 + - *232 responses: '204': description: Response @@ -34409,7 +33856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *231 + - *228 - *17 - *19 responses: @@ -34510,7 +33957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *231 + - *228 - *17 - *19 responses: @@ -34520,7 +33967,7 @@ paths: application/json: schema: type: array - items: *229 + items: *226 examples: default: value: @@ -34585,13 +34032,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *231 + - *228 responses: '201': description: Response content: application/json: - schema: *227 + schema: *224 examples: default: value: @@ -34662,7 +34109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *231 + - *228 responses: '204': description: Response if gist is starred @@ -34692,7 +34139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *231 + - *228 responses: '204': description: Response @@ -34714,7 +34161,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *231 + - *228 responses: '204': description: Response @@ -34742,7 +34189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *231 + - *228 - name: sha in: path required: true @@ -34753,9 +34200,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *226 examples: - default: *230 + default: *227 '422': *15 '404': *6 '403': *27 @@ -35138,7 +34585,7 @@ paths: - closed - all default: open - - &392 + - &389 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -35157,7 +34604,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - name: collab in: query required: false @@ -35187,9 +34634,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: &393 + default: &390 value: - id: 1 node_id: MDU6SXNzdWUx @@ -35469,7 +34916,7 @@ paths: application/json: schema: type: array - items: *223 + items: *220 examples: default: value: @@ -35767,7 +35214,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &236 + X-CommonMarker-Version: &233 example: 0.17.4 schema: type: string @@ -35822,7 +35269,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *236 + X-CommonMarker-Version: *233 content: text/html: schema: @@ -35851,7 +35298,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: - - &239 + - &236 name: account_id description: account_id parameter in: path @@ -35863,7 +35310,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &235 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -35897,7 +35344,7 @@ paths: - 'null' id: type: integer - plan: &237 + plan: &234 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -36000,7 +35447,7 @@ paths: - 'null' updated_at: type: string - plan: *237 + plan: *234 required: - url - id @@ -36008,7 +35455,7 @@ paths: - login - marketplace_purchase examples: - default: &240 + default: &237 value: url: https://api.github.com/orgs/github type: Organization @@ -36093,9 +35540,9 @@ paths: application/json: schema: type: array - items: *237 + items: *234 examples: - default: &241 + default: &238 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -36135,14 +35582,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &242 + - &239 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &243 + - &240 name: sort description: The property to sort the results by. in: query @@ -36172,9 +35619,9 @@ paths: application/json: schema: type: array - items: *238 + items: *235 examples: - default: &244 + default: &241 value: - url: https://api.github.com/orgs/github type: Organization @@ -36248,15 +35695,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: - - *239 + - *236 responses: '200': description: Response content: application/json: - schema: *238 + schema: *235 examples: - default: *240 + default: *237 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -36288,9 +35735,9 @@ paths: application/json: schema: type: array - items: *237 + items: *234 examples: - default: *241 + default: *238 headers: Link: *45 '401': *23 @@ -36313,8 +35760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *242 - - *243 + - *239 + - *240 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -36334,9 +35781,9 @@ paths: application/json: schema: type: array - items: *238 + items: *235 examples: - default: *244 + default: *241 headers: Link: *45 '401': *23 @@ -36601,14 +36048,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: - - &475 + - &472 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &476 + - &473 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -36625,7 +36072,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -36670,7 +36117,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &481 + '301': &478 description: Moved permanently content: application/json: @@ -36692,7 +36139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &694 + - &692 name: all description: If `true`, show notifications marked as read. in: query @@ -36700,7 +36147,7 @@ paths: schema: type: boolean default: false - - &695 + - &693 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -36709,8 +36156,8 @@ paths: schema: type: boolean default: false - - *226 - - &696 + - *223 + - &694 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: @@ -36735,14 +36182,14 @@ paths: application/json: schema: type: array - items: &246 + items: &243 title: Thread description: Thread type: object properties: id: type: string - repository: &280 + repository: &277 title: Minimal Repository description: Minimal Repository type: object @@ -37092,7 +36539,7 @@ paths: type: boolean examples: - false - security_and_analysis: &434 + security_and_analysis: &431 type: - object - 'null' @@ -37311,7 +36758,7 @@ paths: - url - subscription_url examples: - default: &697 + default: &695 value: - id: '1' repository: @@ -37477,7 +36924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &247 + - &244 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 @@ -37491,7 +36938,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *243 examples: default: value: @@ -37594,7 +37041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *247 + - *244 responses: '205': description: Reset Content @@ -37617,7 +37064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *247 + - *244 responses: '204': description: No content @@ -37640,13 +37087,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: - - *247 + - *244 responses: '200': description: Response content: application/json: - schema: &248 + schema: &245 title: Thread Subscription description: Thread Subscription type: object @@ -37690,7 +37137,7 @@ paths: - url - subscribed examples: - default: &249 + default: &246 value: subscribed: true ignored: false @@ -37721,7 +37168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *247 + - *244 requestBody: required: false content: @@ -37742,9 +37189,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *245 examples: - default: *249 + default: *246 '304': *35 '403': *27 '401': *23 @@ -37767,7 +37214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *247 + - *244 responses: '204': description: Response @@ -37864,7 +37311,7 @@ paths: type: array items: *73 examples: - default: *250 + default: *247 headers: Link: example: ; rel="next" @@ -37916,7 +37363,7 @@ paths: - 3 custom_roles: type: array - items: &337 + items: &334 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -37965,7 +37412,7 @@ paths: - created_at - updated_at examples: - default: &338 + default: &335 value: id: 8030 name: Security Engineer @@ -38018,7 +37465,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &248 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -38057,7 +37504,7 @@ paths: required: true content: application/json: - schema: *251 + schema: *248 examples: selected_actions: *42 responses: @@ -38092,7 +37539,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &249 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -38131,7 +37578,7 @@ paths: required: true content: application/json: - schema: *252 + schema: *249 examples: selected_actions: *44 responses: @@ -38174,7 +37621,7 @@ paths: type: array items: *152 examples: - default: &703 + default: &701 value: - property_name: environment value: production @@ -38224,7 +37671,7 @@ paths: required: - properties examples: - default: &704 + default: &702 value: properties: - property_name: environment @@ -38271,7 +37718,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &250 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -38681,7 +38128,7 @@ paths: - updated_at - archived_at examples: - default-response: &254 + default-response: &251 value: login: github id: 1 @@ -39007,17 +38454,17 @@ paths: description: Response content: application/json: - schema: *253 + schema: *250 examples: - default: *254 + default: *251 '422': description: Validation failed content: application/json: schema: oneOf: - - *255 - - *256 + - *252 + - *253 '409': *119 x-github: githubCloudOnly: false @@ -39072,9 +38519,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *254 examples: - default: *258 + default: *255 headers: Link: *45 x-github: @@ -39115,7 +38562,7 @@ paths: type: integer repository_cache_usages: type: array - items: &488 + items: &485 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -39193,7 +38640,7 @@ paths: type: array items: *46 examples: - default: *259 + default: *256 headers: Link: *45 x-github: @@ -39360,7 +38807,7 @@ paths: application/json: schema: *47 examples: - default: *260 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39452,7 +38899,7 @@ paths: application/json: schema: *50 examples: - default: *261 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39571,9 +39018,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *259 examples: - default: *263 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39609,7 +39056,7 @@ paths: type: array items: *54 examples: - default: *264 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39853,7 +39300,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *262 examples: default: *58 responses: @@ -39946,7 +39393,7 @@ paths: required: - include_claim_keys examples: - default: &266 + default: &263 value: include_claim_keys: - repo @@ -39991,13 +39438,13 @@ paths: format. type: boolean examples: - default: *266 + default: *263 responses: '201': description: Empty response content: application/json: - schema: &291 + schema: &288 title: Empty Object description: An object without any properties. type: object @@ -40036,7 +39483,7 @@ paths: schema: type: object properties: - enabled_repositories: &268 + enabled_repositories: &265 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -40050,7 +39497,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *60 - selected_actions_url: *267 + selected_actions_url: *264 sha_pinning_required: *61 required: - enabled_repositories @@ -40092,7 +39539,7 @@ paths: schema: type: object properties: - enabled_repositories: *268 + enabled_repositories: *265 allowed_actions: *60 sha_pinning_required: *61 required: @@ -40128,7 +39575,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *266 examples: response: summary: Example response @@ -40159,7 +39606,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *267 examples: application/json: value: @@ -40197,7 +39644,7 @@ paths: application/json: schema: *62 examples: - default: *271 + default: *268 '404': *6 x-github: enabledForGitHubApps: true @@ -40254,7 +39701,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *269 examples: default: *63 '403': *27 @@ -40279,7 +39726,7 @@ paths: required: true content: application/json: - schema: *273 + schema: *270 examples: default: *63 responses: @@ -40331,7 +39778,7 @@ paths: type: array items: *78 examples: - default: &275 + default: &272 value: total_count: 1 repositories: @@ -40516,7 +39963,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - &274 + - &271 name: repository_id description: The unique identifier of the repository. in: path @@ -40545,7 +39992,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: Response @@ -40741,7 +40188,7 @@ paths: type: array items: *78 examples: - default: *275 + default: *272 '403': *27 '404': *6 x-github: @@ -40810,7 +40257,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No content @@ -40837,7 +40284,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No content @@ -40871,7 +40318,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *273 examples: default: *69 x-github: @@ -40905,7 +40352,7 @@ paths: required: false content: application/json: - schema: *277 + schema: *274 examples: default: *69 x-github: @@ -40952,7 +40399,7 @@ paths: type: number runner_groups: type: array - items: &278 + items: &275 type: object properties: id: @@ -41142,9 +40589,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *275 examples: - default: &279 + default: &276 value: id: 2 name: octo-runner-group @@ -41186,7 +40633,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *275 examples: default: value: @@ -41279,9 +40726,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *275 examples: - default: *279 + default: *276 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41345,7 +40792,7 @@ paths: type: array items: *46 examples: - default: *259 + default: *256 headers: Link: *45 x-github: @@ -41386,9 +40833,9 @@ paths: type: number repositories: type: array - items: *280 + items: *277 examples: - default: &335 + default: &332 value: total_count: 1 repositories: @@ -41687,7 +41134,7 @@ paths: parameters: - *87 - *72 - - *274 + - *271 responses: '204': description: Response @@ -41711,7 +41158,7 @@ paths: parameters: - *87 - *72 - - *274 + - *271 responses: '204': description: Response @@ -41929,9 +41376,9 @@ paths: application/json: schema: type: array - items: *281 + items: *278 examples: - default: *282 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41996,7 +41443,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *280 '404': *6 '422': *7 '409': *119 @@ -42035,7 +41482,7 @@ paths: application/json: schema: *79 examples: - default: *284 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42071,7 +41518,7 @@ paths: application/json: schema: *79 examples: - default: *285 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42102,7 +41549,7 @@ paths: application/json: schema: *76 examples: - default: *286 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42277,7 +41724,7 @@ paths: - *87 - *75 responses: - '200': *287 + '200': *284 '404': *6 x-github: githubCloudOnly: false @@ -42306,7 +41753,7 @@ paths: parameters: - *87 - *75 - - *288 + - *285 responses: '200': *81 '404': *6 @@ -42351,7 +41798,7 @@ paths: type: integer secrets: type: array - items: &289 + items: &286 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -42385,7 +41832,7 @@ paths: - updated_at - visibility examples: - default: &295 + default: &292 value: total_count: 3 secrets: @@ -42432,7 +41879,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &293 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -42467,7 +41914,7 @@ paths: - key_id - key examples: - default: &297 + default: &294 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42493,7 +41940,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *87 - - &290 + - &287 name: secret_name description: The name of the secret. in: path @@ -42505,9 +41952,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *286 examples: - default: &298 + default: &295 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42536,7 +41983,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -42593,7 +42040,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -42620,7 +42067,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -42647,7 +42094,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -42665,9 +42112,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: &294 + default: &291 value: total_count: 1 repositories: @@ -42760,7 +42207,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -42813,7 +42260,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -42847,7 +42294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -42880,7 +42327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *87 - - &299 + - &296 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)." @@ -42904,7 +42351,7 @@ paths: type: integer variables: type: array - items: &292 + items: &289 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -42952,7 +42399,7 @@ paths: - updated_at - visibility examples: - default: &300 + default: &297 value: total_count: 3 variables: @@ -43042,7 +42489,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -43068,7 +42515,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *87 - - &293 + - &290 name: name description: The name of the variable. in: path @@ -43080,9 +42527,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *289 examples: - default: &301 + default: &298 value: name: USERNAME value: octocat @@ -43111,7 +42558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -43174,7 +42621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *87 - - *293 + - *290 responses: '204': description: Response @@ -43201,7 +42648,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 - *19 - *17 responses: @@ -43219,9 +42666,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43248,7 +42695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -43298,7 +42745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -43333,7 +42780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -43385,9 +42832,9 @@ paths: type: integer secrets: type: array - items: *289 + items: *286 examples: - default: *295 + default: *292 headers: Link: *45 x-github: @@ -43418,9 +42865,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43443,15 +42890,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *289 + schema: *286 examples: - default: *298 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43474,7 +42921,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -43531,7 +42978,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -43558,7 +43005,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -43585,7 +43032,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -43603,9 +43050,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43629,7 +43076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -43682,7 +43129,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -43716,7 +43163,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -43750,7 +43197,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *87 - - *299 + - *296 - *19 responses: '200': @@ -43767,9 +43214,9 @@ paths: type: integer variables: type: array - items: *292 + items: *289 examples: - default: *300 + default: *297 headers: Link: *45 x-github: @@ -43840,7 +43287,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -43866,15 +43313,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *87 - - *293 + - *290 responses: '200': description: Response content: application/json: - schema: *292 + schema: *289 examples: - default: *301 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43896,7 +43343,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -43959,7 +43406,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *87 - - *293 + - *290 responses: '204': description: Response @@ -43986,7 +43433,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 - *19 - *17 responses: @@ -44004,9 +43451,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 '409': description: Response when the visibility of the variable is not set to `selected` @@ -44033,7 +43480,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -44083,7 +43530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -44118,7 +43565,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -44176,7 +43623,7 @@ paths: required: true content: application/json: - schema: *302 + schema: *299 examples: default: *85 parameters: @@ -44363,7 +43810,7 @@ paths: type: integer deployment_records: type: array - items: &303 + items: &300 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -44410,7 +43857,7 @@ paths: required: - total_count examples: - default: &304 + default: &301 value: total_count: 1 deployment_records: @@ -44592,11 +44039,11 @@ paths: type: integer deployment_records: type: array - items: *303 + items: *300 required: - total_count examples: - default: *304 + default: *301 '403': description: Forbidden content: @@ -44848,9 +44295,9 @@ paths: - 3 deployment_records: type: array - items: *303 + items: *300 examples: - default: *304 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44860,9 +44307,9 @@ paths: get: summary: List artifact storage records description: |- - List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + List artifact storage records with a given subject digest for repositories owned by an organization. - The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission. tags: - orgs operationId: orgs/list-artifact-storage-records @@ -44980,12 +44427,12 @@ paths: required: - subject_digests examples: - default: &839 + default: &837 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &840 + withPredicateType: &838 value: subject_digests: - sha256:abc123 @@ -45044,7 +44491,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &841 + default: &839 value: attestations_subject_digests: - sha256:abc: @@ -45395,7 +44842,7 @@ paths: initiator: type: string examples: - default: &521 + default: &518 value: attestations: - bundle: @@ -45521,10 +44968,10 @@ paths: required: false schema: type: string + - *302 + - *303 + - *304 - *305 - - *306 - - *307 - - *308 - *17 responses: '200': @@ -45533,9 +44980,9 @@ paths: application/json: schema: type: array - items: *309 + items: *306 examples: - default: *310 + default: *307 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45564,7 +45011,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45658,7 +45105,7 @@ paths: subcategory: bypass-requests parameters: - *87 - - &313 + - &310 name: repository_name description: The name of the repository to filter on. in: query @@ -45677,9 +45124,9 @@ paths: application/json: schema: type: array - items: *311 + items: *308 examples: - default: *312 + default: *309 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -45703,7 +45150,7 @@ paths: subcategory: delegated-bypass parameters: - *87 - - *313 + - *310 - *103 - *104 - *105 @@ -45717,9 +45164,9 @@ paths: application/json: schema: type: array - items: *314 + items: *311 examples: - default: *315 + default: *312 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -45746,7 +45193,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &317 + schema: &314 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -45772,7 +45219,7 @@ paths: application/json: schema: type: array - items: &318 + items: &315 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -45803,7 +45250,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *316 + items: *313 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -45822,7 +45269,7 @@ paths: - string - 'null' format: date-time - state: *317 + state: *314 contact_link: description: The contact link of the campaign. type: @@ -46045,9 +45492,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *315 examples: - default: &319 + default: &316 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -46130,9 +45577,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *315 examples: - default: *319 + default: *316 '404': *6 '422': description: Unprocessable Entity @@ -46210,7 +45657,7 @@ paths: - string - 'null' format: uri - state: *317 + state: *314 examples: default: value: @@ -46220,9 +45667,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *315 examples: - default: *319 + default: *316 '400': description: Bad Request content: @@ -46289,8 +45736,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *87 - - *320 - - *321 + - *317 + - *318 - *108 - *109 - *19 @@ -46301,7 +45748,7 @@ paths: be returned. in: query required: false - schema: *322 + schema: *319 - name: sort description: The property by which to sort the results. in: query @@ -46317,7 +45764,7 @@ paths: be returned. in: query required: false - schema: &546 + schema: &543 type: string description: Severity of a code scanning alert. enum: @@ -46343,9 +45790,9 @@ paths: application/json: schema: type: array - items: *323 + items: *320 examples: - default: *324 + default: *321 headers: Link: *45 '404': *6 @@ -46720,7 +46167,7 @@ paths: application/json: schema: *114 examples: - default: *325 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46748,9 +46195,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *323 examples: - default: *327 + default: *324 '304': *35 '403': *27 '404': *6 @@ -46839,7 +46286,7 @@ paths: application/json: schema: *114 examples: - default: *325 + default: *322 '304': *35 '403': *27 '404': *6 @@ -47284,7 +46731,7 @@ paths: default: value: default_for_new_repos: all - configuration: *325 + configuration: *322 '403': *27 '404': *6 x-github: @@ -47337,13 +46784,13 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *329 + repository: *326 '403': *27 '404': *6 x-github: @@ -47383,7 +46830,7 @@ paths: type: integer codespaces: type: array - items: &394 + items: &391 type: object title: Codespace description: A codespace. @@ -47414,11 +46861,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *280 + repository: *277 machine: anyOf: - type: 'null' - - &578 + - &575 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -47705,7 +47152,7 @@ paths: - pulls_url - recent_folders examples: - default: &395 + default: &392 value: total_count: 3 codespaces: @@ -48329,7 +47776,7 @@ paths: type: integer secrets: type: array - items: &330 + items: &327 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -48370,7 +47817,7 @@ paths: - updated_at - visibility examples: - default: &579 + default: &576 value: total_count: 2 secrets: @@ -48408,7 +47855,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &577 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -48443,7 +47890,7 @@ paths: - key_id - key examples: - default: &581 + default: &578 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -48467,15 +47914,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: &583 + default: &580 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48503,7 +47950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -48558,7 +48005,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -48585,7 +48032,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -48611,7 +48058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -48629,9 +48076,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 '404': *6 x-github: githubCloudOnly: false @@ -48654,7 +48101,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -48705,7 +48152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -48739,7 +48186,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -48809,7 +48256,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &331 + items: &328 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -49206,9 +48653,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: &332 + default: &329 summary: Example response for an organization copilot space value: id: 84 @@ -49313,9 +48760,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *332 + default: *329 '403': *27 '404': *6 x-github: @@ -49444,9 +48891,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *332 + default: *329 '403': *27 '404': *6 '422': *15 @@ -49529,7 +48976,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &333 + items: &330 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -49754,7 +49201,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: user: value: @@ -49884,7 +49331,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: user: value: @@ -50035,7 +49482,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &334 + items: &331 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -50179,7 +49626,7 @@ paths: description: Resource created content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -50195,7 +49642,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -50250,7 +49697,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -50319,7 +49766,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -51047,12 +50494,12 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 required: - total_count - repositories examples: - default: *335 + default: *332 '500': *38 '401': *23 '403': *27 @@ -51138,7 +50585,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No Content @@ -51172,7 +50619,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No Content @@ -51320,81 +50767,13 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *336 + '413': *333 '422': *7 x-github: githubCloudOnly: enabledForGitHubApps: true category: copilot subcategory: copilot-content-exclusion-management - "/orgs/{org}/copilot/metrics": - get: - summary: Get Copilot metrics for an organization - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. - Only organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization - parameters: - - *87 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *207 - examples: - default: *208 - '500': *38 - '403': *27 - '404': *6 - '422': *209 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/copilot/metrics/reports/organization-1-day": get: summary: Get Copilot organization usage metrics for a specific day @@ -51808,7 +51187,7 @@ paths: - 3 custom_roles: type: array - items: *337 + items: *334 examples: default: value: @@ -51900,7 +51279,7 @@ paths: required: true content: application/json: - schema: &339 + schema: &336 type: object properties: name: @@ -51942,9 +51321,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -51975,9 +51354,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '404': *6 x-github: githubCloudOnly: true @@ -52005,7 +51384,7 @@ paths: required: true content: application/json: - schema: &340 + schema: &337 type: object properties: name: @@ -52044,9 +51423,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -52104,7 +51483,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *336 examples: default: value: @@ -52118,9 +51497,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -52157,9 +51536,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '404': *6 x-github: githubCloudOnly: true @@ -52193,7 +51572,7 @@ paths: required: true content: application/json: - schema: *340 + schema: *337 examples: default: value: @@ -52208,9 +51587,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -52270,12 +51649,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *87 + - *338 + - *339 + - *340 - *341 - *342 - *343 - - *344 - - *345 - - *346 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -52305,7 +51684,7 @@ paths: enum: - patch - deployment - - *347 + - *344 - name: runtime_risk in: query description: |- @@ -52314,8 +51693,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *348 - - *349 + - *345 + - *346 - *110 - *108 - *109 @@ -52327,9 +51706,9 @@ paths: application/json: schema: type: array - items: *350 + items: *347 examples: - default: *351 + default: *348 '304': *35 '400': *14 '403': *27 @@ -52378,9 +51757,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *349 examples: - default: *353 + default: *350 '403': *27 '404': *6 x-github: @@ -52544,7 +51923,7 @@ paths: type: integer secrets: type: array - items: &354 + items: &351 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -52623,7 +52002,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &608 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -52642,7 +52021,7 @@ paths: - key_id - key examples: - default: &612 + default: &609 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -52666,13 +52045,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *354 + schema: *351 examples: default: value: @@ -52701,7 +52080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -52758,7 +52137,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -52783,7 +52162,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -52808,7 +52187,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -52826,9 +52205,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52850,7 +52229,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -52901,7 +52280,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -52933,7 +52312,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -52970,7 +52349,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &621 + - &618 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -52978,7 +52357,7 @@ paths: required: false schema: type: string - - &622 + - &619 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -52986,7 +52365,7 @@ paths: required: false schema: type: string - - &623 + - &620 name: time_period description: |- The time period to filter by. @@ -53002,7 +52381,7 @@ paths: - week - month default: month - - &624 + - &621 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -53017,7 +52396,7 @@ paths: - denied - all default: all - - *313 + - *310 - *17 - *19 responses: @@ -53027,7 +52406,7 @@ paths: application/json: schema: type: array - items: &625 + items: &622 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -53137,7 +52516,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &356 + items: &353 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -53190,7 +52569,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &626 + default: &623 value: - id: 21 number: 42 @@ -53278,11 +52657,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *313 + - *310 - *103 - *104 - *105 - - *355 + - *352 - *17 - *19 responses: @@ -53292,7 +52671,7 @@ paths: application/json: schema: type: array - items: &627 + items: &624 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -53402,7 +52781,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *356 + items: *353 url: type: string format: uri @@ -53415,7 +52794,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &628 + default: &625 value: - id: 21 number: 42 @@ -53503,11 +52882,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *313 + - *310 - *103 - *104 - *105 - - *355 + - *352 - *17 - *19 responses: @@ -53517,9 +52896,9 @@ paths: application/json: schema: type: array - items: *357 + items: *354 examples: - default: *358 + default: *355 '404': *6 '403': *27 '500': *38 @@ -53545,7 +52924,7 @@ paths: application/json: schema: type: array - items: &404 + items: &401 title: Package description: A software package type: object @@ -53598,7 +52977,7 @@ paths: repository: anyOf: - type: 'null' - - *280 + - *277 created_at: type: string format: date-time @@ -53616,7 +52995,7 @@ paths: - created_at - updated_at examples: - default: &405 + default: &402 value: - id: 197 name: hello_docker @@ -53704,7 +53083,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: 200-response: value: @@ -53803,7 +53182,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &469 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -53893,7 +53272,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &473 + default: &470 value: group_id: '123' group_name: Octocat admins @@ -53948,7 +53327,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &466 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -53988,7 +53367,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &470 + default: &467 value: groups: - group_id: '123' @@ -54033,7 +53412,7 @@ paths: application/json: schema: type: array - items: &383 + items: &380 title: Organization Invitation description: Organization Invitation type: object @@ -54087,7 +53466,7 @@ paths: - invitation_teams_url - node_id examples: - default: &384 + default: &381 value: - id: 1 login: monalisa @@ -54154,7 +53533,7 @@ paths: application/json: schema: type: array - items: &435 + items: &432 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -54168,7 +53547,7 @@ paths: - name - description examples: - default: &436 + default: &433 value: - name: add_assignee description: Assign or remove a user @@ -54209,7 +53588,7 @@ paths: application/json: schema: type: array - items: &359 + items: &356 title: Org Hook description: Org Hook type: object @@ -54392,9 +53771,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *356 examples: - default: &360 + default: &357 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -54439,7 +53818,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &361 + - &358 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. @@ -54452,9 +53831,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *356 examples: - default: *360 + default: *357 '404': *6 x-github: githubCloudOnly: false @@ -54476,7 +53855,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *361 + - *358 requestBody: required: false content: @@ -54522,7 +53901,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *356 examples: default: value: @@ -54562,7 +53941,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *361 + - *358 responses: '204': description: Response @@ -54588,7 +53967,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *361 + - *358 responses: '200': description: Response @@ -54617,7 +53996,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *361 + - *358 requestBody: required: false content: @@ -54666,10 +54045,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *361 + - *358 - *17 - - *362 - - *363 + - *359 + - *360 responses: '200': description: Response @@ -54677,9 +54056,9 @@ paths: application/json: schema: type: array - items: *364 + items: *361 examples: - default: *365 + default: *362 '400': *14 '422': *15 x-github: @@ -54703,16 +54082,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *361 + - *358 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *363 examples: - default: *367 + default: *364 '400': *14 '422': *15 x-github: @@ -54736,7 +54115,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *361 + - *358 - *16 responses: '202': *37 @@ -54763,7 +54142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *361 + - *358 responses: '204': description: Response @@ -54786,7 +54165,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &372 + - &369 name: actor_type in: path description: The type of the actor @@ -54799,14 +54178,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &373 + - &370 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &368 + - &365 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`.' @@ -54814,7 +54193,7 @@ paths: required: true schema: type: string - - &369 + - &366 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) @@ -54909,12 +54288,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *368 - - *369 + - *365 + - *366 - *19 - *17 - *110 - - &378 + - &375 name: sort description: The property to sort the results by. in: query @@ -54993,14 +54372,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *368 - - *369 + - *365 + - *366 responses: '200': description: Response content: application/json: - schema: &370 + schema: &367 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -55016,7 +54395,7 @@ paths: type: integer format: int64 examples: - default: &371 + default: &368 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -55037,23 +54416,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &374 + - &371 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *368 - - *369 + - *365 + - *366 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *371 + default: *368 x-github: enabledForGitHubApps: true category: orgs @@ -55072,18 +54451,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *368 + - *365 + - *366 - *369 - - *372 - - *373 + - *370 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *371 + default: *368 x-github: enabledForGitHubApps: true category: orgs @@ -55101,9 +54480,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *87 - - *368 - - *369 - - &375 + - *365 + - *366 + - &372 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -55116,7 +54495,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &373 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -55132,7 +54511,7 @@ paths: type: integer format: int64 examples: - default: &377 + default: &374 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -55169,18 +54548,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *374 - - *368 - - *369 - - *375 + - *371 + - *365 + - *366 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *377 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -55198,19 +54577,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *372 - - *373 - - *368 - *369 - - *375 + - *370 + - *365 + - *366 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *377 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -55228,13 +54607,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *87 - - *374 - - *368 - - *369 + - *371 + - *365 + - *366 - *19 - *17 - *110 - - *378 + - *375 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -55318,7 +54697,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55438,12 +54817,12 @@ paths: application/json: schema: anyOf: - - &381 + - &378 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &380 + limit: &377 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -55471,7 +54850,7 @@ paths: properties: {} additionalProperties: false examples: - default: &382 + default: &379 value: limit: collaborators_only origin: organization @@ -55500,13 +54879,13 @@ paths: required: true content: application/json: - schema: &657 + schema: &654 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *380 + limit: *377 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -55531,9 +54910,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *378 examples: - default: *382 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -55611,9 +54990,9 @@ paths: application/json: schema: type: array - items: *383 + items: *380 examples: - default: *384 + default: *381 headers: Link: *45 '404': *6 @@ -55691,7 +55070,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *380 examples: default: value: @@ -55748,7 +55127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &385 + - &382 name: invitation_id description: The unique identifier of the invitation. in: path @@ -55782,7 +55161,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *385 + - *382 - *17 - *19 responses: @@ -55792,9 +55171,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: &403 + default: &400 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -55837,7 +55216,7 @@ paths: application/json: schema: type: array - items: &386 + items: &383 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -56100,9 +55479,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: &387 + default: &384 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -56158,7 +55537,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *87 - - &388 + - &385 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -56268,9 +55647,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: *387 + default: *384 '404': *6 '422': *7 x-github: @@ -56295,7 +55674,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *87 - - *388 + - *385 responses: '204': *126 '404': *6 @@ -56325,9 +55704,9 @@ paths: application/json: schema: type: array - items: *389 + items: *386 examples: - default: &660 + default: &658 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -56413,9 +55792,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *386 examples: - default: &390 + default: &387 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -56448,7 +55827,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &391 + - &388 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -56504,9 +55883,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *386 examples: - default: *390 + default: *387 '404': *6 '422': *7 x-github: @@ -56531,7 +55910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *391 + - *388 responses: '204': description: Response @@ -56594,7 +55973,7 @@ paths: - closed - all default: open - - *392 + - *389 - name: type description: Can be the name of an issue type. in: query @@ -56613,7 +55992,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - *17 - *19 responses: @@ -56623,9 +56002,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *393 + default: *390 headers: Link: *45 '404': *6 @@ -56685,7 +56064,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '422': *15 @@ -56784,9 +56163,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *391 examples: - default: *395 + default: *392 '304': *35 '500': *38 '401': *23 @@ -56813,7 +56192,7 @@ paths: parameters: - *87 - *140 - - &396 + - &393 name: codespace_name in: path required: true @@ -56848,15 +56227,15 @@ paths: parameters: - *87 - *140 - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: &577 + default: &574 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -57112,7 +56491,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &394 title: Org Membership description: Org Membership type: object @@ -57181,7 +56560,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &398 + response-if-user-has-an-active-admin-membership-with-organization: &395 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -57282,9 +56661,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: - response-if-user-already-had-membership-with-organization: *398 + response-if-user-already-had-membership-with-organization: *395 '422': *15 '403': *27 x-github: @@ -57356,7 +56735,7 @@ paths: application/json: schema: type: array - items: &399 + items: &396 title: Migration description: A migration. type: object @@ -57694,7 +57073,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -57873,7 +57252,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &400 + - &397 name: migration_id description: The unique identifier of the migration. in: path @@ -57901,7 +57280,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -58071,7 +57450,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *400 + - *397 responses: '302': description: Response @@ -58093,7 +57472,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *400 + - *397 responses: '204': description: Response @@ -58117,8 +57496,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *400 - - &822 + - *397 + - &820 name: repo_name description: repo_name parameter in: path @@ -58146,7 +57525,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *400 + - *397 - *17 - *19 responses: @@ -58156,9 +57535,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: &410 + default: &407 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -58369,7 +57748,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &401 + items: &398 title: Organization Role description: Organization roles type: object @@ -58578,7 +57957,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: default: value: @@ -58630,7 +58009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response @@ -58656,7 +58035,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *87 - - *216 + - *213 - *139 responses: '204': @@ -58687,7 +58066,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *87 - - *216 + - *213 - *139 responses: '204': @@ -58808,7 +58187,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: default: value: @@ -58905,7 +58284,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: default: value: @@ -59064,7 +58443,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *399 type: description: The ownership type of the team type: string @@ -59097,7 +58476,7 @@ paths: - type - parent examples: - default: *403 + default: *400 headers: Link: *45 '404': @@ -59156,7 +58535,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *402 + items: *399 name: type: - string @@ -59273,7 +58652,7 @@ paths: - type - url examples: - default: *212 + default: *209 headers: Link: *45 '404': @@ -59324,7 +58703,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -59466,7 +58845,7 @@ paths: - nuget - container - *87 - - &823 + - &821 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -59502,12 +58881,12 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *405 + default: *402 '403': *27 '401': *23 - '400': &825 + '400': &823 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -59529,7 +58908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &406 + - &403 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 @@ -59547,7 +58926,7 @@ paths: - docker - nuget - container - - &407 + - &404 name: package_name description: The name of the package. in: path @@ -59560,7 +58939,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *401 examples: default: value: @@ -59612,8 +58991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 responses: '204': @@ -59646,8 +59025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - name: token description: package token @@ -59680,8 +59059,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-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - *19 - *17 @@ -59702,7 +59081,7 @@ paths: application/json: schema: type: array - items: &408 + items: &405 title: Package Version description: A version of a software package type: object @@ -59837,10 +59216,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: - - *406 - - *407 + - *403 + - *404 - *87 - - &409 + - &406 name: package_version_id description: Unique identifier of the package version. in: path @@ -59852,7 +59231,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *405 examples: default: value: @@ -59888,10 +59267,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - - *409 + - *406 responses: '204': description: Response @@ -59923,10 +59302,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - - *409 + - *406 responses: '204': description: Response @@ -59956,7 +59335,7 @@ paths: - *87 - *17 - *19 - - &411 + - &408 name: sort description: The property by which to sort the results. in: query @@ -59967,7 +59346,7 @@ paths: - created_at default: created_at - *110 - - &412 + - &409 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -59979,7 +59358,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &413 + - &410 name: repository description: The name of the repository to use to filter the results. in: query @@ -59988,7 +59367,7 @@ paths: type: string examples: - Hello-World - - &414 + - &411 name: permission description: The permission to use to filter the results. in: query @@ -59997,7 +59376,7 @@ paths: type: string examples: - issues_read - - &415 + - &412 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) @@ -60007,7 +59386,7 @@ paths: schema: type: string format: date-time - - &416 + - &413 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) @@ -60017,7 +59396,7 @@ paths: schema: type: string format: date-time - - &417 + - &414 name: token_id description: The ID of the token in: query @@ -60334,9 +59713,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -60362,14 +59741,14 @@ paths: - *87 - *17 - *19 - - *411 + - *408 - *110 + - *409 + - *410 + - *411 - *412 - *413 - *414 - - *415 - - *416 - - *417 responses: '500': *38 '422': *15 @@ -60651,9 +60030,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -60695,7 +60074,7 @@ paths: type: integer configurations: type: array - items: &418 + items: &415 title: Organization private registry description: Private registry configuration for an organization type: object @@ -61212,7 +60591,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &419 + org-private-registry-with-selected-visibility: &416 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -61304,15 +60683,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *87 - - *290 + - *287 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *418 + schema: *415 examples: - default: *419 + default: *416 '404': *6 x-github: githubCloudOnly: false @@ -61335,7 +60714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -61524,7 +60903,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -61564,7 +60943,7 @@ paths: application/json: schema: type: array - items: &420 + items: &417 title: Projects v2 Project description: A projects v2 project type: object @@ -61638,7 +61017,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &912 + - &910 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -61723,7 +61102,7 @@ paths: - deleted_at - deleted_by examples: - default: &421 + default: &418 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -61826,7 +61205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &422 + - &419 name: project_number description: The project's number. in: path @@ -61839,9 +61218,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *417 examples: - default: *421 + default: *418 headers: Link: *45 '304': *35 @@ -61864,7 +61243,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *422 + - *419 requestBody: required: true description: Details of the draft item to create in the project. @@ -61898,7 +61277,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &424 title: Projects v2 Item description: An item belonging to a project type: object @@ -61911,8 +61290,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *221 - - &592 + - *218 + - &589 title: Pull Request Simple description: Pull Request Simple type: object @@ -62032,7 +61411,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *420 active_lock_reason: type: - string @@ -62081,7 +61460,7 @@ paths: items: *4 requested_teams: type: array - items: *316 + items: *313 head: type: object properties: @@ -62125,7 +61504,7 @@ paths: _links: type: object properties: - comments: &424 + comments: &421 title: Link description: Hypermedia Link type: object @@ -62134,13 +61513,13 @@ paths: type: string required: - href - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + commits: *421 + statuses: *421 + html: *421 + issue: *421 + review_comments: *421 + review_comment: *421 + self: *421 required: - comments - commits @@ -62150,8 +61529,8 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: &706 + author_association: *215 + auto_merge: &704 title: Auto merge description: The status of auto merging a pull request. type: @@ -62253,7 +61632,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &426 + content_type: &423 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -62297,7 +61676,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &428 + draft_issue: &425 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -62371,7 +61750,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *422 + - *419 - *87 - *17 - *108 @@ -62383,7 +61762,7 @@ paths: application/json: schema: type: array - items: &425 + items: &422 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -62536,7 +61915,7 @@ paths: - updated_at - project_url examples: - default: &845 + default: &843 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62666,7 +62045,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *422 + - *419 - *87 requestBody: required: true @@ -62713,7 +62092,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &846 + items: &844 type: object properties: name: @@ -62750,7 +62129,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &847 + iteration_configuration: &845 type: object description: The configuration for iteration fields. properties: @@ -62800,7 +62179,7 @@ paths: value: name: Due date data_type: date - single_select_field: &848 + single_select_field: &846 summary: Create a single select field value: name: Priority @@ -62827,7 +62206,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &849 + iteration_field: &847 summary: Create an iteration field value: name: Sprint @@ -62851,9 +62230,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *425 + schema: *422 examples: - text_field: &850 + text_field: &848 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -62862,7 +62241,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &851 + number_field: &849 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -62871,7 +62250,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &852 + date_field: &850 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -62880,7 +62259,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &853 + single_select_field: &851 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62914,7 +62293,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &854 + iteration_field: &852 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -62959,8 +62338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *422 - - &855 + - *419 + - &853 name: field_id description: The unique identifier of the field. in: path @@ -62973,9 +62352,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: &856 + default: &854 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -63031,7 +62410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *422 + - *419 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -63064,7 +62443,7 @@ paths: application/json: schema: type: array - items: &429 + items: &426 title: Projects v2 Item description: An item belonging to a project type: object @@ -63081,7 +62460,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *426 + content_type: *423 content: type: - object @@ -63131,7 +62510,7 @@ paths: - updated_at - archived_at examples: - default: &430 + default: &427 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -63829,7 +63208,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *422 + - *419 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -63899,22 +63278,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *425 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *425 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *425 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *425 '304': *35 '403': *27 '401': *23 @@ -63934,9 +63313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *422 + - *419 - *87 - - &431 + - &428 name: item_id description: The unique identifier of the project item. in: path @@ -63962,9 +63341,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -63985,9 +63364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *422 + - *419 - *87 - - *431 + - *428 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -64060,13 +63439,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *427 + number_field: *427 + date_field: *427 + single_select_field: *427 + iteration_field: *427 '401': *23 '403': *27 '404': *6 @@ -64086,9 +63465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *422 + - *419 - *87 - - *431 + - *428 responses: '204': description: Response @@ -64112,7 +63491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *87 - - *422 + - *419 requestBody: required: true content: @@ -64186,7 +63565,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &836 + schema: &834 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -64290,7 +63669,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &432 + value: &429 value: id: 1 number: 1 @@ -64336,10 +63715,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *432 + value: *429 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *429 '304': *35 '403': *27 '401': *23 @@ -64367,9 +63746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *422 + - *419 - *87 - - &857 + - &855 name: view_number description: The number that identifies the project view. in: path @@ -64401,9 +63780,9 @@ paths: application/json: schema: type: array - items: *429 + items: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -64567,7 +63946,7 @@ paths: required: true content: application/json: - schema: *433 + schema: *430 examples: default: value: @@ -64795,7 +64174,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -64933,9 +64312,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -65139,7 +64518,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &477 title: Full Repository description: Full Repository type: object @@ -65598,7 +64977,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 organization: anyOf: - type: 'null' @@ -65617,7 +64996,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &597 + code_of_conduct: &594 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -65647,7 +65026,7 @@ paths: - key - name - html_url - security_and_analysis: *434 + security_and_analysis: *431 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -65731,7 +65110,7 @@ paths: - network_count - subscribers_count examples: - default: &482 + default: &479 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -66257,9 +65636,9 @@ paths: application/json: schema: type: array - items: *435 + items: *432 examples: - default: *436 + default: *433 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -66284,7 +65663,7 @@ paths: - *87 - *17 - *19 - - &728 + - &726 name: targets description: | A comma-separated list of rule targets to filter by. @@ -66376,11 +65755,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *437 + conditions: *434 rules: type: array description: An array of rules within the ruleset. - items: &439 + items: &436 title: Repository Rule type: object description: A repository rule. @@ -66445,7 +65824,7 @@ paths: application/json: schema: *187 examples: - default: &438 + default: &435 value: id: 21 name: super cool ruleset @@ -66501,7 +65880,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &730 + - &728 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 @@ -66511,16 +65890,16 @@ paths: schema: type: string x-multi-segment: true - - *313 + - *310 - *105 - - &731 + - &729 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 - - &732 + - &730 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -66533,7 +65912,7 @@ paths: - bypass - all default: all - - &733 + - &731 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -66556,7 +65935,7 @@ paths: description: Response content: application/json: - schema: &734 + schema: &732 title: Rule Suites description: Response type: array @@ -66612,7 +65991,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &735 + default: &733 value: - id: 21 actor_id: 12 @@ -66656,7 +66035,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &736 + - &734 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -66672,7 +66051,7 @@ paths: description: Response content: application/json: - schema: &737 + schema: &735 title: Rule Suite description: Response type: object @@ -66779,7 +66158,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &738 + default: &736 value: id: 21 actor_id: 12 @@ -66854,7 +66233,7 @@ paths: application/json: schema: *187 examples: - default: *438 + default: *435 '404': *6 '500': *38 put: @@ -66903,11 +66282,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *437 + conditions: *434 rules: description: An array of rules within the ruleset. type: array - items: *439 + items: *436 examples: default: value: @@ -66944,7 +66323,7 @@ paths: application/json: schema: *187 examples: - default: *438 + default: *435 '404': *6 '422': *15 '500': *38 @@ -67004,7 +66383,7 @@ paths: type: array items: *191 examples: - default: *440 + default: *437 '404': *6 '500': *38 x-github: @@ -67041,7 +66420,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: default: value: @@ -67104,18 +66483,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 + - *439 + - *440 + - *441 - *442 - *443 - *444 - *445 - *446 - - *447 - - *448 - - *449 - *110 - *19 - *17 - - &740 + - &738 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 @@ -67125,7 +66504,7 @@ paths: required: false schema: type: string - - &741 + - &739 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 @@ -67135,11 +66514,11 @@ paths: required: false schema: type: string + - *447 + - *448 + - *449 - *450 - *451 - - *452 - - *453 - - *454 responses: '200': description: Response @@ -67147,9 +66526,9 @@ paths: application/json: schema: type: array - items: *455 + items: *452 examples: - default: *456 + default: *453 headers: Link: *45 '404': *6 @@ -67184,9 +66563,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *454 examples: - default: *458 + default: *455 '403': *27 '404': *6 patch: @@ -67339,7 +66718,7 @@ paths: application/json: schema: type: array - items: &762 + items: &760 description: A repository security advisory. type: object properties: @@ -67583,7 +66962,7 @@ paths: login: type: string description: The username of the user credited. - type: *459 + type: *456 credits_detailed: type: - array @@ -67594,7 +66973,7 @@ paths: type: object properties: user: *4 - type: *459 + type: *456 state: type: string description: The state of the user's acceptance of the @@ -67620,7 +66999,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *316 + items: *313 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -67658,7 +67037,7 @@ paths: - private_fork additionalProperties: false examples: - default: &763 + default: &761 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -68045,7 +67424,7 @@ paths: application/json: schema: type: array - items: *402 + items: *399 examples: default: value: @@ -68086,7 +67465,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response @@ -68112,7 +67491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response @@ -68144,7 +67523,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *460 + - *457 - *17 - *19 responses: @@ -68152,9 +67531,9 @@ paths: description: Success content: application/json: - schema: *461 + schema: *458 examples: - default: *462 + default: *459 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68300,9 +67679,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68371,7 +67750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: Response @@ -68394,7 +67773,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: Response @@ -68437,7 +67816,7 @@ paths: type: array items: *145 examples: - default: *463 + default: *460 headers: Link: *45 x-github: @@ -68666,15 +68045,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *464 + - *461 responses: '200': description: Response content: application/json: - schema: *465 + schema: *462 examples: - default: *466 + default: *463 headers: Link: *45 x-github: @@ -68712,7 +68091,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &474 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -68764,7 +68143,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &478 + default: &475 value: groups: - group_id: '123' @@ -68785,75 +68164,6 @@ paths: enabledForGitHubApps: true category: teams subcategory: team-sync - "/orgs/{org}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for a team - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. - Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team - parameters: - - *87 - - *216 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *207 - examples: - default: *208 - '500': *38 - '403': *27 - '404': *6 - '422': *209 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -68888,9 +68198,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 headers: Link: *45 '403': *27 @@ -68984,7 +68294,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &464 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -69058,7 +68368,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *399 members_count: type: integer examples: @@ -69383,7 +68693,7 @@ paths: - repos_count - organization examples: - default: &468 + default: &465 value: id: 1 node_id: MDQ6VGVhbTE= @@ -69454,15 +68764,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *87 - - *216 + - *213 responses: '200': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -69484,7 +68794,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *87 - - *216 + - *213 requestBody: required: false content: @@ -69547,16 +68857,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '201': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 '422': *15 '403': *27 @@ -69582,11 +68892,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response - '422': &471 + '422': &468 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -69609,16 +68919,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *87 - - *216 + - *213 responses: '200': description: Response content: application/json: - schema: *469 + schema: *466 examples: - default: *470 - '422': *471 + default: *467 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -69638,7 +68948,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *216 + - *213 requestBody: required: true content: @@ -69662,10 +68972,10 @@ paths: description: Response content: application/json: - schema: *472 + schema: *469 examples: - default: *473 - '422': *471 + default: *470 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69685,11 +68995,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response - '422': *471 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69711,7 +69021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *87 - - *216 + - *213 - *17 - *19 responses: @@ -69721,12 +69031,12 @@ paths: application/json: schema: type: array - items: *383 + items: *380 examples: - default: *384 + default: *381 headers: Link: *45 - '422': *471 + '422': *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69747,7 +69057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *87 - - *216 + - *213 - name: role description: Filters members returned by their role in the team. in: query @@ -69770,7 +69080,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -69801,14 +69111,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *87 - - *216 + - *213 - *140 responses: '200': description: Response content: application/json: - schema: &474 + schema: &471 title: Team Membership description: Team Membership type: object @@ -69836,7 +69146,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &804 + response-if-user-is-a-team-maintainer: &802 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -69873,7 +69183,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *87 - - *216 + - *213 - *140 requestBody: required: false @@ -69899,9 +69209,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: &805 + response-if-users-membership-with-team-is-now-pending: &803 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -69937,7 +69247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *87 - - *216 + - *213 - *140 responses: '204': @@ -69965,7 +69275,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *87 - - *216 + - *213 - *17 - *19 responses: @@ -69975,9 +69285,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -70007,15 +69317,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *87 - - *216 - - *475 - - *476 + - *213 + - *472 + - *473 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &806 + schema: &804 title: Team Repository description: A team's access to a repository. type: object @@ -70041,7 +69351,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 forks: type: integer permissions: @@ -70657,9 +69967,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *87 - - *216 - - *475 - - *476 + - *213 + - *472 + - *473 requestBody: required: false content: @@ -70705,9 +70015,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *87 - - *216 - - *475 - - *476 + - *213 + - *472 + - *473 responses: '204': description: Response @@ -70734,16 +70044,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *87 - - *216 + - *213 responses: '200': description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: *478 - '422': *471 + default: *475 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70766,7 +70076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *87 - - *216 + - *213 requestBody: required: true content: @@ -70809,7 +70119,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: default: value: @@ -70821,7 +70131,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *471 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70843,7 +70153,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *87 - - *216 + - *213 - *17 - *19 responses: @@ -70853,9 +70163,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - response-if-child-teams-exist: &807 + response-if-child-teams-exist: &805 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -70983,7 +70293,6 @@ paths: * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)." * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph)." * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph)." - * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners)." * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions)." @@ -71009,7 +70318,7 @@ paths: resources: type: object properties: - core: &479 + core: &476 title: Rate Limit type: object properties: @@ -71026,21 +70335,21 @@ paths: - remaining - reset - used - graphql: *479 - search: *479 - code_search: *479 - source_import: *479 - integration_manifest: *479 - code_scanning_upload: *479 - actions_runner_registration: *479 - scim: *479 - dependency_snapshots: *479 - dependency_sbom: *479 - code_scanning_autofix: *479 + graphql: *476 + search: *476 + code_search: *476 + source_import: *476 + integration_manifest: *476 + actions_runner_registration: *476 + scim: *476 + dependency_snapshots: *476 + dependency_sbom: *476 + code_scanning_autofix: *476 + copilot_usage_records: *476 required: - core - search - rate: *479 + rate: *476 required: - rate - resources @@ -71073,11 +70382,6 @@ paths: used: 1 remaining: 99 reset: 1691591091 - code_scanning_upload: - limit: 500 - used: 1 - remaining: 499 - reset: 1691594631 actions_runner_registration: limit: 10000 used: 0 @@ -71145,14 +70449,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *480 + schema: *477 examples: default-response: summary: Default response @@ -71661,7 +70965,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *481 + '301': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71679,8 +70983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -72001,10 +71305,10 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 - '307': &483 + default: *479 + '307': &480 description: Temporary Redirect content: application/json: @@ -72033,8 +71337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -72056,7 +71360,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': *483 + '307': *480 '404': *6 '409': *119 x-github: @@ -72080,11 +71384,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - - &499 + - &496 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -72107,7 +71411,7 @@ paths: type: integer artifacts: type: array - items: &484 + items: &481 title: Artifact description: An artifact type: object @@ -72202,7 +71506,7 @@ paths: - expires_at - updated_at examples: - default: &500 + default: &497 value: total_count: 2 artifacts: @@ -72263,9 +71567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *475 - - *476 - - &485 + - *472 + - *473 + - &482 name: artifact_id description: The unique identifier of the artifact. in: path @@ -72277,7 +71581,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *481 examples: default: value: @@ -72315,9 +71619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *475 - - *476 - - *485 + - *472 + - *473 + - *482 responses: '204': description: Response @@ -72341,9 +71645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *475 - - *476 - - *485 + - *472 + - *473 + - *482 - name: archive_format in: path required: true @@ -72353,11 +71657,11 @@ paths: '302': description: Response headers: - Location: &614 + Location: &611 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': &661 + '410': &659 description: Gone content: application/json: @@ -72382,14 +71686,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &486 + schema: &483 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -72423,13 +71727,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *486 + schema: *483 examples: selected_actions: *42 responses: @@ -72458,14 +71762,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &487 + schema: &484 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -72499,13 +71803,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *487 + schema: *484 examples: selected_actions: *44 responses: @@ -72536,14 +71840,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *488 + schema: *485 examples: default: value: @@ -72569,11 +71873,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: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - - &489 + - &486 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 @@ -72607,7 +71911,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &487 title: Repository actions caches description: Repository actions caches type: object @@ -72657,7 +71961,7 @@ paths: - total_count - actions_caches examples: - default: &491 + default: &488 value: total_count: 1 actions_caches: @@ -72689,23 +71993,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: - - *475 - - *476 + - *472 + - *473 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *489 + - *486 responses: '200': description: Response content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72725,8 +72029,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: - - *475 - - *476 + - *472 + - *473 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -72755,8 +72059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *109 responses: @@ -72839,8 +72143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -72996,9 +72300,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: - - *475 - - *476 - - &492 + - *472 + - *473 + - &489 name: job_id description: The unique identifier of the job. in: path @@ -73010,7 +72314,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &500 title: Job description: Information of a job execution in a workflow run type: object @@ -73357,9 +72661,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: - - *475 - - *476 - - *492 + - *472 + - *473 + - *489 responses: '302': description: Response @@ -73387,9 +72691,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: - - *475 - - *476 - - *492 + - *472 + - *473 + - *489 requestBody: required: false content: @@ -73416,7 +72720,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -73440,8 +72744,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Status response @@ -73500,8 +72804,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -73540,7 +72844,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -73569,8 +72873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -73588,7 +72892,7 @@ paths: type: integer secrets: type: array - items: &505 + items: &502 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -73609,7 +72913,7 @@ paths: - created_at - updated_at examples: - default: &506 + default: &503 value: total_count: 2 secrets: @@ -73642,9 +72946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -73661,7 +72965,7 @@ paths: type: integer variables: type: array - items: &507 + items: &504 title: Actions Variable type: object properties: @@ -73695,7 +72999,7 @@ paths: - created_at - updated_at examples: - default: &508 + default: &505 value: total_count: 2 variables: @@ -73728,8 +73032,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -73738,11 +73042,11 @@ paths: schema: type: object properties: - enabled: &493 + enabled: &490 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 - selected_actions_url: *267 + selected_actions_url: *264 sha_pinning_required: *61 required: - enabled @@ -73773,8 +73077,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -73785,7 +73089,7 @@ paths: schema: type: object properties: - enabled: *493 + enabled: *490 allowed_actions: *60 sha_pinning_required: *61 required: @@ -73818,14 +73122,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &494 + schema: &491 type: object properties: access_level: @@ -73843,7 +73147,7 @@ paths: required: - access_level examples: - default: &495 + default: &492 value: access_level: organization x-github: @@ -73868,15 +73172,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *494 + schema: *491 examples: - default: *495 + default: *492 responses: '204': description: Response @@ -73900,14 +73204,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *269 + schema: *266 examples: default: value: @@ -73931,8 +73235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Empty response for successful settings update @@ -73942,7 +73246,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *267 examples: default: summary: Set retention days @@ -73966,8 +73270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -73975,7 +73279,7 @@ paths: application/json: schema: *62 examples: - default: *271 + default: *268 '404': *6 x-github: enabledForGitHubApps: true @@ -73994,8 +73298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -74029,14 +73333,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *272 + schema: *269 examples: default: *63 '403': *27 @@ -74058,13 +73362,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *273 + schema: *270 examples: default: *63 responses: @@ -74090,8 +73394,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -74122,8 +73426,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -74155,14 +73459,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *276 + schema: *273 examples: default: *69 x-github: @@ -74185,8 +73489,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Success response @@ -74197,7 +73501,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *274 examples: default: *69 x-github: @@ -74226,8 +73530,8 @@ paths: in: query schema: type: string - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -74271,8 +73575,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -74280,9 +73584,9 @@ paths: application/json: schema: type: array - items: *281 + items: *278 examples: - default: *282 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74304,8 +73608,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -74348,7 +73652,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *280 '404': *6 '422': *7 '409': *119 @@ -74379,8 +73683,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: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -74388,7 +73692,7 @@ paths: application/json: schema: *79 examples: - default: *284 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74416,8 +73720,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: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -74425,7 +73729,7 @@ paths: application/json: schema: *79 examples: - default: *285 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74447,8 +73751,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: '200': @@ -74457,7 +73761,7 @@ paths: application/json: schema: *76 examples: - default: *286 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74478,8 +73782,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: '204': @@ -74506,8 +73810,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: '200': *81 @@ -74532,8 +73836,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: - - *475 - - *476 + - *472 + - *473 - *75 requestBody: required: true @@ -74582,8 +73886,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: - - *475 - - *476 + - *472 + - *473 - *75 requestBody: required: true @@ -74633,11 +73937,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: - '200': *287 + '200': *284 '404': *6 x-github: githubCloudOnly: false @@ -74664,10 +73968,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: - - *475 - - *476 + - *472 + - *473 - *75 - - *288 + - *285 responses: '200': *81 '404': *6 @@ -74695,9 +73999,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: - - *475 - - *476 - - &511 + - *472 + - *473 + - &508 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. @@ -74705,7 +74009,7 @@ paths: required: false schema: type: string - - &512 + - &509 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -74713,7 +74017,7 @@ paths: required: false schema: type: string - - &513 + - &510 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -74722,7 +74026,7 @@ paths: required: false schema: type: string - - &514 + - &511 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 @@ -74749,7 +74053,7 @@ paths: - pending - *17 - *19 - - &515 + - &512 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)." @@ -74758,7 +74062,7 @@ paths: schema: type: string format: date-time - - &496 + - &493 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -74767,13 +74071,13 @@ paths: schema: type: boolean default: false - - &516 + - &513 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &517 + - &514 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -74796,7 +74100,7 @@ paths: type: integer workflow_runs: type: array - items: &497 + items: &494 title: Workflow Run description: An invocation of a workflow type: object @@ -74913,7 +74217,7 @@ paths: type: - array - 'null' - items: *224 + items: *221 created_at: type: string format: date-time @@ -74974,7 +74278,7 @@ paths: head_commit: anyOf: - type: 'null' - - &541 + - &538 title: Simple Commit description: A commit. type: object @@ -75048,8 +74352,8 @@ paths: - timestamp - author - committer - repository: *280 - head_repository: *280 + repository: *277 + head_repository: *277 head_repository_id: type: integer examples: @@ -75089,7 +74393,7 @@ paths: - workflow_url - pull_requests examples: - default: &518 + default: &515 value: total_count: 1 workflow_runs: @@ -75325,24 +74629,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *475 - - *476 - - &498 + - *472 + - *473 + - &495 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *496 + - *493 responses: '200': description: Response content: application/json: - schema: *497 + schema: *494 examples: - default: &501 + default: &498 value: id: 30433642 name: Build @@ -75583,9 +74887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '204': description: Response @@ -75608,9 +74912,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '200': description: Response @@ -75738,15 +75042,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -75773,12 +75077,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 - *17 - *19 - - *499 + - *496 - *110 responses: '200': @@ -75795,9 +75099,9 @@ paths: type: integer artifacts: type: array - items: *484 + items: *481 examples: - default: *500 + default: *497 headers: Link: *45 x-github: @@ -75821,25 +75125,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *475 - - *476 - - *498 - - &502 + - *472 + - *473 + - *495 + - &499 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *496 + - *493 responses: '200': description: Response content: application/json: - schema: *497 + schema: *494 examples: - default: *501 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75862,10 +75166,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: - - *475 - - *476 - - *498 - - *502 + - *472 + - *473 + - *495 + - *499 - *17 - *19 responses: @@ -75883,9 +75187,9 @@ paths: type: integer jobs: type: array - items: *503 + items: *500 examples: - default: &504 + default: &501 value: total_count: 1 jobs: @@ -75998,10 +75302,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *475 - - *476 - - *498 - - *502 + - *472 + - *473 + - *495 + - *499 responses: '302': description: Response @@ -76029,15 +75333,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '202': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76077,9 +75381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 - *17 - *108 - *109 @@ -76256,9 +75560,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: true content: @@ -76325,15 +75629,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '202': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76360,9 +75664,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 - 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 @@ -76392,9 +75696,9 @@ paths: type: integer jobs: type: array - items: *503 + items: *500 examples: - default: *504 + default: *501 headers: Link: *45 x-github: @@ -76419,9 +75723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '302': description: Response @@ -76448,9 +75752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '204': description: Response @@ -76477,9 +75781,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '200': description: Response @@ -76548,7 +75852,7 @@ paths: items: type: object properties: - type: &629 + type: &626 type: string description: The type of reviewer. enum: @@ -76559,7 +75863,7 @@ paths: reviewer: anyOf: - *4 - - *316 + - *313 required: - environment - wait_timer @@ -76634,9 +75938,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: true content: @@ -76686,7 +75990,7 @@ paths: application/json: schema: type: array - items: &616 + items: &613 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -76798,7 +76102,7 @@ paths: - created_at - updated_at examples: - default: &617 + default: &614 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -76854,9 +76158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: false content: @@ -76878,7 +76182,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76901,9 +76205,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: false content: @@ -76925,7 +76229,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76958,9 +76262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '200': description: Response @@ -77097,8 +76401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -77116,9 +76420,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -77143,16 +76447,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77174,17 +76478,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: &519 + default: &516 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -77210,9 +76514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -77243,7 +76547,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -77269,9 +76573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -77296,9 +76600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -77315,9 +76619,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -77340,8 +76644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -77368,7 +76672,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -77393,17 +76697,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: &520 + default: &517 value: name: USERNAME value: octocat @@ -77429,9 +76733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 requestBody: required: true content: @@ -77473,9 +76777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '204': description: Response @@ -77500,8 +76804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -77519,7 +76823,7 @@ paths: type: integer workflows: type: array - items: &509 + items: &506 title: Workflow description: A GitHub Actions workflow type: object @@ -77637,9 +76941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *475 - - *476 - - &510 + - *472 + - *473 + - &507 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -77654,7 +76958,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: default: value: @@ -77687,9 +76991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '204': description: Response @@ -77714,9 +77018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -77803,9 +77107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '204': description: Response @@ -77832,19 +77136,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: - - *475 - - *476 + - *472 + - *473 + - *507 + - *508 + - *509 - *510 - *511 + - *17 + - *19 - *512 + - *493 - *513 - *514 - - *17 - - *19 - - *515 - - *496 - - *516 - - *517 responses: '200': description: Response @@ -77860,9 +77164,9 @@ paths: type: integer workflow_runs: type: array - items: *497 + items: *494 examples: - default: *518 + default: *515 headers: Link: *45 x-github: @@ -77895,9 +77199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '200': description: Response @@ -77958,8 +77262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *475 - - *476 + - *472 + - *473 - *110 - *17 - *108 @@ -78132,8 +77436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -78151,9 +77455,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -78177,9 +77481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -78196,9 +77500,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -78223,8 +77527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -78242,9 +77546,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -78269,16 +77573,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78300,17 +77604,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: *519 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78332,9 +77636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -78365,7 +77669,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -78391,9 +77695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -78418,9 +77722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -78437,9 +77741,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -78462,8 +77766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -78490,7 +77794,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -78515,17 +77819,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: *520 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78546,9 +77850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 requestBody: required: true content: @@ -78590,9 +77894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '204': description: Response @@ -78613,8 +77917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -78626,7 +77930,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '404': *6 @@ -78651,8 +77955,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: - - *475 - - *476 + - *472 + - *473 - name: assignee in: path required: true @@ -78688,8 +77992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -78799,8 +78103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *108 - *109 @@ -78857,7 +78161,7 @@ paths: initiator: type: string examples: - default: *521 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78877,8 +78181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -78886,7 +78190,7 @@ paths: application/json: schema: type: array - items: &522 + items: &519 title: Autolink reference description: An autolink reference. type: object @@ -78945,8 +78249,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -78985,9 +78289,9 @@ paths: description: response content: application/json: - schema: *522 + schema: *519 examples: - default: &523 + default: &520 value: id: 1 key_prefix: TICKET- @@ -79018,9 +78322,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: - - *475 - - *476 - - &524 + - *472 + - *473 + - &521 name: autolink_id description: The unique identifier of the autolink. in: path @@ -79032,9 +78336,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *519 examples: - default: *523 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -79054,9 +78358,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: - - *475 - - *476 - - *524 + - *472 + - *473 + - *521 responses: '204': description: Response @@ -79080,8 +78384,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response if Dependabot is enabled @@ -79131,8 +78435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -79153,8 +78457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -79174,8 +78478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *475 - - *476 + - *472 + - *473 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -79213,7 +78517,7 @@ paths: - url protected: type: boolean - protection: &526 + protection: &523 title: Branch Protection description: Branch Protection type: object @@ -79256,7 +78560,7 @@ paths: required: - contexts - checks - enforce_admins: &529 + enforce_admins: &526 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -79273,7 +78577,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &531 + required_pull_request_reviews: &528 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -79295,7 +78599,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *316 + items: *313 apps: description: The list of apps with review dismissal access. @@ -79327,7 +78631,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *316 + items: *313 apps: description: The list of apps allowed to bypass pull request requirements. @@ -79357,7 +78661,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &528 + restrictions: &525 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -79420,7 +78724,7 @@ paths: type: string teams: type: array - items: *316 + items: *313 apps: type: array items: @@ -79650,9 +78954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *475 - - *476 - - &527 + - *472 + - *473 + - &524 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). @@ -79666,14 +78970,14 @@ paths: description: Response content: application/json: - schema: &537 + schema: &534 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &588 + commit: &585 title: Commit description: Commit type: object @@ -79712,7 +79016,7 @@ paths: author: anyOf: - type: 'null' - - &525 + - &522 title: Git User description: Metaproperties for Git author/committer information. @@ -79734,7 +79038,7 @@ paths: committer: anyOf: - type: 'null' - - *525 + - *522 message: type: string examples: @@ -79758,7 +79062,7 @@ paths: required: - sha - url - verification: &647 + verification: &644 title: Verification type: object properties: @@ -79794,14 +79098,14 @@ paths: author: oneOf: - *4 - - *291 + - *288 type: - 'null' - object committer: oneOf: - *4 - - *291 + - *288 type: - 'null' - object @@ -79838,7 +79142,7 @@ paths: type: integer files: type: array - items: &599 + items: &596 title: Diff Entry description: Diff Entry type: object @@ -79934,7 +79238,7 @@ paths: - self protected: type: boolean - protection: *526 + protection: *523 protection_url: type: string format: uri @@ -80043,7 +79347,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *481 + '301': *478 '404': *6 x-github: githubCloudOnly: false @@ -80065,15 +79369,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: default: value: @@ -80267,9 +79571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -80529,7 +79833,7 @@ paths: url: type: string format: uri - required_status_checks: &534 + required_status_checks: &531 title: Status Check Policy description: Status Check Policy type: object @@ -80610,7 +79914,7 @@ paths: items: *4 teams: type: array - items: *316 + items: *313 apps: type: array items: *5 @@ -80628,7 +79932,7 @@ paths: items: *4 teams: type: array - items: *316 + items: *313 apps: type: array items: *5 @@ -80688,7 +79992,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *528 + restrictions: *525 required_conversation_resolution: type: object properties: @@ -80800,9 +80104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -80827,17 +80131,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: &530 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -80859,17 +80163,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: *530 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80888,9 +80192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -80915,17 +80219,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *531 + schema: *528 examples: - default: &532 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -81021,9 +80325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -81121,9 +80425,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *528 examples: - default: *532 + default: *529 '422': *15 x-github: githubCloudOnly: false @@ -81144,9 +80448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -81173,17 +80477,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: &533 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -81206,17 +80510,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: *533 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -81236,9 +80540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -81263,17 +80567,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *534 + schema: *531 examples: - default: &535 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -81299,9 +80603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -81353,9 +80657,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *531 examples: - default: *535 + default: *532 '404': *6 '422': *15 x-github: @@ -81377,9 +80681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -81403,9 +80707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -81439,9 +80743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -81508,9 +80812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -81574,9 +80878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: content: application/json: @@ -81642,15 +80946,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *528 + schema: *525 examples: default: value: @@ -81741,9 +81045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -81766,9 +81070,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: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -81778,7 +81082,7 @@ paths: type: array items: *5 examples: - default: &536 + default: &533 value: - id: 1 slug: octoapp @@ -81835,9 +81139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -81871,7 +81175,7 @@ paths: type: array items: *5 examples: - default: *536 + default: *533 '422': *15 x-github: githubCloudOnly: false @@ -81892,9 +81196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -81928,7 +81232,7 @@ paths: type: array items: *5 examples: - default: *536 + default: *533 '422': *15 x-github: githubCloudOnly: false @@ -81949,9 +81253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -81985,7 +81289,7 @@ paths: type: array items: *5 examples: - default: *536 + default: *533 '422': *15 x-github: githubCloudOnly: false @@ -82007,9 +81311,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: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -82017,9 +81321,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -82039,9 +81343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -82077,9 +81381,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -82100,9 +81404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -82138,9 +81442,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -82161,9 +81465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: content: application/json: @@ -82198,9 +81502,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -82222,9 +81526,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: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -82234,7 +81538,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '404': *6 x-github: githubCloudOnly: false @@ -82258,9 +81562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -82293,7 +81597,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '422': *15 x-github: githubCloudOnly: false @@ -82318,9 +81622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -82353,7 +81657,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '422': *15 x-github: githubCloudOnly: false @@ -82378,9 +81682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -82413,7 +81717,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '422': *15 x-github: githubCloudOnly: false @@ -82440,9 +81744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -82464,7 +81768,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *534 examples: default: value: @@ -82578,8 +81882,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *475 - - *476 + - *472 + - *473 - *103 - *104 - *105 @@ -82593,9 +81897,9 @@ paths: application/json: schema: type: array - items: *311 + items: *308 examples: - default: *312 + default: *309 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -82615,8 +81919,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_request_number in: path required: true @@ -82630,7 +81934,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *308 examples: default: value: @@ -82689,8 +81993,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - *103 - *104 - *105 @@ -82704,9 +82008,9 @@ paths: application/json: schema: type: array - items: *314 + items: *311 examples: - default: *315 + default: *312 '404': *6 '403': *27 '500': *38 @@ -82730,8 +82034,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_request_number in: path required: true @@ -82743,7 +82047,7 @@ paths: description: A single bypass request. content: application/json: - schema: *314 + schema: *311 examples: default: value: @@ -82801,8 +82105,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_request_number in: path required: true @@ -82873,8 +82177,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_response_id in: path required: true @@ -82907,8 +82211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -83187,7 +82491,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &535 title: CheckRun description: A check performed on the code of a given code change type: object @@ -83322,8 +82626,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *224 - deployment: &868 + items: *221 + deployment: &866 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -83610,9 +82914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *475 - - *476 - - &539 + - *472 + - *473 + - &536 name: check_run_id description: The unique identifier of the check run. in: path @@ -83624,9 +82928,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *535 examples: - default: &540 + default: &537 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -83726,9 +83030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *475 - - *476 - - *539 + - *472 + - *473 + - *536 requestBody: required: true content: @@ -83968,9 +83272,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *535 examples: - default: *540 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83990,9 +83294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *475 - - *476 - - *539 + - *472 + - *473 + - *536 - *17 - *19 responses: @@ -84102,15 +83406,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *475 - - *476 - - *539 + - *472 + - *473 + - *536 responses: '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -84148,8 +83452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -84171,7 +83475,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &542 + schema: &539 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -84253,12 +83557,12 @@ paths: type: - array - 'null' - items: *224 + items: *221 app: anyOf: - type: 'null' - *5 - repository: *280 + repository: *277 created_at: type: - string @@ -84269,7 +83573,7 @@ paths: - string - 'null' format: date-time - head_commit: *541 + head_commit: *538 latest_check_runs_count: type: integer check_runs_url: @@ -84297,7 +83601,7 @@ paths: - check_runs_url - pull_requests examples: - default: &543 + default: &540 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -84588,9 +83892,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *542 + schema: *539 examples: - default: *543 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84609,8 +83913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -84671,7 +83975,7 @@ paths: required: - app_id - setting - repository: *280 + repository: *277 examples: default: value: @@ -84919,9 +84223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *475 - - *476 - - &544 + - *472 + - *473 + - &541 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -84933,9 +84237,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *539 examples: - default: *543 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84958,17 +84262,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: - - *475 - - *476 - - *544 - - &594 + - *472 + - *473 + - *541 + - &591 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &595 + - &592 name: status description: Returns check runs with the specified `status`. in: query @@ -85007,9 +84311,9 @@ paths: type: integer check_runs: type: array - items: *538 + items: *535 examples: - default: &596 + default: &593 value: total_count: 1 check_runs: @@ -85111,15 +84415,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *475 - - *476 - - *544 + - *472 + - *473 + - *541 responses: '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -85146,21 +84450,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: - - *475 - - *476 - - *320 - - *321 + - *472 + - *473 + - *317 + - *318 - *19 - *17 - - &560 + - &557 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: *545 - - &561 + schema: *542 + - &558 name: pr description: The number of the pull request for the results you want to list. in: query @@ -85185,13 +84489,13 @@ paths: be returned. in: query required: false - schema: *322 + schema: *319 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *546 + schema: *543 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -85215,7 +84519,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *547 + instances_url: *544 state: *113 fixed_at: *137 dismissed_by: @@ -85223,11 +84527,11 @@ paths: - type: 'null' - *4 dismissed_at: *136 - dismissed_reason: *548 - dismissed_comment: *549 - rule: *550 - tool: *551 - most_recent_instance: *552 + dismissed_reason: *545 + dismissed_comment: *546 + rule: *547 + tool: *548 + most_recent_instance: *549 dismissal_approved_by: anyOf: - type: 'null' @@ -85350,7 +84654,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &553 + '403': &550 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -85377,9 +84681,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: - - *475 - - *476 - - &554 + - *472 + - *473 + - &551 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -85393,7 +84697,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &552 type: object properties: number: *127 @@ -85401,7 +84705,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *547 + instances_url: *544 state: *113 fixed_at: *137 dismissed_by: @@ -85409,8 +84713,8 @@ paths: - type: 'null' - *4 dismissed_at: *136 - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *545 + dismissed_comment: *546 rule: type: object properties: @@ -85472,8 +84776,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *551 - most_recent_instance: *552 + tool: *548 + most_recent_instance: *549 dismissal_approved_by: anyOf: - type: 'null' @@ -85569,7 +84873,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -85589,9 +84893,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 requestBody: required: true content: @@ -85606,8 +84910,8 @@ paths: enum: - open - dismissed - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *545 + dismissed_comment: *546 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -85635,7 +84939,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *552 examples: default: value: @@ -85711,7 +85015,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &559 + '403': &556 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -85738,15 +85042,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 responses: '200': description: Response content: application/json: - schema: &556 + schema: &553 type: object properties: status: @@ -85773,13 +85077,13 @@ paths: - description - started_at examples: - default: &557 + default: &554 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &558 + '400': &555 description: Bad Request content: application/json: @@ -85790,7 +85094,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': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -85815,29 +85119,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 responses: '200': description: OK content: application/json: - schema: *556 + schema: *553 examples: - default: *557 + default: *554 '202': description: Accepted content: application/json: - schema: *556 + schema: *553 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *558 + '400': *555 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -85869,9 +85173,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 requestBody: required: false content: @@ -85917,8 +85221,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *558 - '403': *559 + '400': *555 + '403': *556 '404': *6 '422': description: Unprocessable Entity @@ -85942,13 +85246,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 - *19 - *17 - - *560 - - *561 + - *557 + - *558 responses: '200': description: Response @@ -85959,10 +85263,10 @@ paths: items: type: object properties: - ref: *545 - analysis_key: *562 - environment: *563 - category: *564 + ref: *542 + analysis_key: *559 + environment: *560 + category: *561 state: type: - string @@ -85979,7 +85283,7 @@ paths: properties: text: type: string - location: *565 + location: *562 html_url: type: string classifications: @@ -85987,7 +85291,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *566 + items: *563 examples: default: value: @@ -86024,7 +85328,7 @@ paths: end_column: 50 classifications: - source - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -86058,25 +85362,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: - - *475 - - *476 - - *320 - - *321 + - *472 + - *473 + - *317 + - *318 - *19 - *17 - - *561 + - *558 - 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: *545 + schema: *542 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &567 + schema: &564 type: string description: An identifier for the upload. examples: @@ -86098,23 +85402,23 @@ paths: application/json: schema: type: array - items: &568 + items: &565 type: object properties: - ref: *545 - commit_sha: &576 + ref: *542 + commit_sha: &573 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *562 + analysis_key: *559 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *564 + category: *561 error: type: string examples: @@ -86139,8 +85443,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *567 - tool: *551 + sarif_id: *564 + tool: *548 deletable: type: boolean warning: @@ -86202,7 +85506,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -86238,8 +85542,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: - - *475 - - *476 + - *472 + - *473 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -86252,7 +85556,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *565 examples: response: summary: application/json response @@ -86306,7 +85610,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *553 + '403': *550 '404': *6 '422': description: Response if analysis could not be processed @@ -86393,8 +85697,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: - - *475 - - *476 + - *472 + - *473 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -86450,7 +85754,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': *559 + '403': *556 '404': *6 '503': *192 x-github: @@ -86472,8 +85776,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -86481,7 +85785,7 @@ paths: application/json: schema: type: array - items: &569 + items: &566 title: CodeQL Database description: A CodeQL database. type: object @@ -86593,7 +85897,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': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -86622,8 +85926,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: - - *475 - - *476 + - *472 + - *473 - name: language in: path description: The language of the CodeQL database. @@ -86635,7 +85939,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: default: value: @@ -86667,9 +85971,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': &603 + '302': &600 description: Found - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -86691,8 +85995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *475 - - *476 + - *472 + - *473 - name: language in: path description: The language of the CodeQL database. @@ -86702,7 +86006,7 @@ paths: responses: '204': description: Response - '403': *559 + '403': *556 '404': *6 '503': *192 x-github: @@ -86730,8 +86034,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -86740,7 +86044,7 @@ paths: type: object additionalProperties: false properties: - language: &570 + language: &567 type: string description: The language targeted by the CodeQL query enum: @@ -86820,7 +86124,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &574 + schema: &571 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -86830,7 +86134,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *570 + query_language: *567 query_pack_url: type: string description: The download url for the query pack. @@ -86878,7 +86182,7 @@ paths: items: type: object properties: - repository: &571 + repository: &568 title: Repository Identifier description: Repository Identifier type: object @@ -86920,7 +86224,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &575 + analysis_status: &572 type: string description: The new status of the CodeQL variant analysis repository task. @@ -86952,7 +86256,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &572 + access_mismatch_repos: &569 type: object properties: repository_count: @@ -86967,7 +86271,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: *571 + items: *568 required: - repository_count - repositories @@ -86990,8 +86294,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *572 - over_limit_repos: *572 + no_codeql_db_repos: *569 + over_limit_repos: *569 required: - access_mismatch_repos - not_found_repos @@ -87007,7 +86311,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &573 + value: &570 summary: Default response value: id: 1 @@ -87153,10 +86457,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *573 + value: *570 repository_lists: summary: Response for a successful variant analysis submission - value: *573 + value: *570 '404': *6 '422': description: Unable to process variant analysis submission @@ -87184,8 +86488,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: - - *475 - - *476 + - *472 + - *473 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -87197,9 +86501,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *571 examples: - default: *573 + default: *570 '404': *6 '503': *192 x-github: @@ -87222,7 +86526,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: - - *475 + - *472 - name: repo in: path description: The name of the controller repository. @@ -87257,7 +86561,7 @@ paths: type: object properties: repository: *120 - analysis_status: *575 + analysis_status: *572 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -87382,8 +86686,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -87476,7 +86780,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -87497,8 +86801,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -87567,7 +86871,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -87592,7 +86896,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *559 + '403': *556 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -87663,8 +86967,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -87672,7 +86976,7 @@ paths: schema: type: object properties: - commit_sha: *576 + commit_sha: *573 ref: type: string description: |- @@ -87732,7 +87036,7 @@ paths: schema: type: object properties: - id: *567 + id: *564 url: type: string description: The REST API URL for checking the status of the upload. @@ -87746,7 +87050,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': *559 + '403': *556 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -87769,8 +87073,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: - - *475 - - *476 + - *472 + - *473 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -87818,7 +87122,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': *553 + '403': *550 '404': description: Not Found if the sarif id does not match any upload '503': *192 @@ -87843,8 +87147,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -87925,8 +87229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *475 - - *476 + - *472 + - *473 - 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 @@ -88054,8 +87358,8 @@ paths: parameters: - *17 - *19 - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -88071,7 +87375,7 @@ paths: type: integer codespaces: type: array - items: *394 + items: *391 examples: default: value: @@ -88369,8 +87673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -88434,17 +87738,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '400': *14 '401': *23 '403': *27 @@ -88473,8 +87777,8 @@ paths: parameters: - *17 - *19 - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -88538,8 +87842,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: - - *475 - - *476 + - *472 + - *473 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -88576,9 +87880,9 @@ paths: type: integer machines: type: array - items: *578 + items: *575 examples: - default: &813 + default: &811 value: total_count: 2 machines: @@ -88618,8 +87922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *475 - - *476 + - *472 + - *473 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -88706,8 +88010,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: - - *475 - - *476 + - *472 + - *473 - 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 @@ -88776,8 +88080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -88795,7 +88099,7 @@ paths: type: integer secrets: type: array - items: &582 + items: &579 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -88816,7 +88120,7 @@ paths: - created_at - updated_at examples: - default: *579 + default: *576 headers: Link: *45 x-github: @@ -88839,16 +88143,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *580 + schema: *577 examples: - default: *581 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88868,17 +88172,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *582 + schema: *579 examples: - default: *583 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88898,9 +88202,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: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -88928,7 +88232,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -88952,9 +88256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -88982,8 +88286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *475 - - *476 + - *472 + - *473 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -89021,7 +88325,7 @@ paths: application/json: schema: type: array - items: &584 + items: &581 title: Collaborator description: Collaborator type: object @@ -89214,8 +88518,8 @@ 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: - - *475 - - *476 + - *472 + - *473 - *140 responses: '204': @@ -89262,8 +88566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *475 - - *476 + - *472 + - *473 - *140 requestBody: required: false @@ -89290,7 +88594,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &659 + schema: &657 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -89302,7 +88606,7 @@ paths: format: int64 examples: - 42 - repository: *280 + repository: *277 invitee: anyOf: - type: 'null' @@ -89478,7 +88782,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *255 + schema: *252 '403': *27 x-github: triggersNotification: true @@ -89518,8 +88822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *475 - - *476 + - *472 + - *473 - *140 responses: '204': @@ -89551,8 +88855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *475 - - *476 + - *472 + - *473 - *140 responses: '200': @@ -89573,7 +88877,7 @@ paths: user: anyOf: - type: 'null' - - *584 + - *581 required: - permission - role_name @@ -89627,8 +88931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -89638,7 +88942,7 @@ paths: application/json: schema: type: array - items: &585 + items: &582 title: Commit Comment description: Commit Comment type: object @@ -89679,8 +88983,8 @@ paths: updated_at: type: string format: date-time - author_association: *218 - reactions: *219 + author_association: *215 + reactions: *216 required: - url - html_url @@ -89696,7 +89000,7 @@ paths: - created_at - updated_at examples: - default: &590 + default: &587 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -89755,17 +89059,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *585 + schema: *582 examples: - default: &591 + default: &588 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -89822,9 +89126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -89846,7 +89150,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *582 examples: default: value: @@ -89897,9 +89201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response @@ -89920,9 +89224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 - 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. @@ -89948,7 +89252,7 @@ paths: application/json: schema: type: array - items: &586 + items: &583 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -89992,7 +89296,7 @@ paths: - content - created_at examples: - default: &663 + default: &661 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -90037,9 +89341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -90071,9 +89375,9 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: &587 + default: &584 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -90102,9 +89406,9 @@ paths: description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -90126,10 +89430,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *475 - - *476 - - *235 - - &664 + - *472 + - *473 + - *232 + - &662 name: reaction_id description: The unique identifier of the reaction. in: path @@ -90184,8 +89488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *475 - - *476 + - *472 + - *473 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -90241,9 +89545,9 @@ paths: application/json: schema: type: array - items: *588 + items: *585 examples: - default: &713 + default: &711 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -90337,9 +89641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *475 - - *476 - - &589 + - *472 + - *473 + - &586 name: commit_sha description: The SHA of the commit. in: path @@ -90411,9 +89715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 - *17 - *19 responses: @@ -90423,9 +89727,9 @@ paths: application/json: schema: type: array - items: *585 + items: *582 examples: - default: *590 + default: *587 headers: Link: *45 x-github: @@ -90453,9 +89757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 requestBody: required: true content: @@ -90490,9 +89794,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *582 examples: - default: *591 + default: *588 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -90520,9 +89824,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: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 - *17 - *19 responses: @@ -90532,9 +89836,9 @@ paths: application/json: schema: type: array - items: *592 + items: *589 examples: - default: &705 + default: &703 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -91071,11 +90375,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *475 - - *476 + - *472 + - *473 - *19 - *17 - - &593 + - &590 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)" @@ -91090,9 +90394,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *585 examples: - default: &691 + default: &689 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -91180,7 +90484,7 @@ paths: schema: type: string examples: - default: &600 + default: &597 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -91193,7 +90497,7 @@ paths: schema: type: string examples: - default: &601 + default: &598 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -91246,11 +90550,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: - - *475 - - *476 - - *593 - - *594 - - *595 + - *472 + - *473 + - *590 + - *591 + - *592 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -91284,9 +90588,9 @@ paths: type: integer check_runs: type: array - items: *538 + items: *535 examples: - default: *596 + default: *593 headers: Link: *45 x-github: @@ -91311,9 +90615,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: - - *475 - - *476 - - *593 + - *472 + - *473 + - *590 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -91321,7 +90625,7 @@ paths: schema: type: integer example: 1 - - *594 + - *591 - *17 - *19 responses: @@ -91339,7 +90643,7 @@ paths: type: integer check_suites: type: array - items: *542 + items: *539 examples: default: value: @@ -91539,9 +90843,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: - - *475 - - *476 - - *593 + - *472 + - *473 + - *590 - *17 - *19 responses: @@ -91612,7 +90916,7 @@ paths: type: string total_count: type: integer - repository: *280 + repository: *277 commit_url: type: string format: uri @@ -91743,9 +91047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *475 - - *476 - - *593 + - *472 + - *473 + - *590 - *17 - *19 responses: @@ -91755,7 +91059,7 @@ paths: application/json: schema: type: array - items: &767 + items: &765 title: Status description: The status of a commit. type: object @@ -91836,7 +91140,7 @@ paths: site_admin: false headers: Link: *45 - '301': *481 + '301': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91864,8 +91168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -91898,11 +91202,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *597 + - *594 code_of_conduct_file: anyOf: - type: 'null' - - &598 + - &595 title: Community Health File type: object properties: @@ -91918,23 +91222,23 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 contributing: anyOf: - type: 'null' - - *598 + - *595 readme: anyOf: - type: 'null' - - *598 + - *595 issue_template: anyOf: - type: 'null' - - *598 + - *595 pull_request_template: anyOf: - type: 'null' - - *598 + - *595 required: - code_of_conduct - code_of_conduct_file @@ -92063,8 +91367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *475 - - *476 + - *472 + - *473 - *19 - *17 - name: basehead @@ -92112,8 +91416,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *588 - merge_base_commit: *588 + base_commit: *585 + merge_base_commit: *585 status: type: string enum: @@ -92137,10 +91441,10 @@ paths: - 6 commits: type: array - items: *588 + items: *585 files: type: array - items: *599 + items: *596 required: - url - html_url @@ -92386,12 +91690,12 @@ paths: schema: type: string examples: - default: *600 + default: *597 application/vnd.github.patch: schema: type: string examples: - default: *601 + default: *598 '404': *6 '500': *38 '503': *192 @@ -92436,8 +91740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *475 - - *476 + - *472 + - *473 - name: path description: path parameter in: path @@ -92607,7 +91911,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &602 + response-if-content-is-a-file-github-object: &599 summary: Response if content is a file value: type: file @@ -92744,7 +92048,7 @@ paths: - size - type - url - - &718 + - &716 title: Content File description: Content File type: object @@ -92962,7 +92266,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *602 + response-if-content-is-a-file: *599 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -93031,7 +92335,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *603 + '302': *600 '304': *35 x-github: githubCloudOnly: false @@ -93054,8 +92358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *475 - - *476 + - *472 + - *473 - name: path description: path parameter in: path @@ -93150,7 +92454,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &601 title: File Commit description: File Commit type: object @@ -93306,7 +92610,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *601 examples: example-for-creating-a-file: value: @@ -93360,7 +92664,7 @@ paths: schema: oneOf: - *3 - - &642 + - &639 description: Repository rule violation was detected type: object properties: @@ -93381,7 +92685,7 @@ paths: items: type: object properties: - placeholder_id: &759 + placeholder_id: &757 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -93413,8 +92717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *475 - - *476 + - *472 + - *473 - name: path description: path parameter in: path @@ -93475,7 +92779,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *601 examples: default: value: @@ -93530,8 +92834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *475 - - *476 + - *472 + - *473 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -93661,8 +92965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -93795,24 +93099,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 + - *338 + - *339 + - *340 - *341 - *342 - - *343 - - *344 - - *345 - 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 + - *343 + - *602 + - *344 + - *345 - *346 - - *605 - - *347 - - *348 - - *349 - *110 - *108 - *109 @@ -93824,7 +93128,7 @@ paths: application/json: schema: type: array - items: &609 + items: &606 type: object description: A Dependabot alert. properties: @@ -93875,7 +93179,7 @@ paths: - transitive - inconclusive - - security_advisory: *606 + security_advisory: *603 security_vulnerability: *131 url: *132 html_url: *133 @@ -93906,8 +93210,8 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: *607 - dismissal_request: *608 + auto_dismissed_at: *604 + dismissal_request: *605 assignees: type: array description: The users assigned to this alert. @@ -94162,9 +93466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *475 - - *476 - - &610 + - *472 + - *473 + - &607 name: alert_number in: path description: |- @@ -94179,7 +93483,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *606 examples: default: value: @@ -94311,9 +93615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *475 - - *476 - - *610 + - *472 + - *473 + - *607 requestBody: required: true content: @@ -94350,6 +93654,7 @@ paths: Usernames to assign to this Dependabot Alert. Pass one or more user logins to _replace_ the set of assignees on this alert. Send an empty array (`[]`) to clear all assignees from the alert. + To assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`). items: type: string anyOf: @@ -94369,7 +93674,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *606 examples: default: value: @@ -94499,8 +93804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -94518,7 +93823,7 @@ paths: type: integer secrets: type: array - items: &613 + items: &610 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -94572,16 +93877,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *611 + schema: *608 examples: - default: *612 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94601,15 +93906,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *613 + schema: *610 examples: default: value: @@ -94635,9 +93940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -94665,7 +93970,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -94689,9 +93994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -94713,8 +94018,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: - - *475 - - *476 + - *472 + - *473 - 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 @@ -94891,8 +94196,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -95151,8 +94456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - name: sbom_uuid in: path required: true @@ -95163,7 +94468,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *614 + Location: *611 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -95184,8 +94489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -95223,8 +94528,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -95307,7 +94612,7 @@ paths: - version - url additionalProperties: false - metadata: &615 + metadata: &612 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -95346,7 +94651,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *615 + metadata: *612 resolved: type: object description: A collection of resolved package dependencies. @@ -95360,7 +94665,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *615 + metadata: *612 relationship: type: string description: A notation of whether a dependency is requested @@ -95493,8 +94798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *475 - - *476 + - *472 + - *473 - name: sha description: The SHA recorded at creation time. in: query @@ -95535,9 +94840,9 @@ paths: application/json: schema: type: array - items: *616 + items: *613 examples: - default: *617 + default: *614 headers: Link: *45 x-github: @@ -95603,8 +94908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -95686,7 +94991,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *613 examples: simple-example: summary: Simple example @@ -95759,9 +95064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *475 - - *476 - - &618 + - *472 + - *473 + - &615 name: deployment_id description: deployment_id parameter in: path @@ -95773,7 +95078,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *613 examples: default: value: @@ -95838,9 +95143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 responses: '204': description: Response @@ -95862,9 +95167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 - *17 - *19 responses: @@ -95874,7 +95179,7 @@ paths: application/json: schema: type: array - items: &619 + items: &616 title: Deployment Status description: The status of a deployment. type: object @@ -96038,9 +95343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 requestBody: required: true content: @@ -96115,9 +95420,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *616 examples: - default: &620 + default: &617 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -96173,9 +95478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 - name: status_id in: path required: true @@ -96186,9 +95491,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *616 examples: - default: *620 + default: *617 '404': *6 x-github: githubCloudOnly: false @@ -96215,12 +95520,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 + - *618 + - *619 + - *620 - *621 - - *622 - - *623 - - *624 - *17 - *19 responses: @@ -96230,9 +95535,9 @@ paths: application/json: schema: type: array - items: *625 + items: *622 examples: - default: *626 + default: *623 '404': *6 '403': *27 '500': *38 @@ -96256,8 +95561,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96269,7 +95574,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *625 + schema: *622 examples: default: value: @@ -96325,8 +95630,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96385,12 +95690,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 + - *618 + - *619 + - *620 - *621 - - *622 - - *623 - - *624 - *17 - *19 responses: @@ -96400,9 +95705,9 @@ paths: application/json: schema: type: array - items: *627 + items: *624 examples: - default: *628 + default: *625 '404': *6 '403': *27 '500': *38 @@ -96426,8 +95731,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96439,7 +95744,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *627 + schema: *624 examples: default: value: @@ -96490,8 +95795,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96529,7 +95834,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *627 + schema: *624 examples: default: value: @@ -96580,8 +95885,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96652,8 +95957,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96686,12 +95991,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - *103 - *104 - *105 - - *355 + - *352 - *17 - *19 responses: @@ -96701,9 +96006,9 @@ paths: application/json: schema: type: array - items: *357 + items: *354 examples: - default: *358 + default: *355 '404': *6 '403': *27 '500': *38 @@ -96728,8 +96033,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96741,7 +96046,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *357 + schema: *354 examples: default: value: @@ -96799,8 +96104,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96869,8 +96174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -96927,8 +96232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -96946,7 +96251,7 @@ paths: - 5 environments: type: array - items: &630 + items: &627 title: Environment description: Details of a deployment environment type: object @@ -97008,7 +96313,7 @@ paths: type: string examples: - wait_timer - wait_timer: &632 + wait_timer: &629 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -97050,11 +96355,11 @@ paths: items: type: object properties: - type: *629 + type: *626 reviewer: anyOf: - *4 - - *316 + - *313 required: - id - node_id @@ -97077,7 +96382,7 @@ paths: - id - node_id - type - deployment_branch_policy: &633 + deployment_branch_policy: &630 type: - object - 'null' @@ -97194,9 +96499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *475 - - *476 - - &631 + - *472 + - *473 + - &628 name: environment_name in: path required: true @@ -97209,9 +96514,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *627 examples: - default: &634 + default: &631 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -97295,9 +96600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 requestBody: required: false content: @@ -97307,7 +96612,7 @@ paths: - object - 'null' properties: - wait_timer: *632 + wait_timer: *629 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -97326,14 +96631,14 @@ paths: items: type: object properties: - type: *629 + type: *626 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *633 + deployment_branch_policy: *630 additionalProperties: false examples: default: @@ -97353,9 +96658,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *627 examples: - default: *634 + default: *631 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -97379,9 +96684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 responses: '204': description: Default response @@ -97406,9 +96711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 - *17 - *19 responses: @@ -97427,7 +96732,7 @@ paths: - 2 branch_policies: type: array - items: &635 + items: &632 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -97488,9 +96793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 requestBody: required: true content: @@ -97538,9 +96843,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: - example-wildcard: &636 + example-wildcard: &633 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -97582,10 +96887,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 - - &637 + - *472 + - *473 + - *628 + - &634 name: branch_policy_id in: path required: true @@ -97597,9 +96902,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: - default: *636 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97618,10 +96923,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 - - *637 + - *472 + - *473 + - *628 + - *634 requestBody: required: true content: @@ -97650,9 +96955,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: - default: *636 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97671,10 +96976,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 - - *637 + - *472 + - *473 + - *628 + - *634 responses: '204': description: Response @@ -97699,9 +97004,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: - - *631 - - *476 - - *475 + - *628 + - *473 + - *472 responses: '200': description: List of deployment protection rules @@ -97718,7 +97023,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &638 + items: &635 title: Deployment protection rule description: Deployment protection rule type: object @@ -97740,7 +97045,7 @@ paths: for the environment. examples: - true - app: &639 + app: &636 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -97843,9 +97148,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: - - *631 - - *476 - - *475 + - *628 + - *473 + - *472 requestBody: content: application/json: @@ -97866,9 +97171,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *638 + schema: *635 examples: - default: &640 + default: &637 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -97903,9 +97208,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: - - *631 - - *476 - - *475 + - *628 + - *473 + - *472 - *19 - *17 responses: @@ -97925,7 +97230,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *639 + items: *636 examples: default: value: @@ -97960,10 +97265,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: - - *475 - - *476 - - *631 - - &641 + - *472 + - *473 + - *628 + - &638 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -97975,9 +97280,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *635 examples: - default: *640 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97998,10 +97303,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: - - *631 - - *476 - - *475 - - *641 + - *628 + - *473 + - *472 + - *638 responses: '204': description: Response @@ -98027,9 +97332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 - *17 - *19 responses: @@ -98047,9 +97352,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -98074,17 +97379,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 responses: '200': description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98106,18 +97411,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *475 - - *476 - - *631 - - *290 + - *472 + - *473 + - *628 + - *287 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: *519 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98139,10 +97444,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *475 - - *476 - - *631 - - *290 + - *472 + - *473 + - *628 + - *287 requestBody: required: true content: @@ -98173,7 +97478,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -98199,10 +97504,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *475 - - *476 - - *631 - - *290 + - *472 + - *473 + - *628 + - *287 responses: '204': description: Default response @@ -98227,10 +97532,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *475 - - *476 - - *631 - - *299 + - *472 + - *473 + - *628 + - *296 - *19 responses: '200': @@ -98247,9 +97552,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -98272,9 +97577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 requestBody: required: true content: @@ -98301,7 +97606,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -98326,18 +97631,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *475 - - *476 - - *631 - - *293 + - *472 + - *473 + - *628 + - *290 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: *520 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98358,10 +97663,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *475 - - *476 - - *293 - - *631 + - *472 + - *473 + - *290 + - *628 requestBody: required: true content: @@ -98403,10 +97708,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *475 - - *476 - - *293 - - *631 + - *472 + - *473 + - *290 + - *628 responses: '204': description: Response @@ -98428,8 +97733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -98439,7 +97744,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: 200-response: value: @@ -98497,8 +97802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *475 - - *476 + - *472 + - *473 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -98520,7 +97825,7 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: default: value: @@ -98657,8 +97962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -98691,9 +97996,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 '400': *14 '422': *15 '403': *27 @@ -98714,8 +98019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -98774,8 +98079,8 @@ paths: application/json: schema: oneOf: - - *255 - - *642 + - *252 + - *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98800,8 +98105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *475 - - *476 + - *472 + - *473 - name: file_sha in: path required: true @@ -98901,8 +98206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -99011,7 +98316,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &640 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -99238,15 +98543,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 responses: '200': description: Response content: application/json: - schema: *643 + schema: *640 examples: default: value: @@ -99302,9 +98607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *475 - - *476 - - &644 + - *472 + - *473 + - &641 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. @@ -99321,7 +98626,7 @@ paths: application/json: schema: type: array - items: &645 + items: &642 title: Git Reference description: Git references within a repository type: object @@ -99397,17 +98702,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *475 - - *476 - - *644 + - *472 + - *473 + - *641 responses: '200': description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: &646 + default: &643 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -99436,8 +98741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -99466,9 +98771,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: *646 + default: *643 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -99494,9 +98799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *475 - - *476 - - *644 + - *472 + - *473 + - *641 requestBody: required: true content: @@ -99525,9 +98830,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: *646 + default: *643 '422': *15 '409': *119 x-github: @@ -99545,9 +98850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *475 - - *476 - - *644 + - *472 + - *473 + - *641 responses: '204': description: Response @@ -99602,8 +98907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -99670,7 +98975,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &645 title: Git Tag description: Metadata for a Git tag type: object @@ -99726,7 +99031,7 @@ paths: - sha - type - url - verification: *647 + verification: *644 required: - sha - url @@ -99736,7 +99041,7 @@ paths: - tag - message examples: - default: &649 + default: &646 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -99809,8 +99114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *475 - - *476 + - *472 + - *473 - name: tag_sha in: path required: true @@ -99821,9 +99126,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *645 examples: - default: *649 + default: *646 '404': *6 '409': *119 x-github: @@ -99847,8 +99152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -99922,7 +99227,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &647 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -100024,8 +99329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *475 - - *476 + - *472 + - *473 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -100048,7 +99353,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *647 examples: default-response: summary: Default response @@ -100106,8 +99411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -100151,8 +99456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -100162,7 +99467,7 @@ paths: application/json: schema: type: array - items: &651 + items: &648 title: Webhook description: Webhooks for repositories. type: object @@ -100225,7 +99530,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &904 + last_response: &902 title: Hook Response type: object properties: @@ -100302,8 +99607,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -100356,9 +99661,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: &652 + default: &649 value: type: Repository id: 12345678 @@ -100406,17 +99711,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '200': description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: *652 + default: *649 '404': *6 x-github: githubCloudOnly: false @@ -100436,9 +99741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 requestBody: required: true content: @@ -100483,9 +99788,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: *652 + default: *649 '422': *15 '404': *6 x-github: @@ -100506,9 +99811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '204': description: Response @@ -100532,9 +99837,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '200': description: Response @@ -100561,9 +99866,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 requestBody: required: false content: @@ -100607,12 +99912,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 - *17 - - *362 - - *363 + - *359 + - *360 responses: '200': description: Response @@ -100620,9 +99925,9 @@ paths: application/json: schema: type: array - items: *364 + items: *361 examples: - default: *365 + default: *362 '400': *14 '422': *15 x-github: @@ -100641,18 +99946,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *363 examples: - default: *367 + default: *364 '400': *14 '422': *15 x-github: @@ -100671,9 +99976,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 - *16 responses: '202': *37 @@ -100696,9 +100001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '204': description: Response @@ -100723,9 +100028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '204': description: Response @@ -100748,8 +100053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response if immutable releases are enabled @@ -100797,8 +100102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '409': *119 @@ -100818,8 +100123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '409': *119 @@ -100876,14 +100181,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &653 + schema: &650 title: Import description: A repository import from an external source. type: object @@ -100990,7 +100295,7 @@ paths: - html_url - authors_url examples: - default: &656 + default: &653 value: vcs: subversion use_lfs: true @@ -101006,7 +100311,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': &654 + '503': &651 description: Unavailable due to service under maintenance. content: application/json: @@ -101035,8 +100340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -101084,7 +100389,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: default: value: @@ -101109,7 +100414,7 @@ paths: type: string '422': *15 '404': *6 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101137,8 +100442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -101190,7 +100495,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: example-1: summary: Example 1 @@ -101238,7 +100543,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': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101261,12 +100566,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101292,9 +100597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *475 - - *476 - - &834 + - *472 + - *473 + - &832 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -101308,7 +100613,7 @@ paths: application/json: schema: type: array - items: &655 + items: &652 title: Porter Author description: Porter Author type: object @@ -101362,7 +100667,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': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101387,8 +100692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *475 - - *476 + - *472 + - *473 - name: author_id in: path required: true @@ -101418,7 +100723,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: default: value: @@ -101431,7 +100736,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101455,8 +100760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -101497,7 +100802,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101525,8 +100830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -101553,11 +100858,11 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: - default: *656 + default: *653 '422': *15 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101580,8 +100885,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -101589,8 +100894,8 @@ paths: application/json: schema: *20 examples: - default: *379 - '301': *481 + default: *376 + '301': *478 '404': *6 x-github: githubCloudOnly: false @@ -101610,8 +100915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -101619,12 +100924,12 @@ paths: application/json: schema: anyOf: - - *381 + - *378 - type: object properties: {} additionalProperties: false examples: - default: &658 + default: &655 value: limit: collaborators_only origin: repository @@ -101649,13 +100954,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *657 + schema: *654 examples: default: summary: Example request body @@ -101667,9 +100972,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *378 examples: - default: *658 + default: *655 '409': description: Response x-github: @@ -101691,8 +100996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -101703,6 +101008,157 @@ paths: enabledForGitHubApps: true category: interactions subcategory: repos + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": + get: + summary: Get pull request creation cap bypass list for a repository + description: |- + Lists the users that are on the pull request creation cap bypass list for a + repository. Users on this list can create pull requests regardless of any + configured pull request creation cap. + + Only repository admins can view the bypass list. + tags: + - interactions + operationId: interactions/get-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *472 + - *473 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *4 + examples: + default: + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + put: + summary: Add users to the pull request creation cap bypass list for a repository + description: |- + Adds users to the pull request creation cap bypass list for a repository. + Users on this list can create pull requests regardless of any configured + pull request creation cap. + + Only repository admins can modify the bypass list. + You can add a maximum of 100 users per request. + The bypass list can only hold a maximum of 100 users. + tags: + - interactions + operationId: interactions/set-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *472 + - *473 + requestBody: + required: true + content: + application/json: + schema: &656 + title: Interaction Limits Pull Request Bypass List + description: A list of user logins to add or remove from the pull request + creation cap bypass list. + type: object + properties: + users: + description: A list of user logins to add or remove from the bypass + list. + type: array + items: + type: string + examples: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + delete: + summary: Remove users from the pull request creation cap bypass list for a repository + description: |- + Removes users from the pull request creation cap bypass list for a repository. + Removed users will be subject to any configured pull request creation cap. + + Only repository admins can modify the bypass list. + You can remove a maximum of 100 users per request. + tags: + - interactions + operationId: interactions/remove-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *472 + - *473 + requestBody: + required: true + content: + application/json: + schema: *656 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -101715,8 +101171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -101726,9 +101182,9 @@ paths: application/json: schema: type: array - items: *659 + items: *657 examples: - default: &827 + default: &825 value: - id: 1 repository: @@ -101859,9 +101315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *475 - - *476 - - *385 + - *472 + - *473 + - *382 requestBody: required: false content: @@ -101890,7 +101346,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: default: value: @@ -102021,9 +101477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *475 - - *476 - - *385 + - *472 + - *473 + - *382 responses: '204': description: Response @@ -102046,8 +101502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -102055,9 +101511,9 @@ paths: application/json: schema: type: array - items: *389 + items: *386 examples: - default: *660 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -102086,8 +101542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *475 - - *476 + - *472 + - *473 - 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 @@ -102149,7 +101605,7 @@ paths: required: false schema: type: string - - *392 + - *389 - name: sort description: What to sort results by. in: query @@ -102162,7 +101618,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - *17 - *19 responses: @@ -102172,9 +101628,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: &669 + default: &667 value: - id: 1 node_id: MDU6SXNzdWUx @@ -102323,7 +101779,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *481 + '301': *478 '422': *15 '404': *6 x-github: @@ -102352,8 +101808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -102468,9 +101924,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: &666 + default: &664 value: id: 1 node_id: MDU6SXNzdWUx @@ -102627,7 +102083,7 @@ paths: '422': *15 '503': *192 '404': *6 - '410': *661 + '410': *659 x-github: triggersNotification: true githubCloudOnly: false @@ -102655,9 +102111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *475 - - *476 - - *243 + - *472 + - *473 + - *240 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -102667,7 +102123,7 @@ paths: enum: - asc - desc - - *226 + - *223 - *17 - *19 responses: @@ -102677,9 +102133,9 @@ paths: application/json: schema: type: array - items: *222 + items: *219 examples: - default: &668 + default: &666 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -102737,17 +102193,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *222 + schema: *219 examples: - default: &662 + default: &660 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -102802,9 +102258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -102826,9 +102282,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *219 examples: - default: *662 + default: *660 '422': *15 x-github: githubCloudOnly: false @@ -102846,9 +102302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response @@ -102876,15 +102332,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *222 + schema: *219 examples: default: value: @@ -102940,7 +102396,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *661 + '410': *659 '422': *15 x-github: githubCloudOnly: false @@ -102957,16 +102413,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response '401': *23 '403': *27 '404': *6 - '410': *661 + '410': *659 '503': *192 x-github: githubCloudOnly: false @@ -102984,9 +102440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 - 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. @@ -103012,9 +102468,9 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 @@ -103035,9 +102491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -103069,16 +102525,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -103100,10 +102556,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *475 - - *476 - - *235 - - *664 + - *472 + - *473 + - *232 + - *662 responses: '204': description: Response @@ -103123,8 +102579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -103134,7 +102590,7 @@ paths: application/json: schema: type: array - items: &665 + items: &663 title: Issue Event description: Issue Event type: object @@ -103181,7 +102637,7 @@ paths: issue: anyOf: - type: 'null' - - *221 + - *218 label: title: Issue Event Label description: Issue Event Label @@ -103214,7 +102670,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *316 + requested_team: *313 dismissed_review: title: Issue Event Dismissed Review type: object @@ -103281,7 +102737,7 @@ paths: required: - from - to - author_association: *218 + author_association: *215 lock_reason: type: - string @@ -103474,8 +102930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *475 - - *476 + - *472 + - *473 - name: event_id in: path required: true @@ -103486,7 +102942,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: default: value: @@ -103679,7 +103135,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *661 + '410': *659 '403': *27 x-github: githubCloudOnly: false @@ -103713,9 +103169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *475 - - *476 - - &667 + - *472 + - *473 + - &665 name: issue_number description: The number that identifies the issue. in: path @@ -103727,11 +103183,11 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: default: summary: Issue - value: *666 + value: *664 pinned_comment: summary: Issue with pinned comment value: @@ -103930,9 +103386,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 '304': *35 x-github: githubCloudOnly: false @@ -103957,9 +103413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -104102,15 +103558,15 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 '422': *15 '503': *192 '403': *27 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104128,9 +103584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -104156,9 +103612,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104174,9 +103630,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: content: application/json: @@ -104201,9 +103657,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104225,9 +103681,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: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - name: assignee in: path required: true @@ -104267,10 +103723,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *475 - - *476 - - *667 - - *226 + - *472 + - *473 + - *665 + - *223 - *17 - *19 responses: @@ -104280,13 +103736,13 @@ paths: application/json: schema: type: array - items: *222 + items: *219 examples: - default: *668 + default: *666 headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104315,9 +103771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -104339,16 +103795,16 @@ paths: description: Response content: application/json: - schema: *222 + schema: *219 examples: - default: *662 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *661 + '410': *659 '422': *15 '404': *6 x-github: @@ -104376,9 +103832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -104388,14 +103844,14 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *669 + default: *667 headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104423,9 +103879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -104447,17 +103903,17 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *481 + '301': *478 '403': *27 - '410': *661 + '410': *659 '422': *15 '404': *6 x-github: @@ -104488,9 +103944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -104502,15 +103958,15 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 - '301': *481 + default: *664 + '301': *478 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *661 + '410': *659 x-github: triggersNotification: true githubCloudOnly: false @@ -104536,9 +103992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -104548,14 +104004,14 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *669 + default: *667 headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104572,9 +104028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -104588,7 +104044,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &673 + - &671 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -104637,7 +104093,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &672 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -104765,7 +104221,7 @@ paths: - performed_via_github_app - assignee - assigner - - &675 + - &673 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -104811,7 +104267,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &674 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -104857,7 +104313,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &675 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -104906,7 +104362,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &676 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -104935,7 +104391,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *316 + requested_team: *313 requested_reviewer: *4 required: - review_requester @@ -104948,7 +104404,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &677 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -104977,7 +104433,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *316 + requested_team: *313 requested_reviewer: *4 required: - review_requester @@ -104990,7 +104446,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &678 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -105046,7 +104502,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &679 title: Locked Issue Event description: Locked Issue Event type: object @@ -105091,7 +104547,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &680 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -105152,7 +104608,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &681 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -105213,7 +104669,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &684 + - &682 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -105274,7 +104730,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &685 + - &683 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -105367,7 +104823,7 @@ paths: color: red headers: Link: *45 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105384,9 +104840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -105396,9 +104852,9 @@ paths: application/json: schema: type: array - items: *670 + items: *668 examples: - default: &671 + default: &669 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -105433,9 +104889,9 @@ paths: color: green headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105464,9 +104920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -105538,9 +104994,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *670 + items: *668 examples: - default: *671 + default: *669 '400': *14 '403': *27 '404': *6 @@ -105576,9 +105032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -105645,9 +105101,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *670 + items: *668 examples: - default: *671 + default: *669 '400': *14 '403': *27 '404': *6 @@ -105678,10 +105134,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *475 - - *476 - - *667 - - *388 + - *472 + - *473 + - *665 + - *385 responses: '204': description: Issue field value deleted successfully @@ -105706,9 +105162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -105718,9 +105174,9 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: &672 + default: &670 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -105738,9 +105194,9 @@ paths: default: false headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105756,9 +105212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -105801,12 +105257,12 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 - '301': *481 + default: *670 + '301': *478 '404': *6 - '410': *661 + '410': *659 '422': *15 x-github: githubCloudOnly: false @@ -105823,9 +105279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -105885,12 +105341,12 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 - '301': *481 + default: *670 + '301': *478 '404': *6 - '410': *661 + '410': *659 '422': *15 x-github: githubCloudOnly: false @@ -105907,15 +105363,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 responses: '204': description: Response - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105934,9 +105390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - name: name in: path required: true @@ -105949,7 +105405,7 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: default: value: @@ -105960,9 +105416,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105982,9 +105438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -106013,7 +105469,7 @@ paths: '204': description: Response '403': *27 - '410': *661 + '410': *659 '404': *6 '422': *15 x-github: @@ -106031,9 +105487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 responses: '204': description: Response @@ -106063,20 +105519,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 responses: '200': description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 - '301': *481 + default: *664 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106093,9 +105549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - 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. @@ -106121,13 +105577,13 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106145,9 +105601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -106179,16 +105635,16 @@ paths: description: Response content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Response content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -106210,10 +105666,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *475 - - *476 - - *667 - - *664 + - *472 + - *473 + - *665 + - *662 responses: '204': description: Response @@ -106242,9 +105698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -106266,9 +105722,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -106301,9 +105757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -106313,13 +105769,13 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *669 + default: *667 headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106347,9 +105803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -106376,16 +105832,16 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *661 + '410': *659 '422': *15 '404': *6 x-github: @@ -106405,9 +105861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -106438,9 +105894,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 '403': *27 '404': *6 '422': *7 @@ -106462,9 +105918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -106479,6 +105935,8 @@ paths: description: Timeline Event type: object anyOf: + - *671 + - *672 - *673 - *674 - *675 @@ -106490,8 +105948,6 @@ paths: - *681 - *682 - *683 - - *684 - - *685 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -106539,16 +105995,16 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *215 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *216 pin: anyOf: - type: 'null' - - *686 + - *684 required: - event - actor @@ -106579,7 +106035,7 @@ paths: properties: type: type: string - issue: *221 + issue: *218 required: - event - created_at @@ -106801,7 +106257,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *215 required: - event - id @@ -106824,7 +106280,7 @@ paths: type: string comments: type: array - items: &707 + items: &705 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -106932,7 +106388,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *215 _links: type: object properties: @@ -107027,7 +106483,7 @@ paths: enum: - line - file - reactions: *219 + reactions: *216 body_html: type: string examples: @@ -107065,7 +106521,7 @@ paths: type: string comments: type: array - items: *585 + items: *582 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -107340,7 +106796,7 @@ paths: headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107357,8 +106813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -107368,7 +106824,7 @@ paths: application/json: schema: type: array - items: &687 + items: &685 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -107436,8 +106892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -107473,9 +106929,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: - default: &688 + default: &686 value: id: 1 key: ssh-rsa AAA... @@ -107509,9 +106965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *475 - - *476 - - &689 + - *472 + - *473 + - &687 name: key_id description: The unique identifier of the key. in: path @@ -107523,9 +106979,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: - default: *688 + default: *686 '404': *6 x-github: githubCloudOnly: false @@ -107543,9 +106999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *475 - - *476 - - *689 + - *472 + - *473 + - *687 responses: '204': description: Response @@ -107565,8 +107021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -107576,9 +107032,9 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 + default: *670 headers: Link: *45 '404': *6 @@ -107599,8 +107055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -107636,9 +107092,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *217 examples: - default: &690 + default: &688 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -107670,8 +107126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *475 - - *476 + - *472 + - *473 - name: name in: path required: true @@ -107682,9 +107138,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *217 examples: - default: *690 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -107701,8 +107157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *475 - - *476 + - *472 + - *473 - name: name in: path required: true @@ -107741,7 +107197,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *217 examples: default: value: @@ -107767,8 +107223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *475 - - *476 + - *472 + - *473 - name: name in: path required: true @@ -107794,8 +107250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -107831,8 +107287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '202': *37 '403': @@ -107860,8 +107316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -107887,9 +107343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *475 - - *476 - - *560 + - *472 + - *473 + - *557 responses: '200': description: Response @@ -107955,7 +107411,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 required: - _links - git_url @@ -108036,8 +107492,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108102,8 +107558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108137,9 +107593,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *588 + schema: *585 examples: - default: *691 + default: *689 '204': description: Response when already merged '404': @@ -108164,8 +107620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *475 - - *476 + - *472 + - *473 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -108206,7 +107662,7 @@ paths: application/json: schema: type: array - items: *423 + items: *420 examples: default: value: @@ -108262,8 +107718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108303,9 +107759,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: - default: &692 + default: &690 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -108364,9 +107820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *475 - - *476 - - &693 + - *472 + - *473 + - &691 name: milestone_number description: The number that identifies the milestone. in: path @@ -108378,9 +107834,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: - default: *692 + default: *690 '404': *6 x-github: githubCloudOnly: false @@ -108397,9 +107853,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *475 - - *476 - - *693 + - *472 + - *473 + - *691 requestBody: required: false content: @@ -108437,9 +107893,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: - default: *692 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108455,9 +107911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *475 - - *476 - - *693 + - *472 + - *473 + - *691 responses: '204': description: Response @@ -108478,9 +107934,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: - - *475 - - *476 - - *693 + - *472 + - *473 + - *691 - *17 - *19 responses: @@ -108490,9 +107946,9 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 + default: *670 headers: Link: *45 x-github: @@ -108511,12 +107967,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: - - *475 - - *476 + - *472 + - *473 + - *692 + - *693 + - *223 - *694 - - *695 - - *226 - - *696 - *17 - *19 responses: @@ -108526,9 +107982,9 @@ paths: application/json: schema: type: array - items: *246 + items: *243 examples: - default: *697 + default: *695 headers: Link: *45 x-github: @@ -108552,8 +108008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -108611,14 +108067,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &698 + schema: &696 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -108762,7 +108218,7 @@ paths: - custom_404 - public examples: - default: &699 + default: &697 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -108803,8 +108259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108859,9 +108315,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *696 examples: - default: *699 + default: *697 '422': *15 '409': *119 x-github: @@ -108884,8 +108340,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108993,8 +108449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -109020,8 +108476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -109031,7 +108487,7 @@ paths: application/json: schema: type: array - items: &700 + items: &698 title: Page Build description: Page Build type: object @@ -109123,8 +108579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -109171,16 +108627,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *700 + schema: *698 examples: - default: &701 + default: &699 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -109228,8 +108684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *475 - - *476 + - *472 + - *473 - name: build_id in: path required: true @@ -109240,9 +108696,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *698 examples: - default: *701 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109262,8 +108718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -109371,9 +108827,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: - - *475 - - *476 - - &702 + - *472 + - *473 + - &700 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -109431,9 +108887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *475 - - *476 - - *702 + - *472 + - *473 + - *700 responses: '204': *126 '404': *6 @@ -109460,8 +108916,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -109729,7 +109185,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -109756,8 +109212,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Private vulnerability reporting status @@ -109794,8 +109250,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: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '422': *14 @@ -109816,8 +109272,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: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '422': *14 @@ -109839,8 +109295,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -109850,7 +109306,7 @@ paths: type: array items: *152 examples: - default: *703 + default: *701 '403': *27 '404': *6 x-github: @@ -109872,8 +109328,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -109889,7 +109345,7 @@ paths: required: - properties examples: - default: *704 + default: *702 responses: '204': description: No Content when custom property values are successfully created @@ -109927,8 +109383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -109988,9 +109444,9 @@ paths: application/json: schema: type: array - items: *592 + items: *589 examples: - default: *705 + default: *703 headers: Link: *45 '304': *35 @@ -110022,8 +109478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -110090,7 +109546,7 @@ paths: description: Response content: application/json: - schema: &709 + schema: &707 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -110219,7 +109675,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *420 active_lock_reason: type: - string @@ -110268,7 +109724,7 @@ paths: items: *4 requested_teams: type: array - items: *402 + items: *399 head: type: object properties: @@ -110306,14 +109762,14 @@ paths: _links: type: object properties: - comments: *424 - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + comments: *421 + commits: *421 + statuses: *421 + html: *421 + issue: *421 + review_comments: *421 + review_comment: *421 + self: *421 required: - comments - commits @@ -110323,8 +109779,8 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: *706 + author_association: *215 + auto_merge: *704 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -110426,7 +109882,7 @@ paths: - merged_by - review_comments examples: - default: &710 + default: &708 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -110953,8 +110409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - name: sort in: query required: false @@ -110973,7 +110429,7 @@ paths: enum: - asc - desc - - *226 + - *223 - *17 - *19 responses: @@ -110983,9 +110439,9 @@ paths: application/json: schema: type: array - items: *707 + items: *705 examples: - default: &712 + default: &710 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -111062,17 +110518,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *707 + schema: *705 examples: - default: &708 + default: &706 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -111147,9 +110603,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -111171,9 +110627,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *705 examples: - default: *708 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111189,9 +110645,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response @@ -111212,9 +110668,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 - 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. @@ -111240,9 +110696,9 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 @@ -111263,9 +110719,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -111297,16 +110753,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -111328,10 +110784,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *475 - - *476 - - *235 - - *664 + - *472 + - *473 + - *232 + - *662 responses: '204': description: Response @@ -111374,9 +110830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *475 - - *476 - - &711 + - *472 + - *473 + - &709 name: pull_number description: The number that identifies the pull request. in: path @@ -111389,9 +110845,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *709 + schema: *707 examples: - default: *710 + default: *708 '304': *35 '404': *6 '406': @@ -111426,9 +110882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -111470,9 +110926,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *707 examples: - default: *710 + default: *708 '422': *15 '403': *27 x-github: @@ -111494,9 +110950,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: true content: @@ -111557,17 +111013,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '401': *23 '403': *27 '404': *6 @@ -111597,10 +111053,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: - - *475 - - *476 - - *711 - - *243 + - *472 + - *473 + - *709 + - *240 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -111610,7 +111066,7 @@ paths: enum: - asc - desc - - *226 + - *223 - *17 - *19 responses: @@ -111620,9 +111076,9 @@ paths: application/json: schema: type: array - items: *707 + items: *705 examples: - default: *712 + default: *710 headers: Link: *45 x-github: @@ -111655,9 +111111,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: true content: @@ -111763,7 +111219,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *705 examples: example-for-a-multi-line-comment: value: @@ -111851,10 +111307,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: - - *475 - - *476 - - *711 - - *235 + - *472 + - *473 + - *709 + - *232 requestBody: required: true content: @@ -111876,7 +111332,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *705 examples: default: value: @@ -111962,9 +111418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 - *17 - *19 responses: @@ -111974,9 +111430,9 @@ paths: application/json: schema: type: array - items: *588 + items: *585 examples: - default: *713 + default: *711 headers: Link: *45 x-github: @@ -112006,9 +111462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 - *17 - *19 responses: @@ -112018,7 +111474,7 @@ paths: application/json: schema: type: array - items: *599 + items: *596 examples: default: value: @@ -112056,9 +111512,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 responses: '204': description: Response if pull request has been merged @@ -112081,9 +111537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -112195,9 +111651,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 responses: '200': description: Response @@ -112213,7 +111669,7 @@ paths: items: *4 teams: type: array - items: *316 + items: *313 required: - users - teams @@ -112272,9 +111728,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -112311,7 +111767,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *589 examples: default: value: @@ -112847,9 +112303,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: true content: @@ -112883,7 +112339,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *589 examples: default: value: @@ -113388,9 +112844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 - *17 - *19 responses: @@ -113400,7 +112856,7 @@ paths: application/json: schema: type: array - items: &714 + items: &712 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -113474,7 +112930,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *215 required: - id - node_id @@ -113556,9 +113012,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -113648,9 +113104,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: &716 + default: &714 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -113713,10 +113169,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: - - *475 - - *476 - - *711 - - &715 + - *472 + - *473 + - *709 + - &713 name: review_id description: The unique identifier of the review. in: path @@ -113728,9 +113184,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: &717 + default: &715 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -113789,10 +113245,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 requestBody: required: true content: @@ -113815,7 +113271,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: default: value: @@ -113877,18 +113333,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 responses: '200': description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: *716 + default: *714 '422': *7 '404': *6 x-github: @@ -113915,10 +113371,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 - *17 - *19 responses: @@ -114012,13 +113468,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *215 _links: type: object properties: - self: *424 - html: *424 - pull_request: *424 + self: *421 + html: *421 + pull_request: *421 required: - self - html @@ -114027,7 +113483,7 @@ paths: type: string body_html: type: string - reactions: *219 + reactions: *216 side: description: The side of the first line of the range for a multi-line comment. @@ -114176,10 +113632,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 requestBody: required: true content: @@ -114208,7 +113664,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: default: value: @@ -114271,10 +113727,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 requestBody: required: true content: @@ -114309,9 +113765,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: *717 + default: *715 '404': *6 '422': *7 '403': *27 @@ -114333,9 +113789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -114399,8 +113855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *475 - - *476 + - *472 + - *473 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -114413,9 +113869,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: &719 + default: &717 value: type: file encoding: base64 @@ -114457,8 +113913,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: - - *475 - - *476 + - *472 + - *473 - name: dir description: The alternate path to look for a README file in: path @@ -114478,9 +113934,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: *719 + default: *717 '404': *6 '422': *15 x-github: @@ -114502,8 +113958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -114513,7 +113969,7 @@ paths: application/json: schema: type: array - items: *720 + items: *718 examples: default: value: @@ -114607,8 +114063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -114684,9 +114140,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: &724 + default: &722 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -114791,9 +114247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *475 - - *476 - - &722 + - *472 + - *473 + - &720 name: asset_id description: The unique identifier of the asset. in: path @@ -114805,9 +114261,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *719 examples: - default: &723 + default: &721 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 @@ -114842,7 +114298,7 @@ paths: type: User site_admin: false '404': *6 - '302': *603 + '302': *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114858,9 +114314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *475 - - *476 - - *722 + - *472 + - *473 + - *720 requestBody: required: false content: @@ -114889,9 +114345,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *719 examples: - default: *723 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114907,9 +114363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *475 - - *476 - - *722 + - *472 + - *473 + - *720 responses: '204': description: Response @@ -114934,8 +114390,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -115021,16 +114477,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *724 + default: *722 '404': *6 x-github: githubCloudOnly: false @@ -115048,8 +114504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *475 - - *476 + - *472 + - *473 - name: tag description: tag parameter in: path @@ -115062,9 +114518,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *724 + default: *722 '404': *6 x-github: githubCloudOnly: false @@ -115086,9 +114542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *475 - - *476 - - &725 + - *472 + - *473 + - &723 name: release_id description: The unique identifier of the release. in: path @@ -115102,9 +114558,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: *720 + schema: *718 examples: - default: *724 + default: *722 '401': description: Unauthorized x-github: @@ -115122,9 +114578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 requestBody: required: false content: @@ -115188,9 +114644,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *724 + default: *722 '404': description: Not Found if the discussion category name is invalid content: @@ -115211,9 +114667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 responses: '204': description: Response @@ -115234,9 +114690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 - *17 - *19 responses: @@ -115246,7 +114702,7 @@ paths: application/json: schema: type: array - items: *721 + items: *719 examples: default: value: @@ -115328,9 +114784,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: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 - name: name in: query required: true @@ -115356,7 +114812,7 @@ paths: description: Response for successful upload content: application/json: - schema: *721 + schema: *719 examples: response-for-successful-upload: value: @@ -115411,9 +114867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 - 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. @@ -115437,9 +114893,9 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 @@ -115460,9 +114916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 requestBody: required: true content: @@ -115492,16 +114948,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -115523,10 +114979,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *475 - - *476 - - *725 - - *664 + - *472 + - *473 + - *723 + - *662 responses: '204': description: Response @@ -115550,9 +115006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 - *17 - *19 responses: @@ -115569,7 +115025,7 @@ paths: oneOf: - allOf: - *166 - - &726 + - &724 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -115590,67 +115046,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *167 - - *726 + - *724 - allOf: - *168 - - *726 + - *724 - allOf: - *169 - - *726 + - *724 - allOf: - - *727 - - *726 + - *725 + - *724 - allOf: - *170 - - *726 + - *724 - allOf: - *171 - - *726 + - *724 - allOf: - *172 - - *726 + - *724 - allOf: - *173 - - *726 + - *724 - allOf: - *174 - - *726 + - *724 - allOf: - *175 - - *726 + - *724 - allOf: - *176 - - *726 + - *724 - allOf: - *177 - - *726 + - *724 - allOf: - *178 - - *726 + - *724 - allOf: - *179 - - *726 + - *724 - allOf: - *180 - - *726 + - *724 - allOf: - *181 - - *726 + - *724 - allOf: - *182 - - *726 + - *724 - allOf: - *183 - - *726 + - *724 - allOf: - *184 - - *726 + - *724 - allOf: - *185 - - *726 + - *724 - allOf: - *186 - - *726 + - *724 examples: default: value: @@ -115689,8 +115145,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - name: includes_parents @@ -115701,7 +115157,7 @@ paths: schema: type: boolean default: true - - *728 + - *726 responses: '200': description: Response @@ -115756,8 +115212,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 requestBody: description: Request body required: true @@ -115786,7 +115242,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *729 + items: *727 required: - name - enforcement @@ -115819,7 +115275,7 @@ paths: application/json: schema: *187 examples: - default: &739 + default: &737 value: id: 42 name: super cool ruleset @@ -115867,13 +115323,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *475 - - *476 - - *730 + - *472 + - *473 + - *728 - *105 + - *729 + - *730 - *731 - - *732 - - *733 - *17 - *19 responses: @@ -115881,9 +115337,9 @@ paths: description: Response content: application/json: - schema: *734 + schema: *732 examples: - default: *735 + default: *733 '404': *6 '500': *38 x-github: @@ -115904,17 +115360,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *475 - - *476 - - *736 + - *472 + - *473 + - *734 responses: '200': description: Response content: application/json: - schema: *737 + schema: *735 examples: - default: *738 + default: *736 '404': *6 '500': *38 x-github: @@ -115942,8 +115398,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -115965,7 +115421,7 @@ paths: application/json: schema: *187 examples: - default: *739 + default: *737 '404': *6 '500': *38 put: @@ -115983,8 +115439,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116018,7 +115474,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *729 + items: *727 examples: default: value: @@ -116048,7 +115504,7 @@ paths: application/json: schema: *187 examples: - default: *739 + default: *737 '404': *6 '422': *15 '500': *38 @@ -116067,8 +115523,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116091,8 +115547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - name: ruleset_id @@ -116110,7 +115566,7 @@ paths: type: array items: *191 examples: - default: *440 + default: *437 '404': *6 '500': *38 x-github: @@ -116129,8 +115585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116148,7 +115604,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: default: value: @@ -116203,26 +115659,26 @@ 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: - - *475 - - *476 + - *472 + - *473 + - *439 + - *440 + - *441 - *442 - *443 - *444 - *445 - *446 - - *447 - - *448 - - *449 - *110 - *19 - *17 - - *740 - - *741 + - *738 + - *739 + - *447 + - *448 + - *449 - *450 - *451 - - *452 - - *453 - - *454 responses: '200': description: Response @@ -116230,7 +115686,7 @@ paths: application/json: schema: type: array - items: &745 + items: &743 type: object properties: number: *127 @@ -116246,8 +115702,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *742 - resolution: *743 + state: *740 + resolution: *741 resolved_at: type: - string @@ -116353,7 +115809,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *744 + - *742 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -116512,16 +115968,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *475 - - *476 - - *554 - - *453 + - *472 + - *473 + - *551 + - *450 responses: '200': description: Response content: application/json: - schema: *745 + schema: *743 examples: default: value: @@ -116575,9 +116031,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 requestBody: required: true content: @@ -116585,8 +116041,8 @@ paths: schema: type: object properties: - state: *742 - resolution: *743 + state: *740 + resolution: *741 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -116634,7 +116090,7 @@ paths: description: Response content: application/json: - schema: *745 + schema: *743 examples: default: value: @@ -116733,9 +116189,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 - *19 - *17 responses: @@ -116746,7 +116202,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &924 + items: &922 type: object properties: type: @@ -116773,6 +116229,8 @@ paths: - commit details: oneOf: + - *744 + - *745 - *746 - *747 - *748 @@ -116784,8 +116242,6 @@ paths: - *754 - *755 - *756 - - *757 - - *758 examples: default: value: @@ -116871,8 +116327,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -116880,14 +116336,14 @@ paths: schema: type: object properties: - reason: &760 + reason: &758 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *759 + placeholder_id: *757 required: - reason - placeholder_id @@ -116904,7 +116360,7 @@ paths: schema: type: object properties: - reason: *760 + reason: *758 expire_at: type: - string @@ -116951,8 +116407,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: - - *475 - - *476 + - *472 + - *473 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -116967,7 +116423,7 @@ paths: properties: incremental_scans: type: array - items: &761 + items: &759 description: Information on a single scan performed by secret scanning on the repository type: object @@ -117000,15 +116456,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *761 + items: *759 backfill_scans: type: array - items: *761 + items: *759 custom_pattern_backfill_scans: type: array items: allOf: - - *761 + - *759 - type: object properties: pattern_name: @@ -117021,7 +116477,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *761 + items: *759 examples: default: value: @@ -117086,8 +116542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *475 - - *476 + - *472 + - *473 - *110 - name: sort description: The property to sort the results by. @@ -117131,9 +116587,9 @@ paths: application/json: schema: type: array - items: *762 + items: *760 examples: - default: *763 + default: *761 '400': *14 '404': *6 x-github: @@ -117156,8 +116612,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -117237,7 +116693,7 @@ paths: login: type: string description: The username of the user credited. - type: *459 + type: *456 required: - login - type @@ -117327,9 +116783,9 @@ paths: description: Response content: application/json: - schema: *762 + schema: *760 examples: - default: &765 + default: &763 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -117562,8 +117018,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -117676,7 +117132,7 @@ paths: description: Response content: application/json: - schema: *762 + schema: *760 examples: default: value: @@ -117823,17 +117279,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 responses: '200': description: Response content: application/json: - schema: *762 + schema: *760 examples: - default: *765 + default: *763 '403': *27 '404': *6 x-github: @@ -117857,9 +117313,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 requestBody: required: true content: @@ -117939,7 +117395,7 @@ paths: login: type: string description: The username of the user credited. - type: *459 + type: *456 required: - login - type @@ -118030,17 +117486,17 @@ paths: description: Response content: application/json: - schema: *762 + schema: *760 examples: - default: *765 - add_credit: *765 + default: *763 + add_credit: *763 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *255 + schema: *252 examples: invalid_state_transition: value: @@ -118071,9 +117527,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 responses: '202': *37 '400': *14 @@ -118100,17 +117556,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 responses: '202': description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 '400': *14 '422': *15 '403': *27 @@ -118136,8 +117592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -118233,8 +117689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -118243,7 +117699,7 @@ paths: application/json: schema: type: array - items: &766 + items: &764 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -118276,8 +117732,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -118355,8 +117811,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -118450,8 +117906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -118605,8 +118061,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -118616,7 +118072,7 @@ paths: application/json: schema: type: array - items: *766 + items: *764 examples: default: value: @@ -118649,8 +118105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *475 - - *476 + - *472 + - *473 - name: sha in: path required: true @@ -118706,7 +118162,7 @@ paths: description: Response content: application/json: - schema: *767 + schema: *765 examples: default: value: @@ -118760,8 +118216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -118773,7 +118229,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -118793,14 +118249,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &768 + schema: &766 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -118873,8 +118329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -118900,7 +118356,7 @@ paths: description: Response content: application/json: - schema: *768 + schema: *766 examples: default: value: @@ -118927,8 +118383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -118948,8 +118404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -119031,8 +118487,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *475 - - *476 + - *472 + - *473 - name: ref in: path required: true @@ -119068,8 +118524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -119079,9 +118535,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 headers: Link: *45 '404': *6 @@ -119101,8 +118557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *475 - - *476 + - *472 + - *473 - *19 - *17 responses: @@ -119110,7 +118566,7 @@ paths: description: Response content: application/json: - schema: &769 + schema: &767 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -119122,7 +118578,7 @@ paths: required: - names examples: - default: &770 + default: &768 value: names: - octocat @@ -119145,8 +118601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -119177,9 +118633,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *767 examples: - default: *770 + default: *768 '404': *6 '422': *7 x-github: @@ -119200,9 +118656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *475 - - *476 - - &771 + - *472 + - *473 + - &769 name: per description: The time frame to display results for. in: query @@ -119233,7 +118689,7 @@ paths: - 128 clones: type: array - items: &772 + items: &770 title: Traffic type: object properties: @@ -119320,8 +118776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -119415,8 +118871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -119479,9 +118935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *475 - - *476 - - *771 + - *472 + - *473 + - *769 responses: '200': description: Response @@ -119502,7 +118958,7 @@ paths: - 3782 views: type: array - items: *772 + items: *770 required: - uniques - count @@ -119579,8 +119035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -119616,7 +119072,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *277 examples: default: value: @@ -119854,8 +119310,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -119878,8 +119334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -119901,8 +119357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -119928,8 +119384,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *475 - - *476 + - *472 + - *473 - name: ref in: path required: true @@ -120021,9 +119477,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120064,7 +119520,7 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: default: value: @@ -120174,7 +119630,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &780 + - &778 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -120184,7 +119640,7 @@ paths: type: string examples: - members - - &785 + - &783 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -120196,7 +119652,7 @@ paths: format: int32 examples: - 1 - - &786 + - &784 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -120240,7 +119696,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &775 + items: &773 allOf: - type: object required: @@ -120322,7 +119778,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: &787 + meta: &785 type: object description: The metadata associated with the creation/updates to the user. @@ -120387,30 +119843,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &776 + '400': &774 description: Bad request content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '401': *774 - '403': &777 + schema: *771 + '401': *772 + '403': &775 description: Permission denied - '429': &778 + '429': &776 description: Too many requests content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '500': &779 + schema: *771 + '500': &777 description: Internal server error content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 + schema: *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120434,7 +119890,7 @@ paths: required: true content: application/json: - schema: &783 + schema: &781 type: object required: - schemas @@ -120498,9 +119954,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *775 + schema: *773 examples: - group: &781 + group: &779 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -120519,13 +119975,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': *776 - '401': *774 - '403': *777 - '409': &784 + '400': *774 + '401': *772 + '403': *775 + '409': &782 description: Duplicate record detected - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120542,7 +119998,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: - - &782 + - &780 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -120551,22 +120007,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *780 + - *778 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *775 + schema: *773 examples: - default: *781 - '400': *776 - '401': *774 - '403': *777 + default: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120585,13 +120041,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: - - *782 + - *780 - *39 requestBody: required: true content: application/json: - schema: *783 + schema: *781 examples: group: summary: Group @@ -120617,17 +120073,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *775 + schema: *773 examples: - group: *781 - groupWithMembers: *781 - '400': *776 - '401': *774 - '403': *777 + group: *779 + groupWithMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120651,13 +120107,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: - - *782 + - *780 - *39 requestBody: required: true content: application/json: - schema: &794 + schema: &792 type: object required: - Operations @@ -120717,17 +120173,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *775 + schema: *773 examples: - updateGroup: *781 - addMembers: *781 - '400': *776 - '401': *774 - '403': *777 + updateGroup: *779 + addMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120743,17 +120199,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: - - *782 + - *780 - *39 responses: '204': description: Group was deleted, no content - '400': *776 - '401': *774 - '403': *777 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120787,8 +120243,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *785 - - *786 + - *783 + - *784 - *39 responses: '200': @@ -120822,7 +120278,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &789 + items: &787 allOf: - type: object required: @@ -120914,7 +120370,7 @@ paths: address. examples: - true - roles: &788 + roles: &786 type: array description: The roles assigned to the user. items: @@ -120973,7 +120429,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *787 + meta: *785 startIndex: type: integer description: A starting index for the returned page @@ -121012,11 +120468,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *776 - '401': *774 - '403': *777 - '429': *778 - '500': *779 + '400': *774 + '401': *772 + '403': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121040,7 +120496,7 @@ paths: required: true content: application/json: - schema: &792 + schema: &790 type: object required: - schemas @@ -121133,9 +120589,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *788 + roles: *786 examples: - user: &793 + user: &791 summary: User value: schemas: @@ -121182,9 +120638,9 @@ paths: description: User has been created content: application/scim+json: - schema: *789 + schema: *787 examples: - user: &790 + user: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -121210,13 +120666,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: *790 - '400': *776 - '401': *774 - '403': *777 - '409': *784 - '429': *778 - '500': *779 + enterpriseOwner: *788 + '400': *774 + '401': *772 + '403': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121233,7 +120689,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: - - &791 + - &789 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -121246,15 +120702,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *789 + schema: *787 examples: - default: *790 - '400': *776 - '401': *774 - '403': *777 + default: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121305,30 +120761,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: - - *791 + - *789 - *39 requestBody: required: true content: application/json: - schema: *792 + schema: *790 examples: - user: *793 + user: *791 responses: '200': description: User was updated content: application/scim+json: - schema: *789 + schema: *787 examples: - user: *790 - '400': *776 - '401': *774 - '403': *777 + user: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121369,13 +120825,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: - - *791 + - *789 - *39 requestBody: required: true content: application/json: - schema: *794 + schema: *792 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -121415,18 +120871,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *789 - examples: - userMultiValuedProperties: *790 - userSingleValuedProperties: *790 - disableUser: *790 - '400': *776 - '401': *774 - '403': *777 + schema: *787 + examples: + userMultiValuedProperties: *788 + userSingleValuedProperties: *788 + disableUser: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121446,17 +120902,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: - - *791 + - *789 - *39 responses: '204': description: User was deleted, no content - '400': *776 - '401': *774 - '403': *777 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121547,7 +121003,7 @@ paths: - 1 Resources: type: array - items: &795 + items: &793 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -121794,22 +121250,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': &796 + '404': &794 description: Resource not found content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '403': &797 + schema: *771 + '403': &795 description: Forbidden content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '400': *776 - '429': *778 + schema: *771 + '400': *774 + '429': *776 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -121835,9 +121291,9 @@ paths: description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: &798 + default: &796 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -121860,17 +121316,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': *796 - '403': *797 - '500': *779 + '404': *794 + '403': *795 + '500': *777 '409': description: Conflict content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '400': *776 + schema: *771 + '400': *774 requestBody: required: true content: @@ -121970,17 +121426,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *791 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: *798 - '404': *796 - '403': *797 + default: *796 + '404': *794 + '403': *795 '304': *35 x-github: githubCloudOnly: true @@ -122004,18 +121460,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *791 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: *798 + default: *796 '304': *35 - '404': *796 - '403': *797 + '404': *794 + '403': *795 requestBody: required: true content: @@ -122130,19 +121586,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *791 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: *798 + default: *796 '304': *35 - '404': *796 - '403': *797 - '400': *776 + '404': *794 + '403': *795 + '400': *774 '429': description: Response content: @@ -122238,12 +121694,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *791 + - *789 responses: '204': description: Response - '404': *796 - '403': *797 + '404': *794 + '403': *795 '304': *35 x-github: githubCloudOnly: true @@ -122361,7 +121817,7 @@ paths: html_url: type: string format: uri - repository: *280 + repository: *277 score: type: number file_size: @@ -122380,7 +121836,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &799 + text_matches: &797 title: Search Result Text Matches type: array items: @@ -122544,7 +122000,7 @@ paths: enum: - author-date - committer-date - - &800 + - &798 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 @@ -122613,7 +122069,7 @@ paths: committer: anyOf: - type: 'null' - - *525 + - *522 comment_count: type: integer message: @@ -122632,7 +122088,7 @@ paths: url: type: string format: uri - verification: *647 + verification: *644 required: - author - committer @@ -122647,7 +122103,7 @@ paths: committer: anyOf: - type: 'null' - - *525 + - *522 parents: type: array items: @@ -122659,12 +122115,12 @@ paths: type: string sha: type: string - repository: *280 + repository: *277 score: type: number node_id: type: string - text_matches: *799 + text_matches: *797 required: - sha - node_id @@ -122857,7 +122313,7 @@ paths: - interactions - created - updated - - *800 + - *798 - *17 - *19 - name: advanced_search @@ -122971,11 +122427,11 @@ paths: type: - string - 'null' - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: type: string state_reason: @@ -122989,7 +122445,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *420 comments: type: integer created_at: @@ -123003,7 +122459,7 @@ paths: - string - 'null' format: date-time - text_matches: *799 + text_matches: *797 pull_request: type: object properties: @@ -123041,7 +122497,7 @@ paths: type: string score: type: number - author_association: *218 + author_association: *215 draft: type: boolean repository: *78 @@ -123052,7 +122508,7 @@ paths: timeline_url: type: string format: uri - type: *389 + type: *386 performed_via_github_app: anyOf: - type: 'null' @@ -123060,8 +122516,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *222 - reactions: *219 + - *219 + reactions: *216 required: - assignee - closed_at @@ -123279,7 +122735,7 @@ paths: enum: - created - updated - - *800 + - *798 - *17 - *19 responses: @@ -123324,7 +122780,7 @@ paths: - 'null' score: type: number - text_matches: *799 + text_matches: *797 required: - id - node_id @@ -123410,7 +122866,7 @@ paths: - forks - help-wanted-issues - updated - - *800 + - *798 - *17 - *19 responses: @@ -123638,7 +123094,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 permissions: type: object properties: @@ -123656,7 +123112,7 @@ paths: - admin - pull - push - text_matches: *799 + text_matches: *797 temp_clone_token: type: string allow_merge_commit: @@ -123965,7 +123421,7 @@ paths: - string - 'null' format: uri - text_matches: *799 + text_matches: *797 related: type: - array @@ -124160,7 +123616,7 @@ paths: - followers - repositories - joined - - *800 + - *798 - *17 - *19 responses: @@ -124270,7 +123726,7 @@ paths: type: - boolean - 'null' - text_matches: *799 + text_matches: *797 blog: type: - string @@ -124352,7 +123808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &803 + - &801 name: team_id description: The unique identifier of the team. in: path @@ -124364,9 +123820,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -124393,7 +123849,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *803 + - *801 requestBody: required: true content: @@ -124457,16 +123913,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '201': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 '422': *15 '403': *27 @@ -124494,7 +123950,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *803 + - *801 responses: '204': description: Response @@ -124523,7 +123979,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *803 + - *801 - *17 - *19 responses: @@ -124533,9 +123989,9 @@ paths: application/json: schema: type: array - items: *383 + items: *380 examples: - default: *384 + default: *381 headers: Link: *45 x-github: @@ -124561,7 +124017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *803 + - *801 - name: role description: Filters members returned by their role in the team. in: query @@ -124584,7 +124040,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '404': *6 @@ -124612,7 +124068,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -124649,7 +124105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -124689,7 +124145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -124726,16 +124182,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: - - *803 + - *801 - *140 responses: '200': description: Response content: application/json: - schema: *474 + schema: *471 examples: - response-if-user-is-a-team-maintainer: *804 + response-if-user-is-a-team-maintainer: *802 '404': *6 x-github: githubCloudOnly: false @@ -124768,7 +124224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *803 + - *801 - *140 requestBody: required: false @@ -124794,9 +124250,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: *805 + response-if-users-membership-with-team-is-now-pending: *803 '403': description: Forbidden if team synchronization is set up '422': @@ -124830,7 +124286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -124858,7 +124314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *803 + - *801 - *17 - *19 responses: @@ -124868,9 +124324,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 '404': *6 @@ -124900,15 +124356,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: - - *803 - - *475 - - *476 + - *801 + - *472 + - *473 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *806 + schema: *804 examples: alternative-response-with-extra-repository-information: value: @@ -125059,9 +124515,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: - - *803 - - *475 - - *476 + - *801 + - *472 + - *473 requestBody: required: false content: @@ -125111,9 +124567,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: - - *803 - - *475 - - *476 + - *801 + - *472 + - *473 responses: '204': description: Response @@ -125142,15 +124598,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: - - *803 + - *801 responses: '200': description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: *478 + default: *475 '403': *27 '404': *6 x-github: @@ -125177,7 +124633,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: - - *803 + - *801 requestBody: required: true content: @@ -125238,7 +124694,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: default: value: @@ -125269,7 +124725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *803 + - *801 - *17 - *19 responses: @@ -125279,9 +124735,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - response-if-child-teams-exist: *807 + response-if-child-teams-exist: *805 headers: Link: *45 '404': *6 @@ -125314,7 +124770,7 @@ paths: application/json: schema: oneOf: - - &809 + - &807 title: Private User description: Private User type: object @@ -125564,7 +125020,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *808 + - *806 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -125724,7 +125180,7 @@ paths: description: Response content: application/json: - schema: *809 + schema: *807 examples: default: value: @@ -125803,7 +125259,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '304': *35 '404': *6 '403': *27 @@ -125927,9 +125383,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *391 examples: - default: *395 + default: *392 '304': *35 '500': *38 '401': *23 @@ -126068,17 +125524,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '401': *23 '403': *27 '404': *6 @@ -126122,7 +125578,7 @@ paths: type: integer secrets: type: array - items: &810 + items: &808 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -126164,7 +125620,7 @@ paths: - visibility - selected_repositories_url examples: - default: *579 + default: *576 headers: Link: *45 x-github: @@ -126236,13 +125692,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: - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *810 + schema: *808 examples: default: value: @@ -126272,7 +125728,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: - - *290 + - *287 requestBody: required: true content: @@ -126317,7 +125773,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -126345,7 +125801,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: - - *290 + - *287 responses: '204': description: Response @@ -126370,7 +125826,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: - - *290 + - *287 responses: '200': description: Response @@ -126386,9 +125842,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *335 + default: *332 '401': *23 '403': *27 '404': *6 @@ -126413,7 +125869,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: - - *290 + - *287 requestBody: required: true content: @@ -126467,7 +125923,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: - - *290 + - *287 - name: repository_id in: path required: true @@ -126500,7 +125956,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: - - *290 + - *287 - name: repository_id in: path required: true @@ -126532,15 +125988,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: - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '304': *35 '500': *38 '401': *23 @@ -126566,7 +126022,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: - - *396 + - *393 requestBody: required: false content: @@ -126596,9 +126052,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '401': *23 '403': *27 '404': *6 @@ -126620,7 +126076,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: - - *396 + - *393 responses: '202': *37 '304': *35 @@ -126649,13 +126105,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: - - *396 + - *393 responses: '202': description: Response content: application/json: - schema: &811 + schema: &809 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -126708,7 +126164,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &812 + default: &810 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -126740,7 +126196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *396 + - *393 - name: export_id in: path required: true @@ -126753,9 +126209,9 @@ paths: description: Response content: application/json: - schema: *811 + schema: *809 examples: - default: *812 + default: *810 '404': *6 x-github: githubCloudOnly: false @@ -126776,7 +126232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *396 + - *393 responses: '200': description: Response @@ -126792,9 +126248,9 @@ paths: type: integer machines: type: array - items: *578 + items: *575 examples: - default: *813 + default: *811 '304': *35 '500': *38 '401': *23 @@ -126823,7 +126279,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: - - *396 + - *393 requestBody: required: true content: @@ -126879,11 +126335,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *480 + repository: *477 machine: anyOf: - type: 'null' - - *578 + - *575 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -127680,15 +127136,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: - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '304': *35 '500': *38 '400': *14 @@ -127720,15 +127176,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: - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '500': *38 '401': *23 '403': *27 @@ -127758,9 +127214,9 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: &824 + default: &822 value: - id: 197 name: hello_docker @@ -127861,7 +127317,7 @@ paths: application/json: schema: type: array - items: &814 + items: &812 title: Email description: Email type: object @@ -127931,9 +127387,9 @@ paths: application/json: schema: type: array - items: *814 + items: *812 examples: - default: &826 + default: &824 value: - email: octocat@github.com verified: true @@ -128010,7 +127466,7 @@ paths: application/json: schema: type: array - items: *814 + items: *812 examples: default: value: @@ -128122,7 +127578,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '304': *35 @@ -128155,7 +127611,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '304': *35 @@ -128268,7 +127724,7 @@ paths: application/json: schema: type: array - items: &815 + items: &813 title: GPG Key description: A unique encryption key type: object @@ -128413,7 +127869,7 @@ paths: - subkeys - revoked examples: - default: &843 + default: &841 value: - id: 3 name: Octocat's GPG Key @@ -128498,9 +127954,9 @@ paths: description: Response content: application/json: - schema: *815 + schema: *813 examples: - default: &816 + default: &814 value: id: 3 name: Octocat's GPG Key @@ -128557,7 +128013,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: - - &817 + - &815 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -128569,9 +128025,9 @@ paths: description: Response content: application/json: - schema: *815 + schema: *813 examples: - default: *816 + default: *814 '404': *6 '304': *35 '403': *27 @@ -128594,7 +128050,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: - - *817 + - *815 responses: '204': description: Response @@ -128796,7 +128252,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *275 + default: *272 headers: Link: *45 '404': *6 @@ -128822,7 +128278,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *274 + - *271 responses: '204': description: Response @@ -128848,7 +128304,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *274 + - *271 responses: '204': description: Response @@ -128882,12 +128338,12 @@ paths: application/json: schema: anyOf: - - *381 + - *378 - type: object properties: {} additionalProperties: false examples: - default: *382 + default: *379 '204': description: Response when there are no restrictions x-github: @@ -128911,7 +128367,7 @@ paths: required: true content: application/json: - schema: *657 + schema: *654 examples: default: value: @@ -128922,7 +128378,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *378 examples: default: value: @@ -129003,7 +128459,7 @@ paths: - closed - all default: open - - *392 + - *389 - name: sort description: What to sort results by. in: query @@ -129016,7 +128472,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - *17 - *19 responses: @@ -129026,9 +128482,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *393 + default: *390 headers: Link: *45 '404': *6 @@ -129061,7 +128517,7 @@ paths: application/json: schema: type: array - items: &818 + items: &816 title: Key description: Key type: object @@ -129164,9 +128620,9 @@ paths: description: Response content: application/json: - schema: *818 + schema: *816 examples: - default: &819 + default: &817 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -129199,15 +128655,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: - - *689 + - *687 responses: '200': description: Response content: application/json: - schema: *818 + schema: *816 examples: - default: *819 + default: *817 '404': *6 '304': *35 '403': *27 @@ -129230,7 +128686,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: - - *689 + - *687 responses: '204': description: Response @@ -129263,7 +128719,7 @@ paths: application/json: schema: type: array - items: &820 + items: &818 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -129331,7 +128787,7 @@ paths: - id - type - login - plan: *237 + plan: *234 required: - billing_cycle - next_billing_date @@ -129342,7 +128798,7 @@ paths: - account - plan examples: - default: &821 + default: &819 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -129404,9 +128860,9 @@ paths: application/json: schema: type: array - items: *820 + items: *818 examples: - default: *821 + default: *819 headers: Link: *45 '304': *35 @@ -129446,7 +128902,7 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: default: value: @@ -129560,7 +129016,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: default: value: @@ -129647,7 +129103,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: default: value: @@ -129719,7 +129175,7 @@ paths: application/json: schema: type: array - items: *399 + items: *396 examples: default: value: @@ -129981,7 +129437,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -130161,7 +129617,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *400 + - *397 - name: exclude in: query required: false @@ -130174,7 +129630,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -130368,7 +129824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *400 + - *397 responses: '302': description: Response @@ -130394,7 +129850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *400 + - *397 responses: '204': description: Response @@ -130423,8 +129879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *400 - - *822 + - *397 + - *820 responses: '204': description: Response @@ -130448,7 +129904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *400 + - *397 - *17 - *19 responses: @@ -130458,9 +129914,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 '404': *6 @@ -130497,7 +129953,7 @@ paths: type: array items: *73 examples: - default: *250 + default: *247 headers: Link: *45 '304': *35 @@ -130539,7 +129995,7 @@ paths: - docker - nuget - container - - *823 + - *821 - *19 - *17 responses: @@ -130549,10 +130005,10 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *824 - '400': *825 + default: *822 + '400': *823 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -130572,16 +130028,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: - - *406 - - *407 + - *403 + - *404 responses: '200': description: Response content: application/json: - schema: *404 + schema: *401 examples: - default: &844 + default: &842 value: id: 40201 name: octo-name @@ -130694,8 +130150,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: - - *406 - - *407 + - *403 + - *404 responses: '204': description: Response @@ -130725,8 +130181,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: - - *406 - - *407 + - *403 + - *404 - name: token description: package token schema: @@ -130758,8 +130214,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: - - *406 - - *407 + - *403 + - *404 - *19 - *17 - name: state @@ -130779,7 +130235,7 @@ paths: application/json: schema: type: array - items: *408 + items: *405 examples: default: value: @@ -130828,15 +130284,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: + - *403 + - *404 - *406 - - *407 - - *409 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: default: value: @@ -130872,9 +130328,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: + - *403 + - *404 - *406 - - *407 - - *409 responses: '204': description: Response @@ -130904,9 +130360,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: + - *403 + - *404 - *406 - - *407 - - *409 responses: '204': description: Response @@ -130943,9 +130399,9 @@ paths: application/json: schema: type: array - items: *814 + items: *812 examples: - default: *826 + default: *824 headers: Link: *45 '304': *35 @@ -131058,7 +130514,7 @@ paths: type: array items: *78 examples: - default: &833 + default: &831 summary: Default response value: - id: 1296269 @@ -131376,9 +130832,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -131416,9 +130872,9 @@ paths: application/json: schema: type: array - items: *659 + items: *657 examples: - default: *827 + default: *825 headers: Link: *45 '304': *35 @@ -131441,7 +130897,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *385 + - *382 responses: '204': description: Response @@ -131464,7 +130920,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *385 + - *382 responses: '204': description: Response @@ -131497,7 +130953,7 @@ paths: application/json: schema: type: array - items: &828 + items: &826 title: Social account description: Social media account type: object @@ -131514,7 +130970,7 @@ paths: - provider - url examples: - default: &829 + default: &827 value: - provider: twitter url: https://twitter.com/github @@ -131577,9 +131033,9 @@ paths: application/json: schema: type: array - items: *828 + items: *826 examples: - default: *829 + default: *827 '422': *15 '304': *35 '404': *6 @@ -131667,7 +131123,7 @@ paths: application/json: schema: type: array - items: &830 + items: &828 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -131687,7 +131143,7 @@ paths: - title - created_at examples: - default: &858 + default: &856 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -131752,9 +131208,9 @@ paths: description: Response content: application/json: - schema: *830 + schema: *828 examples: - default: &831 + default: &829 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -131784,7 +131240,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: - - &832 + - &830 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -131796,9 +131252,9 @@ paths: description: Response content: application/json: - schema: *830 + schema: *828 examples: - default: *831 + default: *829 '404': *6 '304': *35 '403': *27 @@ -131821,7 +131277,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: - - *832 + - *830 responses: '204': description: Response @@ -131850,7 +131306,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: - - &859 + - &857 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 @@ -131875,11 +131331,11 @@ paths: type: array items: *78 examples: - default-response: *833 + default-response: *831 application/vnd.github.v3.star+json: schema: type: array - items: &860 + items: &858 title: Starred Repository description: Starred Repository type: object @@ -132035,8 +131491,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response if this repository is starred by you @@ -132064,8 +131520,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -132089,8 +131545,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -132123,9 +131579,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 '304': *35 @@ -132162,7 +131618,7 @@ paths: application/json: schema: type: array - items: *467 + items: *464 examples: default: value: @@ -132240,7 +131696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *239 + - *236 responses: '200': description: Response @@ -132248,10 +131704,10 @@ paths: application/json: schema: oneOf: - - *809 - - *808 + - *807 + - *806 examples: - default-response: &837 + default-response: &835 summary: Default response value: login: octocat @@ -132286,7 +131742,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &838 + response-with-git-hub-plan-information: &836 summary: Response with GitHub plan information value: login: octocat @@ -132343,14 +131799,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &835 + - &833 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *422 + - *419 requestBody: required: true description: Details of the draft item to create in the project. @@ -132384,9 +131840,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: - draft_issue: *428 + draft_issue: *425 '304': *35 '403': *27 '401': *23 @@ -132409,7 +131865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *834 + - *832 - *17 responses: '200': @@ -132420,7 +131876,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: example: ; rel="next" @@ -132444,8 +131900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *835 - - *422 + - *833 + - *419 requestBody: required: true content: @@ -132519,17 +131975,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *836 + schema: *834 examples: table_view: summary: Response for creating a table view - value: *432 + value: *429 board_view: summary: Response for creating a board view with filter - value: *432 + value: *429 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *429 '304': *35 '403': *27 '401': *23 @@ -132571,11 +132027,11 @@ paths: application/json: schema: oneOf: - - *809 - - *808 + - *807 + - *806 examples: - default-response: *837 - response-with-git-hub-plan-information: *838 + default-response: *835 + response-with-git-hub-plan-information: *836 '404': *6 x-github: githubCloudOnly: false @@ -132625,8 +132081,8 @@ paths: required: - subject_digests examples: - default: *839 - withPredicateType: *840 + default: *837 + withPredicateType: *838 responses: '200': description: Response @@ -132680,7 +132136,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *841 + default: *839 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -132885,12 +132341,12 @@ paths: initiator: type: string examples: - default: *521 + default: *518 '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -132952,7 +132408,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *331 + items: *328 examples: default: summary: Example response for listing user copilot spaces @@ -133167,9 +132623,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: &842 + default: &840 summary: Example response for a user copilot space value: id: 42 @@ -133268,9 +132724,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *842 + default: *840 '403': *27 '404': *6 x-github: @@ -133394,9 +132850,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *842 + default: *840 '403': *27 '404': *6 '422': *15 @@ -133473,7 +132929,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *333 + items: *330 examples: default: value: @@ -133616,7 +133072,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: default: value: @@ -133727,7 +133183,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: default: value: @@ -133857,7 +133313,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *334 + items: *331 examples: default: value: @@ -133949,7 +133405,7 @@ paths: description: Resource created content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -133965,7 +133421,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -134018,7 +133474,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -134085,7 +133541,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -134162,9 +133618,9 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *824 + default: *822 '403': *27 '401': *23 x-github: @@ -134197,7 +133653,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -134270,7 +133726,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -134357,7 +133813,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -134427,7 +133883,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -134458,7 +133914,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -134505,7 +133961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *140 - - *226 + - *223 - *17 - *19 responses: @@ -134515,9 +133971,9 @@ paths: application/json: schema: type: array - items: *227 + items: *224 examples: - default: *228 + default: *225 headers: Link: *45 '422': *15 @@ -134548,9 +134004,9 @@ paths: application/json: schema: type: array - items: *815 + items: *813 examples: - default: *843 + default: *841 headers: Link: *45 x-github: @@ -134654,7 +134110,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134740,7 +134196,7 @@ paths: type: array items: *73 examples: - default: *250 + default: *247 headers: Link: *45 x-github: @@ -134779,7 +134235,7 @@ paths: - docker - nuget - container - - *823 + - *821 - *140 - *19 - *17 @@ -134790,12 +134246,12 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *824 + default: *822 '403': *27 '401': *23 - '400': *825 + '400': *823 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134815,17 +134271,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 responses: '200': description: Response content: application/json: - schema: *404 + schema: *401 examples: - default: *844 + default: *842 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134846,8 +134302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 responses: '204': @@ -134880,8 +134336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 - name: token description: package token @@ -134914,8 +134370,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-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 responses: '200': @@ -134924,7 +134380,7 @@ paths: application/json: schema: type: array - items: *408 + items: *405 examples: default: value: @@ -134982,16 +134438,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: + - *403 + - *404 - *406 - - *407 - - *409 - *140 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: default: value: @@ -135026,10 +134482,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 - - *409 + - *406 responses: '204': description: Response @@ -135061,10 +134517,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 - - *409 + - *406 responses: '204': description: Response @@ -135105,9 +134561,9 @@ paths: application/json: schema: type: array - items: *420 + items: *417 examples: - default: *421 + default: *418 headers: Link: *45 '304': *35 @@ -135129,16 +134585,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *422 + - *419 - *140 responses: '200': description: Response content: application/json: - schema: *420 + schema: *417 examples: - default: *421 + default: *418 headers: Link: *45 '304': *35 @@ -135160,7 +134616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *422 + - *419 - *140 - *17 - *108 @@ -135172,9 +134628,9 @@ paths: application/json: schema: type: array - items: *425 + items: *422 examples: - default: *845 + default: *843 headers: Link: *45 '304': *35 @@ -135196,7 +134652,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *140 - - *422 + - *419 requestBody: required: true content: @@ -135234,7 +134690,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *846 + items: *844 required: - name - data_type @@ -135250,7 +134706,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *847 + iteration_configuration: *845 required: - name - data_type @@ -135272,20 +134728,20 @@ paths: value: name: Due date data_type: date - single_select_field: *848 - iteration_field: *849 + single_select_field: *846 + iteration_field: *847 responses: '201': description: Response content: application/json: - schema: *425 + schema: *422 examples: - text_field: *850 - number_field: *851 - date_field: *852 - single_select_field: *853 - iteration_field: *854 + text_field: *848 + number_field: *849 + date_field: *850 + single_select_field: *851 + iteration_field: *852 '304': *35 '403': *27 '401': *23 @@ -135306,17 +134762,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *422 - - *855 + - *419 + - *853 - *140 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: *856 + default: *854 headers: Link: *45 '304': *35 @@ -135339,7 +134795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *422 + - *419 - *140 - *108 - *109 @@ -135372,9 +134828,9 @@ paths: application/json: schema: type: array - items: *429 + items: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -135396,7 +134852,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *140 - - *422 + - *419 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -135466,22 +134922,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *425 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *425 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *425 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *425 '304': *35 '403': *27 '401': *23 @@ -135501,9 +134957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *422 + - *419 - *140 - - *431 + - *428 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -135523,9 +134979,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -135546,9 +135002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *422 + - *419 - *140 - - *431 + - *428 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -135621,13 +135077,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *427 + number_field: *427 + date_field: *427 + single_select_field: *427 + iteration_field: *427 '401': *23 '403': *27 '404': *6 @@ -135647,9 +135103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *422 + - *419 - *140 - - *431 + - *428 responses: '204': description: Response @@ -135671,9 +135127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *422 + - *419 - *140 - - *857 + - *855 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -135699,9 +135155,9 @@ paths: application/json: schema: type: array - items: *429 + items: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -135739,7 +135195,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -135814,7 +135270,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -135920,9 +135376,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -135952,9 +135408,9 @@ paths: application/json: schema: type: array - items: *828 + items: *826 examples: - default: *829 + default: *827 headers: Link: *45 x-github: @@ -135984,9 +135440,9 @@ paths: application/json: schema: type: array - items: *830 + items: *828 examples: - default: *858 + default: *856 headers: Link: *45 x-github: @@ -136011,7 +135467,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *140 - - *859 + - *857 - *110 - *17 - *19 @@ -136023,11 +135479,11 @@ paths: schema: anyOf: - type: array - items: *860 + items: *858 - type: array items: *78 examples: - default-response: *833 + default-response: *831 headers: Link: *45 x-github: @@ -136056,9 +135512,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -136187,7 +135643,7 @@ webhooks: type: string enum: - disabled - enterprise: &861 + enterprise: &859 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -136256,7 +135712,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &862 + installation: &860 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -136277,7 +135733,7 @@ webhooks: required: - id - node_id - organization: &863 + organization: &861 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -136350,7 +135806,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &864 + repository: &862 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -136379,7 +135835,7 @@ webhooks: license: anyOf: - type: 'null' - - *223 + - *220 organization: anyOf: - type: 'null' @@ -137276,10 +136732,10 @@ webhooks: type: string enum: - enabled - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -137355,11 +136811,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - rule: &865 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + rule: &863 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) @@ -137582,11 +137038,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - rule: *865 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + rule: *863 sender: *4 required: - action @@ -137774,11 +137230,11 @@ webhooks: - everyone required: - from - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - rule: *865 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + rule: *863 sender: *4 required: - action @@ -137851,7 +137307,7 @@ webhooks: required: true content: application/json: - schema: &885 + schema: &883 title: Exemption request cancellation event type: object properties: @@ -137859,11 +137315,11 @@ webhooks: type: string enum: - cancelled - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: &866 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: &864 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -138172,7 +137628,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &867 + items: &865 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -138284,7 +137740,7 @@ webhooks: required: true content: application/json: - schema: &886 + schema: &884 title: Exemption request completed event type: object properties: @@ -138292,11 +137748,11 @@ webhooks: type: string enum: - completed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 sender: *4 required: - action @@ -138368,7 +137824,7 @@ webhooks: required: true content: application/json: - schema: &883 + schema: &881 title: Exemption request created event type: object properties: @@ -138376,11 +137832,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 sender: *4 required: - action @@ -138452,7 +137908,7 @@ webhooks: required: true content: application/json: - schema: &887 + schema: &885 title: Exemption response dismissed event type: object properties: @@ -138460,12 +137916,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 - exemption_response: *867 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 + exemption_response: *865 sender: *4 required: - action @@ -138539,7 +137995,7 @@ webhooks: required: true content: application/json: - schema: &884 + schema: &882 title: Exemption response submitted event type: object properties: @@ -138547,12 +138003,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 - exemption_response: *867 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 + exemption_response: *865 sender: *4 required: - action @@ -138636,7 +138092,7 @@ webhooks: type: string enum: - completed - check_run: &869 + check_run: &867 title: CheckRun description: A check performed on the code of a given code change type: object @@ -138701,8 +138157,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *224 - repository: *280 + items: *221 + repository: *277 status: type: string enum: @@ -138746,7 +138202,7 @@ webhooks: - examples: - neutral - deployment: *868 + deployment: *866 details_url: type: string examples: @@ -138806,7 +138262,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *224 + items: *221 started_at: type: string format: date-time @@ -138844,10 +138300,10 @@ webhooks: - output - app - pull_requests - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 sender: *4 required: - check_run @@ -139238,11 +138694,11 @@ webhooks: type: string enum: - created - check_run: *869 - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + check_run: *867 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 sender: *4 required: - check_run @@ -139636,11 +139092,11 @@ webhooks: type: string enum: - requested_action - check_run: *869 - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + check_run: *867 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 requested_action: description: The action requested by the user. type: object @@ -140043,11 +139499,11 @@ webhooks: type: string enum: - rerequested - check_run: *869 - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + check_run: *867 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 sender: *4 required: - check_run @@ -141032,10 +140488,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -141749,10 +141205,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -142460,10 +141916,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -142632,7 +142088,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -142784,20 +142240,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &870 + commit_oid: &868 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: *861 - installation: *862 - organization: *863 - ref: &871 + enterprise: *859 + installation: *860 + organization: *861 + ref: &869 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: *864 + repository: *862 sender: *4 required: - action @@ -142964,7 +142420,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -143205,12 +142661,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -143308,7 +142764,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -143493,12 +142949,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -143667,7 +143123,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -143844,12 +143300,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -143950,7 +143406,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -144139,9 +143595,9 @@ webhooks: type: - string - 'null' - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -144149,7 +143605,7 @@ webhooks: type: - string - 'null' - repository: *864 + repository: *862 sender: *4 required: - action @@ -144248,7 +143704,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -144395,12 +143851,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -144569,7 +144025,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -144721,10 +144177,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -144984,10 +144440,10 @@ webhooks: - updated_at - author_association - body - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -145068,18 +144524,18 @@ webhooks: type: - string - 'null' - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *863 - pusher_type: &872 + organization: *861 + pusher_type: &870 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &873 + ref: &871 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -145089,7 +144545,7 @@ webhooks: enum: - tag - branch - repository: *864 + repository: *862 sender: *4 required: - ref @@ -145172,9 +144628,9 @@ webhooks: enum: - created definition: *153 - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -145259,9 +144715,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -145339,9 +144795,9 @@ webhooks: enum: - promote_to_enterprise definition: *153 - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -145419,9 +144875,9 @@ webhooks: enum: - updated definition: *153 - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -145498,10 +144954,10 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - repository: *864 - organization: *863 + enterprise: *859 + installation: *860 + repository: *862 + organization: *861 sender: *4 new_property_values: type: array @@ -145586,18 +145042,18 @@ webhooks: title: delete event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - pusher_type: *872 - ref: *873 + enterprise: *859 + installation: *860 + organization: *861 + pusher_type: *870 + ref: *871 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *864 + repository: *862 sender: *4 required: - ref @@ -145677,11 +145133,11 @@ webhooks: type: string enum: - assignees_changed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145761,11 +145217,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145846,11 +145302,11 @@ webhooks: type: string enum: - auto_reopened - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145931,11 +145387,11 @@ webhooks: type: string enum: - created - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -146014,11 +145470,11 @@ webhooks: type: string enum: - dismissed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -146097,11 +145553,11 @@ webhooks: type: string enum: - fixed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -146181,11 +145637,11 @@ webhooks: type: string enum: - reintroduced - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -146264,11 +145720,11 @@ webhooks: type: string enum: - reopened - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -146345,9 +145801,9 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - key: &874 + enterprise: *859 + installation: *860 + key: &872 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -146385,8 +145841,8 @@ webhooks: - verified - created_at - read_only - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -146463,11 +145919,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - key: *874 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + key: *872 + organization: *861 + repository: *862 sender: *4 required: - action @@ -147034,12 +146490,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: &878 + workflow: &876 title: Workflow type: - object @@ -147790,13 +147246,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *616 + - *613 pull_requests: type: array - items: *709 - repository: *864 - organization: *863 - installation: *862 + items: *707 + repository: *862 + organization: *861 + installation: *860 sender: *4 responses: '200': @@ -147867,7 +147323,7 @@ webhooks: type: string enum: - approved - approver: &875 + approver: &873 type: object properties: avatar_url: @@ -147910,11 +147366,11 @@ webhooks: type: string comment: type: string - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - reviewers: &876 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + reviewers: &874 type: array items: type: object @@ -147995,7 +147451,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &877 + workflow_job_run: &875 type: object properties: conclusion: @@ -148741,18 +148197,18 @@ webhooks: type: string enum: - rejected - approver: *875 + approver: *873 comment: type: string - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - reviewers: *876 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + reviewers: *874 sender: *4 since: type: string - workflow_job_run: *877 + workflow_job_run: *875 workflow_job_runs: type: array items: @@ -149469,13 +148925,13 @@ webhooks: type: string enum: - requested - enterprise: *861 + enterprise: *859 environment: type: string - installation: *862 - organization: *863 - repository: *864 - requestor: &888 + installation: *860 + organization: *861 + repository: *862 + requestor: &886 title: User type: - object @@ -151408,12 +150864,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Deployment Workflow Run type: @@ -152104,7 +151560,7 @@ webhooks: type: string enum: - answered - answer: &881 + answer: &879 type: object properties: author_association: @@ -152264,11 +151720,11 @@ webhooks: - created_at - updated_at - body - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152395,11 +151851,11 @@ webhooks: - from required: - category - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152482,11 +151938,11 @@ webhooks: type: string enum: - closed - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152568,7 +152024,7 @@ webhooks: type: string enum: - created - comment: &880 + comment: &878 type: object properties: author_association: @@ -152728,11 +152184,11 @@ webhooks: - updated_at - body - reactions - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152815,12 +152271,12 @@ webhooks: type: string enum: - deleted - comment: *880 - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + comment: *878 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152915,12 +152371,12 @@ webhooks: - from required: - body - comment: *880 - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + comment: *878 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153004,11 +152460,11 @@ webhooks: type: string enum: - created - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153090,11 +152546,11 @@ webhooks: type: string enum: - deleted - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153194,11 +152650,11 @@ webhooks: type: string required: - from - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153280,10 +152736,10 @@ webhooks: type: string enum: - labeled - discussion: *879 - enterprise: *861 - installation: *862 - label: &882 + discussion: *877 + enterprise: *859 + installation: *860 + label: &880 title: Label type: object properties: @@ -153316,8 +152772,8 @@ webhooks: - color - default - description - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153400,11 +152856,11 @@ webhooks: type: string enum: - locked - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153486,11 +152942,11 @@ webhooks: type: string enum: - pinned - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153572,11 +153028,11 @@ webhooks: type: string enum: - reopened - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153661,16 +153117,16 @@ webhooks: changes: type: object properties: - new_discussion: *879 - new_repository: *864 + new_discussion: *877 + new_repository: *862 required: - new_discussion - new_repository - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153753,10 +153209,10 @@ webhooks: type: string enum: - unanswered - discussion: *879 - old_answer: *881 - organization: *863 - repository: *864 + discussion: *877 + old_answer: *879 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153838,12 +153294,12 @@ webhooks: type: string enum: - unlabeled - discussion: *879 - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153926,11 +153382,11 @@ webhooks: type: string enum: - unlocked - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154012,11 +153468,11 @@ webhooks: type: string enum: - unpinned - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154085,7 +153541,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154148,7 +153604,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154211,7 +153667,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154274,7 +153730,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154337,7 +153793,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154403,7 +153859,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154469,7 +153925,7 @@ webhooks: required: true content: application/json: - schema: *886 + schema: *884 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154535,7 +153991,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154601,7 +154057,7 @@ webhooks: required: true content: application/json: - schema: *887 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154667,7 +154123,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154732,7 +154188,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154797,7 +154253,7 @@ webhooks: required: true content: application/json: - schema: *886 + schema: *884 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154862,7 +154318,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154927,7 +154383,7 @@ webhooks: required: true content: application/json: - schema: *887 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154993,7 +154449,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155060,7 +154516,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *861 + enterprise: *859 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -155738,9 +155194,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - forkee @@ -155886,9 +155342,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pages: description: The pages that were updated. type: array @@ -155926,7 +155382,7 @@ webhooks: - action - sha - html_url - repository: *864 + repository: *862 sender: *4 required: - pages @@ -156002,10 +155458,10 @@ webhooks: type: string enum: - created - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: &889 + organization: *861 + repositories: &887 description: An array of repository objects that the installation can access. type: array @@ -156031,8 +155487,8 @@ webhooks: - name - full_name - private - repository: *864 - requester: *888 + repository: *862 + requester: *886 sender: *4 required: - action @@ -156107,11 +155563,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -156188,11 +155644,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -156269,10 +155725,10 @@ webhooks: type: string enum: - added - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories_added: &890 + organization: *861 + repositories_added: &888 description: An array of repository objects, which were added to the installation. type: array @@ -156318,15 +155774,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *864 - repository_selection: &891 + repository: *862 + repository_selection: &889 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *888 + requester: *886 sender: *4 required: - action @@ -156405,10 +155861,10 @@ webhooks: type: string enum: - removed - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories_added: *890 + organization: *861 + repositories_added: *888 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -156435,9 +155891,9 @@ webhooks: - name - full_name - private - repository: *864 - repository_selection: *891 - requester: *888 + repository: *862 + repository_selection: *889 + requester: *886 sender: *4 required: - action @@ -156516,11 +155972,11 @@ webhooks: type: string enum: - suspend - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -156703,10 +156159,10 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 target_type: type: string @@ -156785,11 +156241,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -156955,7 +156411,7 @@ webhooks: pin: anyOf: - type: 'null' - - *686 + - *684 user: title: User type: @@ -157041,8 +156497,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157854,8 +157310,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157872,7 +157328,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -158216,8 +157672,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -158297,7 +157753,7 @@ webhooks: type: string enum: - deleted - comment: &892 + comment: &890 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -158454,7 +157910,7 @@ webhooks: pin: anyOf: - type: 'null' - - *686 + - *684 required: - url - html_url @@ -158468,8 +157924,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -159277,8 +158733,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159295,7 +158751,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -159641,8 +159097,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -159722,7 +159178,7 @@ webhooks: type: string enum: - edited - changes: &916 + changes: &914 description: The changes to the comment. type: object properties: @@ -159734,9 +159190,9 @@ webhooks: type: string required: - from - comment: *892 - enterprise: *861 - installation: *862 + comment: *890 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -160547,8 +160003,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160565,7 +160021,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -160909,8 +160365,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -160991,9 +160447,9 @@ webhooks: type: string enum: - pinned - comment: *892 - enterprise: *861 - installation: *862 + comment: *890 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -161806,8 +161262,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161824,7 +161280,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -162170,8 +161626,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -162251,9 +161707,9 @@ webhooks: type: string enum: - unpinned - comment: *892 - enterprise: *861 - installation: *862 + comment: *890 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -163066,8 +162522,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163084,7 +162540,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -163430,8 +162886,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163514,15 +162970,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *218 blocking_issue_repo: *78 - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163605,15 +163061,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *218 blocking_issue_repo: *78 - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163695,15 +163151,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *862 - organization: *863 - repository: *864 + blocking_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163786,15 +163242,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *862 - organization: *863 - repository: *864 + blocking_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163874,10 +163330,10 @@ webhooks: type: string enum: - assigned - assignee: *888 - enterprise: *861 - installation: *862 - issue: &893 + assignee: *886 + enterprise: *859 + installation: *860 + issue: &891 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -164687,12 +164143,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164709,7 +164165,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -164812,8 +164268,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -164893,8 +164349,8 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -165709,12 +165165,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165731,7 +165187,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -165977,8 +165433,8 @@ webhooks: required: - state - closed_at - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -166057,8 +165513,8 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166864,12 +166320,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166886,7 +166342,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -166988,8 +166444,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -167068,8 +166524,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167898,12 +167354,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167920,7 +167376,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -168001,7 +167457,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &894 + milestone: &892 title: Milestone description: A collection of related issues and pull requests. type: object @@ -168144,8 +167600,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -168244,8 +167700,8 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -169055,12 +168511,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169074,7 +168530,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *386 title: description: Title of the issue type: string @@ -169180,9 +168636,9 @@ webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *863 - repository: *864 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -169262,9 +168718,9 @@ webhooks: type: string enum: - field_added - enterprise: *861 - installation: *862 - issue: *893 + enterprise: *859 + installation: *860 + issue: *891 issue_field: type: object description: The issue field whose value was set or updated on the @@ -169430,8 +168886,8 @@ webhooks: - id required: - from - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -169511,9 +168967,9 @@ webhooks: type: string enum: - field_removed - enterprise: *861 - installation: *862 - issue: *893 + enterprise: *859 + installation: *860 + issue: *891 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -169600,8 +169056,8 @@ webhooks: - 'null' required: - id - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -169681,8 +169137,8 @@ webhooks: type: string enum: - labeled - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170491,12 +169947,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170510,7 +169966,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *386 title: description: Title of the issue type: string @@ -170616,9 +170072,9 @@ webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *863 - repository: *864 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -170698,8 +170154,8 @@ webhooks: type: string enum: - locked - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171533,12 +170989,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171552,7 +171008,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *386 title: description: Title of the issue type: string @@ -171635,8 +171091,8 @@ webhooks: format: uri user_view_type: type: string - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -171715,8 +171171,8 @@ webhooks: type: string enum: - milestoned - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172544,12 +172000,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172566,7 +172022,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -172646,9 +172102,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *894 - organization: *863 - repository: *864 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -173535,11 +172991,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173566,7 +173022,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *219 user: title: User type: @@ -173639,7 +173095,7 @@ webhooks: required: - login - id - type: *389 + type: *386 required: - id - number @@ -174131,8 +173587,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174939,11 +174395,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174960,7 +174416,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -174971,7 +174427,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *219 user: title: User type: @@ -175066,8 +174522,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -175147,9 +174603,9 @@ webhooks: type: string enum: - pinned - enterprise: *861 - installation: *862 - issue: &895 + enterprise: *859 + installation: *860 + issue: &893 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -175953,12 +175409,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175975,7 +175431,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -176077,8 +175533,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -176157,8 +175613,8 @@ webhooks: type: string enum: - reopened - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176990,12 +176446,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177092,9 +176548,9 @@ webhooks: format: uri user_view_type: type: string - type: *389 - organization: *863 - repository: *864 + type: *386 + organization: *861 + repository: *862 sender: *4 required: - action @@ -177981,12 +177437,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178003,7 +177459,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -178596,11 +178052,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *861 - installation: *862 - issue: *895 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *893 + organization: *861 + repository: *862 sender: *4 required: - action @@ -178680,12 +178136,12 @@ webhooks: type: string enum: - typed - enterprise: *861 - installation: *862 - issue: *893 - type: *389 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + type: *386 + organization: *861 + repository: *862 sender: *4 required: - action @@ -178766,7 +178222,7 @@ webhooks: type: string enum: - unassigned - assignee: &919 + assignee: &917 title: User type: - object @@ -178838,11 +178294,11 @@ webhooks: required: - login - id - enterprise: *861 - installation: *862 - issue: *893 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + organization: *861 + repository: *862 sender: *4 required: - action @@ -178921,12 +178377,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *861 - installation: *862 - issue: *893 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -179006,8 +178462,8 @@ webhooks: type: string enum: - unlocked - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179839,12 +179295,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179861,7 +179317,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -179941,8 +179397,8 @@ webhooks: format: uri user_view_type: type: string - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -180022,11 +179478,11 @@ webhooks: type: string enum: - unpinned - enterprise: *861 - installation: *862 - issue: *895 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *893 + organization: *861 + repository: *862 sender: *4 required: - action @@ -180105,12 +179561,12 @@ webhooks: type: string enum: - untyped - enterprise: *861 - installation: *862 - issue: *893 - type: *389 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + type: *386 + organization: *861 + repository: *862 sender: *4 required: - action @@ -180190,11 +179646,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -180272,11 +179728,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -180386,11 +179842,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -180472,9 +179928,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: &896 + enterprise: *859 + installation: *860 + marketplace_purchase: &894 title: Marketplace Purchase type: object required: @@ -180562,8 +180018,8 @@ webhooks: type: integer unit_count: type: integer - organization: *863 - previous_marketplace_purchase: &897 + organization: *861 + previous_marketplace_purchase: &895 title: Marketplace Purchase type: object properties: @@ -180647,7 +180103,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *864 + repository: *862 sender: *4 required: - action @@ -180727,10 +180183,10 @@ webhooks: - changed effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: *896 - organization: *863 + enterprise: *859 + installation: *860 + marketplace_purchase: *894 + organization: *861 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -180818,7 +180274,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *864 + repository: *862 sender: *4 required: - action @@ -180900,10 +180356,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: *896 - organization: *863 + enterprise: *859 + installation: *860 + marketplace_purchase: *894 + organization: *861 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -180989,7 +180445,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *864 + repository: *862 sender: *4 required: - action @@ -181070,8 +180526,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 marketplace_purchase: title: Marketplace Purchase type: object @@ -181157,9 +180613,9 @@ webhooks: type: integer unit_count: type: integer - organization: *863 - previous_marketplace_purchase: *897 - repository: *864 + organization: *861 + previous_marketplace_purchase: *895 + repository: *862 sender: *4 required: - action @@ -181239,12 +180695,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: *896 - organization: *863 - previous_marketplace_purchase: *897 - repository: *864 + enterprise: *859 + installation: *860 + marketplace_purchase: *894 + organization: *861 + previous_marketplace_purchase: *895 + repository: *862 sender: *4 required: - action @@ -181346,11 +180802,11 @@ webhooks: type: string required: - to - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181452,11 +180908,11 @@ webhooks: type: - string - 'null' - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181535,11 +180991,11 @@ webhooks: type: string enum: - removed - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181617,11 +181073,11 @@ webhooks: type: string enum: - added - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 scope: description: The scope of the membership. Currently, can only be `team`. @@ -181699,7 +181155,7 @@ webhooks: required: - login - id - team: &898 + team: &896 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -181929,11 +181385,11 @@ webhooks: type: string enum: - removed - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 scope: description: The scope of the membership. Currently, can only be `team`. @@ -182012,7 +181468,7 @@ webhooks: required: - login - id - team: *898 + team: *896 required: - action - scope @@ -182094,8 +181550,8 @@ webhooks: type: string enum: - checks_requested - installation: *862 - merge_group: &899 + installation: *860 + merge_group: &897 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -182114,15 +181570,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *541 + head_commit: *538 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182208,10 +181664,10 @@ webhooks: - merged - invalidated - dequeued - installation: *862 - merge_group: *899 - organization: *863 - repository: *864 + installation: *860 + merge_group: *897 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182284,7 +181740,7 @@ webhooks: type: string enum: - deleted - enterprise: *861 + enterprise: *859 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -182393,12 +181849,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *862 - organization: *863 + installation: *860 + organization: *861 repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -182478,11 +181934,11 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 - milestone: *894 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182561,9 +182017,9 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - milestone: &900 + enterprise: *859 + installation: *860 + milestone: &898 title: Milestone description: A collection of related issues and pull requests. type: object @@ -182705,8 +182161,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182785,11 +182241,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - milestone: *894 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182899,11 +182355,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - milestone: *894 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182983,11 +182439,11 @@ webhooks: type: string enum: - opened - enterprise: *861 - installation: *862 - milestone: *900 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *898 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183066,11 +182522,11 @@ webhooks: type: string enum: - blocked - blocked_user: *888 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + blocked_user: *886 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183149,11 +182605,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *888 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + blocked_user: *886 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183229,7 +182685,7 @@ webhooks: enum: - created definition: *148 - enterprise: *861 + enterprise: *859 sender: *4 required: - action @@ -183309,8 +182765,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 sender: *4 required: - action @@ -183383,8 +182839,8 @@ webhooks: enum: - updated definition: *148 - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 sender: *4 required: - action @@ -183456,9 +182912,9 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 new_property_values: type: array @@ -183546,9 +183002,9 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - membership: &901 + enterprise: *859 + installation: *860 + membership: &899 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -183658,8 +183114,8 @@ webhooks: - role - organization_url - user - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183737,11 +183193,11 @@ webhooks: type: string enum: - member_added - enterprise: *861 - installation: *862 - membership: *901 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + membership: *899 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183820,8 +183276,8 @@ webhooks: type: string enum: - member_invited - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -183943,10 +183399,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 - user: *888 + user: *886 required: - action - invitation @@ -184024,11 +183480,11 @@ webhooks: type: string enum: - member_removed - enterprise: *861 - installation: *862 - membership: *901 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + membership: *899 + organization: *861 + repository: *862 sender: *4 required: - action @@ -184115,11 +183571,11 @@ webhooks: properties: from: type: string - enterprise: *861 - installation: *862 - membership: *901 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + membership: *899 + organization: *861 + repository: *862 sender: *4 required: - action @@ -184197,9 +183653,9 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 package: description: Information about the package. type: object @@ -184722,7 +184178,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &902 + items: &900 title: Ruby Gems metadata type: object properties: @@ -184819,7 +184275,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -184896,9 +184352,9 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 package: description: Information about the package. type: object @@ -185260,7 +184716,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *902 + items: *900 source_url: type: string format: uri @@ -185331,7 +184787,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -185511,12 +184967,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *861 + enterprise: *859 id: type: integer - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - id @@ -185593,7 +185049,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &903 + personal_access_token_request: &901 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -185743,10 +185199,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *861 - organization: *863 + enterprise: *859 + organization: *861 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -185823,11 +185279,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *903 - enterprise: *861 - organization: *863 + personal_access_token_request: *901 + enterprise: *859 + organization: *861 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -185903,11 +185359,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *903 - enterprise: *861 - organization: *863 + personal_access_token_request: *901 + enterprise: *859 + organization: *861 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -185982,11 +185438,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *903 - organization: *863 - enterprise: *861 + personal_access_token_request: *901 + organization: *861 + enterprise: *859 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -186091,7 +185547,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *904 + last_response: *902 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -186123,8 +185579,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 zen: description: Random string of GitHub zen. @@ -186369,10 +185825,10 @@ webhooks: - from required: - note - enterprise: *861 - installation: *862 - organization: *863 - project_card: &905 + enterprise: *859 + installation: *860 + organization: *861 + project_card: &903 title: Project Card type: object properties: @@ -186495,7 +185951,7 @@ webhooks: - creator - created_at - updated_at - repository: *864 + repository: *862 sender: *4 required: - action @@ -186576,11 +186032,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - project_card: *905 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_card: *903 + repository: *862 sender: *4 required: - action @@ -186660,9 +186116,9 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 project_card: title: Project Card type: object @@ -186792,7 +186248,7 @@ webhooks: repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -186886,11 +186342,11 @@ webhooks: - from required: - note - enterprise: *861 - installation: *862 - organization: *863 - project_card: *905 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_card: *903 + repository: *862 sender: *4 required: - action @@ -186984,9 +186440,9 @@ webhooks: - from required: - column_id - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 project_card: allOf: - title: Project Card @@ -187183,7 +186639,7 @@ webhooks: type: string required: - after_id - repository: *864 + repository: *862 sender: *4 required: - action @@ -187263,10 +186719,10 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 - organization: *863 - project: &907 + enterprise: *859 + installation: *860 + organization: *861 + project: &905 title: Project type: object properties: @@ -187393,7 +186849,7 @@ webhooks: - creator - created_at - updated_at - repository: *864 + repository: *862 sender: *4 required: - action @@ -187473,10 +186929,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - project_column: &906 + enterprise: *859 + installation: *860 + organization: *861 + project_column: &904 title: Project Column type: object properties: @@ -187516,7 +186972,7 @@ webhooks: - name - created_at - updated_at - repository: *864 + repository: *862 sender: *4 required: - action @@ -187595,14 +187051,14 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - project_column: *906 + enterprise: *859 + installation: *860 + organization: *861 + project_column: *904 repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -187691,11 +187147,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - project_column: *906 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_column: *904 + repository: *862 sender: *4 required: - action @@ -187775,11 +187231,11 @@ webhooks: type: string enum: - moved - enterprise: *861 - installation: *862 - organization: *863 - project_column: *906 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_column: *904 + repository: *862 sender: *4 required: - action @@ -187859,11 +187315,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - project: *907 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 + repository: *862 sender: *4 required: - action @@ -187943,14 +187399,14 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - project: *907 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -188051,11 +187507,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - project: *907 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 + repository: *862 sender: *4 required: - action @@ -188134,11 +187590,11 @@ webhooks: type: string enum: - reopened - enterprise: *861 - installation: *862 - organization: *863 - project: *907 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 + repository: *862 sender: *4 required: - action @@ -188219,9 +187675,9 @@ webhooks: type: string enum: - closed - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -188302,9 +187758,9 @@ webhooks: type: string enum: - created - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -188385,9 +187841,9 @@ webhooks: type: string enum: - deleted - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -188508,9 +187964,9 @@ webhooks: type: string to: type: string - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -188593,7 +188049,7 @@ webhooks: type: string enum: - archived - changes: &911 + changes: &909 type: object properties: archived_at: @@ -188609,9 +188065,9 @@ webhooks: - string - 'null' format: date-time - installation: *862 - organization: *863 - projects_v2_item: &908 + installation: *860 + organization: *861 + projects_v2_item: &906 title: Projects v2 Item description: An item belonging to a project type: object @@ -188629,7 +188085,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *426 + content_type: *423 creator: *4 created_at: type: string @@ -188751,9 +188207,9 @@ webhooks: - 'null' to: type: string - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -188835,9 +188291,9 @@ webhooks: type: string enum: - created - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -188918,9 +188374,9 @@ webhooks: type: string enum: - deleted - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -189025,7 +188481,7 @@ webhooks: oneOf: - type: string - type: integer - - &909 + - &907 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -189049,7 +188505,7 @@ webhooks: required: - id - name - - &910 + - &908 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -189089,8 +188545,8 @@ webhooks: oneOf: - type: string - type: integer - - *909 - - *910 + - *907 + - *908 type: - 'null' - string @@ -189113,9 +188569,9 @@ webhooks: - 'null' required: - body - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -189212,9 +188668,9 @@ webhooks: type: - string - 'null' - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -189297,10 +188753,10 @@ webhooks: type: string enum: - restored - changes: *911 - installation: *862 - organization: *863 - projects_v2_item: *908 + changes: *909 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -189382,9 +188838,9 @@ webhooks: type: string enum: - reopened - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -189465,9 +188921,9 @@ webhooks: type: string enum: - created - installation: *862 - organization: *863 - projects_v2_status_update: *912 + installation: *860 + organization: *861 + projects_v2_status_update: *910 sender: *4 required: - action @@ -189548,9 +189004,9 @@ webhooks: type: string enum: - deleted - installation: *862 - organization: *863 - projects_v2_status_update: *912 + installation: *860 + organization: *861 + projects_v2_status_update: *910 sender: *4 required: - action @@ -189696,9 +189152,9 @@ webhooks: - string - 'null' format: date - installation: *862 - organization: *863 - projects_v2_status_update: *912 + installation: *860 + organization: *861 + projects_v2_status_update: *910 sender: *4 required: - action @@ -189769,10 +189225,10 @@ webhooks: title: public event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - repository @@ -189849,13 +189305,13 @@ webhooks: type: string enum: - assigned - assignee: *888 - enterprise: *861 - installation: *862 - number: &913 + assignee: *886 + enterprise: *859 + installation: *860 + number: &911 description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -192226,7 +191682,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -192308,11 +191764,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -194676,7 +194132,7 @@ webhooks: - draft reason: type: string - repository: *864 + repository: *862 sender: *4 required: - action @@ -194758,11 +194214,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -197126,7 +196582,7 @@ webhooks: - draft reason: type: string - repository: *864 + repository: *862 sender: *4 required: - action @@ -197208,13 +196664,13 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: &914 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: &912 allOf: - - *709 + - *707 - type: object properties: allow_auto_merge: @@ -197276,7 +196732,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *864 + repository: *862 sender: *4 required: - action @@ -197357,12 +196813,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -197442,11 +196898,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *861 - milestone: *423 - number: *913 - organization: *863 - pull_request: &915 + enterprise: *859 + milestone: *420 + number: *911 + organization: *861 + pull_request: &913 title: Pull Request type: object properties: @@ -199795,7 +199251,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -199874,11 +199330,11 @@ webhooks: type: string enum: - dequeued - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -202246,7 +201702,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *864 + repository: *862 sender: *4 required: - action @@ -202370,12 +201826,12 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -202455,11 +201911,11 @@ webhooks: type: string enum: - enqueued - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -204812,7 +204268,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -204892,11 +204348,11 @@ webhooks: type: string enum: - labeled - enterprise: *861 - installation: *862 - label: *882 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + label: *880 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -207266,7 +206722,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -207347,10 +206803,10 @@ webhooks: type: string enum: - locked - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -209718,7 +209174,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -209798,12 +209254,12 @@ webhooks: type: string enum: - milestoned - enterprise: *861 - milestone: *423 - number: *913 - organization: *863 - pull_request: *915 - repository: *864 + enterprise: *859 + milestone: *420 + number: *911 + organization: *861 + pull_request: *913 + repository: *862 sender: *4 required: - action @@ -209882,12 +209338,12 @@ webhooks: type: string enum: - opened - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -209968,12 +209424,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -210053,12 +209509,12 @@ webhooks: type: string enum: - reopened - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -210433,9 +209889,9 @@ webhooks: - start_side - side - reactions - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: type: object properties: @@ -212687,7 +212143,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *864 + repository: *862 sender: *4 required: - action @@ -212767,7 +212223,7 @@ webhooks: type: string enum: - deleted - comment: &917 + comment: &915 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. @@ -213060,9 +212516,9 @@ webhooks: - start_side - side - reactions - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: type: object properties: @@ -215302,7 +214758,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *864 + repository: *862 sender: *4 required: - action @@ -215382,11 +214838,11 @@ webhooks: type: string enum: - edited - changes: *916 - comment: *917 - enterprise: *861 - installation: *862 - organization: *863 + changes: *914 + comment: *915 + enterprise: *859 + installation: *860 + organization: *861 pull_request: type: object properties: @@ -217629,7 +217085,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *864 + repository: *862 sender: *4 required: - action @@ -217710,9 +217166,9 @@ webhooks: type: string enum: - dismissed - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -219967,7 +219423,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 + repository: *862 review: description: The review that was affected. type: object @@ -220218,9 +219674,9 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -222334,8 +221790,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 - review: &918 + repository: *862 + review: &916 description: The review that was affected. type: object properties: @@ -222573,12 +222029,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -224947,7 +224403,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_reviewer: title: User type: @@ -225033,12 +224489,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -227414,7 +226870,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_team: title: Team description: Groups of organization members that gives permissions @@ -227609,12 +227065,12 @@ webhooks: type: string enum: - review_requested - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -229985,7 +229441,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_reviewer: title: User type: @@ -230072,12 +229528,12 @@ webhooks: type: string enum: - review_requested - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -232439,7 +231895,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_team: title: Team description: Groups of organization members that gives permissions @@ -232623,9 +232079,9 @@ webhooks: type: string enum: - submitted - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -234883,8 +234339,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 - review: *918 + repository: *862 + review: *916 sender: *4 required: - action @@ -234964,9 +234420,9 @@ webhooks: type: string enum: - resolved - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -237119,7 +236575,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 + repository: *862 sender: *4 thread: type: object @@ -237516,9 +236972,9 @@ webhooks: type: string enum: - unresolved - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -239654,7 +239110,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 + repository: *862 sender: *4 thread: type: object @@ -240053,10 +239509,10 @@ webhooks: type: string before: type: string - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -242413,7 +241869,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -242495,11 +241951,11 @@ webhooks: type: string enum: - unassigned - assignee: *919 - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + assignee: *917 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -244871,7 +244327,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -244950,11 +244406,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *861 - installation: *862 - label: *882 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + label: *880 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -247315,7 +246771,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -247396,10 +246852,10 @@ webhooks: type: string enum: - unlocked - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -249750,7 +249206,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -249953,7 +249409,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *861 + enterprise: *859 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -250048,8 +249504,8 @@ webhooks: - url - author - committer - installation: *862 - organization: *863 + installation: *860 + organization: *861 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -250648,9 +250104,9 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 registry_package: type: object properties: @@ -251127,7 +250583,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *902 + items: *900 summary: type: string tag_name: @@ -251183,7 +250639,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -251261,9 +250717,9 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 registry_package: type: object properties: @@ -251575,7 +251031,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *902 + items: *900 summary: type: string tag_name: @@ -251625,7 +251081,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -251702,10 +251158,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - release: &920 + enterprise: *859 + installation: *860 + organization: *861 + release: &918 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -252036,7 +251492,7 @@ webhooks: - updated_at - zipball_url - body - repository: *864 + repository: *862 sender: *4 required: - action @@ -252113,11 +251569,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - release: *920 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *918 + repository: *862 sender: *4 required: - action @@ -252234,11 +251690,11 @@ webhooks: type: boolean required: - to - enterprise: *861 - installation: *862 - organization: *863 - release: *920 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *918 + repository: *862 sender: *4 required: - action @@ -252316,9 +251772,9 @@ webhooks: type: string enum: - prereleased - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -252654,7 +252110,7 @@ webhooks: - string - 'null' format: uri - repository: *864 + repository: *862 sender: *4 required: - action @@ -252730,10 +252186,10 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 - release: &921 + enterprise: *859 + installation: *860 + organization: *861 + release: &919 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -253066,7 +252522,7 @@ webhooks: - string - 'null' format: uri - repository: *864 + repository: *862 sender: *4 required: - action @@ -253142,11 +252598,11 @@ webhooks: type: string enum: - released - enterprise: *861 - installation: *862 - organization: *863 - release: *920 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *918 + repository: *862 sender: *4 required: - action @@ -253222,11 +252678,11 @@ webhooks: type: string enum: - unpublished - enterprise: *861 - installation: *862 - organization: *863 - release: *921 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *919 + repository: *862 sender: *4 required: - action @@ -253302,11 +252758,11 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - repository_advisory: *762 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + repository_advisory: *760 sender: *4 required: - action @@ -253382,11 +252838,11 @@ webhooks: type: string enum: - reported - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - repository_advisory: *762 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + repository_advisory: *760 sender: *4 required: - action @@ -253462,10 +252918,10 @@ webhooks: type: string enum: - archived - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253542,10 +252998,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253623,10 +253079,10 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253711,10 +253167,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253829,10 +253285,10 @@ webhooks: - 'null' items: type: string - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253904,10 +253360,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 status: type: string @@ -253988,10 +253444,10 @@ webhooks: type: string enum: - privatized - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254068,10 +253524,10 @@ webhooks: type: string enum: - publicized - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254165,10 +253621,10 @@ webhooks: - name required: - repository - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254248,10 +253704,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 repository_ruleset: *187 sender: *4 required: @@ -254330,10 +253786,10 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 repository_ruleset: *187 sender: *4 required: @@ -254412,10 +253868,10 @@ webhooks: type: string enum: - edited - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 repository_ruleset: *187 changes: type: object @@ -254477,16 +253933,16 @@ webhooks: properties: added: type: array - items: *729 + items: *727 deleted: type: array - items: *729 + items: *727 updated: type: array items: type: object properties: - rule: *729 + rule: *727 changes: type: object properties: @@ -254723,10 +254179,10 @@ webhooks: - from required: - owner - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254804,10 +254260,10 @@ webhooks: type: string enum: - unarchived - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254885,7 +254341,7 @@ webhooks: type: string enum: - create - alert: &922 + alert: &920 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -255010,10 +254466,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255223,10 +254679,10 @@ webhooks: type: string enum: - dismissed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255304,11 +254760,11 @@ webhooks: type: string enum: - reopen - alert: *922 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *920 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255510,10 +254966,10 @@ webhooks: enum: - fixed - open - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255591,7 +255047,7 @@ webhooks: type: string enum: - assigned - alert: &923 + alert: &921 type: object properties: number: *127 @@ -255731,10 +255187,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255812,11 +255268,11 @@ webhooks: type: string enum: - created - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255897,11 +255353,11 @@ webhooks: type: string enum: - created - alert: *923 - installation: *862 - location: *924 - organization: *863 - repository: *864 + alert: *921 + installation: *860 + location: *922 + organization: *861 + repository: *862 sender: *4 required: - location @@ -256139,11 +255595,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256221,11 +255677,11 @@ webhooks: type: string enum: - reopened - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256303,11 +255759,11 @@ webhooks: type: string enum: - resolved - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256385,12 +255841,12 @@ webhooks: type: string enum: - unassigned - alert: *923 + alert: *921 assignee: *4 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256468,11 +255924,11 @@ webhooks: type: string enum: - validated - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256602,10 +256058,10 @@ webhooks: - organization - enterprise - - repository: *864 - enterprise: *861 - installation: *862 - organization: *863 + repository: *862 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -256683,11 +256139,11 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - security_advisory: &925 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + security_advisory: &923 description: The details of the security advisory, including summary, description, and severity. type: object @@ -256873,11 +256329,11 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - security_advisory: *925 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + security_advisory: *923 sender: *4 required: - action @@ -256950,10 +256406,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -257139,11 +256595,11 @@ webhooks: from: type: object properties: - security_and_analysis: *434 - enterprise: *861 - installation: *862 - organization: *863 - repository: *480 + security_and_analysis: *431 + enterprise: *859 + installation: *860 + organization: *861 + repository: *477 sender: *4 required: - changes @@ -257221,12 +256677,12 @@ webhooks: type: string enum: - cancelled - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: &926 + sponsorship: &924 type: object properties: created_at: @@ -257531,12 +256987,12 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - sponsorship @@ -257624,12 +257080,12 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -257706,17 +257162,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &927 + effective_date: &925 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: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - sponsorship @@ -257790,7 +257246,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &928 + changes: &926 type: object properties: tier: @@ -257834,13 +257290,13 @@ webhooks: - from required: - tier - effective_date: *927 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + effective_date: *925 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -257917,13 +257373,13 @@ webhooks: type: string enum: - tier_changed - changes: *928 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + changes: *926 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -257997,10 +257453,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -258084,10 +257540,10 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -258521,15 +257977,15 @@ webhooks: type: - string - 'null' - enterprise: *861 + enterprise: *859 id: description: The unique identifier of the status. type: integer - installation: *862 + installation: *860 name: type: string - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 sha: description: The Commit SHA. @@ -258639,15 +258095,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *218 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *862 - organization: *863 - repository: *864 + sub_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -258730,15 +258186,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *218 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *862 - organization: *863 - repository: *864 + sub_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -258821,15 +258277,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *218 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *862 - organization: *863 - repository: *864 + parent_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -258912,15 +258368,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *218 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *862 - organization: *863 - repository: *864 + parent_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -258996,12 +258452,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - team: &929 + team: &927 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -259231,9 +258687,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -259703,7 +259159,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -259779,9 +259235,9 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -260251,7 +259707,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -260328,9 +259784,9 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -260800,7 +260256,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -260944,9 +260400,9 @@ webhooks: - from required: - permissions - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -261416,7 +260872,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - changes @@ -261494,9 +260950,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -261966,7 +261422,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -262042,10 +261498,10 @@ webhooks: type: string enum: - started - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -262118,17 +261574,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *861 + enterprise: *859 inputs: type: - object - 'null' additionalProperties: true - installation: *862 - organization: *863 + installation: *860 + organization: *861 ref: type: string - repository: *864 + repository: *862 sender: *4 workflow: type: string @@ -262210,10 +261666,10 @@ webhooks: type: string enum: - completed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: allOf: @@ -262469,7 +261925,7 @@ webhooks: type: string required: - conclusion - deployment: *616 + deployment: *613 required: - action - repository @@ -262548,10 +262004,10 @@ webhooks: type: string enum: - in_progress - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: allOf: @@ -262833,7 +262289,7 @@ webhooks: required: - status - steps - deployment: *616 + deployment: *613 required: - action - repository @@ -262912,10 +262368,10 @@ webhooks: type: string enum: - queued - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: type: object @@ -263061,7 +262517,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *616 + deployment: *613 required: - action - repository @@ -263140,10 +262596,10 @@ webhooks: type: string enum: - waiting - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: type: object @@ -263290,7 +262746,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *616 + deployment: *613 required: - action - repository @@ -263370,12 +262826,12 @@ webhooks: type: string enum: - completed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object @@ -264394,12 +263850,12 @@ webhooks: type: string enum: - in_progress - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object @@ -265403,12 +264859,12 @@ webhooks: type: string enum: - requested - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json index 9d0345c667..e0a3f2b888 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -51587,662 +51587,6 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an enterprise", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly enterprise owners and billing managers can view Copilot 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/copilot-metrics-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise 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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { "get": { "summary": "Get Copilot enterprise usage metrics for a specific day", @@ -84035,671 +83379,6 @@ } } }, - "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 100 days prior. 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** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot 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/copilot-metrics-for-enterprise-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the enterprise 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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -162653,7 +161332,7 @@ "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", - "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "description": "List artifact storage records with a given subject digest for repositories owned by an organization.\n\nResults are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.", "tags": [ "orgs" ], @@ -192018,662 +190697,6 @@ } } }, - "/orgs/{org}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an organization", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" - }, - "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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { "summary": "Get Copilot organization usage metrics for a specific day", @@ -313946,671 +311969,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for a team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\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** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -323085,7 +320443,7 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/enterprise-cloud@latest/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/enterprise-cloud@latest/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/enterprise-cloud@latest/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/enterprise-cloud@latest/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], @@ -323252,7 +320610,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -323276,7 +320634,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -323300,7 +320658,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -323324,7 +320682,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -323348,7 +320706,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -323372,7 +320730,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -323441,12 +320799,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -455757,7 +453109,7 @@ }, "assignees": { "type": "array", - "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.\nTo assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`).", "items": { "type": "string" } @@ -503286,6 +500638,721 @@ } } }, + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { + "get": { + "summary": "Get pull request creation cap bypass list for a repository", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + } + }, + "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": "interactions", + "subcategory": "repos" + } + }, + "put": { + "summary": "Add users to the pull request creation cap bypass list for a repository", + "description": "Adds users to the pull request creation cap bypass list for a repository.\nUsers on this list can create pull requests regardless of any configured\npull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.", + "tags": [ + "interactions" + ], + "operationId": "interactions/set-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat", + "monalisa" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Remove users from the pull request creation cap bypass list for a repository", + "description": "Removes users from the pull request creation cap bypass list for a repository.\nRemoved users will be subject to any configured pull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can remove a maximum of 100 users per request.", + "tags": [ + "interactions" + ], + "operationId": "interactions/remove-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/invitations": { "get": { "summary": "List repository invitations", diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 0fb9a8a97b..3c0a98c0e1 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -891,7 +891,7 @@ paths: - subscriptions_url - type - url - type: &459 + type: &456 type: string description: The type of credit the user is receiving. enum: @@ -1023,7 +1023,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &256 + schema: &253 title: Validation Error Simple description: Validation Error Simple type: object @@ -1056,7 +1056,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: - - &764 + - &762 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4169,7 +4169,7 @@ paths: schema: type: integer default: 30 - - &362 + - &359 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 @@ -4178,7 +4178,7 @@ paths: required: false schema: type: string - - &363 + - &360 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4198,7 +4198,7 @@ paths: application/json: schema: type: array - items: &364 + items: &361 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4294,7 +4294,7 @@ paths: - installation_id - repository_id examples: - default: &365 + default: &362 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4326,7 +4326,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &773 + schema: &771 title: Scim Error description: Scim Error type: object @@ -4357,7 +4357,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &255 + schema: &252 title: Validation Error description: Validation Error type: object @@ -4429,7 +4429,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &363 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4564,7 +4564,7 @@ paths: - request - response examples: - default: &367 + default: &364 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4768,7 +4768,7 @@ paths: parameters: - *17 - *19 - - &226 + - &223 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) @@ -5615,7 +5615,7 @@ paths: license: anyOf: - type: 'null' - - &223 + - &220 title: License Simple description: License Simple type: object @@ -10523,7 +10523,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &254 type: object properties: total_active_caches_count: @@ -10538,7 +10538,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &258 + default: &255 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10753,7 +10753,7 @@ paths: - public_ip_enabled - platform examples: - default: &259 + default: &256 value: total_count: 2 runners: @@ -11057,7 +11057,7 @@ paths: application/json: schema: *47 examples: - default: &260 + default: &257 value: id: 1 platform: linux-x64 @@ -11202,7 +11202,7 @@ paths: application/json: schema: *50 examples: - default: &261 + default: &258 value: version: 1.0.0 size_gb: 75 @@ -11370,7 +11370,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &259 type: object properties: public_ips: @@ -11397,7 +11397,7 @@ paths: required: - public_ips examples: - default: &263 + default: &260 value: public_ips: current_usage: 17 @@ -11437,7 +11437,7 @@ paths: type: array items: *54 examples: - default: &264 + default: &261 value: id: 4-core cpu_cores: 4 @@ -11755,7 +11755,7 @@ paths: required: true content: application/json: - schema: &265 + schema: &262 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11866,7 +11866,7 @@ paths: - all - local_only - selected - selected_actions_url: &267 + selected_actions_url: &264 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` @@ -11946,7 +11946,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &269 + schema: &266 type: object properties: days: @@ -11964,7 +11964,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &774 + '401': &772 description: Authorization failure '404': *6 x-github: @@ -11992,7 +11992,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &267 type: object properties: days: @@ -12041,7 +12041,7 @@ paths: required: - approval_policy examples: - default: &271 + default: &268 value: approval_policy: first_time_contributors '404': *6 @@ -12099,7 +12099,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &269 type: object required: - run_workflows_from_fork_pull_requests @@ -12153,7 +12153,7 @@ paths: required: true content: application/json: - schema: &273 + schema: &270 type: object required: - run_workflows_from_fork_pull_requests @@ -12589,7 +12589,7 @@ paths: description: Success response content: application/json: - schema: &276 + schema: &273 type: object properties: default_workflow_permissions: &67 @@ -12637,7 +12637,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &274 type: object properties: default_workflow_permissions: *67 @@ -13493,7 +13493,7 @@ paths: application/json: schema: type: array - items: &281 + items: &278 title: Runner Application description: Runner Application type: object @@ -13518,7 +13518,7 @@ paths: - download_url - filename examples: - default: &282 + default: &279 value: - os: osx architecture: x64 @@ -13602,7 +13602,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &283 + '201': &280 description: Response content: application/json: @@ -13721,7 +13721,7 @@ paths: - token - expires_at examples: - default: &284 + default: &281 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13761,7 +13761,7 @@ paths: application/json: schema: *79 examples: - default: &285 + default: &282 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13793,7 +13793,7 @@ paths: application/json: schema: *76 examples: - default: &286 + default: &283 value: id: 23 name: MBP @@ -14010,7 +14010,7 @@ paths: - *39 - *75 responses: - '200': &287 + '200': &284 description: Response content: application/json: @@ -14066,7 +14066,7 @@ paths: parameters: - *39 - *75 - - &288 + - &285 name: name description: The name of a self-hosted runner's custom label. in: path @@ -14163,7 +14163,7 @@ paths: required: true content: application/json: - schema: &302 + schema: &299 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14814,7 +14814,7 @@ paths: required: false schema: type: string - - &305 + - &302 name: include description: |- The event types to include: @@ -14832,7 +14832,7 @@ paths: - web - git - all - - &306 + - &303 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. @@ -14840,7 +14840,7 @@ paths: required: false schema: type: string - - &307 + - &304 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. @@ -14848,7 +14848,7 @@ paths: required: false schema: type: string - - &308 + - &305 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14870,7 +14870,7 @@ paths: application/json: schema: type: array - items: &309 + items: &306 type: object properties: "@timestamp": @@ -14992,7 +14992,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &310 + default: &307 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15660,7 +15660,7 @@ paths: application/json: schema: type: array - items: &311 + items: &308 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15832,7 +15832,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &312 + default: &309 value: - id: 21 number: 42 @@ -15937,7 +15937,7 @@ paths: application/json: schema: type: array - items: &314 + items: &311 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -16068,7 +16068,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &315 + default: &312 value: - id: 21 number: 42 @@ -16153,7 +16153,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &320 + - &317 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`, @@ -16163,7 +16163,7 @@ paths: schema: &111 type: string description: The name of the tool used to generate the code scanning analysis. - - &321 + - &318 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 @@ -16187,7 +16187,7 @@ paths: be returned. in: query required: false - schema: &322 + schema: &319 type: string description: State of a code scanning alert. enum: @@ -16220,7 +16220,7 @@ paths: application/json: schema: type: array - items: &323 + items: &320 type: object properties: number: &127 @@ -16249,7 +16249,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &547 + instances_url: &544 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -16285,7 +16285,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &548 + dismissed_reason: &545 type: - string - 'null' @@ -16296,14 +16296,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &549 + dismissed_comment: &546 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &550 + rule: &547 type: object properties: id: @@ -16364,7 +16364,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &551 + tool: &548 type: object properties: name: *111 @@ -16375,26 +16375,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &552 + most_recent_instance: &549 type: object properties: - ref: &545 + ref: &542 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &562 + analysis_key: &559 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &563 + environment: &560 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &564 + category: &561 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16414,7 +16414,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &565 + location: &562 type: object description: Describe a region within a file for the alert. properties: @@ -16435,7 +16435,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &566 + items: &563 type: - string - 'null' @@ -16791,7 +16791,7 @@ paths: - most_recent_instance - repository examples: - default: &324 + default: &321 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17687,7 +17687,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &323 type: array description: A list of default code security configurations items: @@ -17703,7 +17703,7 @@ paths: default configuration: *114 examples: - default: &327 + default: &324 value: - default_for_new_repos: public configuration: @@ -18161,7 +18161,7 @@ paths: default: value: default_for_new_repos: all - configuration: &325 + configuration: &322 value: id: 1325 target_type: organization @@ -18251,7 +18251,7 @@ paths: application/json: schema: type: array - items: &328 + items: &325 type: object description: Repositories associated with a code security configuration and attachment status @@ -18275,7 +18275,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &329 + repository: &326 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18776,7 +18776,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &316 + - &313 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18853,7 +18853,7 @@ paths: parent: anyOf: - type: 'null' - - &402 + - &399 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -19640,7 +19640,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &336 + '413': &333 description: Payload Too Large content: application/json: @@ -20013,487 +20013,6 @@ paths: content: application/json: schema: *3 - "/enterprises/{enterprise}/copilot/metrics": - get: - summary: Get Copilot metrics for an enterprise - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled or set to "no policy" for the enterprise within GitHub settings. - Only enterprise owners and billing managers can view Copilot 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/copilot-metrics-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise - parameters: - - *39 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &207 - title: Copilot Usage Metrics - description: Copilot usage metrics for a given day. - type: object - properties: - date: - type: string - format: date - description: The date for which the usage metrics are aggregated, - in `YYYY-MM-DD` format. - total_active_users: - type: integer - description: The total number of Copilot users with activity - belonging to any Copilot feature, globally, for the given - day. Includes passive activity such as receiving a code suggestion, - as well as engagement activity such as accepting a code suggestion - or prompting chat. Does not include authentication events. - Is not limited to the individual features detailed on the - endpoint. - total_engaged_users: - type: integer - description: The total number of Copilot users who engaged with - any Copilot feature, for the given day. Examples include but - are not limited to accepting a code suggestion, prompting - Copilot chat, or triggering a PR Summary. Does not include - authentication events. Is not limited to the individual features - detailed on the endpoint. - copilot_ide_code_completions: - type: - - object - - 'null' - description: Usage metrics for Copilot editor code completions - in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot - code suggestion, across all active editors. Includes both - full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages. - items: - type: object - description: Usage metrics for a given language for the - given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot - code completion suggestions. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - language. Includes both full and partial acceptances. - editors: - type: array - items: - type: object - description: Copilot code completion metrics for active - editors. - additionalProperties: true - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - editor. Includes both full and partial acceptances. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - code completion suggestions. If the default - model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: Number of users who accepted at - least one Copilot code completion suggestion - for the given editor, for the given language - and model. Includes both full and partial - acceptances. - languages: - type: array - description: Code completion metrics for active - languages, for the given editor. - items: - type: object - description: Usage metrics for a given language - for the given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used - for Copilot code completion suggestions, - for the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted - at least one Copilot code completion - suggestion for the given editor, for - the given language. Includes both full - and partial acceptances. - total_code_suggestions: - type: integer - description: The number of Copilot code - suggestions generated for the given - editor, for the given language. - total_code_acceptances: - type: integer - description: The number of Copilot code - suggestions accepted for the given editor, - for the given language. Includes both - full and partial acceptances. - total_code_lines_suggested: - type: integer - description: The number of lines of code - suggested by Copilot code completions - for the given editor, for the given - language. - total_code_lines_accepted: - type: integer - description: The number of lines of code - accepted from Copilot code suggestions - for the given editor, for the given - language. - copilot_ide_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat in the IDE. - editors: - type: array - items: - type: object - description: Copilot Chat metrics, for active editors. - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot - Chat in the specified editor. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - Chat. If the default model is used will appear - as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: The number of users who prompted - Copilot Chat in the given editor and model. - total_chats: - type: integer - description: The total number of chats initiated - by users in the given editor and model. - total_chat_insertion_events: - type: integer - description: The number of times users accepted - a code suggestion from Copilot Chat using - the 'Insert Code' UI element, for the given - editor. - total_chat_copy_events: - type: integer - description: The number of times users copied - a code suggestion from Copilot Chat using - the keyboard, or the 'Copy' UI element, for - the given editor. - copilot_dotcom_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in GitHub.com - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once. - models: - type: array - description: List of model metrics for a custom models and - the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. - If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or - default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model - (if applicable). - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once for each model. - total_chats: - type: integer - description: Total number of chats initiated by users - on github.com. - copilot_dotcom_pull_requests: - type: - - object - - 'null' - description: Usage metrics for Copilot for pull requests. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: The number of users who used Copilot for Pull - Requests on github.com to generate a pull request summary - at least once. - repositories: - type: array - description: Repositories in which users used Copilot for - Pull Requests to generate pull request summaries - items: - type: object - properties: - name: - type: string - description: Repository name - total_engaged_users: - type: integer - description: The number of users who generated pull - request summaries using Copilot for Pull Requests - in the given repository. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - pull request summaries. If the default model - is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_pr_summaries_created: - type: integer - description: The number of pull request summaries - generated using Copilot for Pull Requests - in the given repository. - total_engaged_users: - type: integer - description: The number of users who generated - pull request summaries using Copilot for Pull - Requests in the given repository and model. - required: - - date - additionalProperties: true - examples: - default: &208 - value: - - date: '2024-06-24' - total_active_users: 24 - total_engaged_users: 20 - copilot_ide_code_completions: - total_engaged_users: 20 - languages: - - name: python - total_engaged_users: 10 - - name: ruby - total_engaged_users: 10 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 13 - languages: - - name: python - total_engaged_users: 6 - total_code_suggestions: 249 - total_code_acceptances: 123 - total_code_lines_suggested: 225 - total_code_lines_accepted: 135 - - name: ruby - total_engaged_users: 7 - total_code_suggestions: 496 - total_code_acceptances: 253 - total_code_lines_suggested: 520 - total_code_lines_accepted: 270 - - name: neovim - total_engaged_users: 7 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - languages: - - name: typescript - total_engaged_users: 3 - total_code_suggestions: 112 - total_code_acceptances: 56 - total_code_lines_suggested: 143 - total_code_lines_accepted: 61 - - name: go - total_engaged_users: 4 - total_code_suggestions: 132 - total_code_acceptances: 67 - total_code_lines_suggested: 154 - total_code_lines_accepted: 72 - copilot_ide_chat: - total_engaged_users: 13 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 12 - total_chats: 45 - total_chat_insertion_events: 12 - total_chat_copy_events: 16 - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_engaged_users: 1 - total_chats: 10 - total_chat_insertion_events: 11 - total_chat_copy_events: 3 - copilot_dotcom_chat: - total_engaged_users: 14 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 14 - total_chats: 38 - copilot_dotcom_pull_requests: - total_engaged_users: 12 - repositories: - - name: demo/repo1 - total_engaged_users: 8 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_pr_summaries_created: 6 - total_engaged_users: 8 - - name: demo/repo2 - total_engaged_users: 4 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_pr_summaries_created: 10 - total_engaged_users: 4 - '500': *38 - '403': *27 - '404': *6 - '422': &209 - description: Copilot Usage Metrics API setting is disabled at the organization - or enterprise level. - content: - application/json: - schema: *3 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": get: summary: Get Copilot enterprise usage metrics for a specific day @@ -21056,7 +20575,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &341 + - &338 name: classification in: query description: |- @@ -21065,7 +20584,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &342 + - &339 name: state in: query description: |- @@ -21074,7 +20593,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &343 + - &340 name: severity in: query description: |- @@ -21083,7 +20602,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &344 + - &341 name: ecosystem in: query description: |- @@ -21092,14 +20611,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &345 + - &342 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 - - &346 + - &343 name: epss_percentage in: query description: |- @@ -21111,7 +20630,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 - - &605 + - &602 name: has in: query description: |- @@ -21125,7 +20644,7 @@ paths: type: string enum: - patch - - &347 + - &344 name: assignee in: query description: |- @@ -21134,7 +20653,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &348 + - &345 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -21144,7 +20663,7 @@ paths: enum: - development - runtime - - &349 + - &346 name: sort in: query description: |- @@ -21170,7 +20689,7 @@ paths: application/json: schema: type: array - items: &350 + items: &347 type: object description: A Dependabot alert. properties: @@ -21238,7 +20757,7 @@ paths: - transitive - inconclusive - - security_advisory: &606 + security_advisory: &603 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -21458,7 +20977,7 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: &607 + auto_dismissed_at: &604 type: - string - 'null' @@ -21466,7 +20985,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &608 + dismissal_request: &605 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21529,7 +21048,7 @@ paths: - repository additionalProperties: false examples: - default: &351 + default: &348 value: - number: 2 state: dismissed @@ -21914,7 +21433,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &349 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21940,7 +21459,7 @@ paths: - *120 additionalProperties: false examples: - default: &353 + default: &350 value: default_level: public accessible_repositories: @@ -22163,7 +21682,7 @@ paths: - *103 - *104 - *105 - - &355 + - &352 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -22189,7 +21708,7 @@ paths: application/json: schema: type: array - items: &357 + items: &354 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -22316,7 +21835,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &358 + default: &355 value: - id: 21 number: 42 @@ -22847,7 +22366,7 @@ paths: type: array items: *142 examples: - default: &210 + default: &207 value: - id: 1 name: Justice League @@ -23011,7 +22530,7 @@ paths: application/json: schema: *20 examples: - default: &379 + default: &376 value: id: 1 account: @@ -23272,7 +22791,7 @@ paths: - name - created_on examples: - default: &463 + default: &460 value: total_count: 2 network_configurations: @@ -23523,7 +23042,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: - *39 - - &464 + - &461 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23535,7 +23054,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &462 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23574,7 +23093,7 @@ paths: - subnet_id - region examples: - default: &466 + default: &463 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -24427,7 +23946,7 @@ paths: required: true content: application/json: - schema: &433 + schema: &430 title: Custom Property Set Payload description: Custom property set payload type: object @@ -25631,7 +25150,7 @@ paths: conditions: anyOf: - *158 - - &437 + - &434 title: Organization ruleset conditions type: object description: |- @@ -25681,7 +25200,7 @@ paths: - object rules: type: array - items: &729 + items: &727 title: Repository Rule type: object description: A repository rule. @@ -25690,7 +25209,7 @@ paths: - *167 - *168 - *169 - - &727 + - &725 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -26018,7 +25537,7 @@ paths: type: string format: date-time examples: - default: &440 + default: &437 value: - version_id: 3 actor: @@ -26071,7 +25590,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &438 allOf: - *191 - type: object @@ -26126,7 +25645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &442 + - &439 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26137,7 +25656,7 @@ paths: enum: - open - resolved - - &443 + - &440 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26147,7 +25666,7 @@ paths: required: false schema: type: string - - &444 + - &441 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26158,7 +25677,7 @@ paths: required: false schema: type: string - - &445 + - &442 name: exclude_providers in: query description: |- @@ -26169,7 +25688,7 @@ paths: required: false schema: type: string - - &446 + - &443 name: providers in: query description: |- @@ -26180,7 +25699,7 @@ paths: required: false schema: type: string - - &447 + - &444 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26189,7 +25708,7 @@ paths: required: false schema: type: string - - &448 + - &445 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26208,7 +25727,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &449 + - &446 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. @@ -26224,7 +25743,7 @@ paths: - *17 - *108 - *109 - - &450 + - &447 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26233,7 +25752,7 @@ paths: required: false schema: type: string - - &451 + - &448 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26242,7 +25761,7 @@ paths: schema: type: boolean default: false - - &452 + - &449 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26251,7 +25770,7 @@ paths: schema: type: boolean default: false - - &453 + - &450 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26260,7 +25779,7 @@ paths: schema: type: boolean default: false - - &454 + - &451 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26278,7 +25797,7 @@ paths: application/json: schema: type: array - items: &455 + items: &452 type: object properties: number: *127 @@ -26294,14 +25813,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &742 + state: &740 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: &743 + resolution: &741 type: - string - 'null' @@ -26420,14 +25939,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &744 + - &742 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &746 + - &744 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26491,7 +26010,7 @@ paths: - blob_url - commit_sha - commit_url - - &747 + - &745 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -26552,7 +26071,7 @@ paths: - page_url - commit_sha - commit_url - - &748 + - &746 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26574,7 +26093,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &749 + - &747 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26596,7 +26115,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &750 + - &748 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26618,7 +26137,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &751 + - &749 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26633,7 +26152,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &752 + - &750 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26648,7 +26167,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &753 + - &751 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26663,7 +26182,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &754 + - &752 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -26685,7 +26204,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &755 + - &753 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -26707,7 +26226,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &756 + - &754 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -26729,7 +26248,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &757 + - &755 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -26751,7 +26270,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &758 + - &756 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -26797,7 +26316,7 @@ paths: - type: 'null' - *4 examples: - default: &456 + default: &453 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -27006,7 +26525,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &454 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -27093,7 +26612,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *193 examples: - default: &458 + default: &455 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27229,7 +26748,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &460 + - &457 name: advanced_security_product in: query description: | @@ -27249,7 +26768,7 @@ paths: description: Success content: application/json: - schema: &461 + schema: &458 type: object properties: total_advanced_security_committers: @@ -27312,7 +26831,7 @@ paths: required: - repositories examples: - default: &462 + default: &459 value: total_advanced_security_committers: 2 total_count: 2 @@ -29746,78 +29265,6 @@ paths: enabledForGitHubApps: false category: billing subcategory: usage - "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for an enterprise team - description: |- - > [!NOTE] - > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." - - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 100 days prior. 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** on that day, as evaluated at the end of that day. - - To access this endpoint, the Copilot Metrics API access policy must be enabled or set to "no policy" for the enterprise within GitHub settings. - Only owners and billing managers for the enterprise that contains the enterprise team can view Copilot 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/copilot-metrics-for-enterprise-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team - parameters: - - *39 - - *138 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *207 - examples: - default: *208 - '500': *38 - '403': *27 - '404': *6 - '422': *209 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -29841,7 +29288,7 @@ paths: type: array items: *142 examples: - default: *210 + default: *207 headers: Link: *45 '403': *27 @@ -29932,7 +29379,7 @@ paths: application/json: schema: *142 examples: - default: &215 + default: &212 value: id: 1 name: Justice League @@ -29961,7 +29408,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &211 + - &208 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -29980,7 +29427,7 @@ paths: type: array items: *4 examples: - default: &212 + default: &209 value: - login: octocat id: 1 @@ -30019,7 +29466,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30050,7 +29497,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30068,7 +29515,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30099,7 +29546,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30117,7 +29564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *211 + - *208 - *140 responses: '200': @@ -30126,7 +29573,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &213 + exampleKey1: &210 value: login: octocat id: 1 @@ -30162,7 +29609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *211 + - *208 - *140 responses: '201': @@ -30171,7 +29618,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *213 + exampleKey1: *210 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30189,7 +29636,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *211 + - *208 - *140 responses: '204': @@ -30212,7 +29659,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *39 - - *211 + - *208 - *17 - *19 responses: @@ -30224,7 +29671,7 @@ paths: type: array items: *73 examples: - default: &214 + default: &211 value: login: github id: 1 @@ -30255,7 +29702,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30285,7 +29732,7 @@ paths: type: array items: *73 examples: - default: &250 + default: &247 value: - login: github id: 1 @@ -30316,7 +29763,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30357,7 +29804,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *39 - - *211 + - *208 - *87 responses: '200': @@ -30366,7 +29813,7 @@ paths: application/json: schema: *73 examples: - default: *214 + default: *211 '404': description: The team is not assigned to the organization x-github: @@ -30385,7 +29832,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *39 - - *211 + - *208 - *87 responses: '201': @@ -30394,7 +29841,7 @@ paths: application/json: schema: *73 examples: - default: *214 + default: *211 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30411,7 +29858,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *39 - - *211 + - *208 - *87 responses: '204': @@ -30436,7 +29883,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &216 + - &213 name: team_slug description: The slug of the team name. in: path @@ -30450,7 +29897,7 @@ paths: application/json: schema: *142 examples: - default: *215 + default: *212 headers: Link: *45 '403': *27 @@ -30470,7 +29917,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *216 + - *213 requestBody: required: true content: @@ -30540,7 +29987,7 @@ paths: application/json: schema: *142 examples: - default: *215 + default: *212 headers: Link: *45 '403': *27 @@ -30563,7 +30010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *216 + - *213 responses: '204': description: Response @@ -30662,7 +30109,7 @@ paths: application/json: schema: type: array - items: &245 + items: &242 title: Event description: Event type: object @@ -30673,7 +30120,7 @@ paths: type: - string - 'null' - actor: &217 + actor: &214 title: Actor description: Actor type: object @@ -30714,7 +30161,7 @@ paths: - id - name - url - org: *217 + org: *214 payload: oneOf: - title: CreateEvent @@ -30761,7 +30208,7 @@ paths: properties: action: type: string - discussion: &879 + discussion: &877 title: Discussion description: A Discussion in a repository. type: object @@ -31058,7 +30505,7 @@ paths: - id labels: type: array - items: &220 + items: &217 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -31141,7 +30588,7 @@ paths: properties: action: type: string - issue: &221 + issue: &218 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -31258,7 +30705,7 @@ paths: milestone: anyOf: - type: 'null' - - &423 + - &420 title: Milestone description: A collection of related issues and pull requests. @@ -31435,7 +30882,7 @@ paths: timeline_url: type: string format: uri - type: &389 + type: &386 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -31496,7 +30943,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &218 + author_association: &215 title: author_association type: string description: How the author is associated with the @@ -31512,7 +30959,7 @@ paths: - OWNER examples: - OWNER - reactions: &219 + reactions: &216 title: Reaction Rollup type: object properties: @@ -31548,7 +30995,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &801 + sub_issues_summary: &799 title: Sub-issues Summary type: object properties: @@ -31572,7 +31019,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &222 + - &219 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -31623,16 +31070,16 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *215 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *216 pin: anyOf: - type: 'null' - - &686 + - &684 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -31659,7 +31106,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &802 + issue_dependencies_summary: &800 title: Issue Dependencies Summary type: object properties: @@ -31678,7 +31125,7 @@ paths: - total_blocking issue_field_values: type: array - items: &670 + items: &668 title: Issue Field Value description: A value assigned to an issue field type: object @@ -31807,10 +31254,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *217 labels: type: array - items: *220 + items: *217 required: - action - issue @@ -31819,8 +31266,8 @@ paths: properties: action: type: string - issue: *221 - comment: *222 + issue: *218 + comment: *219 required: - action - issue @@ -31999,7 +31446,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 allow_forking: type: boolean is_template: @@ -32090,7 +31537,7 @@ paths: type: string number: type: integer - pull_request: &224 + pull_request: &221 title: Pull Request Minimal type: object properties: @@ -32161,10 +31608,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *217 labels: type: array - items: *220 + items: *217 required: - action - number @@ -32174,7 +31621,7 @@ paths: properties: action: type: string - pull_request: *224 + pull_request: *221 comment: type: object properties: @@ -32428,7 +31875,7 @@ paths: - pull_request updated_at: type: string - pull_request: *224 + pull_request: *221 required: - action - review @@ -32477,7 +31924,7 @@ paths: updated_at: type: string format: date-time - reactions: *219 + reactions: *216 required: - action - comment @@ -32488,7 +31935,7 @@ paths: type: string release: allOf: - - &720 + - &718 title: Release description: A release. type: object @@ -32570,7 +32017,7 @@ paths: author: *4 assets: type: array - items: &721 + items: &719 title: Release Asset description: Data related to a release. type: object @@ -32645,7 +32092,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *219 + reactions: *216 required: - assets_url - upload_url @@ -32828,7 +32275,7 @@ paths: _links: type: object properties: - timeline: &225 + timeline: &222 title: Link With Type description: Hypermedia Link with Type type: object @@ -32840,17 +32287,17 @@ paths: required: - href - type - user: *225 - security_advisories: *225 - current_user: *225 - current_user_public: *225 - current_user_actor: *225 - current_user_organization: *225 + user: *222 + security_advisories: *222 + current_user: *222 + current_user_public: *222 + current_user_actor: *222 + current_user_organization: *222 current_user_organizations: type: array - items: *225 - repository_discussions: *225 - repository_discussions_category: *225 + items: *222 + repository_discussions: *222 + repository_discussions_category: *222 required: - timeline - user @@ -32912,7 +32359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *226 + - *223 - *17 - *19 responses: @@ -32922,7 +32369,7 @@ paths: application/json: schema: type: array - items: &227 + items: &224 title: Base Gist description: Base Gist type: object @@ -33008,7 +32455,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &225 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -33132,7 +32579,7 @@ paths: description: Response content: application/json: - schema: &229 + schema: &226 title: Gist Simple description: Gist Simple type: object @@ -33299,7 +32746,7 @@ paths: truncated: type: boolean examples: - default: &230 + default: &227 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -33403,7 +32850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *226 + - *223 - *17 - *19 responses: @@ -33413,9 +32860,9 @@ paths: application/json: schema: type: array - items: *227 + items: *224 examples: - default: *228 + default: *225 headers: Link: *45 '422': *15 @@ -33437,7 +32884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *226 + - *223 - *17 - *19 responses: @@ -33447,9 +32894,9 @@ paths: application/json: schema: type: array - items: *227 + items: *224 examples: - default: *228 + default: *225 headers: Link: *45 '401': *23 @@ -33476,7 +32923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &231 + - &228 name: gist_id description: The unique identifier of the gist. in: path @@ -33488,10 +32935,10 @@ paths: description: Response content: application/json: - schema: *229 + schema: *226 examples: - default: *230 - '403': &234 + default: *227 + '403': &231 description: Forbidden Gist content: application/json: @@ -33539,7 +32986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *231 + - *228 requestBody: required: true content: @@ -33603,9 +33050,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *226 examples: - updateGist: *230 + updateGist: *227 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -33763,7 +33210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *231 + - *228 responses: '204': description: Response @@ -33791,7 +33238,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *231 + - *228 - *17 - *19 responses: @@ -33801,7 +33248,7 @@ paths: application/json: schema: type: array - items: &232 + items: &229 title: Gist Comment description: A comment made to a gist. type: object @@ -33839,7 +33286,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *218 + author_association: *215 required: - url - id @@ -33903,7 +33350,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *231 + - *228 requestBody: required: true content: @@ -33929,9 +33376,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *229 examples: - default: &233 + default: &230 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -33988,8 +33435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *231 - - &235 + - *228 + - &232 name: comment_id description: The unique identifier of the comment. in: path @@ -34002,12 +33449,12 @@ paths: description: Response content: application/json: - schema: *232 + schema: *229 examples: - default: *233 + default: *230 '304': *35 '404': *6 - '403': *234 + '403': *231 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34028,8 +33475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *231 - - *235 + - *228 + - *232 requestBody: required: true content: @@ -34055,9 +33502,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *229 examples: - default: *233 + default: *230 '404': *6 x-github: githubCloudOnly: false @@ -34074,8 +33521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *231 - - *235 + - *228 + - *232 responses: '204': description: Response @@ -34098,7 +33545,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *231 + - *228 - *17 - *19 responses: @@ -34199,7 +33646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *231 + - *228 - *17 - *19 responses: @@ -34209,7 +33656,7 @@ paths: application/json: schema: type: array - items: *229 + items: *226 examples: default: value: @@ -34274,13 +33721,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *231 + - *228 responses: '201': description: Response content: application/json: - schema: *227 + schema: *224 examples: default: value: @@ -34350,7 +33797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *231 + - *228 responses: '204': description: Response if gist is starred @@ -34380,7 +33827,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *231 + - *228 responses: '204': description: Response @@ -34402,7 +33849,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *231 + - *228 responses: '204': description: Response @@ -34430,7 +33877,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *231 + - *228 - name: sha in: path required: true @@ -34441,9 +33888,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *226 examples: - default: *230 + default: *227 '422': *15 '404': *6 '403': *27 @@ -34826,7 +34273,7 @@ paths: - closed - all default: open - - &392 + - &389 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -34845,7 +34292,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - name: collab in: query required: false @@ -34875,9 +34322,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: &393 + default: &390 value: - id: 1 node_id: MDU6SXNzdWUx @@ -35157,7 +34604,7 @@ paths: application/json: schema: type: array - items: *223 + items: *220 examples: default: value: @@ -35455,7 +34902,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &236 + X-CommonMarker-Version: &233 example: 0.17.4 schema: type: string @@ -35510,7 +34957,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *236 + X-CommonMarker-Version: *233 content: text/html: schema: @@ -35539,7 +34986,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: - - &239 + - &236 name: account_id description: account_id parameter in: path @@ -35551,7 +34998,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &235 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -35585,7 +35032,7 @@ paths: - 'null' id: type: integer - plan: &237 + plan: &234 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -35688,7 +35135,7 @@ paths: - 'null' updated_at: type: string - plan: *237 + plan: *234 required: - url - id @@ -35696,7 +35143,7 @@ paths: - login - marketplace_purchase examples: - default: &240 + default: &237 value: url: https://api.github.com/orgs/github type: Organization @@ -35781,9 +35228,9 @@ paths: application/json: schema: type: array - items: *237 + items: *234 examples: - default: &241 + default: &238 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -35823,14 +35270,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &242 + - &239 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &243 + - &240 name: sort description: The property to sort the results by. in: query @@ -35860,9 +35307,9 @@ paths: application/json: schema: type: array - items: *238 + items: *235 examples: - default: &244 + default: &241 value: - url: https://api.github.com/orgs/github type: Organization @@ -35936,15 +35383,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: - - *239 + - *236 responses: '200': description: Response content: application/json: - schema: *238 + schema: *235 examples: - default: *240 + default: *237 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -35976,9 +35423,9 @@ paths: application/json: schema: type: array - items: *237 + items: *234 examples: - default: *241 + default: *238 headers: Link: *45 '401': *23 @@ -36001,8 +35448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *242 - - *243 + - *239 + - *240 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -36022,9 +35469,9 @@ paths: application/json: schema: type: array - items: *238 + items: *235 examples: - default: *244 + default: *241 headers: Link: *45 '401': *23 @@ -36289,14 +35736,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: - - &475 + - &472 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &476 + - &473 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -36313,7 +35760,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -36358,7 +35805,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &481 + '301': &478 description: Moved permanently content: application/json: @@ -36380,7 +35827,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &694 + - &692 name: all description: If `true`, show notifications marked as read. in: query @@ -36388,7 +35835,7 @@ paths: schema: type: boolean default: false - - &695 + - &693 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -36397,8 +35844,8 @@ paths: schema: type: boolean default: false - - *226 - - &696 + - *223 + - &694 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: @@ -36423,14 +35870,14 @@ paths: application/json: schema: type: array - items: &246 + items: &243 title: Thread description: Thread type: object properties: id: type: string - repository: &280 + repository: &277 title: Minimal Repository description: Minimal Repository type: object @@ -36778,7 +36225,7 @@ paths: type: boolean examples: - false - security_and_analysis: &434 + security_and_analysis: &431 type: - object - 'null' @@ -36997,7 +36444,7 @@ paths: - url - subscription_url examples: - default: &697 + default: &695 value: - id: '1' repository: @@ -37163,7 +36610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &247 + - &244 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 @@ -37177,7 +36624,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *243 examples: default: value: @@ -37280,7 +36727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *247 + - *244 responses: '205': description: Reset Content @@ -37303,7 +36750,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *247 + - *244 responses: '204': description: No content @@ -37326,13 +36773,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: - - *247 + - *244 responses: '200': description: Response content: application/json: - schema: &248 + schema: &245 title: Thread Subscription description: Thread Subscription type: object @@ -37376,7 +36823,7 @@ paths: - url - subscribed examples: - default: &249 + default: &246 value: subscribed: true ignored: false @@ -37407,7 +36854,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *247 + - *244 requestBody: required: false content: @@ -37428,9 +36875,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *245 examples: - default: *249 + default: *246 '304': *35 '403': *27 '401': *23 @@ -37453,7 +36900,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *247 + - *244 responses: '204': description: Response @@ -37550,7 +36997,7 @@ paths: type: array items: *73 examples: - default: *250 + default: *247 headers: Link: example: ; rel="next" @@ -37622,7 +37069,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &248 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -37661,7 +37108,7 @@ paths: required: true content: application/json: - schema: *251 + schema: *248 examples: selected_actions: *42 responses: @@ -37696,7 +37143,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &249 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -37735,7 +37182,7 @@ paths: required: true content: application/json: - schema: *252 + schema: *249 examples: selected_actions: *44 responses: @@ -37778,7 +37225,7 @@ paths: type: array items: *152 examples: - default: &703 + default: &701 value: - property_name: environment value: production @@ -37828,7 +37275,7 @@ paths: required: - properties examples: - default: &704 + default: &702 value: properties: - property_name: environment @@ -37875,7 +37322,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &250 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -38279,7 +37726,7 @@ paths: - updated_at - archived_at examples: - default-response: &254 + default-response: &251 value: login: github id: 1 @@ -38600,17 +38047,17 @@ paths: description: Response content: application/json: - schema: *253 + schema: *250 examples: - default: *254 + default: *251 '422': description: Validation failed content: application/json: schema: oneOf: - - *255 - - *256 + - *252 + - *253 '409': *119 x-github: githubCloudOnly: false @@ -38666,9 +38113,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *254 examples: - default: *258 + default: *255 headers: Link: *45 x-github: @@ -38709,7 +38156,7 @@ paths: type: integer repository_cache_usages: type: array - items: &488 + items: &485 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -38787,7 +38234,7 @@ paths: type: array items: *46 examples: - default: *259 + default: *256 headers: Link: *45 x-github: @@ -38954,7 +38401,7 @@ paths: application/json: schema: *47 examples: - default: *260 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39046,7 +38493,7 @@ paths: application/json: schema: *50 examples: - default: *261 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39165,9 +38612,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *259 examples: - default: *263 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39203,7 +38650,7 @@ paths: type: array items: *54 examples: - default: *264 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39447,7 +38894,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *262 examples: default: *58 responses: @@ -39540,7 +38987,7 @@ paths: required: - include_claim_keys examples: - default: &266 + default: &263 value: include_claim_keys: - repo @@ -39585,13 +39032,13 @@ paths: format. type: boolean examples: - default: *266 + default: *263 responses: '201': description: Empty response content: application/json: - schema: &291 + schema: &288 title: Empty Object description: An object without any properties. type: object @@ -39630,7 +39077,7 @@ paths: schema: type: object properties: - enabled_repositories: &268 + enabled_repositories: &265 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -39644,7 +39091,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *60 - selected_actions_url: *267 + selected_actions_url: *264 sha_pinning_required: *61 required: - enabled_repositories @@ -39686,7 +39133,7 @@ paths: schema: type: object properties: - enabled_repositories: *268 + enabled_repositories: *265 allowed_actions: *60 sha_pinning_required: *61 required: @@ -39722,7 +39169,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *266 examples: response: summary: Example response @@ -39753,7 +39200,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *267 examples: application/json: value: @@ -39791,7 +39238,7 @@ paths: application/json: schema: *62 examples: - default: *271 + default: *268 '404': *6 x-github: enabledForGitHubApps: true @@ -39848,7 +39295,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *269 examples: default: *63 '403': *27 @@ -39873,7 +39320,7 @@ paths: required: true content: application/json: - schema: *273 + schema: *270 examples: default: *63 responses: @@ -39925,7 +39372,7 @@ paths: type: array items: *78 examples: - default: &275 + default: &272 value: total_count: 1 repositories: @@ -40110,7 +39557,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - &274 + - &271 name: repository_id description: The unique identifier of the repository. in: path @@ -40139,7 +39586,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: Response @@ -40335,7 +39782,7 @@ paths: type: array items: *78 examples: - default: *275 + default: *272 '403': *27 '404': *6 x-github: @@ -40404,7 +39851,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No content @@ -40431,7 +39878,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No content @@ -40465,7 +39912,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *273 examples: default: *69 x-github: @@ -40499,7 +39946,7 @@ paths: required: false content: application/json: - schema: *277 + schema: *274 examples: default: *69 x-github: @@ -40546,7 +39993,7 @@ paths: type: number runner_groups: type: array - items: &278 + items: &275 type: object properties: id: @@ -40736,9 +40183,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *275 examples: - default: &279 + default: &276 value: id: 2 name: octo-runner-group @@ -40780,7 +40227,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *275 examples: default: value: @@ -40873,9 +40320,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *275 examples: - default: *279 + default: *276 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -40939,7 +40386,7 @@ paths: type: array items: *46 examples: - default: *259 + default: *256 headers: Link: *45 x-github: @@ -40980,9 +40427,9 @@ paths: type: number repositories: type: array - items: *280 + items: *277 examples: - default: &335 + default: &332 value: total_count: 1 repositories: @@ -41281,7 +40728,7 @@ paths: parameters: - *87 - *72 - - *274 + - *271 responses: '204': description: Response @@ -41305,7 +40752,7 @@ paths: parameters: - *87 - *72 - - *274 + - *271 responses: '204': description: Response @@ -41523,9 +40970,9 @@ paths: application/json: schema: type: array - items: *281 + items: *278 examples: - default: *282 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41590,7 +41037,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *280 '404': *6 '422': *7 '409': *119 @@ -41629,7 +41076,7 @@ paths: application/json: schema: *79 examples: - default: *284 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41665,7 +41112,7 @@ paths: application/json: schema: *79 examples: - default: *285 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41696,7 +41143,7 @@ paths: application/json: schema: *76 examples: - default: *286 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41871,7 +41318,7 @@ paths: - *87 - *75 responses: - '200': *287 + '200': *284 '404': *6 x-github: githubCloudOnly: false @@ -41900,7 +41347,7 @@ paths: parameters: - *87 - *75 - - *288 + - *285 responses: '200': *81 '404': *6 @@ -41945,7 +41392,7 @@ paths: type: integer secrets: type: array - items: &289 + items: &286 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -41979,7 +41426,7 @@ paths: - updated_at - visibility examples: - default: &295 + default: &292 value: total_count: 3 secrets: @@ -42026,7 +41473,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &293 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -42061,7 +41508,7 @@ paths: - key_id - key examples: - default: &297 + default: &294 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42087,7 +41534,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *87 - - &290 + - &287 name: secret_name description: The name of the secret. in: path @@ -42099,9 +41546,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *286 examples: - default: &298 + default: &295 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42130,7 +41577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -42187,7 +41634,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -42214,7 +41661,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -42241,7 +41688,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -42259,9 +41706,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: &294 + default: &291 value: total_count: 1 repositories: @@ -42354,7 +41801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -42407,7 +41854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -42441,7 +41888,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -42474,7 +41921,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *87 - - &299 + - &296 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)." @@ -42498,7 +41945,7 @@ paths: type: integer variables: type: array - items: &292 + items: &289 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -42546,7 +41993,7 @@ paths: - updated_at - visibility examples: - default: &300 + default: &297 value: total_count: 3 variables: @@ -42636,7 +42083,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -42662,7 +42109,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *87 - - &293 + - &290 name: name description: The name of the variable. in: path @@ -42674,9 +42121,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *289 examples: - default: &301 + default: &298 value: name: USERNAME value: octocat @@ -42705,7 +42152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -42768,7 +42215,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *87 - - *293 + - *290 responses: '204': description: Response @@ -42795,7 +42242,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 - *19 - *17 responses: @@ -42813,9 +42260,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 '409': description: Response when the visibility of the variable is not set to `selected` @@ -42842,7 +42289,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -42892,7 +42339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -42927,7 +42374,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -42979,9 +42426,9 @@ paths: type: integer secrets: type: array - items: *289 + items: *286 examples: - default: *295 + default: *292 headers: Link: *45 x-github: @@ -43012,9 +42459,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43037,15 +42484,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *289 + schema: *286 examples: - default: *298 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43068,7 +42515,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -43125,7 +42572,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -43152,7 +42599,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -43179,7 +42626,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -43197,9 +42644,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43223,7 +42670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -43276,7 +42723,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -43310,7 +42757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -43344,7 +42791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *87 - - *299 + - *296 - *19 responses: '200': @@ -43361,9 +42808,9 @@ paths: type: integer variables: type: array - items: *292 + items: *289 examples: - default: *300 + default: *297 headers: Link: *45 x-github: @@ -43434,7 +42881,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -43460,15 +42907,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *87 - - *293 + - *290 responses: '200': description: Response content: application/json: - schema: *292 + schema: *289 examples: - default: *301 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43490,7 +42937,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -43553,7 +43000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *87 - - *293 + - *290 responses: '204': description: Response @@ -43580,7 +43027,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 - *19 - *17 responses: @@ -43598,9 +43045,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43627,7 +43074,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -43677,7 +43124,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -43712,7 +43159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -43770,7 +43217,7 @@ paths: required: true content: application/json: - schema: *302 + schema: *299 examples: default: *85 parameters: @@ -43957,7 +43404,7 @@ paths: type: integer deployment_records: type: array - items: &303 + items: &300 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -44004,7 +43451,7 @@ paths: required: - total_count examples: - default: &304 + default: &301 value: total_count: 1 deployment_records: @@ -44186,11 +43633,11 @@ paths: type: integer deployment_records: type: array - items: *303 + items: *300 required: - total_count examples: - default: *304 + default: *301 '403': description: Forbidden content: @@ -44442,9 +43889,9 @@ paths: - 3 deployment_records: type: array - items: *303 + items: *300 examples: - default: *304 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44454,9 +43901,9 @@ paths: get: summary: List artifact storage records description: |- - List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + List artifact storage records with a given subject digest for repositories owned by an organization. - The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission. tags: - orgs operationId: orgs/list-artifact-storage-records @@ -44574,12 +44021,12 @@ paths: required: - subject_digests examples: - default: &839 + default: &837 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &840 + withPredicateType: &838 value: subject_digests: - sha256:abc123 @@ -44624,7 +44071,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &841 + default: &839 value: attestations_subject_digests: - sha256:abc: @@ -44957,7 +44404,7 @@ paths: initiator: type: string examples: - default: &521 + default: &518 value: attestations: - bundle: @@ -45083,10 +44530,10 @@ paths: required: false schema: type: string + - *302 + - *303 + - *304 - *305 - - *306 - - *307 - - *308 - *17 responses: '200': @@ -45095,9 +44542,9 @@ paths: application/json: schema: type: array - items: *309 + items: *306 examples: - default: *310 + default: *307 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45126,7 +44573,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45220,7 +44667,7 @@ paths: subcategory: bypass-requests parameters: - *87 - - &313 + - &310 name: repository_name description: The name of the repository to filter on. in: query @@ -45239,9 +44686,9 @@ paths: application/json: schema: type: array - items: *311 + items: *308 examples: - default: *312 + default: *309 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -45265,7 +44712,7 @@ paths: subcategory: delegated-bypass parameters: - *87 - - *313 + - *310 - *103 - *104 - *105 @@ -45279,9 +44726,9 @@ paths: application/json: schema: type: array - items: *314 + items: *311 examples: - default: *315 + default: *312 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -45308,7 +44755,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &317 + schema: &314 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -45334,7 +44781,7 @@ paths: application/json: schema: type: array - items: &318 + items: &315 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -45365,7 +44812,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *316 + items: *313 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -45384,7 +44831,7 @@ paths: - string - 'null' format: date-time - state: *317 + state: *314 contact_link: description: The contact link of the campaign. type: @@ -45607,9 +45054,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *315 examples: - default: &319 + default: &316 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -45692,9 +45139,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *315 examples: - default: *319 + default: *316 '404': *6 '422': description: Unprocessable Entity @@ -45772,7 +45219,7 @@ paths: - string - 'null' format: uri - state: *317 + state: *314 examples: default: value: @@ -45782,9 +45229,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *315 examples: - default: *319 + default: *316 '400': description: Bad Request content: @@ -45851,8 +45298,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *87 - - *320 - - *321 + - *317 + - *318 - *108 - *109 - *19 @@ -45863,7 +45310,7 @@ paths: be returned. in: query required: false - schema: *322 + schema: *319 - name: sort description: The property by which to sort the results. in: query @@ -45879,7 +45326,7 @@ paths: be returned. in: query required: false - schema: &546 + schema: &543 type: string description: Severity of a code scanning alert. enum: @@ -45905,9 +45352,9 @@ paths: application/json: schema: type: array - items: *323 + items: *320 examples: - default: *324 + default: *321 headers: Link: *45 '404': *6 @@ -46282,7 +45729,7 @@ paths: application/json: schema: *114 examples: - default: *325 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46310,9 +45757,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *323 examples: - default: *327 + default: *324 '304': *35 '403': *27 '404': *6 @@ -46401,7 +45848,7 @@ paths: application/json: schema: *114 examples: - default: *325 + default: *322 '304': *35 '403': *27 '404': *6 @@ -46846,7 +46293,7 @@ paths: default: value: default_for_new_repos: all - configuration: *325 + configuration: *322 '403': *27 '404': *6 x-github: @@ -46899,13 +46346,13 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *329 + repository: *326 '403': *27 '404': *6 x-github: @@ -46945,7 +46392,7 @@ paths: type: integer codespaces: type: array - items: &394 + items: &391 type: object title: Codespace description: A codespace. @@ -46976,11 +46423,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *280 + repository: *277 machine: anyOf: - type: 'null' - - &578 + - &575 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -47267,7 +46714,7 @@ paths: - pulls_url - recent_folders examples: - default: &395 + default: &392 value: total_count: 3 codespaces: @@ -47891,7 +47338,7 @@ paths: type: integer secrets: type: array - items: &330 + items: &327 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -47932,7 +47379,7 @@ paths: - updated_at - visibility examples: - default: &579 + default: &576 value: total_count: 2 secrets: @@ -47970,7 +47417,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &577 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -48005,7 +47452,7 @@ paths: - key_id - key examples: - default: &581 + default: &578 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -48029,15 +47476,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: &583 + default: &580 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48065,7 +47512,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -48120,7 +47567,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -48147,7 +47594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -48173,7 +47620,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -48191,9 +47638,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 '404': *6 x-github: githubCloudOnly: false @@ -48216,7 +47663,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -48267,7 +47714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -48301,7 +47748,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -48371,7 +47818,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &331 + items: &328 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -48768,9 +48215,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: &332 + default: &329 summary: Example response for an organization copilot space value: id: 84 @@ -48875,9 +48322,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *332 + default: *329 '403': *27 '404': *6 x-github: @@ -49006,9 +48453,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *332 + default: *329 '403': *27 '404': *6 '422': *15 @@ -49091,7 +48538,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &333 + items: &330 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -49316,7 +48763,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: user: value: @@ -49446,7 +48893,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: user: value: @@ -49597,7 +49044,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &334 + items: &331 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -49741,7 +49188,7 @@ paths: description: Resource created content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -49757,7 +49204,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -49812,7 +49259,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -49881,7 +49328,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -50609,12 +50056,12 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 required: - total_count - repositories examples: - default: *335 + default: *332 '500': *38 '401': *23 '403': *27 @@ -50700,7 +50147,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No Content @@ -50734,7 +50181,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No Content @@ -50882,81 +50329,13 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *336 + '413': *333 '422': *7 x-github: githubCloudOnly: enabledForGitHubApps: true category: copilot subcategory: copilot-content-exclusion-management - "/orgs/{org}/copilot/metrics": - get: - summary: Get Copilot metrics for an organization - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. - Only organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization - parameters: - - *87 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *207 - examples: - default: *208 - '500': *38 - '403': *27 - '404': *6 - '422': *209 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/copilot/metrics/reports/organization-1-day": get: summary: Get Copilot organization usage metrics for a specific day @@ -51370,7 +50749,7 @@ paths: - 3 custom_roles: type: array - items: &337 + items: &334 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -51509,7 +50888,7 @@ paths: required: true content: application/json: - schema: &339 + schema: &336 type: object properties: name: @@ -51551,9 +50930,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: &338 + default: &335 value: id: 8030 name: Security Engineer @@ -51607,9 +50986,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '404': *6 x-github: githubCloudOnly: true @@ -51637,7 +51016,7 @@ paths: required: true content: application/json: - schema: &340 + schema: &337 type: object properties: name: @@ -51676,9 +51055,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -51736,7 +51115,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *336 examples: default: value: @@ -51750,9 +51129,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -51789,9 +51168,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '404': *6 x-github: githubCloudOnly: true @@ -51825,7 +51204,7 @@ paths: required: true content: application/json: - schema: *340 + schema: *337 examples: default: value: @@ -51840,9 +51219,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -51902,12 +51281,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *87 + - *338 + - *339 + - *340 - *341 - *342 - *343 - - *344 - - *345 - - *346 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -51937,7 +51316,7 @@ paths: enum: - patch - deployment - - *347 + - *344 - name: runtime_risk in: query description: |- @@ -51946,8 +51325,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *348 - - *349 + - *345 + - *346 - *110 - *108 - *109 @@ -51959,9 +51338,9 @@ paths: application/json: schema: type: array - items: *350 + items: *347 examples: - default: *351 + default: *348 '304': *35 '400': *14 '403': *27 @@ -52010,9 +51389,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *349 examples: - default: *353 + default: *350 '403': *27 '404': *6 x-github: @@ -52176,7 +51555,7 @@ paths: type: integer secrets: type: array - items: &354 + items: &351 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -52255,7 +51634,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &608 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -52274,7 +51653,7 @@ paths: - key_id - key examples: - default: &612 + default: &609 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -52298,13 +51677,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *354 + schema: *351 examples: default: value: @@ -52333,7 +51712,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -52388,7 +51767,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -52413,7 +51792,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -52438,7 +51817,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -52456,9 +51835,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52480,7 +51859,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -52531,7 +51910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -52563,7 +51942,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -52600,7 +51979,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &621 + - &618 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -52608,7 +51987,7 @@ paths: required: false schema: type: string - - &622 + - &619 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -52616,7 +51995,7 @@ paths: required: false schema: type: string - - &623 + - &620 name: time_period description: |- The time period to filter by. @@ -52632,7 +52011,7 @@ paths: - week - month default: month - - &624 + - &621 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -52647,7 +52026,7 @@ paths: - denied - all default: all - - *313 + - *310 - *17 - *19 responses: @@ -52657,7 +52036,7 @@ paths: application/json: schema: type: array - items: &625 + items: &622 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -52767,7 +52146,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &356 + items: &353 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -52820,7 +52199,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &626 + default: &623 value: - id: 21 number: 42 @@ -52908,11 +52287,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *313 + - *310 - *103 - *104 - *105 - - *355 + - *352 - *17 - *19 responses: @@ -52922,7 +52301,7 @@ paths: application/json: schema: type: array - items: &627 + items: &624 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -53032,7 +52411,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *356 + items: *353 url: type: string format: uri @@ -53045,7 +52424,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &628 + default: &625 value: - id: 21 number: 42 @@ -53133,11 +52512,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *313 + - *310 - *103 - *104 - *105 - - *355 + - *352 - *17 - *19 responses: @@ -53147,9 +52526,9 @@ paths: application/json: schema: type: array - items: *357 + items: *354 examples: - default: *358 + default: *355 '404': *6 '403': *27 '500': *38 @@ -53175,7 +52554,7 @@ paths: application/json: schema: type: array - items: &404 + items: &401 title: Package description: A software package type: object @@ -53228,7 +52607,7 @@ paths: repository: anyOf: - type: 'null' - - *280 + - *277 created_at: type: string format: date-time @@ -53246,7 +52625,7 @@ paths: - created_at - updated_at examples: - default: &405 + default: &402 value: - id: 197 name: hello_docker @@ -53334,7 +52713,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: 200-response: value: @@ -53433,7 +52812,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &469 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -53523,7 +52902,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &473 + default: &470 value: group_id: '123' group_name: Octocat admins @@ -53578,7 +52957,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &466 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -53618,7 +52997,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &470 + default: &467 value: groups: - group_id: '123' @@ -53663,7 +53042,7 @@ paths: application/json: schema: type: array - items: &383 + items: &380 title: Organization Invitation description: Organization Invitation type: object @@ -53717,7 +53096,7 @@ paths: - invitation_teams_url - node_id examples: - default: &384 + default: &381 value: - id: 1 login: monalisa @@ -53784,7 +53163,7 @@ paths: application/json: schema: type: array - items: &435 + items: &432 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -53798,7 +53177,7 @@ paths: - name - description examples: - default: &436 + default: &433 value: - name: add_assignee description: Assign or remove a user @@ -53839,7 +53218,7 @@ paths: application/json: schema: type: array - items: &359 + items: &356 title: Org Hook description: Org Hook type: object @@ -54022,9 +53401,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *356 examples: - default: &360 + default: &357 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -54069,7 +53448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &361 + - &358 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. @@ -54082,9 +53461,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *356 examples: - default: *360 + default: *357 '404': *6 x-github: githubCloudOnly: false @@ -54106,7 +53485,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *361 + - *358 requestBody: required: false content: @@ -54152,7 +53531,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *356 examples: default: value: @@ -54192,7 +53571,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *361 + - *358 responses: '204': description: Response @@ -54218,7 +53597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *361 + - *358 responses: '200': description: Response @@ -54247,7 +53626,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *361 + - *358 requestBody: required: false content: @@ -54296,10 +53675,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *361 + - *358 - *17 - - *362 - - *363 + - *359 + - *360 responses: '200': description: Response @@ -54307,9 +53686,9 @@ paths: application/json: schema: type: array - items: *364 + items: *361 examples: - default: *365 + default: *362 '400': *14 '422': *15 x-github: @@ -54333,16 +53712,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *361 + - *358 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *363 examples: - default: *367 + default: *364 '400': *14 '422': *15 x-github: @@ -54366,7 +53745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *361 + - *358 - *16 responses: '202': *37 @@ -54393,7 +53772,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *361 + - *358 responses: '204': description: Response @@ -54416,7 +53795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &372 + - &369 name: actor_type in: path description: The type of the actor @@ -54429,14 +53808,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &373 + - &370 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &368 + - &365 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`.' @@ -54444,7 +53823,7 @@ paths: required: true schema: type: string - - &369 + - &366 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) @@ -54539,12 +53918,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *368 - - *369 + - *365 + - *366 - *19 - *17 - *110 - - &378 + - &375 name: sort description: The property to sort the results by. in: query @@ -54623,14 +54002,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *368 - - *369 + - *365 + - *366 responses: '200': description: Response content: application/json: - schema: &370 + schema: &367 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -54646,7 +54025,7 @@ paths: type: integer format: int64 examples: - default: &371 + default: &368 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -54667,23 +54046,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &374 + - &371 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *368 - - *369 + - *365 + - *366 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *371 + default: *368 x-github: enabledForGitHubApps: true category: orgs @@ -54702,18 +54081,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *368 + - *365 + - *366 - *369 - - *372 - - *373 + - *370 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *371 + default: *368 x-github: enabledForGitHubApps: true category: orgs @@ -54731,9 +54110,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *87 - - *368 - - *369 - - &375 + - *365 + - *366 + - &372 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -54746,7 +54125,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &373 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -54762,7 +54141,7 @@ paths: type: integer format: int64 examples: - default: &377 + default: &374 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -54799,18 +54178,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *374 - - *368 - - *369 - - *375 + - *371 + - *365 + - *366 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *377 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -54828,19 +54207,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *372 - - *373 - - *368 - *369 - - *375 + - *370 + - *365 + - *366 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *377 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -54858,13 +54237,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *87 - - *374 - - *368 - - *369 + - *371 + - *365 + - *366 - *19 - *17 - *110 - - *378 + - *375 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -54948,7 +54327,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55068,12 +54447,12 @@ paths: application/json: schema: anyOf: - - &381 + - &378 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &380 + limit: &377 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -55101,7 +54480,7 @@ paths: properties: {} additionalProperties: false examples: - default: &382 + default: &379 value: limit: collaborators_only origin: organization @@ -55130,13 +54509,13 @@ paths: required: true content: application/json: - schema: &657 + schema: &654 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *380 + limit: *377 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -55161,9 +54540,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *378 examples: - default: *382 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -55241,9 +54620,9 @@ paths: application/json: schema: type: array - items: *383 + items: *380 examples: - default: *384 + default: *381 headers: Link: *45 '404': *6 @@ -55321,7 +54700,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *380 examples: default: value: @@ -55378,7 +54757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &385 + - &382 name: invitation_id description: The unique identifier of the invitation. in: path @@ -55412,7 +54791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *385 + - *382 - *17 - *19 responses: @@ -55422,9 +54801,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: &403 + default: &400 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -55467,7 +54846,7 @@ paths: application/json: schema: type: array - items: &386 + items: &383 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -55730,9 +55109,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: &387 + default: &384 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -55788,7 +55167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *87 - - &388 + - &385 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -55898,9 +55277,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: *387 + default: *384 '404': *6 '422': *7 x-github: @@ -55925,7 +55304,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *87 - - *388 + - *385 responses: '204': *126 '404': *6 @@ -55955,9 +55334,9 @@ paths: application/json: schema: type: array - items: *389 + items: *386 examples: - default: &660 + default: &658 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -56043,9 +55422,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *386 examples: - default: &390 + default: &387 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -56078,7 +55457,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &391 + - &388 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -56134,9 +55513,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *386 examples: - default: *390 + default: *387 '404': *6 '422': *7 x-github: @@ -56161,7 +55540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *391 + - *388 responses: '204': description: Response @@ -56224,7 +55603,7 @@ paths: - closed - all default: open - - *392 + - *389 - name: type description: Can be the name of an issue type. in: query @@ -56243,7 +55622,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - *17 - *19 responses: @@ -56253,9 +55632,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *393 + default: *390 headers: Link: *45 '404': *6 @@ -56315,7 +55694,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '422': *15 @@ -56415,9 +55794,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *391 examples: - default: *395 + default: *392 '304': *35 '500': *38 '401': *23 @@ -56444,7 +55823,7 @@ paths: parameters: - *87 - *140 - - &396 + - &393 name: codespace_name in: path required: true @@ -56479,15 +55858,15 @@ paths: parameters: - *87 - *140 - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: &577 + default: &574 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -56743,7 +56122,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &394 title: Org Membership description: Org Membership type: object @@ -56812,7 +56191,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &398 + response-if-user-has-an-active-admin-membership-with-organization: &395 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -56913,9 +56292,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: - response-if-user-already-had-membership-with-organization: *398 + response-if-user-already-had-membership-with-organization: *395 '422': *15 '403': *27 '451': *15 @@ -56988,7 +56367,7 @@ paths: application/json: schema: type: array - items: &399 + items: &396 title: Migration description: A migration. type: object @@ -57326,7 +56705,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -57505,7 +56884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &400 + - &397 name: migration_id description: The unique identifier of the migration. in: path @@ -57533,7 +56912,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -57703,7 +57082,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *400 + - *397 responses: '302': description: Response @@ -57725,7 +57104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *400 + - *397 responses: '204': description: Response @@ -57749,8 +57128,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *400 - - &821 + - *397 + - &819 name: repo_name description: repo_name parameter in: path @@ -57778,7 +57157,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *400 + - *397 - *17 - *19 responses: @@ -57888,7 +57267,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &401 + items: &398 title: Organization Role description: Organization roles type: object @@ -58097,7 +57476,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: default: value: @@ -58149,7 +57528,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response @@ -58175,7 +57554,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *87 - - *216 + - *213 - *139 responses: '204': @@ -58206,7 +57585,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *87 - - *216 + - *213 - *139 responses: '204': @@ -58327,7 +57706,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: default: value: @@ -58424,7 +57803,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: default: value: @@ -58583,7 +57962,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *399 type: description: The ownership type of the team type: string @@ -58616,7 +57995,7 @@ paths: - type - parent examples: - default: *403 + default: *400 headers: Link: *45 '404': @@ -58675,7 +58054,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *402 + items: *399 name: type: - string @@ -58792,7 +58171,7 @@ paths: - type - url examples: - default: *212 + default: *209 headers: Link: *45 '404': @@ -58843,7 +58222,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -58985,7 +58364,7 @@ paths: - nuget - container - *87 - - &822 + - &820 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -59021,12 +58400,12 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *405 + default: *402 '403': *27 '401': *23 - '400': &824 + '400': &822 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -59048,7 +58427,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &406 + - &403 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 @@ -59066,7 +58445,7 @@ paths: - docker - nuget - container - - &407 + - &404 name: package_name description: The name of the package. in: path @@ -59079,7 +58458,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *401 examples: default: value: @@ -59131,8 +58510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 responses: '204': @@ -59165,8 +58544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - name: token description: package token @@ -59199,8 +58578,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-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - *19 - *17 @@ -59221,7 +58600,7 @@ paths: application/json: schema: type: array - items: &408 + items: &405 title: Package Version description: A version of a software package type: object @@ -59356,10 +58735,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: - - *406 - - *407 + - *403 + - *404 - *87 - - &409 + - &406 name: package_version_id description: Unique identifier of the package version. in: path @@ -59371,7 +58750,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *405 examples: default: value: @@ -59407,10 +58786,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - - *409 + - *406 responses: '204': description: Response @@ -59442,10 +58821,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - - *409 + - *406 responses: '204': description: Response @@ -59475,7 +58854,7 @@ paths: - *87 - *17 - *19 - - &410 + - &407 name: sort description: The property by which to sort the results. in: query @@ -59486,7 +58865,7 @@ paths: - created_at default: created_at - *110 - - &411 + - &408 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -59498,7 +58877,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &412 + - &409 name: repository description: The name of the repository to use to filter the results. in: query @@ -59507,7 +58886,7 @@ paths: type: string examples: - Hello-World - - &413 + - &410 name: permission description: The permission to use to filter the results. in: query @@ -59516,7 +58895,7 @@ paths: type: string examples: - issues_read - - &414 + - &411 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) @@ -59526,7 +58905,7 @@ paths: schema: type: string format: date-time - - &415 + - &412 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) @@ -59536,7 +58915,7 @@ paths: schema: type: string format: date-time - - &416 + - &413 name: token_id description: The ID of the token in: query @@ -59853,9 +59232,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: &417 + default: &414 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -59992,14 +59371,14 @@ paths: - *87 - *17 - *19 - - *410 + - *407 - *110 + - *408 + - *409 + - *410 - *411 - *412 - *413 - - *414 - - *415 - - *416 responses: '500': *38 '422': *15 @@ -60281,9 +59660,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *417 + default: *414 headers: Link: *45 x-github: @@ -60325,7 +59704,7 @@ paths: type: integer configurations: type: array - items: &418 + items: &415 title: Organization private registry description: Private registry configuration for an organization type: object @@ -60842,7 +60221,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &419 + org-private-registry-with-selected-visibility: &416 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -60934,15 +60313,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *87 - - *290 + - *287 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *418 + schema: *415 examples: - default: *419 + default: *416 '404': *6 x-github: githubCloudOnly: false @@ -60965,7 +60344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -61154,7 +60533,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -61194,7 +60573,7 @@ paths: application/json: schema: type: array - items: &420 + items: &417 title: Projects v2 Project description: A projects v2 project type: object @@ -61268,7 +60647,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &912 + - &910 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -61353,7 +60732,7 @@ paths: - deleted_at - deleted_by examples: - default: &421 + default: &418 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -61456,7 +60835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &422 + - &419 name: project_number description: The project's number. in: path @@ -61469,9 +60848,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *417 examples: - default: *421 + default: *418 headers: Link: *45 '304': *35 @@ -61494,7 +60873,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *422 + - *419 requestBody: required: true description: Details of the draft item to create in the project. @@ -61528,7 +60907,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &424 title: Projects v2 Item description: An item belonging to a project type: object @@ -61541,8 +60920,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *221 - - &592 + - *218 + - &589 title: Pull Request Simple description: Pull Request Simple type: object @@ -61662,7 +61041,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *420 active_lock_reason: type: - string @@ -61701,7 +61080,7 @@ paths: items: *4 requested_teams: type: array - items: *316 + items: *313 head: type: object properties: @@ -61745,7 +61124,7 @@ paths: _links: type: object properties: - comments: &424 + comments: &421 title: Link description: Hypermedia Link type: object @@ -61754,13 +61133,13 @@ paths: type: string required: - href - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + commits: *421 + statuses: *421 + html: *421 + issue: *421 + review_comments: *421 + review_comment: *421 + self: *421 required: - comments - commits @@ -61770,8 +61149,8 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: &706 + author_association: *215 + auto_merge: &704 title: Auto merge description: The status of auto merging a pull request. type: @@ -61871,7 +61250,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &426 + content_type: &423 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -61915,7 +61294,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &428 + draft_issue: &425 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -61989,7 +61368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *422 + - *419 - *87 - *17 - *108 @@ -62001,7 +61380,7 @@ paths: application/json: schema: type: array - items: &425 + items: &422 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -62154,7 +61533,7 @@ paths: - updated_at - project_url examples: - default: &845 + default: &843 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62284,7 +61663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *422 + - *419 - *87 requestBody: required: true @@ -62331,7 +61710,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &846 + items: &844 type: object properties: name: @@ -62368,7 +61747,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &847 + iteration_configuration: &845 type: object description: The configuration for iteration fields. properties: @@ -62418,7 +61797,7 @@ paths: value: name: Due date data_type: date - single_select_field: &848 + single_select_field: &846 summary: Create a single select field value: name: Priority @@ -62445,7 +61824,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &849 + iteration_field: &847 summary: Create an iteration field value: name: Sprint @@ -62469,9 +61848,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *425 + schema: *422 examples: - text_field: &850 + text_field: &848 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -62480,7 +61859,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &851 + number_field: &849 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -62489,7 +61868,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &852 + date_field: &850 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -62498,7 +61877,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &853 + single_select_field: &851 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62532,7 +61911,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &854 + iteration_field: &852 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -62577,8 +61956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *422 - - &855 + - *419 + - &853 name: field_id description: The unique identifier of the field. in: path @@ -62591,9 +61970,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: &856 + default: &854 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62649,7 +62028,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *422 + - *419 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -62682,7 +62061,7 @@ paths: application/json: schema: type: array - items: &429 + items: &426 title: Projects v2 Item description: An item belonging to a project type: object @@ -62699,7 +62078,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *426 + content_type: *423 content: type: - object @@ -62749,7 +62128,7 @@ paths: - updated_at - archived_at examples: - default: &430 + default: &427 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -63447,7 +62826,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *422 + - *419 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -63517,22 +62896,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *425 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *425 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *425 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *425 '304': *35 '403': *27 '401': *23 @@ -63552,9 +62931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *422 + - *419 - *87 - - &431 + - &428 name: item_id description: The unique identifier of the project item. in: path @@ -63580,9 +62959,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -63603,9 +62982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *422 + - *419 - *87 - - *431 + - *428 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -63678,13 +63057,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *427 + number_field: *427 + date_field: *427 + single_select_field: *427 + iteration_field: *427 '401': *23 '403': *27 '404': *6 @@ -63704,9 +63083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *422 + - *419 - *87 - - *431 + - *428 responses: '204': description: Response @@ -63730,7 +63109,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *87 - - *422 + - *419 requestBody: required: true content: @@ -63804,7 +63183,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &836 + schema: &834 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -63908,7 +63287,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &432 + value: &429 value: id: 1 number: 1 @@ -63954,10 +63333,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *432 + value: *429 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *429 '304': *35 '403': *27 '401': *23 @@ -63985,9 +63364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *422 + - *419 - *87 - - &857 + - &855 name: view_number description: The number that identifies the project view. in: path @@ -64019,9 +63398,9 @@ paths: application/json: schema: type: array - items: *429 + items: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -64185,7 +63564,7 @@ paths: required: true content: application/json: - schema: *433 + schema: *430 examples: default: value: @@ -64413,7 +63792,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -64551,9 +63930,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *417 + default: *414 headers: Link: *45 x-github: @@ -64757,7 +64136,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &477 title: Full Repository description: Full Repository type: object @@ -65208,7 +64587,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 organization: anyOf: - type: 'null' @@ -65227,7 +64606,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &597 + code_of_conduct: &594 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -65257,7 +64636,7 @@ paths: - key - name - html_url - security_and_analysis: *434 + security_and_analysis: *431 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -65341,7 +64720,7 @@ paths: - network_count - subscribers_count examples: - default: &482 + default: &479 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -65867,9 +65246,9 @@ paths: application/json: schema: type: array - items: *435 + items: *432 examples: - default: *436 + default: *433 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -65894,7 +65273,7 @@ paths: - *87 - *17 - *19 - - &728 + - &726 name: targets description: | A comma-separated list of rule targets to filter by. @@ -65986,11 +65365,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *437 + conditions: *434 rules: type: array description: An array of rules within the ruleset. - items: &439 + items: &436 title: Repository Rule type: object description: A repository rule. @@ -66055,7 +65434,7 @@ paths: application/json: schema: *187 examples: - default: &438 + default: &435 value: id: 21 name: super cool ruleset @@ -66111,7 +65490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &730 + - &728 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 @@ -66121,16 +65500,16 @@ paths: schema: type: string x-multi-segment: true - - *313 + - *310 - *105 - - &731 + - &729 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 - - &732 + - &730 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -66143,7 +65522,7 @@ paths: - bypass - all default: all - - &733 + - &731 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -66166,7 +65545,7 @@ paths: description: Response content: application/json: - schema: &734 + schema: &732 title: Rule Suites description: Response type: array @@ -66222,7 +65601,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &735 + default: &733 value: - id: 21 actor_id: 12 @@ -66266,7 +65645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &736 + - &734 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -66282,7 +65661,7 @@ paths: description: Response content: application/json: - schema: &737 + schema: &735 title: Rule Suite description: Response type: object @@ -66389,7 +65768,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &738 + default: &736 value: id: 21 actor_id: 12 @@ -66464,7 +65843,7 @@ paths: application/json: schema: *187 examples: - default: *438 + default: *435 '404': *6 '500': *38 put: @@ -66513,11 +65892,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *437 + conditions: *434 rules: description: An array of rules within the ruleset. type: array - items: *439 + items: *436 examples: default: value: @@ -66554,7 +65933,7 @@ paths: application/json: schema: *187 examples: - default: *438 + default: *435 '404': *6 '422': *15 '500': *38 @@ -66614,7 +65993,7 @@ paths: type: array items: *191 examples: - default: *440 + default: *437 '404': *6 '500': *38 x-github: @@ -66651,7 +66030,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: default: value: @@ -66714,18 +66093,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 + - *439 + - *440 + - *441 - *442 - *443 - *444 - *445 - *446 - - *447 - - *448 - - *449 - *110 - *19 - *17 - - &740 + - &738 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 @@ -66735,7 +66114,7 @@ paths: required: false schema: type: string - - &741 + - &739 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 @@ -66745,11 +66124,11 @@ paths: required: false schema: type: string + - *447 + - *448 + - *449 - *450 - *451 - - *452 - - *453 - - *454 responses: '200': description: Response @@ -66757,9 +66136,9 @@ paths: application/json: schema: type: array - items: *455 + items: *452 examples: - default: *456 + default: *453 headers: Link: *45 '404': *6 @@ -66794,9 +66173,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *454 examples: - default: *458 + default: *455 '403': *27 '404': *6 patch: @@ -66949,7 +66328,7 @@ paths: application/json: schema: type: array - items: &762 + items: &760 description: A repository security advisory. type: object properties: @@ -67172,7 +66551,7 @@ paths: login: type: string description: The username of the user credited. - type: *459 + type: *456 credits_detailed: type: - array @@ -67183,7 +66562,7 @@ paths: type: object properties: user: *4 - type: *459 + type: *456 state: type: string description: The state of the user's acceptance of the @@ -67209,7 +66588,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *316 + items: *313 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -67246,7 +66625,7 @@ paths: - private_fork additionalProperties: false examples: - default: &763 + default: &761 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -67633,7 +67012,7 @@ paths: application/json: schema: type: array - items: *402 + items: *399 examples: default: value: @@ -67674,7 +67053,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response @@ -67700,7 +67079,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response @@ -67732,7 +67111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *460 + - *457 - *17 - *19 responses: @@ -67740,9 +67119,9 @@ paths: description: Success content: application/json: - schema: *461 + schema: *458 examples: - default: *462 + default: *459 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -67888,9 +67267,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67959,7 +67338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: Response @@ -67982,7 +67361,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: Response @@ -68025,7 +67404,7 @@ paths: type: array items: *145 examples: - default: *463 + default: *460 headers: Link: *45 x-github: @@ -68254,15 +67633,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *464 + - *461 responses: '200': description: Response content: application/json: - schema: *465 + schema: *462 examples: - default: *466 + default: *463 headers: Link: *45 x-github: @@ -68300,7 +67679,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &474 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -68352,7 +67731,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &478 + default: &475 value: groups: - group_id: '123' @@ -68373,75 +67752,6 @@ paths: enabledForGitHubApps: true category: teams subcategory: team-sync - "/orgs/{org}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for a team - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. - Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team - parameters: - - *87 - - *216 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *207 - examples: - default: *208 - '500': *38 - '403': *27 - '404': *6 - '422': *209 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -68476,9 +67786,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 headers: Link: *45 '403': *27 @@ -68564,7 +67874,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &464 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -68638,7 +67948,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *399 members_count: type: integer examples: @@ -68963,7 +68273,7 @@ paths: - repos_count - organization examples: - default: &468 + default: &465 value: id: 1 node_id: MDQ6VGVhbTE= @@ -69034,15 +68344,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *87 - - *216 + - *213 responses: '200': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -69064,7 +68374,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *87 - - *216 + - *213 requestBody: required: false content: @@ -69127,16 +68437,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '201': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 '422': *15 '403': *27 @@ -69162,11 +68472,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response - '422': &471 + '422': &468 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -69189,16 +68499,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *87 - - *216 + - *213 responses: '200': description: Response content: application/json: - schema: *469 + schema: *466 examples: - default: *470 - '422': *471 + default: *467 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -69218,7 +68528,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *216 + - *213 requestBody: required: true content: @@ -69242,10 +68552,10 @@ paths: description: Response content: application/json: - schema: *472 + schema: *469 examples: - default: *473 - '422': *471 + default: *470 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69265,11 +68575,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response - '422': *471 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69291,7 +68601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *87 - - *216 + - *213 - *17 - *19 responses: @@ -69301,12 +68611,12 @@ paths: application/json: schema: type: array - items: *383 + items: *380 examples: - default: *384 + default: *381 headers: Link: *45 - '422': *471 + '422': *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69327,7 +68637,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *87 - - *216 + - *213 - name: role description: Filters members returned by their role in the team. in: query @@ -69350,7 +68660,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -69381,14 +68691,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *87 - - *216 + - *213 - *140 responses: '200': description: Response content: application/json: - schema: &474 + schema: &471 title: Team Membership description: Team Membership type: object @@ -69416,7 +68726,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &804 + response-if-user-is-a-team-maintainer: &802 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -69453,7 +68763,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *87 - - *216 + - *213 - *140 requestBody: required: false @@ -69479,9 +68789,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: &805 + response-if-users-membership-with-team-is-now-pending: &803 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -69517,7 +68827,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *87 - - *216 + - *213 - *140 responses: '204': @@ -69545,7 +68855,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *87 - - *216 + - *213 - *17 - *19 responses: @@ -69555,9 +68865,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *417 + default: *414 headers: Link: *45 x-github: @@ -69587,15 +68897,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *87 - - *216 - - *475 - - *476 + - *213 + - *472 + - *473 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &806 + schema: &804 title: Team Repository description: A team's access to a repository. type: object @@ -69621,7 +68931,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 forks: type: integer permissions: @@ -70229,9 +69539,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *87 - - *216 - - *475 - - *476 + - *213 + - *472 + - *473 requestBody: required: false content: @@ -70277,9 +69587,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *87 - - *216 - - *475 - - *476 + - *213 + - *472 + - *473 responses: '204': description: Response @@ -70306,16 +69616,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *87 - - *216 + - *213 responses: '200': description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: *478 - '422': *471 + default: *475 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70338,7 +69648,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *87 - - *216 + - *213 requestBody: required: true content: @@ -70381,7 +69691,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: default: value: @@ -70393,7 +69703,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *471 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70415,7 +69725,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *87 - - *216 + - *213 - *17 - *19 responses: @@ -70425,9 +69735,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - response-if-child-teams-exist: &807 + response-if-child-teams-exist: &805 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -70555,7 +69865,6 @@ paths: * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)." * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph)." * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph)." - * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners)." * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions)." @@ -70581,7 +69890,7 @@ paths: resources: type: object properties: - core: &479 + core: &476 title: Rate Limit type: object properties: @@ -70598,17 +69907,17 @@ paths: - remaining - reset - used - graphql: *479 - search: *479 - code_search: *479 - source_import: *479 - integration_manifest: *479 - code_scanning_upload: *479 - actions_runner_registration: *479 - scim: *479 - dependency_snapshots: *479 - dependency_sbom: *479 - code_scanning_autofix: *479 + graphql: *476 + search: *476 + code_search: *476 + source_import: *476 + integration_manifest: *476 + actions_runner_registration: *476 + scim: *476 + dependency_snapshots: *476 + dependency_sbom: *476 + code_scanning_autofix: *476 + copilot_usage_records: *476 required: - core - search @@ -70643,11 +69952,6 @@ paths: used: 1 remaining: 99 reset: 1691591091 - code_scanning_upload: - limit: 500 - used: 1 - remaining: 499 - reset: 1691594631 actions_runner_registration: limit: 10000 used: 0 @@ -70710,14 +70014,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *480 + schema: *477 examples: default-response: summary: Default response @@ -71225,7 +70529,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *481 + '301': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71243,8 +70547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -71565,10 +70869,10 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 - '307': &483 + default: *479 + '307': &480 description: Temporary Redirect content: application/json: @@ -71597,8 +70901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -71620,7 +70924,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': *483 + '307': *480 '404': *6 '409': *119 x-github: @@ -71644,11 +70948,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - - &499 + - &496 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -71671,7 +70975,7 @@ paths: type: integer artifacts: type: array - items: &484 + items: &481 title: Artifact description: An artifact type: object @@ -71766,7 +71070,7 @@ paths: - expires_at - updated_at examples: - default: &500 + default: &497 value: total_count: 2 artifacts: @@ -71827,9 +71131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *475 - - *476 - - &485 + - *472 + - *473 + - &482 name: artifact_id description: The unique identifier of the artifact. in: path @@ -71841,7 +71145,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *481 examples: default: value: @@ -71879,9 +71183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *475 - - *476 - - *485 + - *472 + - *473 + - *482 responses: '204': description: Response @@ -71905,9 +71209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *475 - - *476 - - *485 + - *472 + - *473 + - *482 - name: archive_format in: path required: true @@ -71917,11 +71221,11 @@ paths: '302': description: Response headers: - Location: &614 + Location: &611 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': &661 + '410': &659 description: Gone content: application/json: @@ -71946,14 +71250,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &486 + schema: &483 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -71987,13 +71291,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *486 + schema: *483 examples: selected_actions: *42 responses: @@ -72022,14 +71326,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &487 + schema: &484 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -72063,13 +71367,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *487 + schema: *484 examples: selected_actions: *44 responses: @@ -72100,14 +71404,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *488 + schema: *485 examples: default: value: @@ -72133,11 +71437,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: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - - &489 + - &486 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 @@ -72171,7 +71475,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &487 title: Repository actions caches description: Repository actions caches type: object @@ -72221,7 +71525,7 @@ paths: - total_count - actions_caches examples: - default: &491 + default: &488 value: total_count: 1 actions_caches: @@ -72253,23 +71557,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: - - *475 - - *476 + - *472 + - *473 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *489 + - *486 responses: '200': description: Response content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72289,8 +71593,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: - - *475 - - *476 + - *472 + - *473 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -72319,8 +71623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *109 responses: @@ -72403,8 +71707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -72560,9 +71864,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: - - *475 - - *476 - - &492 + - *472 + - *473 + - &489 name: job_id description: The unique identifier of the job. in: path @@ -72574,7 +71878,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &500 title: Job description: Information of a job execution in a workflow run type: object @@ -72921,9 +72225,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: - - *475 - - *476 - - *492 + - *472 + - *473 + - *489 responses: '302': description: Response @@ -72951,9 +72255,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: - - *475 - - *476 - - *492 + - *472 + - *473 + - *489 requestBody: required: false content: @@ -72980,7 +72284,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -73004,8 +72308,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Status response @@ -73064,8 +72368,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -73104,7 +72408,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -73133,8 +72437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -73152,7 +72456,7 @@ paths: type: integer secrets: type: array - items: &505 + items: &502 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -73173,7 +72477,7 @@ paths: - created_at - updated_at examples: - default: &506 + default: &503 value: total_count: 2 secrets: @@ -73206,9 +72510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -73225,7 +72529,7 @@ paths: type: integer variables: type: array - items: &507 + items: &504 title: Actions Variable type: object properties: @@ -73259,7 +72563,7 @@ paths: - created_at - updated_at examples: - default: &508 + default: &505 value: total_count: 2 variables: @@ -73292,8 +72596,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -73302,11 +72606,11 @@ paths: schema: type: object properties: - enabled: &493 + enabled: &490 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 - selected_actions_url: *267 + selected_actions_url: *264 sha_pinning_required: *61 required: - enabled @@ -73337,8 +72641,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -73349,7 +72653,7 @@ paths: schema: type: object properties: - enabled: *493 + enabled: *490 allowed_actions: *60 sha_pinning_required: *61 required: @@ -73382,14 +72686,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &494 + schema: &491 type: object properties: access_level: @@ -73407,7 +72711,7 @@ paths: required: - access_level examples: - default: &495 + default: &492 value: access_level: organization x-github: @@ -73432,15 +72736,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *494 + schema: *491 examples: - default: *495 + default: *492 responses: '204': description: Response @@ -73464,14 +72768,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *269 + schema: *266 examples: default: value: @@ -73495,8 +72799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Empty response for successful settings update @@ -73506,7 +72810,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *267 examples: default: summary: Set retention days @@ -73530,8 +72834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -73539,7 +72843,7 @@ paths: application/json: schema: *62 examples: - default: *271 + default: *268 '404': *6 x-github: enabledForGitHubApps: true @@ -73558,8 +72862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -73593,14 +72897,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *272 + schema: *269 examples: default: *63 '403': *27 @@ -73622,13 +72926,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *273 + schema: *270 examples: default: *63 responses: @@ -73654,8 +72958,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -73686,8 +72990,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -73719,14 +73023,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *276 + schema: *273 examples: default: *69 x-github: @@ -73749,8 +73053,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Success response @@ -73761,7 +73065,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *274 examples: default: *69 x-github: @@ -73790,8 +73094,8 @@ paths: in: query schema: type: string - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -73835,8 +73139,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -73844,9 +73148,9 @@ paths: application/json: schema: type: array - items: *281 + items: *278 examples: - default: *282 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73868,8 +73172,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -73912,7 +73216,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *280 '404': *6 '422': *7 '409': *119 @@ -73943,8 +73247,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: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -73952,7 +73256,7 @@ paths: application/json: schema: *79 examples: - default: *284 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73980,8 +73284,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: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -73989,7 +73293,7 @@ paths: application/json: schema: *79 examples: - default: *285 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74011,8 +73315,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: '200': @@ -74021,7 +73325,7 @@ paths: application/json: schema: *76 examples: - default: *286 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74042,8 +73346,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: '204': @@ -74070,8 +73374,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: '200': *81 @@ -74096,8 +73400,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: - - *475 - - *476 + - *472 + - *473 - *75 requestBody: required: true @@ -74146,8 +73450,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: - - *475 - - *476 + - *472 + - *473 - *75 requestBody: required: true @@ -74197,11 +73501,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: - '200': *287 + '200': *284 '404': *6 x-github: githubCloudOnly: false @@ -74228,10 +73532,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: - - *475 - - *476 + - *472 + - *473 - *75 - - *288 + - *285 responses: '200': *81 '404': *6 @@ -74259,9 +73563,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: - - *475 - - *476 - - &511 + - *472 + - *473 + - &508 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. @@ -74269,7 +73573,7 @@ paths: required: false schema: type: string - - &512 + - &509 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -74277,7 +73581,7 @@ paths: required: false schema: type: string - - &513 + - &510 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -74286,7 +73590,7 @@ paths: required: false schema: type: string - - &514 + - &511 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 @@ -74313,7 +73617,7 @@ paths: - pending - *17 - *19 - - &515 + - &512 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)." @@ -74322,7 +73626,7 @@ paths: schema: type: string format: date-time - - &496 + - &493 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -74331,13 +73635,13 @@ paths: schema: type: boolean default: false - - &516 + - &513 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &517 + - &514 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -74360,7 +73664,7 @@ paths: type: integer workflow_runs: type: array - items: &497 + items: &494 title: Workflow Run description: An invocation of a workflow type: object @@ -74477,7 +73781,7 @@ paths: type: - array - 'null' - items: *224 + items: *221 created_at: type: string format: date-time @@ -74538,7 +73842,7 @@ paths: head_commit: anyOf: - type: 'null' - - &541 + - &538 title: Simple Commit description: A commit. type: object @@ -74612,8 +73916,8 @@ paths: - timestamp - author - committer - repository: *280 - head_repository: *280 + repository: *277 + head_repository: *277 head_repository_id: type: integer examples: @@ -74653,7 +73957,7 @@ paths: - workflow_url - pull_requests examples: - default: &518 + default: &515 value: total_count: 1 workflow_runs: @@ -74889,24 +74193,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *475 - - *476 - - &498 + - *472 + - *473 + - &495 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *496 + - *493 responses: '200': description: Response content: application/json: - schema: *497 + schema: *494 examples: - default: &501 + default: &498 value: id: 30433642 name: Build @@ -75147,9 +74451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '204': description: Response @@ -75172,9 +74476,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '200': description: Response @@ -75302,15 +74606,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -75337,12 +74641,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 - *17 - *19 - - *499 + - *496 - *110 responses: '200': @@ -75359,9 +74663,9 @@ paths: type: integer artifacts: type: array - items: *484 + items: *481 examples: - default: *500 + default: *497 headers: Link: *45 x-github: @@ -75385,25 +74689,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *475 - - *476 - - *498 - - &502 + - *472 + - *473 + - *495 + - &499 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *496 + - *493 responses: '200': description: Response content: application/json: - schema: *497 + schema: *494 examples: - default: *501 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75426,10 +74730,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: - - *475 - - *476 - - *498 - - *502 + - *472 + - *473 + - *495 + - *499 - *17 - *19 responses: @@ -75447,9 +74751,9 @@ paths: type: integer jobs: type: array - items: *503 + items: *500 examples: - default: &504 + default: &501 value: total_count: 1 jobs: @@ -75562,10 +74866,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *475 - - *476 - - *498 - - *502 + - *472 + - *473 + - *495 + - *499 responses: '302': description: Response @@ -75593,15 +74897,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '202': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -75641,9 +74945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 - *17 - *108 - *109 @@ -75820,9 +75124,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: true content: @@ -75889,15 +75193,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '202': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -75924,9 +75228,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 - 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 @@ -75956,9 +75260,9 @@ paths: type: integer jobs: type: array - items: *503 + items: *500 examples: - default: *504 + default: *501 headers: Link: *45 x-github: @@ -75983,9 +75287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '302': description: Response @@ -76012,9 +75316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '204': description: Response @@ -76041,9 +75345,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '200': description: Response @@ -76112,7 +75416,7 @@ paths: items: type: object properties: - type: &629 + type: &626 type: string description: The type of reviewer. enum: @@ -76123,7 +75427,7 @@ paths: reviewer: anyOf: - *4 - - *316 + - *313 required: - environment - wait_timer @@ -76198,9 +75502,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: true content: @@ -76250,7 +75554,7 @@ paths: application/json: schema: type: array - items: &616 + items: &613 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -76362,7 +75666,7 @@ paths: - created_at - updated_at examples: - default: &617 + default: &614 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -76418,9 +75722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: false content: @@ -76442,7 +75746,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76465,9 +75769,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: false content: @@ -76489,7 +75793,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76522,9 +75826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '200': description: Response @@ -76661,8 +75965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -76680,9 +75984,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -76707,16 +76011,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76738,17 +76042,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: &519 + default: &516 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -76774,9 +76078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -76807,7 +76111,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76833,9 +76137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -76860,9 +76164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -76879,9 +76183,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -76904,8 +76208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -76932,7 +76236,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76957,17 +76261,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: &520 + default: &517 value: name: USERNAME value: octocat @@ -76993,9 +76297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 requestBody: required: true content: @@ -77037,9 +76341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '204': description: Response @@ -77064,8 +76368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -77083,7 +76387,7 @@ paths: type: integer workflows: type: array - items: &509 + items: &506 title: Workflow description: A GitHub Actions workflow type: object @@ -77201,9 +76505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *475 - - *476 - - &510 + - *472 + - *473 + - &507 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -77218,7 +76522,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: default: value: @@ -77251,9 +76555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '204': description: Response @@ -77278,9 +76582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '200': description: Response including the workflow run ID and URLs. @@ -77360,9 +76664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '204': description: Response @@ -77389,19 +76693,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: - - *475 - - *476 + - *472 + - *473 + - *507 + - *508 + - *509 - *510 - *511 + - *17 + - *19 - *512 + - *493 - *513 - *514 - - *17 - - *19 - - *515 - - *496 - - *516 - - *517 responses: '200': description: Response @@ -77417,9 +76721,9 @@ paths: type: integer workflow_runs: type: array - items: *497 + items: *494 examples: - default: *518 + default: *515 headers: Link: *45 x-github: @@ -77452,9 +76756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '200': description: Response @@ -77515,8 +76819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *475 - - *476 + - *472 + - *473 - *110 - *17 - *108 @@ -77689,8 +76993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -77708,9 +77012,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -77734,9 +77038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -77753,9 +77057,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -77780,8 +77084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -77799,9 +77103,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -77826,16 +77130,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77857,17 +77161,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: *519 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77889,9 +77193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -77922,7 +77226,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -77948,9 +77252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -77975,9 +77279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -77994,9 +77298,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -78019,8 +77323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -78047,7 +77351,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -78072,17 +77376,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: *520 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78103,9 +77407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 requestBody: required: true content: @@ -78147,9 +77451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '204': description: Response @@ -78170,8 +77474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -78183,7 +77487,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '404': *6 @@ -78208,8 +77512,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: - - *475 - - *476 + - *472 + - *473 - name: assignee in: path required: true @@ -78245,8 +77549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -78356,8 +77660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *108 - *109 @@ -78398,7 +77702,7 @@ paths: initiator: type: string examples: - default: *521 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78418,8 +77722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -78427,7 +77731,7 @@ paths: application/json: schema: type: array - items: &522 + items: &519 title: Autolink reference description: An autolink reference. type: object @@ -78486,8 +77790,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -78526,9 +77830,9 @@ paths: description: response content: application/json: - schema: *522 + schema: *519 examples: - default: &523 + default: &520 value: id: 1 key_prefix: TICKET- @@ -78559,9 +77863,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: - - *475 - - *476 - - &524 + - *472 + - *473 + - &521 name: autolink_id description: The unique identifier of the autolink. in: path @@ -78573,9 +77877,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *519 examples: - default: *523 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -78595,9 +77899,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: - - *475 - - *476 - - *524 + - *472 + - *473 + - *521 responses: '204': description: Response @@ -78621,8 +77925,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response if Dependabot is enabled @@ -78672,8 +77976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -78694,8 +77998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -78715,8 +78019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *475 - - *476 + - *472 + - *473 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -78754,7 +78058,7 @@ paths: - url protected: type: boolean - protection: &526 + protection: &523 title: Branch Protection description: Branch Protection type: object @@ -78797,7 +78101,7 @@ paths: required: - contexts - checks - enforce_admins: &529 + enforce_admins: &526 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -78814,7 +78118,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &531 + required_pull_request_reviews: &528 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -78836,7 +78140,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *316 + items: *313 apps: description: The list of apps with review dismissal access. @@ -78868,7 +78172,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *316 + items: *313 apps: description: The list of apps allowed to bypass pull request requirements. @@ -78898,7 +78202,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &528 + restrictions: &525 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -78961,7 +78265,7 @@ paths: type: string teams: type: array - items: *316 + items: *313 apps: type: array items: @@ -79191,9 +78495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *475 - - *476 - - &527 + - *472 + - *473 + - &524 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). @@ -79207,14 +78511,14 @@ paths: description: Response content: application/json: - schema: &537 + schema: &534 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &588 + commit: &585 title: Commit description: Commit type: object @@ -79253,7 +78557,7 @@ paths: author: anyOf: - type: 'null' - - &525 + - &522 title: Git User description: Metaproperties for Git author/committer information. @@ -79275,7 +78579,7 @@ paths: committer: anyOf: - type: 'null' - - *525 + - *522 message: type: string examples: @@ -79299,7 +78603,7 @@ paths: required: - sha - url - verification: &647 + verification: &644 title: Verification type: object properties: @@ -79335,14 +78639,14 @@ paths: author: oneOf: - *4 - - *291 + - *288 type: - 'null' - object committer: oneOf: - *4 - - *291 + - *288 type: - 'null' - object @@ -79379,7 +78683,7 @@ paths: type: integer files: type: array - items: &599 + items: &596 title: Diff Entry description: Diff Entry type: object @@ -79475,7 +78779,7 @@ paths: - self protected: type: boolean - protection: *526 + protection: *523 protection_url: type: string format: uri @@ -79584,7 +78888,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *481 + '301': *478 '404': *6 x-github: githubCloudOnly: false @@ -79606,15 +78910,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: default: value: @@ -79808,9 +79112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -80070,7 +79374,7 @@ paths: url: type: string format: uri - required_status_checks: &534 + required_status_checks: &531 title: Status Check Policy description: Status Check Policy type: object @@ -80151,7 +79455,7 @@ paths: items: *4 teams: type: array - items: *316 + items: *313 apps: type: array items: *5 @@ -80169,7 +79473,7 @@ paths: items: *4 teams: type: array - items: *316 + items: *313 apps: type: array items: *5 @@ -80229,7 +79533,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *528 + restrictions: *525 required_conversation_resolution: type: object properties: @@ -80341,9 +79645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -80368,17 +79672,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: &530 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -80400,17 +79704,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: *530 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80429,9 +79733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -80456,17 +79760,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *531 + schema: *528 examples: - default: &532 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -80562,9 +79866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -80662,9 +79966,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *528 examples: - default: *532 + default: *529 '422': *15 x-github: githubCloudOnly: false @@ -80685,9 +79989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -80714,17 +80018,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: &533 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -80747,17 +80051,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: *533 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -80777,9 +80081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -80804,17 +80108,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *534 + schema: *531 examples: - default: &535 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -80840,9 +80144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -80894,9 +80198,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *531 examples: - default: *535 + default: *532 '404': *6 '422': *15 x-github: @@ -80918,9 +80222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -80944,9 +80248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -80980,9 +80284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -81049,9 +80353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -81115,9 +80419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: content: application/json: @@ -81183,15 +80487,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *528 + schema: *525 examples: default: value: @@ -81282,9 +80586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -81307,9 +80611,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: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -81319,7 +80623,7 @@ paths: type: array items: *5 examples: - default: &536 + default: &533 value: - id: 1 slug: octoapp @@ -81376,9 +80680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -81412,7 +80716,7 @@ paths: type: array items: *5 examples: - default: *536 + default: *533 '422': *15 x-github: githubCloudOnly: false @@ -81433,9 +80737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -81469,7 +80773,7 @@ paths: type: array items: *5 examples: - default: *536 + default: *533 '422': *15 x-github: githubCloudOnly: false @@ -81490,9 +80794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -81526,7 +80830,7 @@ paths: type: array items: *5 examples: - default: *536 + default: *533 '422': *15 x-github: githubCloudOnly: false @@ -81548,9 +80852,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: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -81558,9 +80862,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -81580,9 +80884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -81618,9 +80922,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -81641,9 +80945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -81679,9 +80983,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -81702,9 +81006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: content: application/json: @@ -81739,9 +81043,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -81763,9 +81067,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: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -81775,7 +81079,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '404': *6 x-github: githubCloudOnly: false @@ -81799,9 +81103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -81834,7 +81138,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '422': *15 x-github: githubCloudOnly: false @@ -81859,9 +81163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -81894,7 +81198,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '422': *15 x-github: githubCloudOnly: false @@ -81919,9 +81223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -81954,7 +81258,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '422': *15 x-github: githubCloudOnly: false @@ -81981,9 +81285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -82005,7 +81309,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *534 examples: default: value: @@ -82119,8 +81423,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *475 - - *476 + - *472 + - *473 - *103 - *104 - *105 @@ -82134,9 +81438,9 @@ paths: application/json: schema: type: array - items: *311 + items: *308 examples: - default: *312 + default: *309 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -82156,8 +81460,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_request_number in: path required: true @@ -82171,7 +81475,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *308 examples: default: value: @@ -82230,8 +81534,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - *103 - *104 - *105 @@ -82245,9 +81549,9 @@ paths: application/json: schema: type: array - items: *314 + items: *311 examples: - default: *315 + default: *312 '404': *6 '403': *27 '500': *38 @@ -82271,8 +81575,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_request_number in: path required: true @@ -82284,7 +81588,7 @@ paths: description: A single bypass request. content: application/json: - schema: *314 + schema: *311 examples: default: value: @@ -82342,8 +81646,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_request_number in: path required: true @@ -82414,8 +81718,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_response_id in: path required: true @@ -82448,8 +81752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -82728,7 +82032,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &535 title: CheckRun description: A check performed on the code of a given code change type: object @@ -82863,8 +82167,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *224 - deployment: &868 + items: *221 + deployment: &866 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -83151,9 +82455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *475 - - *476 - - &539 + - *472 + - *473 + - &536 name: check_run_id description: The unique identifier of the check run. in: path @@ -83165,9 +82469,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *535 examples: - default: &540 + default: &537 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -83267,9 +82571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *475 - - *476 - - *539 + - *472 + - *473 + - *536 requestBody: required: true content: @@ -83509,9 +82813,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *535 examples: - default: *540 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83531,9 +82835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *475 - - *476 - - *539 + - *472 + - *473 + - *536 - *17 - *19 responses: @@ -83643,15 +82947,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *475 - - *476 - - *539 + - *472 + - *473 + - *536 responses: '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -83689,8 +82993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -83712,7 +83016,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &542 + schema: &539 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -83794,12 +83098,12 @@ paths: type: - array - 'null' - items: *224 + items: *221 app: anyOf: - type: 'null' - *5 - repository: *280 + repository: *277 created_at: type: - string @@ -83810,7 +83114,7 @@ paths: - string - 'null' format: date-time - head_commit: *541 + head_commit: *538 latest_check_runs_count: type: integer check_runs_url: @@ -83838,7 +83142,7 @@ paths: - check_runs_url - pull_requests examples: - default: &543 + default: &540 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -84129,9 +83433,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *542 + schema: *539 examples: - default: *543 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84150,8 +83454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -84212,7 +83516,7 @@ paths: required: - app_id - setting - repository: *280 + repository: *277 examples: default: value: @@ -84460,9 +83764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *475 - - *476 - - &544 + - *472 + - *473 + - &541 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -84474,9 +83778,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *539 examples: - default: *543 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84499,17 +83803,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: - - *475 - - *476 - - *544 - - &594 + - *472 + - *473 + - *541 + - &591 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &595 + - &592 name: status description: Returns check runs with the specified `status`. in: query @@ -84548,9 +83852,9 @@ paths: type: integer check_runs: type: array - items: *538 + items: *535 examples: - default: &596 + default: &593 value: total_count: 1 check_runs: @@ -84652,15 +83956,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *475 - - *476 - - *544 + - *472 + - *473 + - *541 responses: '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -84687,21 +83991,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: - - *475 - - *476 - - *320 - - *321 + - *472 + - *473 + - *317 + - *318 - *19 - *17 - - &560 + - &557 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: *545 - - &561 + schema: *542 + - &558 name: pr description: The number of the pull request for the results you want to list. in: query @@ -84726,13 +84030,13 @@ paths: be returned. in: query required: false - schema: *322 + schema: *319 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *546 + schema: *543 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -84756,7 +84060,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *547 + instances_url: *544 state: *113 fixed_at: *137 dismissed_by: @@ -84764,11 +84068,11 @@ paths: - type: 'null' - *4 dismissed_at: *136 - dismissed_reason: *548 - dismissed_comment: *549 - rule: *550 - tool: *551 - most_recent_instance: *552 + dismissed_reason: *545 + dismissed_comment: *546 + rule: *547 + tool: *548 + most_recent_instance: *549 dismissal_approved_by: anyOf: - type: 'null' @@ -84891,7 +84195,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &553 + '403': &550 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -84918,9 +84222,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: - - *475 - - *476 - - &554 + - *472 + - *473 + - &551 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -84934,7 +84238,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &552 type: object properties: number: *127 @@ -84942,7 +84246,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *547 + instances_url: *544 state: *113 fixed_at: *137 dismissed_by: @@ -84950,8 +84254,8 @@ paths: - type: 'null' - *4 dismissed_at: *136 - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *545 + dismissed_comment: *546 rule: type: object properties: @@ -85013,8 +84317,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *551 - most_recent_instance: *552 + tool: *548 + most_recent_instance: *549 dismissal_approved_by: anyOf: - type: 'null' @@ -85110,7 +84414,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -85130,9 +84434,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 requestBody: required: true content: @@ -85147,8 +84451,8 @@ paths: enum: - open - dismissed - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *545 + dismissed_comment: *546 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -85176,7 +84480,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *552 examples: default: value: @@ -85252,7 +84556,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &559 + '403': &556 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -85279,15 +84583,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 responses: '200': description: Response content: application/json: - schema: &556 + schema: &553 type: object properties: status: @@ -85314,13 +84618,13 @@ paths: - description - started_at examples: - default: &557 + default: &554 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &558 + '400': &555 description: Bad Request content: application/json: @@ -85331,7 +84635,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': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -85356,29 +84660,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 responses: '200': description: OK content: application/json: - schema: *556 + schema: *553 examples: - default: *557 + default: *554 '202': description: Accepted content: application/json: - schema: *556 + schema: *553 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *558 + '400': *555 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -85410,9 +84714,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 requestBody: required: false content: @@ -85458,8 +84762,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *558 - '403': *559 + '400': *555 + '403': *556 '404': *6 '422': description: Unprocessable Entity @@ -85483,13 +84787,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 - *19 - *17 - - *560 - - *561 + - *557 + - *558 responses: '200': description: Response @@ -85500,10 +84804,10 @@ paths: items: type: object properties: - ref: *545 - analysis_key: *562 - environment: *563 - category: *564 + ref: *542 + analysis_key: *559 + environment: *560 + category: *561 state: type: - string @@ -85520,7 +84824,7 @@ paths: properties: text: type: string - location: *565 + location: *562 html_url: type: string classifications: @@ -85528,7 +84832,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *566 + items: *563 examples: default: value: @@ -85565,7 +84869,7 @@ paths: end_column: 50 classifications: - source - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -85599,25 +84903,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: - - *475 - - *476 - - *320 - - *321 + - *472 + - *473 + - *317 + - *318 - *19 - *17 - - *561 + - *558 - 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: *545 + schema: *542 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &567 + schema: &564 type: string description: An identifier for the upload. examples: @@ -85639,23 +84943,23 @@ paths: application/json: schema: type: array - items: &568 + items: &565 type: object properties: - ref: *545 - commit_sha: &576 + ref: *542 + commit_sha: &573 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *562 + analysis_key: *559 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *564 + category: *561 error: type: string examples: @@ -85680,8 +84984,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *567 - tool: *551 + sarif_id: *564 + tool: *548 deletable: type: boolean warning: @@ -85743,7 +85047,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -85779,8 +85083,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: - - *475 - - *476 + - *472 + - *473 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -85793,7 +85097,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *565 examples: response: summary: application/json response @@ -85847,7 +85151,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *553 + '403': *550 '404': *6 '422': description: Response if analysis could not be processed @@ -85934,8 +85238,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: - - *475 - - *476 + - *472 + - *473 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -85991,7 +85295,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': *559 + '403': *556 '404': *6 '503': *192 x-github: @@ -86013,8 +85317,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -86022,7 +85326,7 @@ paths: application/json: schema: type: array - items: &569 + items: &566 title: CodeQL Database description: A CodeQL database. type: object @@ -86134,7 +85438,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': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -86163,8 +85467,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: - - *475 - - *476 + - *472 + - *473 - name: language in: path description: The language of the CodeQL database. @@ -86176,7 +85480,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: default: value: @@ -86208,9 +85512,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': &603 + '302': &600 description: Found - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -86232,8 +85536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *475 - - *476 + - *472 + - *473 - name: language in: path description: The language of the CodeQL database. @@ -86243,7 +85547,7 @@ paths: responses: '204': description: Response - '403': *559 + '403': *556 '404': *6 '503': *192 x-github: @@ -86271,8 +85575,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -86281,7 +85585,7 @@ paths: type: object additionalProperties: false properties: - language: &570 + language: &567 type: string description: The language targeted by the CodeQL query enum: @@ -86361,7 +85665,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &574 + schema: &571 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -86371,7 +85675,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *570 + query_language: *567 query_pack_url: type: string description: The download url for the query pack. @@ -86419,7 +85723,7 @@ paths: items: type: object properties: - repository: &571 + repository: &568 title: Repository Identifier description: Repository Identifier type: object @@ -86461,7 +85765,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &575 + analysis_status: &572 type: string description: The new status of the CodeQL variant analysis repository task. @@ -86493,7 +85797,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &572 + access_mismatch_repos: &569 type: object properties: repository_count: @@ -86508,7 +85812,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: *571 + items: *568 required: - repository_count - repositories @@ -86531,8 +85835,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *572 - over_limit_repos: *572 + no_codeql_db_repos: *569 + over_limit_repos: *569 required: - access_mismatch_repos - not_found_repos @@ -86548,7 +85852,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &573 + value: &570 summary: Default response value: id: 1 @@ -86694,10 +85998,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *573 + value: *570 repository_lists: summary: Response for a successful variant analysis submission - value: *573 + value: *570 '404': *6 '422': description: Unable to process variant analysis submission @@ -86725,8 +86029,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: - - *475 - - *476 + - *472 + - *473 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -86738,9 +86042,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *571 examples: - default: *573 + default: *570 '404': *6 '503': *192 x-github: @@ -86763,7 +86067,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: - - *475 + - *472 - name: repo in: path description: The name of the controller repository. @@ -86798,7 +86102,7 @@ paths: type: object properties: repository: *120 - analysis_status: *575 + analysis_status: *572 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -86923,8 +86227,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -87015,7 +86319,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -87036,8 +86340,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -87106,7 +86410,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -87131,7 +86435,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *559 + '403': *556 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -87202,8 +86506,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -87211,7 +86515,7 @@ paths: schema: type: object properties: - commit_sha: *576 + commit_sha: *573 ref: type: string description: |- @@ -87271,7 +86575,7 @@ paths: schema: type: object properties: - id: *567 + id: *564 url: type: string description: The REST API URL for checking the status of the upload. @@ -87285,7 +86589,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': *559 + '403': *556 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -87308,8 +86612,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: - - *475 - - *476 + - *472 + - *473 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -87357,7 +86661,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': *553 + '403': *550 '404': description: Not Found if the sarif id does not match any upload '503': *192 @@ -87382,8 +86686,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -87464,8 +86768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *475 - - *476 + - *472 + - *473 - 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 @@ -87593,8 +86897,8 @@ paths: parameters: - *17 - *19 - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -87610,7 +86914,7 @@ paths: type: integer codespaces: type: array - items: *394 + items: *391 examples: default: value: @@ -87908,8 +87212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -87973,17 +87277,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '400': *14 '401': *23 '403': *27 @@ -88012,8 +87316,8 @@ paths: parameters: - *17 - *19 - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -88077,8 +87381,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: - - *475 - - *476 + - *472 + - *473 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -88115,9 +87419,9 @@ paths: type: integer machines: type: array - items: *578 + items: *575 examples: - default: &812 + default: &810 value: total_count: 2 machines: @@ -88157,8 +87461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *475 - - *476 + - *472 + - *473 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -88245,8 +87549,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: - - *475 - - *476 + - *472 + - *473 - 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 @@ -88315,8 +87619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -88334,7 +87638,7 @@ paths: type: integer secrets: type: array - items: &582 + items: &579 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -88355,7 +87659,7 @@ paths: - created_at - updated_at examples: - default: *579 + default: *576 headers: Link: *45 x-github: @@ -88378,16 +87682,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *580 + schema: *577 examples: - default: *581 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88407,17 +87711,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *582 + schema: *579 examples: - default: *583 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88437,9 +87741,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: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -88467,7 +87771,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -88491,9 +87795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -88521,8 +87825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *475 - - *476 + - *472 + - *473 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -88560,7 +87864,7 @@ paths: application/json: schema: type: array - items: &584 + items: &581 title: Collaborator description: Collaborator type: object @@ -88753,8 +88057,8 @@ 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: - - *475 - - *476 + - *472 + - *473 - *140 responses: '204': @@ -88801,8 +88105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *475 - - *476 + - *472 + - *473 - *140 requestBody: required: false @@ -88829,7 +88133,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &659 + schema: &657 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88841,7 +88145,7 @@ paths: format: int64 examples: - 42 - repository: *280 + repository: *277 invitee: anyOf: - type: 'null' @@ -89017,7 +88321,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *255 + schema: *252 '403': *27 x-github: triggersNotification: true @@ -89057,8 +88361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *475 - - *476 + - *472 + - *473 - *140 responses: '204': @@ -89090,8 +88394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *475 - - *476 + - *472 + - *473 - *140 responses: '200': @@ -89112,7 +88416,7 @@ paths: user: anyOf: - type: 'null' - - *584 + - *581 required: - permission - role_name @@ -89166,8 +88470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -89177,7 +88481,7 @@ paths: application/json: schema: type: array - items: &585 + items: &582 title: Commit Comment description: Commit Comment type: object @@ -89218,8 +88522,8 @@ paths: updated_at: type: string format: date-time - author_association: *218 - reactions: *219 + author_association: *215 + reactions: *216 required: - url - html_url @@ -89235,7 +88539,7 @@ paths: - created_at - updated_at examples: - default: &590 + default: &587 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -89294,17 +88598,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *585 + schema: *582 examples: - default: &591 + default: &588 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -89361,9 +88665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -89385,7 +88689,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *582 examples: default: value: @@ -89436,9 +88740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response @@ -89459,9 +88763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 - 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. @@ -89487,7 +88791,7 @@ paths: application/json: schema: type: array - items: &586 + items: &583 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -89531,7 +88835,7 @@ paths: - content - created_at examples: - default: &663 + default: &661 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -89576,9 +88880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -89610,9 +88914,9 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: &587 + default: &584 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -89641,9 +88945,9 @@ paths: description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -89665,10 +88969,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *475 - - *476 - - *235 - - &664 + - *472 + - *473 + - *232 + - &662 name: reaction_id description: The unique identifier of the reaction. in: path @@ -89723,8 +89027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *475 - - *476 + - *472 + - *473 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -89780,9 +89084,9 @@ paths: application/json: schema: type: array - items: *588 + items: *585 examples: - default: &713 + default: &711 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -89876,9 +89180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *475 - - *476 - - &589 + - *472 + - *473 + - &586 name: commit_sha description: The SHA of the commit. in: path @@ -89950,9 +89254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 - *17 - *19 responses: @@ -89962,9 +89266,9 @@ paths: application/json: schema: type: array - items: *585 + items: *582 examples: - default: *590 + default: *587 headers: Link: *45 x-github: @@ -89992,9 +89296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 requestBody: required: true content: @@ -90029,9 +89333,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *582 examples: - default: *591 + default: *588 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -90059,9 +89363,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: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 - *17 - *19 responses: @@ -90071,9 +89375,9 @@ paths: application/json: schema: type: array - items: *592 + items: *589 examples: - default: &705 + default: &703 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -90610,11 +89914,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *475 - - *476 + - *472 + - *473 - *19 - *17 - - &593 + - &590 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)" @@ -90629,9 +89933,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *585 examples: - default: &691 + default: &689 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -90719,7 +90023,7 @@ paths: schema: type: string examples: - default: &600 + default: &597 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -90732,7 +90036,7 @@ paths: schema: type: string examples: - default: &601 + default: &598 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -90785,11 +90089,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: - - *475 - - *476 - - *593 - - *594 - - *595 + - *472 + - *473 + - *590 + - *591 + - *592 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -90823,9 +90127,9 @@ paths: type: integer check_runs: type: array - items: *538 + items: *535 examples: - default: *596 + default: *593 headers: Link: *45 x-github: @@ -90850,9 +90154,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: - - *475 - - *476 - - *593 + - *472 + - *473 + - *590 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -90860,7 +90164,7 @@ paths: schema: type: integer example: 1 - - *594 + - *591 - *17 - *19 responses: @@ -90878,7 +90182,7 @@ paths: type: integer check_suites: type: array - items: *542 + items: *539 examples: default: value: @@ -91078,9 +90382,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: - - *475 - - *476 - - *593 + - *472 + - *473 + - *590 - *17 - *19 responses: @@ -91151,7 +90455,7 @@ paths: type: string total_count: type: integer - repository: *280 + repository: *277 commit_url: type: string format: uri @@ -91282,9 +90586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *475 - - *476 - - *593 + - *472 + - *473 + - *590 - *17 - *19 responses: @@ -91294,7 +90598,7 @@ paths: application/json: schema: type: array - items: &767 + items: &765 title: Status description: The status of a commit. type: object @@ -91375,7 +90679,7 @@ paths: site_admin: false headers: Link: *45 - '301': *481 + '301': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91403,8 +90707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -91437,11 +90741,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *597 + - *594 code_of_conduct_file: anyOf: - type: 'null' - - &598 + - &595 title: Community Health File type: object properties: @@ -91457,23 +90761,23 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 contributing: anyOf: - type: 'null' - - *598 + - *595 readme: anyOf: - type: 'null' - - *598 + - *595 issue_template: anyOf: - type: 'null' - - *598 + - *595 pull_request_template: anyOf: - type: 'null' - - *598 + - *595 required: - code_of_conduct - code_of_conduct_file @@ -91602,8 +90906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *475 - - *476 + - *472 + - *473 - *19 - *17 - name: basehead @@ -91651,8 +90955,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *588 - merge_base_commit: *588 + base_commit: *585 + merge_base_commit: *585 status: type: string enum: @@ -91676,10 +90980,10 @@ paths: - 6 commits: type: array - items: *588 + items: *585 files: type: array - items: *599 + items: *596 required: - url - html_url @@ -91925,12 +91229,12 @@ paths: schema: type: string examples: - default: *600 + default: *597 application/vnd.github.patch: schema: type: string examples: - default: *601 + default: *598 '404': *6 '500': *38 '503': *192 @@ -91975,8 +91279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *475 - - *476 + - *472 + - *473 - name: path description: path parameter in: path @@ -92146,7 +91450,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &602 + response-if-content-is-a-file-github-object: &599 summary: Response if content is a file value: type: file @@ -92283,7 +91587,7 @@ paths: - size - type - url - - &718 + - &716 title: Content File description: Content File type: object @@ -92501,7 +91805,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *602 + response-if-content-is-a-file: *599 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -92570,7 +91874,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *603 + '302': *600 '304': *35 x-github: githubCloudOnly: false @@ -92593,8 +91897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *475 - - *476 + - *472 + - *473 - name: path description: path parameter in: path @@ -92689,7 +91993,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &601 title: File Commit description: File Commit type: object @@ -92845,7 +92149,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *601 examples: example-for-creating-a-file: value: @@ -92899,7 +92203,7 @@ paths: schema: oneOf: - *3 - - &642 + - &639 description: Repository rule violation was detected type: object properties: @@ -92920,7 +92224,7 @@ paths: items: type: object properties: - placeholder_id: &759 + placeholder_id: &757 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -92952,8 +92256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *475 - - *476 + - *472 + - *473 - name: path description: path parameter in: path @@ -93014,7 +92318,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *601 examples: default: value: @@ -93069,8 +92373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *475 - - *476 + - *472 + - *473 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -93200,8 +92504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -93334,24 +92638,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 + - *338 + - *339 + - *340 - *341 - *342 - - *343 - - *344 - - *345 - 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 + - *343 + - *602 + - *344 + - *345 - *346 - - *605 - - *347 - - *348 - - *349 - *110 - *108 - *109 @@ -93363,7 +92667,7 @@ paths: application/json: schema: type: array - items: &609 + items: &606 type: object description: A Dependabot alert. properties: @@ -93414,7 +92718,7 @@ paths: - transitive - inconclusive - - security_advisory: *606 + security_advisory: *603 security_vulnerability: *131 url: *132 html_url: *133 @@ -93445,8 +92749,8 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: *607 - dismissal_request: *608 + auto_dismissed_at: *604 + dismissal_request: *605 assignees: type: array description: The users assigned to this alert. @@ -93701,9 +93005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *475 - - *476 - - &610 + - *472 + - *473 + - &607 name: alert_number in: path description: |- @@ -93718,7 +93022,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *606 examples: default: value: @@ -93850,9 +93154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *475 - - *476 - - *610 + - *472 + - *473 + - *607 requestBody: required: true content: @@ -93889,6 +93193,7 @@ paths: Usernames to assign to this Dependabot Alert. Pass one or more user logins to _replace_ the set of assignees on this alert. Send an empty array (`[]`) to clear all assignees from the alert. + To assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`). items: type: string anyOf: @@ -93908,7 +93213,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *606 examples: default: value: @@ -94038,8 +93343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -94057,7 +93362,7 @@ paths: type: integer secrets: type: array - items: &613 + items: &610 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -94111,16 +93416,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *611 + schema: *608 examples: - default: *612 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94140,15 +93445,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *613 + schema: *610 examples: default: value: @@ -94174,9 +93479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -94204,7 +93509,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -94228,9 +93533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -94252,8 +93557,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: - - *475 - - *476 + - *472 + - *473 - 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 @@ -94430,8 +93735,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -94690,8 +93995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - name: sbom_uuid in: path required: true @@ -94702,7 +94007,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *614 + Location: *611 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -94723,8 +94028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -94762,8 +94067,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -94846,7 +94151,7 @@ paths: - version - url additionalProperties: false - metadata: &615 + metadata: &612 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -94885,7 +94190,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *615 + metadata: *612 resolved: type: object description: A collection of resolved package dependencies. @@ -94899,7 +94204,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *615 + metadata: *612 relationship: type: string description: A notation of whether a dependency is requested @@ -95032,8 +94337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *475 - - *476 + - *472 + - *473 - name: sha description: The SHA recorded at creation time. in: query @@ -95074,9 +94379,9 @@ paths: application/json: schema: type: array - items: *616 + items: *613 examples: - default: *617 + default: *614 headers: Link: *45 x-github: @@ -95142,8 +94447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -95225,7 +94530,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *613 examples: simple-example: summary: Simple example @@ -95298,9 +94603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *475 - - *476 - - &618 + - *472 + - *473 + - &615 name: deployment_id description: deployment_id parameter in: path @@ -95312,7 +94617,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *613 examples: default: value: @@ -95377,9 +94682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 responses: '204': description: Response @@ -95401,9 +94706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 - *17 - *19 responses: @@ -95413,7 +94718,7 @@ paths: application/json: schema: type: array - items: &619 + items: &616 title: Deployment Status description: The status of a deployment. type: object @@ -95577,9 +94882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 requestBody: required: true content: @@ -95654,9 +94959,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *616 examples: - default: &620 + default: &617 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -95712,9 +95017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 - name: status_id in: path required: true @@ -95725,9 +95030,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *616 examples: - default: *620 + default: *617 '404': *6 x-github: githubCloudOnly: false @@ -95754,12 +95059,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 + - *618 + - *619 + - *620 - *621 - - *622 - - *623 - - *624 - *17 - *19 responses: @@ -95769,9 +95074,9 @@ paths: application/json: schema: type: array - items: *625 + items: *622 examples: - default: *626 + default: *623 '404': *6 '403': *27 '500': *38 @@ -95795,8 +95100,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -95808,7 +95113,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *625 + schema: *622 examples: default: value: @@ -95864,8 +95169,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -95924,12 +95229,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 + - *618 + - *619 + - *620 - *621 - - *622 - - *623 - - *624 - *17 - *19 responses: @@ -95939,9 +95244,9 @@ paths: application/json: schema: type: array - items: *627 + items: *624 examples: - default: *628 + default: *625 '404': *6 '403': *27 '500': *38 @@ -95965,8 +95270,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -95978,7 +95283,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *627 + schema: *624 examples: default: value: @@ -96029,8 +95334,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96068,7 +95373,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *627 + schema: *624 examples: default: value: @@ -96119,8 +95424,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96191,8 +95496,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96225,12 +95530,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - *103 - *104 - *105 - - *355 + - *352 - *17 - *19 responses: @@ -96240,9 +95545,9 @@ paths: application/json: schema: type: array - items: *357 + items: *354 examples: - default: *358 + default: *355 '404': *6 '403': *27 '500': *38 @@ -96267,8 +95572,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96280,7 +95585,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *357 + schema: *354 examples: default: value: @@ -96338,8 +95643,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96408,8 +95713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -96466,8 +95771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -96485,7 +95790,7 @@ paths: - 5 environments: type: array - items: &630 + items: &627 title: Environment description: Details of a deployment environment type: object @@ -96547,7 +95852,7 @@ paths: type: string examples: - wait_timer - wait_timer: &632 + wait_timer: &629 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -96589,11 +95894,11 @@ paths: items: type: object properties: - type: *629 + type: *626 reviewer: anyOf: - *4 - - *316 + - *313 required: - id - node_id @@ -96616,7 +95921,7 @@ paths: - id - node_id - type - deployment_branch_policy: &633 + deployment_branch_policy: &630 type: - object - 'null' @@ -96733,9 +96038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *475 - - *476 - - &631 + - *472 + - *473 + - &628 name: environment_name in: path required: true @@ -96748,9 +96053,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *627 examples: - default: &634 + default: &631 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -96834,9 +96139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 requestBody: required: false content: @@ -96846,7 +96151,7 @@ paths: - object - 'null' properties: - wait_timer: *632 + wait_timer: *629 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -96865,14 +96170,14 @@ paths: items: type: object properties: - type: *629 + type: *626 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *633 + deployment_branch_policy: *630 additionalProperties: false examples: default: @@ -96892,9 +96197,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *627 examples: - default: *634 + default: *631 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -96918,9 +96223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 responses: '204': description: Default response @@ -96945,9 +96250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 - *17 - *19 responses: @@ -96966,7 +96271,7 @@ paths: - 2 branch_policies: type: array - items: &635 + items: &632 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -97027,9 +96332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 requestBody: required: true content: @@ -97077,9 +96382,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: - example-wildcard: &636 + example-wildcard: &633 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -97121,10 +96426,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 - - &637 + - *472 + - *473 + - *628 + - &634 name: branch_policy_id in: path required: true @@ -97136,9 +96441,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: - default: *636 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97157,10 +96462,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 - - *637 + - *472 + - *473 + - *628 + - *634 requestBody: required: true content: @@ -97189,9 +96494,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: - default: *636 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97210,10 +96515,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 - - *637 + - *472 + - *473 + - *628 + - *634 responses: '204': description: Response @@ -97238,9 +96543,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: - - *631 - - *476 - - *475 + - *628 + - *473 + - *472 responses: '200': description: List of deployment protection rules @@ -97257,7 +96562,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &638 + items: &635 title: Deployment protection rule description: Deployment protection rule type: object @@ -97279,7 +96584,7 @@ paths: for the environment. examples: - true - app: &639 + app: &636 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -97382,9 +96687,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: - - *631 - - *476 - - *475 + - *628 + - *473 + - *472 requestBody: content: application/json: @@ -97405,9 +96710,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *638 + schema: *635 examples: - default: &640 + default: &637 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -97442,9 +96747,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: - - *631 - - *476 - - *475 + - *628 + - *473 + - *472 - *19 - *17 responses: @@ -97464,7 +96769,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *639 + items: *636 examples: default: value: @@ -97499,10 +96804,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: - - *475 - - *476 - - *631 - - &641 + - *472 + - *473 + - *628 + - &638 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -97514,9 +96819,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *635 examples: - default: *640 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97537,10 +96842,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: - - *631 - - *476 - - *475 - - *641 + - *628 + - *473 + - *472 + - *638 responses: '204': description: Response @@ -97566,9 +96871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 - *17 - *19 responses: @@ -97586,9 +96891,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -97613,17 +96918,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 responses: '200': description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97645,18 +96950,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *475 - - *476 - - *631 - - *290 + - *472 + - *473 + - *628 + - *287 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: *519 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97678,10 +96983,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *475 - - *476 - - *631 - - *290 + - *472 + - *473 + - *628 + - *287 requestBody: required: true content: @@ -97712,7 +97017,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -97738,10 +97043,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *475 - - *476 - - *631 - - *290 + - *472 + - *473 + - *628 + - *287 responses: '204': description: Default response @@ -97766,10 +97071,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *475 - - *476 - - *631 - - *299 + - *472 + - *473 + - *628 + - *296 - *19 responses: '200': @@ -97786,9 +97091,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -97811,9 +97116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 requestBody: required: true content: @@ -97840,7 +97145,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -97865,18 +97170,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *475 - - *476 - - *631 - - *293 + - *472 + - *473 + - *628 + - *290 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: *520 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97897,10 +97202,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *475 - - *476 - - *293 - - *631 + - *472 + - *473 + - *290 + - *628 requestBody: required: true content: @@ -97942,10 +97247,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *475 - - *476 - - *293 - - *631 + - *472 + - *473 + - *290 + - *628 responses: '204': description: Response @@ -97967,8 +97272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -97978,7 +97283,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: 200-response: value: @@ -98036,8 +97341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *475 - - *476 + - *472 + - *473 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -98059,7 +97364,7 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: default: value: @@ -98196,8 +97501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -98230,9 +97535,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 '400': *14 '422': *15 '403': *27 @@ -98253,8 +97558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -98313,8 +97618,8 @@ paths: application/json: schema: oneOf: - - *255 - - *642 + - *252 + - *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98339,8 +97644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *475 - - *476 + - *472 + - *473 - name: file_sha in: path required: true @@ -98440,8 +97745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -98550,7 +97855,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &640 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -98777,15 +98082,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 responses: '200': description: Response content: application/json: - schema: *643 + schema: *640 examples: default: value: @@ -98841,9 +98146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *475 - - *476 - - &644 + - *472 + - *473 + - &641 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. @@ -98860,7 +98165,7 @@ paths: application/json: schema: type: array - items: &645 + items: &642 title: Git Reference description: Git references within a repository type: object @@ -98936,17 +98241,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *475 - - *476 - - *644 + - *472 + - *473 + - *641 responses: '200': description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: &646 + default: &643 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -98975,8 +98280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -99005,9 +98310,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: *646 + default: *643 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -99033,9 +98338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *475 - - *476 - - *644 + - *472 + - *473 + - *641 requestBody: required: true content: @@ -99064,9 +98369,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: *646 + default: *643 '422': *15 '409': *119 x-github: @@ -99084,9 +98389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *475 - - *476 - - *644 + - *472 + - *473 + - *641 responses: '204': description: Response @@ -99141,8 +98446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -99209,7 +98514,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &645 title: Git Tag description: Metadata for a Git tag type: object @@ -99265,7 +98570,7 @@ paths: - sha - type - url - verification: *647 + verification: *644 required: - sha - url @@ -99275,7 +98580,7 @@ paths: - tag - message examples: - default: &649 + default: &646 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -99348,8 +98653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *475 - - *476 + - *472 + - *473 - name: tag_sha in: path required: true @@ -99360,9 +98665,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *645 examples: - default: *649 + default: *646 '404': *6 '409': *119 x-github: @@ -99386,8 +98691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -99461,7 +98766,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &647 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -99563,8 +98868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *475 - - *476 + - *472 + - *473 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -99587,7 +98892,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *647 examples: default-response: summary: Default response @@ -99645,8 +98950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -99690,8 +98995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -99701,7 +99006,7 @@ paths: application/json: schema: type: array - items: &651 + items: &648 title: Webhook description: Webhooks for repositories. type: object @@ -99764,7 +99069,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &904 + last_response: &902 title: Hook Response type: object properties: @@ -99841,8 +99146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -99895,9 +99200,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: &652 + default: &649 value: type: Repository id: 12345678 @@ -99945,17 +99250,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '200': description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: *652 + default: *649 '404': *6 x-github: githubCloudOnly: false @@ -99975,9 +99280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 requestBody: required: true content: @@ -100022,9 +99327,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: *652 + default: *649 '422': *15 '404': *6 x-github: @@ -100045,9 +99350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '204': description: Response @@ -100071,9 +99376,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '200': description: Response @@ -100100,9 +99405,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 requestBody: required: false content: @@ -100146,12 +99451,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 - *17 - - *362 - - *363 + - *359 + - *360 responses: '200': description: Response @@ -100159,9 +99464,9 @@ paths: application/json: schema: type: array - items: *364 + items: *361 examples: - default: *365 + default: *362 '400': *14 '422': *15 x-github: @@ -100180,18 +99485,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *363 examples: - default: *367 + default: *364 '400': *14 '422': *15 x-github: @@ -100210,9 +99515,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 - *16 responses: '202': *37 @@ -100235,9 +99540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '204': description: Response @@ -100262,9 +99567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '204': description: Response @@ -100287,8 +99592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response if immutable releases are enabled @@ -100336,8 +99641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '409': *119 @@ -100357,8 +99662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '409': *119 @@ -100415,14 +99720,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &653 + schema: &650 title: Import description: A repository import from an external source. type: object @@ -100529,7 +99834,7 @@ paths: - html_url - authors_url examples: - default: &656 + default: &653 value: vcs: subversion use_lfs: true @@ -100545,7 +99850,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': &654 + '503': &651 description: Unavailable due to service under maintenance. content: application/json: @@ -100574,8 +99879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -100623,7 +99928,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: default: value: @@ -100648,7 +99953,7 @@ paths: type: string '422': *15 '404': *6 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100676,8 +99981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -100729,7 +100034,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: example-1: summary: Example 1 @@ -100777,7 +100082,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': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100800,12 +100105,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100831,9 +100136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *475 - - *476 - - &834 + - *472 + - *473 + - &832 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -100847,7 +100152,7 @@ paths: application/json: schema: type: array - items: &655 + items: &652 title: Porter Author description: Porter Author type: object @@ -100901,7 +100206,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': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100926,8 +100231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *475 - - *476 + - *472 + - *473 - name: author_id in: path required: true @@ -100957,7 +100262,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: default: value: @@ -100970,7 +100275,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100994,8 +100299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -101036,7 +100341,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101064,8 +100369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -101092,11 +100397,11 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: - default: *656 + default: *653 '422': *15 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101119,8 +100424,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -101128,8 +100433,8 @@ paths: application/json: schema: *20 examples: - default: *379 - '301': *481 + default: *376 + '301': *478 '404': *6 x-github: githubCloudOnly: false @@ -101149,8 +100454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -101158,12 +100463,12 @@ paths: application/json: schema: anyOf: - - *381 + - *378 - type: object properties: {} additionalProperties: false examples: - default: &658 + default: &655 value: limit: collaborators_only origin: repository @@ -101188,13 +100493,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *657 + schema: *654 examples: default: summary: Example request body @@ -101206,9 +100511,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *378 examples: - default: *658 + default: *655 '409': description: Response x-github: @@ -101230,8 +100535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -101242,6 +100547,157 @@ paths: enabledForGitHubApps: true category: interactions subcategory: repos + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": + get: + summary: Get pull request creation cap bypass list for a repository + description: |- + Lists the users that are on the pull request creation cap bypass list for a + repository. Users on this list can create pull requests regardless of any + configured pull request creation cap. + + Only repository admins can view the bypass list. + tags: + - interactions + operationId: interactions/get-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *472 + - *473 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *4 + examples: + default: + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + put: + summary: Add users to the pull request creation cap bypass list for a repository + description: |- + Adds users to the pull request creation cap bypass list for a repository. + Users on this list can create pull requests regardless of any configured + pull request creation cap. + + Only repository admins can modify the bypass list. + You can add a maximum of 100 users per request. + The bypass list can only hold a maximum of 100 users. + tags: + - interactions + operationId: interactions/set-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *472 + - *473 + requestBody: + required: true + content: + application/json: + schema: &656 + title: Interaction Limits Pull Request Bypass List + description: A list of user logins to add or remove from the pull request + creation cap bypass list. + type: object + properties: + users: + description: A list of user logins to add or remove from the bypass + list. + type: array + items: + type: string + examples: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + delete: + summary: Remove users from the pull request creation cap bypass list for a repository + description: |- + Removes users from the pull request creation cap bypass list for a repository. + Removed users will be subject to any configured pull request creation cap. + + Only repository admins can modify the bypass list. + You can remove a maximum of 100 users per request. + tags: + - interactions + operationId: interactions/remove-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *472 + - *473 + requestBody: + required: true + content: + application/json: + schema: *656 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -101254,8 +100710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -101265,9 +100721,9 @@ paths: application/json: schema: type: array - items: *659 + items: *657 examples: - default: &826 + default: &824 value: - id: 1 repository: @@ -101398,9 +100854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *475 - - *476 - - *385 + - *472 + - *473 + - *382 requestBody: required: false content: @@ -101429,7 +100885,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: default: value: @@ -101560,9 +101016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *475 - - *476 - - *385 + - *472 + - *473 + - *382 responses: '204': description: Response @@ -101585,8 +101041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -101594,9 +101050,9 @@ paths: application/json: schema: type: array - items: *389 + items: *386 examples: - default: *660 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -101625,8 +101081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *475 - - *476 + - *472 + - *473 - 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 @@ -101688,7 +101144,7 @@ paths: required: false schema: type: string - - *392 + - *389 - name: sort description: What to sort results by. in: query @@ -101701,7 +101157,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - *17 - *19 responses: @@ -101711,9 +101167,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: &669 + default: &667 value: - id: 1 node_id: MDU6SXNzdWUx @@ -101862,7 +101318,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *481 + '301': *478 '422': *15 '404': *6 x-github: @@ -101891,8 +101347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -101999,9 +101455,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: &666 + default: &664 value: id: 1 node_id: MDU6SXNzdWUx @@ -102139,7 +101595,7 @@ paths: '422': *15 '503': *192 '404': *6 - '410': *661 + '410': *659 x-github: triggersNotification: true githubCloudOnly: false @@ -102167,9 +101623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *475 - - *476 - - *243 + - *472 + - *473 + - *240 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -102179,7 +101635,7 @@ paths: enum: - asc - desc - - *226 + - *223 - *17 - *19 responses: @@ -102189,9 +101645,9 @@ paths: application/json: schema: type: array - items: *222 + items: *219 examples: - default: &668 + default: &666 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -102249,17 +101705,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *222 + schema: *219 examples: - default: &662 + default: &660 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -102314,9 +101770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -102338,9 +101794,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *219 examples: - default: *662 + default: *660 '422': *15 x-github: githubCloudOnly: false @@ -102358,9 +101814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response @@ -102388,15 +101844,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *222 + schema: *219 examples: default: value: @@ -102452,7 +101908,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *661 + '410': *659 '422': *15 x-github: githubCloudOnly: false @@ -102469,16 +101925,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response '401': *23 '403': *27 '404': *6 - '410': *661 + '410': *659 '503': *192 x-github: githubCloudOnly: false @@ -102496,9 +101952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 - 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. @@ -102524,9 +101980,9 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 @@ -102547,9 +102003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -102581,16 +102037,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -102612,10 +102068,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *475 - - *476 - - *235 - - *664 + - *472 + - *473 + - *232 + - *662 responses: '204': description: Response @@ -102635,8 +102091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -102646,7 +102102,7 @@ paths: application/json: schema: type: array - items: &665 + items: &663 title: Issue Event description: Issue Event type: object @@ -102693,7 +102149,7 @@ paths: issue: anyOf: - type: 'null' - - *221 + - *218 label: title: Issue Event Label description: Issue Event Label @@ -102726,7 +102182,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *316 + requested_team: *313 dismissed_review: title: Issue Event Dismissed Review type: object @@ -102793,7 +102249,7 @@ paths: required: - from - to - author_association: *218 + author_association: *215 lock_reason: type: - string @@ -102986,8 +102442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *475 - - *476 + - *472 + - *473 - name: event_id in: path required: true @@ -102998,7 +102454,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: default: value: @@ -103191,7 +102647,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *661 + '410': *659 '403': *27 x-github: githubCloudOnly: false @@ -103225,9 +102681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *475 - - *476 - - &667 + - *472 + - *473 + - &665 name: issue_number description: The number that identifies the issue. in: path @@ -103239,11 +102695,11 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: default: summary: Issue - value: *666 + value: *664 pinned_comment: summary: Issue with pinned comment value: @@ -103423,9 +102879,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 '304': *35 x-github: githubCloudOnly: false @@ -103450,9 +102906,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -103589,15 +103045,15 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 '422': *15 '503': *192 '403': *27 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103615,9 +103071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -103643,9 +103099,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103661,9 +103117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: content: application/json: @@ -103688,9 +103144,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103712,9 +103168,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: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - name: assignee in: path required: true @@ -103754,10 +103210,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *475 - - *476 - - *667 - - *226 + - *472 + - *473 + - *665 + - *223 - *17 - *19 responses: @@ -103767,13 +103223,13 @@ paths: application/json: schema: type: array - items: *222 + items: *219 examples: - default: *668 + default: *666 headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103802,9 +103258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -103826,16 +103282,16 @@ paths: description: Response content: application/json: - schema: *222 + schema: *219 examples: - default: *662 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *661 + '410': *659 '422': *15 '404': *6 x-github: @@ -103863,9 +103319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -103875,14 +103331,14 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *669 + default: *667 headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103910,9 +103366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -103934,17 +103390,17 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *481 + '301': *478 '403': *27 - '410': *661 + '410': *659 '422': *15 '404': *6 x-github: @@ -103975,9 +103431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -103989,15 +103445,15 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 - '301': *481 + default: *664 + '301': *478 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *661 + '410': *659 x-github: triggersNotification: true githubCloudOnly: false @@ -104023,9 +103479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -104035,14 +103491,14 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *669 + default: *667 headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104059,9 +103515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -104075,7 +103531,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &673 + - &671 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -104124,7 +103580,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &672 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -104252,7 +103708,7 @@ paths: - performed_via_github_app - assignee - assigner - - &675 + - &673 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -104298,7 +103754,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &674 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -104344,7 +103800,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &675 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -104393,7 +103849,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &676 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -104422,7 +103878,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *316 + requested_team: *313 requested_reviewer: *4 required: - review_requester @@ -104435,7 +103891,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &677 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -104464,7 +103920,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *316 + requested_team: *313 requested_reviewer: *4 required: - review_requester @@ -104477,7 +103933,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &678 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -104533,7 +103989,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &679 title: Locked Issue Event description: Locked Issue Event type: object @@ -104578,7 +104034,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &680 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -104639,7 +104095,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &681 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -104700,7 +104156,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &684 + - &682 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -104761,7 +104217,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &685 + - &683 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -104854,7 +104310,7 @@ paths: color: red headers: Link: *45 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104871,9 +104327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -104883,9 +104339,9 @@ paths: application/json: schema: type: array - items: *670 + items: *668 examples: - default: &671 + default: &669 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -104920,9 +104376,9 @@ paths: color: green headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104951,9 +104407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -105025,9 +104481,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *670 + items: *668 examples: - default: *671 + default: *669 '400': *14 '403': *27 '404': *6 @@ -105063,9 +104519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -105132,9 +104588,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *670 + items: *668 examples: - default: *671 + default: *669 '400': *14 '403': *27 '404': *6 @@ -105165,10 +104621,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *475 - - *476 - - *667 - - *388 + - *472 + - *473 + - *665 + - *385 responses: '204': description: Issue field value deleted successfully @@ -105193,9 +104649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -105205,9 +104661,9 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: &672 + default: &670 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -105225,9 +104681,9 @@ paths: default: false headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105243,9 +104699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -105288,12 +104744,12 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 - '301': *481 + default: *670 + '301': *478 '404': *6 - '410': *661 + '410': *659 '422': *15 x-github: githubCloudOnly: false @@ -105310,9 +104766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -105372,12 +104828,12 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 - '301': *481 + default: *670 + '301': *478 '404': *6 - '410': *661 + '410': *659 '422': *15 x-github: githubCloudOnly: false @@ -105394,15 +104850,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 responses: '204': description: Response - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105421,9 +104877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - name: name in: path required: true @@ -105436,7 +104892,7 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: default: value: @@ -105447,9 +104903,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105469,9 +104925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -105500,7 +104956,7 @@ paths: '204': description: Response '403': *27 - '410': *661 + '410': *659 '404': *6 '422': *15 x-github: @@ -105518,9 +104974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 responses: '204': description: Response @@ -105550,20 +105006,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 responses: '200': description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 - '301': *481 + default: *664 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105580,9 +105036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - 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. @@ -105608,13 +105064,13 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105632,9 +105088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -105666,16 +105122,16 @@ paths: description: Response content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Response content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -105697,10 +105153,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *475 - - *476 - - *667 - - *664 + - *472 + - *473 + - *665 + - *662 responses: '204': description: Response @@ -105729,9 +105185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -105753,9 +105209,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -105788,9 +105244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -105800,13 +105256,13 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *669 + default: *667 headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105834,9 +105290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -105863,16 +105319,16 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *661 + '410': *659 '422': *15 '404': *6 x-github: @@ -105892,9 +105348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -105925,9 +105381,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 '403': *27 '404': *6 '422': *7 @@ -105949,9 +105405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -105966,6 +105422,8 @@ paths: description: Timeline Event type: object anyOf: + - *671 + - *672 - *673 - *674 - *675 @@ -105977,8 +105435,6 @@ paths: - *681 - *682 - *683 - - *684 - - *685 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -106026,16 +105482,16 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *215 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *216 pin: anyOf: - type: 'null' - - *686 + - *684 required: - event - actor @@ -106066,7 +105522,7 @@ paths: properties: type: type: string - issue: *221 + issue: *218 required: - event - created_at @@ -106288,7 +105744,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *215 required: - event - id @@ -106311,7 +105767,7 @@ paths: type: string comments: type: array - items: &707 + items: &705 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -106419,7 +105875,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *215 _links: type: object properties: @@ -106514,7 +105970,7 @@ paths: enum: - line - file - reactions: *219 + reactions: *216 body_html: type: string examples: @@ -106552,7 +106008,7 @@ paths: type: string comments: type: array - items: *585 + items: *582 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -106827,7 +106283,7 @@ paths: headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106844,8 +106300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -106855,7 +106311,7 @@ paths: application/json: schema: type: array - items: &687 + items: &685 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -106923,8 +106379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -106960,9 +106416,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: - default: &688 + default: &686 value: id: 1 key: ssh-rsa AAA... @@ -106996,9 +106452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *475 - - *476 - - &689 + - *472 + - *473 + - &687 name: key_id description: The unique identifier of the key. in: path @@ -107010,9 +106466,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: - default: *688 + default: *686 '404': *6 x-github: githubCloudOnly: false @@ -107030,9 +106486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *475 - - *476 - - *689 + - *472 + - *473 + - *687 responses: '204': description: Response @@ -107052,8 +106508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -107063,9 +106519,9 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 + default: *670 headers: Link: *45 '404': *6 @@ -107086,8 +106542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -107123,9 +106579,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *217 examples: - default: &690 + default: &688 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -107157,8 +106613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *475 - - *476 + - *472 + - *473 - name: name in: path required: true @@ -107169,9 +106625,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *217 examples: - default: *690 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -107188,8 +106644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *475 - - *476 + - *472 + - *473 - name: name in: path required: true @@ -107228,7 +106684,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *217 examples: default: value: @@ -107254,8 +106710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *475 - - *476 + - *472 + - *473 - name: name in: path required: true @@ -107281,8 +106737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -107318,8 +106774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '202': *37 '403': @@ -107347,8 +106803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -107374,9 +106830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *475 - - *476 - - *560 + - *472 + - *473 + - *557 responses: '200': description: Response @@ -107442,7 +106898,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 required: - _links - git_url @@ -107523,8 +106979,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -107589,8 +107045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -107624,9 +107080,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *588 + schema: *585 examples: - default: *691 + default: *689 '204': description: Response when already merged '404': @@ -107651,8 +107107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *475 - - *476 + - *472 + - *473 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -107693,7 +107149,7 @@ paths: application/json: schema: type: array - items: *423 + items: *420 examples: default: value: @@ -107749,8 +107205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -107790,9 +107246,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: - default: &692 + default: &690 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -107851,9 +107307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *475 - - *476 - - &693 + - *472 + - *473 + - &691 name: milestone_number description: The number that identifies the milestone. in: path @@ -107865,9 +107321,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: - default: *692 + default: *690 '404': *6 x-github: githubCloudOnly: false @@ -107884,9 +107340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *475 - - *476 - - *693 + - *472 + - *473 + - *691 requestBody: required: false content: @@ -107924,9 +107380,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: - default: *692 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107942,9 +107398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *475 - - *476 - - *693 + - *472 + - *473 + - *691 responses: '204': description: Response @@ -107965,9 +107421,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: - - *475 - - *476 - - *693 + - *472 + - *473 + - *691 - *17 - *19 responses: @@ -107977,9 +107433,9 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 + default: *670 headers: Link: *45 x-github: @@ -107998,12 +107454,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: - - *475 - - *476 + - *472 + - *473 + - *692 + - *693 + - *223 - *694 - - *695 - - *226 - - *696 - *17 - *19 responses: @@ -108013,9 +107469,9 @@ paths: application/json: schema: type: array - items: *246 + items: *243 examples: - default: *697 + default: *695 headers: Link: *45 x-github: @@ -108039,8 +107495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -108098,14 +107554,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &698 + schema: &696 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -108249,7 +107705,7 @@ paths: - custom_404 - public examples: - default: &699 + default: &697 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -108290,8 +107746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108346,9 +107802,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *696 examples: - default: *699 + default: *697 '422': *15 '409': *119 x-github: @@ -108371,8 +107827,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108480,8 +107936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -108507,8 +107963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -108518,7 +107974,7 @@ paths: application/json: schema: type: array - items: &700 + items: &698 title: Page Build description: Page Build type: object @@ -108610,8 +108066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -108658,16 +108114,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *700 + schema: *698 examples: - default: &701 + default: &699 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -108715,8 +108171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *475 - - *476 + - *472 + - *473 - name: build_id in: path required: true @@ -108727,9 +108183,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *698 examples: - default: *701 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108749,8 +108205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108858,9 +108314,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: - - *475 - - *476 - - &702 + - *472 + - *473 + - &700 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -108918,9 +108374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *475 - - *476 - - *702 + - *472 + - *473 + - *700 responses: '204': *126 '404': *6 @@ -108947,8 +108403,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -109216,7 +108672,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -109243,8 +108699,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Private vulnerability reporting status @@ -109281,8 +108737,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: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '422': *14 @@ -109303,8 +108759,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: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '422': *14 @@ -109326,8 +108782,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -109337,7 +108793,7 @@ paths: type: array items: *152 examples: - default: *703 + default: *701 '403': *27 '404': *6 x-github: @@ -109359,8 +108815,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -109376,7 +108832,7 @@ paths: required: - properties examples: - default: *704 + default: *702 responses: '204': description: No Content when custom property values are successfully created @@ -109414,8 +108870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -109475,9 +108931,9 @@ paths: application/json: schema: type: array - items: *592 + items: *589 examples: - default: *705 + default: *703 headers: Link: *45 '304': *35 @@ -109509,8 +108965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -109577,7 +109033,7 @@ paths: description: Response content: application/json: - schema: &709 + schema: &707 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -109706,7 +109162,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *420 active_lock_reason: type: - string @@ -109745,7 +109201,7 @@ paths: items: *4 requested_teams: type: array - items: *402 + items: *399 head: type: object properties: @@ -109783,14 +109239,14 @@ paths: _links: type: object properties: - comments: *424 - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + comments: *421 + commits: *421 + statuses: *421 + html: *421 + issue: *421 + review_comments: *421 + review_comment: *421 + self: *421 required: - comments - commits @@ -109800,8 +109256,8 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: *706 + author_association: *215 + auto_merge: *704 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -109901,7 +109357,7 @@ paths: - merged_by - review_comments examples: - default: &710 + default: &708 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -110408,8 +109864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - name: sort in: query required: false @@ -110428,7 +109884,7 @@ paths: enum: - asc - desc - - *226 + - *223 - *17 - *19 responses: @@ -110438,9 +109894,9 @@ paths: application/json: schema: type: array - items: *707 + items: *705 examples: - default: &712 + default: &710 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -110517,17 +109973,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *707 + schema: *705 examples: - default: &708 + default: &706 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -110602,9 +110058,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -110626,9 +110082,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *705 examples: - default: *708 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110644,9 +110100,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response @@ -110667,9 +110123,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 - 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. @@ -110695,9 +110151,9 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 @@ -110718,9 +110174,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -110752,16 +110208,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -110783,10 +110239,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *475 - - *476 - - *235 - - *664 + - *472 + - *473 + - *232 + - *662 responses: '204': description: Response @@ -110829,9 +110285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *475 - - *476 - - &711 + - *472 + - *473 + - &709 name: pull_number description: The number that identifies the pull request. in: path @@ -110844,9 +110300,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *709 + schema: *707 examples: - default: *710 + default: *708 '304': *35 '404': *6 '406': @@ -110881,9 +110337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -110925,9 +110381,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *707 examples: - default: *710 + default: *708 '422': *15 '403': *27 x-github: @@ -110949,9 +110405,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: true content: @@ -111012,17 +110468,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '401': *23 '403': *27 '404': *6 @@ -111052,10 +110508,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: - - *475 - - *476 - - *711 - - *243 + - *472 + - *473 + - *709 + - *240 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -111065,7 +110521,7 @@ paths: enum: - asc - desc - - *226 + - *223 - *17 - *19 responses: @@ -111075,9 +110531,9 @@ paths: application/json: schema: type: array - items: *707 + items: *705 examples: - default: *712 + default: *710 headers: Link: *45 x-github: @@ -111110,9 +110566,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: true content: @@ -111218,7 +110674,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *705 examples: example-for-a-multi-line-comment: value: @@ -111306,10 +110762,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: - - *475 - - *476 - - *711 - - *235 + - *472 + - *473 + - *709 + - *232 requestBody: required: true content: @@ -111331,7 +110787,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *705 examples: default: value: @@ -111417,9 +110873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 - *17 - *19 responses: @@ -111429,9 +110885,9 @@ paths: application/json: schema: type: array - items: *588 + items: *585 examples: - default: *713 + default: *711 headers: Link: *45 x-github: @@ -111461,9 +110917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 - *17 - *19 responses: @@ -111473,7 +110929,7 @@ paths: application/json: schema: type: array - items: *599 + items: *596 examples: default: value: @@ -111511,9 +110967,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 responses: '204': description: Response if pull request has been merged @@ -111536,9 +110992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -111650,9 +111106,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 responses: '200': description: Response @@ -111668,7 +111124,7 @@ paths: items: *4 teams: type: array - items: *316 + items: *313 required: - users - teams @@ -111727,9 +111183,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -111766,7 +111222,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *589 examples: default: value: @@ -112302,9 +111758,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: true content: @@ -112338,7 +111794,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *589 examples: default: value: @@ -112823,9 +112279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 - *17 - *19 responses: @@ -112835,7 +112291,7 @@ paths: application/json: schema: type: array - items: &714 + items: &712 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -112909,7 +112365,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *215 required: - id - node_id @@ -112991,9 +112447,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -113083,9 +112539,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: &716 + default: &714 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -113148,10 +112604,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: - - *475 - - *476 - - *711 - - &715 + - *472 + - *473 + - *709 + - &713 name: review_id description: The unique identifier of the review. in: path @@ -113163,9 +112619,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: &717 + default: &715 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -113224,10 +112680,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 requestBody: required: true content: @@ -113250,7 +112706,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: default: value: @@ -113312,18 +112768,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 responses: '200': description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: *716 + default: *714 '422': *7 '404': *6 x-github: @@ -113350,10 +112806,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 - *17 - *19 responses: @@ -113447,13 +112903,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *215 _links: type: object properties: - self: *424 - html: *424 - pull_request: *424 + self: *421 + html: *421 + pull_request: *421 required: - self - html @@ -113462,7 +112918,7 @@ paths: type: string body_html: type: string - reactions: *219 + reactions: *216 side: description: The side of the first line of the range for a multi-line comment. @@ -113611,10 +113067,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 requestBody: required: true content: @@ -113643,7 +113099,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: default: value: @@ -113706,10 +113162,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 requestBody: required: true content: @@ -113744,9 +113200,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: *717 + default: *715 '404': *6 '422': *7 '403': *27 @@ -113768,9 +113224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -113834,8 +113290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *475 - - *476 + - *472 + - *473 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -113848,9 +113304,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: &719 + default: &717 value: type: file encoding: base64 @@ -113892,8 +113348,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: - - *475 - - *476 + - *472 + - *473 - name: dir description: The alternate path to look for a README file in: path @@ -113913,9 +113369,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: *719 + default: *717 '404': *6 '422': *15 x-github: @@ -113937,8 +113393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -113948,7 +113404,7 @@ paths: application/json: schema: type: array - items: *720 + items: *718 examples: default: value: @@ -114042,8 +113498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -114119,9 +113575,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: &724 + default: &722 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -114226,9 +113682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *475 - - *476 - - &722 + - *472 + - *473 + - &720 name: asset_id description: The unique identifier of the asset. in: path @@ -114240,9 +113696,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *719 examples: - default: &723 + default: &721 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 @@ -114277,7 +113733,7 @@ paths: type: User site_admin: false '404': *6 - '302': *603 + '302': *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114293,9 +113749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *475 - - *476 - - *722 + - *472 + - *473 + - *720 requestBody: required: false content: @@ -114324,9 +113780,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *719 examples: - default: *723 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114342,9 +113798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *475 - - *476 - - *722 + - *472 + - *473 + - *720 responses: '204': description: Response @@ -114369,8 +113825,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -114456,16 +113912,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *724 + default: *722 '404': *6 x-github: githubCloudOnly: false @@ -114483,8 +113939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *475 - - *476 + - *472 + - *473 - name: tag description: tag parameter in: path @@ -114497,9 +113953,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *724 + default: *722 '404': *6 x-github: githubCloudOnly: false @@ -114521,9 +113977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *475 - - *476 - - &725 + - *472 + - *473 + - &723 name: release_id description: The unique identifier of the release. in: path @@ -114537,9 +113993,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: *720 + schema: *718 examples: - default: *724 + default: *722 '401': description: Unauthorized x-github: @@ -114557,9 +114013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 requestBody: required: false content: @@ -114623,9 +114079,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *724 + default: *722 '404': description: Not Found if the discussion category name is invalid content: @@ -114646,9 +114102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 responses: '204': description: Response @@ -114669,9 +114125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 - *17 - *19 responses: @@ -114681,7 +114137,7 @@ paths: application/json: schema: type: array - items: *721 + items: *719 examples: default: value: @@ -114763,9 +114219,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: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 - name: name in: query required: true @@ -114791,7 +114247,7 @@ paths: description: Response for successful upload content: application/json: - schema: *721 + schema: *719 examples: response-for-successful-upload: value: @@ -114846,9 +114302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 - 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. @@ -114872,9 +114328,9 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 @@ -114895,9 +114351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 requestBody: required: true content: @@ -114927,16 +114383,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -114958,10 +114414,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *475 - - *476 - - *725 - - *664 + - *472 + - *473 + - *723 + - *662 responses: '204': description: Response @@ -114985,9 +114441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 - *17 - *19 responses: @@ -115004,7 +114460,7 @@ paths: oneOf: - allOf: - *166 - - &726 + - &724 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -115025,67 +114481,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *167 - - *726 + - *724 - allOf: - *168 - - *726 + - *724 - allOf: - *169 - - *726 + - *724 - allOf: - - *727 - - *726 + - *725 + - *724 - allOf: - *170 - - *726 + - *724 - allOf: - *171 - - *726 + - *724 - allOf: - *172 - - *726 + - *724 - allOf: - *173 - - *726 + - *724 - allOf: - *174 - - *726 + - *724 - allOf: - *175 - - *726 + - *724 - allOf: - *176 - - *726 + - *724 - allOf: - *177 - - *726 + - *724 - allOf: - *178 - - *726 + - *724 - allOf: - *179 - - *726 + - *724 - allOf: - *180 - - *726 + - *724 - allOf: - *181 - - *726 + - *724 - allOf: - *182 - - *726 + - *724 - allOf: - *183 - - *726 + - *724 - allOf: - *184 - - *726 + - *724 - allOf: - *185 - - *726 + - *724 - allOf: - *186 - - *726 + - *724 examples: default: value: @@ -115124,8 +114580,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - name: includes_parents @@ -115136,7 +114592,7 @@ paths: schema: type: boolean default: true - - *728 + - *726 responses: '200': description: Response @@ -115191,8 +114647,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 requestBody: description: Request body required: true @@ -115221,7 +114677,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *729 + items: *727 required: - name - enforcement @@ -115254,7 +114710,7 @@ paths: application/json: schema: *187 examples: - default: &739 + default: &737 value: id: 42 name: super cool ruleset @@ -115302,13 +114758,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *475 - - *476 - - *730 + - *472 + - *473 + - *728 - *105 + - *729 + - *730 - *731 - - *732 - - *733 - *17 - *19 responses: @@ -115316,9 +114772,9 @@ paths: description: Response content: application/json: - schema: *734 + schema: *732 examples: - default: *735 + default: *733 '404': *6 '500': *38 x-github: @@ -115339,17 +114795,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *475 - - *476 - - *736 + - *472 + - *473 + - *734 responses: '200': description: Response content: application/json: - schema: *737 + schema: *735 examples: - default: *738 + default: *736 '404': *6 '500': *38 x-github: @@ -115377,8 +114833,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -115400,7 +114856,7 @@ paths: application/json: schema: *187 examples: - default: *739 + default: *737 '404': *6 '500': *38 put: @@ -115418,8 +114874,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -115453,7 +114909,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *729 + items: *727 examples: default: value: @@ -115483,7 +114939,7 @@ paths: application/json: schema: *187 examples: - default: *739 + default: *737 '404': *6 '422': *15 '500': *38 @@ -115502,8 +114958,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -115526,8 +114982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - name: ruleset_id @@ -115545,7 +115001,7 @@ paths: type: array items: *191 examples: - default: *440 + default: *437 '404': *6 '500': *38 x-github: @@ -115564,8 +115020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -115583,7 +115039,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: default: value: @@ -115638,26 +115094,26 @@ 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: - - *475 - - *476 + - *472 + - *473 + - *439 + - *440 + - *441 - *442 - *443 - *444 - *445 - *446 - - *447 - - *448 - - *449 - *110 - *19 - *17 - - *740 - - *741 + - *738 + - *739 + - *447 + - *448 + - *449 - *450 - *451 - - *452 - - *453 - - *454 responses: '200': description: Response @@ -115665,7 +115121,7 @@ paths: application/json: schema: type: array - items: &745 + items: &743 type: object properties: number: *127 @@ -115681,8 +115137,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *742 - resolution: *743 + state: *740 + resolution: *741 resolved_at: type: - string @@ -115788,7 +115244,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *744 + - *742 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -115947,16 +115403,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *475 - - *476 - - *554 - - *453 + - *472 + - *473 + - *551 + - *450 responses: '200': description: Response content: application/json: - schema: *745 + schema: *743 examples: default: value: @@ -116010,9 +115466,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 requestBody: required: true content: @@ -116020,8 +115476,8 @@ paths: schema: type: object properties: - state: *742 - resolution: *743 + state: *740 + resolution: *741 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -116069,7 +115525,7 @@ paths: description: Response content: application/json: - schema: *745 + schema: *743 examples: default: value: @@ -116168,9 +115624,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 - *19 - *17 responses: @@ -116181,7 +115637,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &924 + items: &922 type: object properties: type: @@ -116208,6 +115664,8 @@ paths: - commit details: oneOf: + - *744 + - *745 - *746 - *747 - *748 @@ -116219,8 +115677,6 @@ paths: - *754 - *755 - *756 - - *757 - - *758 examples: default: value: @@ -116306,8 +115762,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -116315,14 +115771,14 @@ paths: schema: type: object properties: - reason: &760 + reason: &758 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *759 + placeholder_id: *757 required: - reason - placeholder_id @@ -116339,7 +115795,7 @@ paths: schema: type: object properties: - reason: *760 + reason: *758 expire_at: type: - string @@ -116386,8 +115842,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: - - *475 - - *476 + - *472 + - *473 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -116402,7 +115858,7 @@ paths: properties: incremental_scans: type: array - items: &761 + items: &759 description: Information on a single scan performed by secret scanning on the repository type: object @@ -116435,15 +115891,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *761 + items: *759 backfill_scans: type: array - items: *761 + items: *759 custom_pattern_backfill_scans: type: array items: allOf: - - *761 + - *759 - type: object properties: pattern_name: @@ -116456,7 +115912,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *761 + items: *759 examples: default: value: @@ -116521,8 +115977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *475 - - *476 + - *472 + - *473 - *110 - name: sort description: The property to sort the results by. @@ -116566,9 +116022,9 @@ paths: application/json: schema: type: array - items: *762 + items: *760 examples: - default: *763 + default: *761 '400': *14 '404': *6 x-github: @@ -116591,8 +116047,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -116672,7 +116128,7 @@ paths: login: type: string description: The username of the user credited. - type: *459 + type: *456 required: - login - type @@ -116762,9 +116218,9 @@ paths: description: Response content: application/json: - schema: *762 + schema: *760 examples: - default: &765 + default: &763 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -116994,8 +116450,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -117108,7 +116564,7 @@ paths: description: Response content: application/json: - schema: *762 + schema: *760 examples: default: value: @@ -117254,17 +116710,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 responses: '200': description: Response content: application/json: - schema: *762 + schema: *760 examples: - default: *765 + default: *763 '403': *27 '404': *6 x-github: @@ -117288,9 +116744,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 requestBody: required: true content: @@ -117370,7 +116826,7 @@ paths: login: type: string description: The username of the user credited. - type: *459 + type: *456 required: - login - type @@ -117461,17 +116917,17 @@ paths: description: Response content: application/json: - schema: *762 + schema: *760 examples: - default: *765 - add_credit: *765 + default: *763 + add_credit: *763 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *255 + schema: *252 examples: invalid_state_transition: value: @@ -117502,9 +116958,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 responses: '202': *37 '400': *14 @@ -117531,17 +116987,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 responses: '202': description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 '400': *14 '422': *15 '403': *27 @@ -117567,8 +117023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -117664,8 +117120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -117674,7 +117130,7 @@ paths: application/json: schema: type: array - items: &766 + items: &764 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -117707,8 +117163,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -117786,8 +117242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -117881,8 +117337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -118036,8 +117492,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -118047,7 +117503,7 @@ paths: application/json: schema: type: array - items: *766 + items: *764 examples: default: value: @@ -118080,8 +117536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *475 - - *476 + - *472 + - *473 - name: sha in: path required: true @@ -118137,7 +117593,7 @@ paths: description: Response content: application/json: - schema: *767 + schema: *765 examples: default: value: @@ -118191,8 +117647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -118204,7 +117660,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -118224,14 +117680,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &768 + schema: &766 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -118304,8 +117760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -118331,7 +117787,7 @@ paths: description: Response content: application/json: - schema: *768 + schema: *766 examples: default: value: @@ -118358,8 +117814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -118379,8 +117835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -118462,8 +117918,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *475 - - *476 + - *472 + - *473 - name: ref in: path required: true @@ -118499,8 +117955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -118510,9 +117966,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 headers: Link: *45 '404': *6 @@ -118532,8 +117988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *475 - - *476 + - *472 + - *473 - *19 - *17 responses: @@ -118541,7 +117997,7 @@ paths: description: Response content: application/json: - schema: &769 + schema: &767 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -118553,7 +118009,7 @@ paths: required: - names examples: - default: &770 + default: &768 value: names: - octocat @@ -118576,8 +118032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -118608,9 +118064,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *767 examples: - default: *770 + default: *768 '404': *6 '422': *7 x-github: @@ -118631,9 +118087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *475 - - *476 - - &771 + - *472 + - *473 + - &769 name: per description: The time frame to display results for. in: query @@ -118664,7 +118120,7 @@ paths: - 128 clones: type: array - items: &772 + items: &770 title: Traffic type: object properties: @@ -118751,8 +118207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -118846,8 +118302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -118910,9 +118366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *475 - - *476 - - *771 + - *472 + - *473 + - *769 responses: '200': description: Response @@ -118933,7 +118389,7 @@ paths: - 3782 views: type: array - items: *772 + items: *770 required: - uniques - count @@ -119010,8 +118466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -119047,7 +118503,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *277 examples: default: value: @@ -119284,8 +118740,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -119308,8 +118764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -119331,8 +118787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -119358,8 +118814,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *475 - - *476 + - *472 + - *473 - name: ref in: path required: true @@ -119451,9 +118907,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -119494,7 +118950,7 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: default: value: @@ -119604,7 +119060,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &780 + - &778 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -119614,7 +119070,7 @@ paths: type: string examples: - members - - &785 + - &783 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -119626,7 +119082,7 @@ paths: format: int32 examples: - 1 - - &786 + - &784 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -119670,7 +119126,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &775 + items: &773 allOf: - type: object required: @@ -119752,7 +119208,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: &787 + meta: &785 type: object description: The metadata associated with the creation/updates to the user. @@ -119817,30 +119273,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &776 + '400': &774 description: Bad request content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '401': *774 - '403': &777 + schema: *771 + '401': *772 + '403': &775 description: Permission denied - '429': &778 + '429': &776 description: Too many requests content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '500': &779 + schema: *771 + '500': &777 description: Internal server error content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 + schema: *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119864,7 +119320,7 @@ paths: required: true content: application/json: - schema: &783 + schema: &781 type: object required: - schemas @@ -119928,9 +119384,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *775 + schema: *773 examples: - group: &781 + group: &779 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -119949,13 +119405,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': *776 - '401': *774 - '403': *777 - '409': &784 + '400': *774 + '401': *772 + '403': *775 + '409': &782 description: Duplicate record detected - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119972,7 +119428,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: - - &782 + - &780 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -119981,22 +119437,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *780 + - *778 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *775 + schema: *773 examples: - default: *781 - '400': *776 - '401': *774 - '403': *777 + default: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120015,13 +119471,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: - - *782 + - *780 - *39 requestBody: required: true content: application/json: - schema: *783 + schema: *781 examples: group: summary: Group @@ -120047,17 +119503,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *775 + schema: *773 examples: - group: *781 - groupWithMembers: *781 - '400': *776 - '401': *774 - '403': *777 + group: *779 + groupWithMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120081,13 +119537,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: - - *782 + - *780 - *39 requestBody: required: true content: application/json: - schema: &794 + schema: &792 type: object required: - Operations @@ -120147,17 +119603,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *775 + schema: *773 examples: - updateGroup: *781 - addMembers: *781 - '400': *776 - '401': *774 - '403': *777 + updateGroup: *779 + addMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120173,17 +119629,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: - - *782 + - *780 - *39 responses: '204': description: Group was deleted, no content - '400': *776 - '401': *774 - '403': *777 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120217,8 +119673,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *785 - - *786 + - *783 + - *784 - *39 responses: '200': @@ -120252,7 +119708,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &789 + items: &787 allOf: - type: object required: @@ -120344,7 +119800,7 @@ paths: address. examples: - true - roles: &788 + roles: &786 type: array description: The roles assigned to the user. items: @@ -120403,7 +119859,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *787 + meta: *785 startIndex: type: integer description: A starting index for the returned page @@ -120442,11 +119898,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *776 - '401': *774 - '403': *777 - '429': *778 - '500': *779 + '400': *774 + '401': *772 + '403': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120470,7 +119926,7 @@ paths: required: true content: application/json: - schema: &792 + schema: &790 type: object required: - schemas @@ -120563,9 +120019,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *788 + roles: *786 examples: - user: &793 + user: &791 summary: User value: schemas: @@ -120612,9 +120068,9 @@ paths: description: User has been created content: application/scim+json: - schema: *789 + schema: *787 examples: - user: &790 + user: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -120640,13 +120096,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: *790 - '400': *776 - '401': *774 - '403': *777 - '409': *784 - '429': *778 - '500': *779 + enterpriseOwner: *788 + '400': *774 + '401': *772 + '403': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120663,7 +120119,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: - - &791 + - &789 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -120676,15 +120132,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *789 + schema: *787 examples: - default: *790 - '400': *776 - '401': *774 - '403': *777 + default: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120735,30 +120191,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: - - *791 + - *789 - *39 requestBody: required: true content: application/json: - schema: *792 + schema: *790 examples: - user: *793 + user: *791 responses: '200': description: User was updated content: application/scim+json: - schema: *789 + schema: *787 examples: - user: *790 - '400': *776 - '401': *774 - '403': *777 + user: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120799,13 +120255,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: - - *791 + - *789 - *39 requestBody: required: true content: application/json: - schema: *794 + schema: *792 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -120845,18 +120301,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *789 - examples: - userMultiValuedProperties: *790 - userSingleValuedProperties: *790 - disableUser: *790 - '400': *776 - '401': *774 - '403': *777 + schema: *787 + examples: + userMultiValuedProperties: *788 + userSingleValuedProperties: *788 + disableUser: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120876,17 +120332,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: - - *791 + - *789 - *39 responses: '204': description: User was deleted, no content - '400': *776 - '401': *774 - '403': *777 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120977,7 +120433,7 @@ paths: - 1 Resources: type: array - items: &795 + items: &793 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -121224,22 +120680,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': &796 + '404': &794 description: Resource not found content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '403': &797 + schema: *771 + '403': &795 description: Forbidden content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '400': *776 - '429': *778 + schema: *771 + '400': *774 + '429': *776 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -121265,9 +120721,9 @@ paths: description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: &798 + default: &796 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -121290,17 +120746,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': *796 - '403': *797 - '500': *779 + '404': *794 + '403': *795 + '500': *777 '409': description: Conflict content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '400': *776 + schema: *771 + '400': *774 requestBody: required: true content: @@ -121400,17 +120856,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *791 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: *798 - '404': *796 - '403': *797 + default: *796 + '404': *794 + '403': *795 '304': *35 x-github: githubCloudOnly: true @@ -121434,18 +120890,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *791 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: *798 + default: *796 '304': *35 - '404': *796 - '403': *797 + '404': *794 + '403': *795 requestBody: required: true content: @@ -121560,19 +121016,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *791 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: *798 + default: *796 '304': *35 - '404': *796 - '403': *797 - '400': *776 + '404': *794 + '403': *795 + '400': *774 '429': description: Response content: @@ -121668,12 +121124,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *791 + - *789 responses: '204': description: Response - '404': *796 - '403': *797 + '404': *794 + '403': *795 '304': *35 x-github: githubCloudOnly: true @@ -121791,7 +121247,7 @@ paths: html_url: type: string format: uri - repository: *280 + repository: *277 score: type: number file_size: @@ -121810,7 +121266,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &799 + text_matches: &797 title: Search Result Text Matches type: array items: @@ -121974,7 +121430,7 @@ paths: enum: - author-date - committer-date - - &800 + - &798 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 @@ -122043,7 +121499,7 @@ paths: committer: anyOf: - type: 'null' - - *525 + - *522 comment_count: type: integer message: @@ -122062,7 +121518,7 @@ paths: url: type: string format: uri - verification: *647 + verification: *644 required: - author - committer @@ -122077,7 +121533,7 @@ paths: committer: anyOf: - type: 'null' - - *525 + - *522 parents: type: array items: @@ -122089,12 +121545,12 @@ paths: type: string sha: type: string - repository: *280 + repository: *277 score: type: number node_id: type: string - text_matches: *799 + text_matches: *797 required: - sha - node_id @@ -122287,7 +121743,7 @@ paths: - interactions - created - updated - - *800 + - *798 - *17 - *19 - name: advanced_search @@ -122401,11 +121857,11 @@ paths: type: - string - 'null' - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: type: string state_reason: @@ -122415,7 +121871,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *420 comments: type: integer created_at: @@ -122429,7 +121885,7 @@ paths: - string - 'null' format: date-time - text_matches: *799 + text_matches: *797 pull_request: type: object properties: @@ -122467,7 +121923,7 @@ paths: type: string score: type: number - author_association: *218 + author_association: *215 draft: type: boolean repository: *78 @@ -122478,7 +121934,7 @@ paths: timeline_url: type: string format: uri - type: *389 + type: *386 performed_via_github_app: anyOf: - type: 'null' @@ -122486,8 +121942,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *222 - reactions: *219 + - *219 + reactions: *216 required: - closed_at - comments @@ -122703,7 +122159,7 @@ paths: enum: - created - updated - - *800 + - *798 - *17 - *19 responses: @@ -122748,7 +122204,7 @@ paths: - 'null' score: type: number - text_matches: *799 + text_matches: *797 required: - id - node_id @@ -122834,7 +122290,7 @@ paths: - forks - help-wanted-issues - updated - - *800 + - *798 - *17 - *19 responses: @@ -123062,7 +122518,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 permissions: type: object properties: @@ -123080,7 +122536,7 @@ paths: - admin - pull - push - text_matches: *799 + text_matches: *797 temp_clone_token: type: string allow_merge_commit: @@ -123389,7 +122845,7 @@ paths: - string - 'null' format: uri - text_matches: *799 + text_matches: *797 related: type: - array @@ -123584,7 +123040,7 @@ paths: - followers - repositories - joined - - *800 + - *798 - *17 - *19 responses: @@ -123694,7 +123150,7 @@ paths: type: - boolean - 'null' - text_matches: *799 + text_matches: *797 blog: type: - string @@ -123776,7 +123232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &803 + - &801 name: team_id description: The unique identifier of the team. in: path @@ -123788,9 +123244,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -123817,7 +123273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *803 + - *801 requestBody: required: true content: @@ -123881,16 +123337,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '201': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 '422': *15 '403': *27 @@ -123918,7 +123374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *803 + - *801 responses: '204': description: Response @@ -123947,7 +123403,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *803 + - *801 - *17 - *19 responses: @@ -123957,9 +123413,9 @@ paths: application/json: schema: type: array - items: *383 + items: *380 examples: - default: *384 + default: *381 headers: Link: *45 x-github: @@ -123985,7 +123441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *803 + - *801 - name: role description: Filters members returned by their role in the team. in: query @@ -124008,7 +123464,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '404': *6 @@ -124036,7 +123492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -124073,7 +123529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -124113,7 +123569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -124150,16 +123606,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: - - *803 + - *801 - *140 responses: '200': description: Response content: application/json: - schema: *474 + schema: *471 examples: - response-if-user-is-a-team-maintainer: *804 + response-if-user-is-a-team-maintainer: *802 '404': *6 x-github: githubCloudOnly: false @@ -124192,7 +123648,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *803 + - *801 - *140 requestBody: required: false @@ -124218,9 +123674,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: *805 + response-if-users-membership-with-team-is-now-pending: *803 '403': description: Forbidden if team synchronization is set up '422': @@ -124254,7 +123710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -124282,7 +123738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *803 + - *801 - *17 - *19 responses: @@ -124292,9 +123748,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *417 + default: *414 headers: Link: *45 '404': *6 @@ -124324,15 +123780,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: - - *803 - - *475 - - *476 + - *801 + - *472 + - *473 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *806 + schema: *804 examples: alternative-response-with-extra-repository-information: value: @@ -124482,9 +123938,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: - - *803 - - *475 - - *476 + - *801 + - *472 + - *473 requestBody: required: false content: @@ -124534,9 +123990,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: - - *803 - - *475 - - *476 + - *801 + - *472 + - *473 responses: '204': description: Response @@ -124565,15 +124021,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: - - *803 + - *801 responses: '200': description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: *478 + default: *475 '403': *27 '404': *6 x-github: @@ -124600,7 +124056,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: - - *803 + - *801 requestBody: required: true content: @@ -124661,7 +124117,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: default: value: @@ -124692,7 +124148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *803 + - *801 - *17 - *19 responses: @@ -124702,9 +124158,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - response-if-child-teams-exist: *807 + response-if-child-teams-exist: *805 headers: Link: *45 '404': *6 @@ -124737,7 +124193,7 @@ paths: application/json: schema: oneOf: - - &808 + - &806 title: Private User description: Private User type: object @@ -124987,7 +124443,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &833 + - &831 title: Public User description: Public User type: object @@ -125321,7 +124777,7 @@ paths: description: Response content: application/json: - schema: *808 + schema: *806 examples: default: value: @@ -125400,7 +124856,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '304': *35 '404': *6 '403': *27 @@ -125524,9 +124980,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *391 examples: - default: *395 + default: *392 '304': *35 '500': *38 '401': *23 @@ -125665,17 +125121,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '401': *23 '403': *27 '404': *6 @@ -125719,7 +125175,7 @@ paths: type: integer secrets: type: array - items: &809 + items: &807 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -125761,7 +125217,7 @@ paths: - visibility - selected_repositories_url examples: - default: *579 + default: *576 headers: Link: *45 x-github: @@ -125833,13 +125289,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: - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *809 + schema: *807 examples: default: value: @@ -125869,7 +125325,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: - - *290 + - *287 requestBody: required: true content: @@ -125914,7 +125370,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -125942,7 +125398,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: - - *290 + - *287 responses: '204': description: Response @@ -125967,7 +125423,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: - - *290 + - *287 responses: '200': description: Response @@ -125983,9 +125439,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *335 + default: *332 '401': *23 '403': *27 '404': *6 @@ -126010,7 +125466,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: - - *290 + - *287 requestBody: required: true content: @@ -126064,7 +125520,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: - - *290 + - *287 - name: repository_id in: path required: true @@ -126097,7 +125553,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: - - *290 + - *287 - name: repository_id in: path required: true @@ -126129,15 +125585,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: - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '304': *35 '500': *38 '401': *23 @@ -126163,7 +125619,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: - - *396 + - *393 requestBody: required: false content: @@ -126193,9 +125649,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '401': *23 '403': *27 '404': *6 @@ -126217,7 +125673,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: - - *396 + - *393 responses: '202': *37 '304': *35 @@ -126246,13 +125702,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: - - *396 + - *393 responses: '202': description: Response content: application/json: - schema: &810 + schema: &808 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -126305,7 +125761,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &811 + default: &809 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -126337,7 +125793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *396 + - *393 - name: export_id in: path required: true @@ -126350,9 +125806,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *808 examples: - default: *811 + default: *809 '404': *6 x-github: githubCloudOnly: false @@ -126373,7 +125829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *396 + - *393 responses: '200': description: Response @@ -126389,9 +125845,9 @@ paths: type: integer machines: type: array - items: *578 + items: *575 examples: - default: *812 + default: *810 '304': *35 '500': *38 '401': *23 @@ -126420,7 +125876,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: - - *396 + - *393 requestBody: required: true content: @@ -126476,11 +125932,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *480 + repository: *477 machine: anyOf: - type: 'null' - - *578 + - *575 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -127277,15 +126733,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: - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '304': *35 '500': *38 '400': *14 @@ -127317,15 +126773,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: - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '500': *38 '401': *23 '403': *27 @@ -127355,9 +126811,9 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: &823 + default: &821 value: - id: 197 name: hello_docker @@ -127458,7 +126914,7 @@ paths: application/json: schema: type: array - items: &813 + items: &811 title: Email description: Email type: object @@ -127528,9 +126984,9 @@ paths: application/json: schema: type: array - items: *813 + items: *811 examples: - default: &825 + default: &823 value: - email: octocat@github.com verified: true @@ -127607,7 +127063,7 @@ paths: application/json: schema: type: array - items: *813 + items: *811 examples: default: value: @@ -127719,7 +127175,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '304': *35 @@ -127752,7 +127208,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '304': *35 @@ -127865,7 +127321,7 @@ paths: application/json: schema: type: array - items: &814 + items: &812 title: GPG Key description: A unique encryption key type: object @@ -128010,7 +127466,7 @@ paths: - subkeys - revoked examples: - default: &843 + default: &841 value: - id: 3 name: Octocat's GPG Key @@ -128095,9 +127551,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *812 examples: - default: &815 + default: &813 value: id: 3 name: Octocat's GPG Key @@ -128154,7 +127610,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: - - &816 + - &814 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -128166,9 +127622,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *812 examples: - default: *815 + default: *813 '404': *6 '304': *35 '403': *27 @@ -128191,7 +127647,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: - - *816 + - *814 responses: '204': description: Response @@ -128393,7 +127849,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *275 + default: *272 headers: Link: *45 '404': *6 @@ -128419,7 +127875,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *274 + - *271 responses: '204': description: Response @@ -128445,7 +127901,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *274 + - *271 responses: '204': description: Response @@ -128479,12 +127935,12 @@ paths: application/json: schema: anyOf: - - *381 + - *378 - type: object properties: {} additionalProperties: false examples: - default: *382 + default: *379 '204': description: Response when there are no restrictions x-github: @@ -128508,7 +127964,7 @@ paths: required: true content: application/json: - schema: *657 + schema: *654 examples: default: value: @@ -128519,7 +127975,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *378 examples: default: value: @@ -128600,7 +128056,7 @@ paths: - closed - all default: open - - *392 + - *389 - name: sort description: What to sort results by. in: query @@ -128613,7 +128069,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - *17 - *19 responses: @@ -128623,9 +128079,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *393 + default: *390 headers: Link: *45 '404': *6 @@ -128658,7 +128114,7 @@ paths: application/json: schema: type: array - items: &817 + items: &815 title: Key description: Key type: object @@ -128761,9 +128217,9 @@ paths: description: Response content: application/json: - schema: *817 + schema: *815 examples: - default: &818 + default: &816 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -128796,15 +128252,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: - - *689 + - *687 responses: '200': description: Response content: application/json: - schema: *817 + schema: *815 examples: - default: *818 + default: *816 '404': *6 '304': *35 '403': *27 @@ -128827,7 +128283,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: - - *689 + - *687 responses: '204': description: Response @@ -128860,7 +128316,7 @@ paths: application/json: schema: type: array - items: &819 + items: &817 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -128928,7 +128384,7 @@ paths: - id - type - login - plan: *237 + plan: *234 required: - billing_cycle - next_billing_date @@ -128939,7 +128395,7 @@ paths: - account - plan examples: - default: &820 + default: &818 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -129001,9 +128457,9 @@ paths: application/json: schema: type: array - items: *819 + items: *817 examples: - default: *820 + default: *818 headers: Link: *45 '304': *35 @@ -129043,7 +128499,7 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: default: value: @@ -129157,7 +128613,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: default: value: @@ -129244,7 +128700,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: default: value: @@ -129316,7 +128772,7 @@ paths: application/json: schema: type: array - items: *399 + items: *396 examples: default: value: @@ -129578,7 +129034,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -129758,7 +129214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *400 + - *397 - name: exclude in: query required: false @@ -129771,7 +129227,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -129965,7 +129421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *400 + - *397 responses: '302': description: Response @@ -129991,7 +129447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *400 + - *397 responses: '204': description: Response @@ -130020,8 +129476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *400 - - *821 + - *397 + - *819 responses: '204': description: Response @@ -130045,7 +129501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *400 + - *397 - *17 - *19 responses: @@ -130092,7 +129548,7 @@ paths: type: array items: *73 examples: - default: *250 + default: *247 headers: Link: *45 '304': *35 @@ -130134,7 +129590,7 @@ paths: - docker - nuget - container - - *822 + - *820 - *19 - *17 responses: @@ -130144,10 +129600,10 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *823 - '400': *824 + default: *821 + '400': *822 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -130167,16 +129623,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: - - *406 - - *407 + - *403 + - *404 responses: '200': description: Response content: application/json: - schema: *404 + schema: *401 examples: - default: &844 + default: &842 value: id: 40201 name: octo-name @@ -130289,8 +129745,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: - - *406 - - *407 + - *403 + - *404 responses: '204': description: Response @@ -130320,8 +129776,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: - - *406 - - *407 + - *403 + - *404 - name: token description: package token schema: @@ -130353,8 +129809,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: - - *406 - - *407 + - *403 + - *404 - *19 - *17 - name: state @@ -130374,7 +129830,7 @@ paths: application/json: schema: type: array - items: *408 + items: *405 examples: default: value: @@ -130423,15 +129879,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: + - *403 + - *404 - *406 - - *407 - - *409 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: default: value: @@ -130467,9 +129923,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: + - *403 + - *404 - *406 - - *407 - - *409 responses: '204': description: Response @@ -130499,9 +129955,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: + - *403 + - *404 - *406 - - *407 - - *409 responses: '204': description: Response @@ -130538,9 +129994,9 @@ paths: application/json: schema: type: array - items: *813 + items: *811 examples: - default: *825 + default: *823 headers: Link: *45 '304': *35 @@ -130653,7 +130109,7 @@ paths: type: array items: *78 examples: - default: &832 + default: &830 summary: Default response value: - id: 1296269 @@ -130971,9 +130427,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -131012,9 +130468,9 @@ paths: application/json: schema: type: array - items: *659 + items: *657 examples: - default: *826 + default: *824 headers: Link: *45 '304': *35 @@ -131037,7 +130493,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *385 + - *382 responses: '204': description: Response @@ -131061,7 +130517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *385 + - *382 responses: '204': description: Response @@ -131094,7 +130550,7 @@ paths: application/json: schema: type: array - items: &827 + items: &825 title: Social account description: Social media account type: object @@ -131111,7 +130567,7 @@ paths: - provider - url examples: - default: &828 + default: &826 value: - provider: twitter url: https://twitter.com/github @@ -131174,9 +130630,9 @@ paths: application/json: schema: type: array - items: *827 + items: *825 examples: - default: *828 + default: *826 '422': *15 '304': *35 '404': *6 @@ -131264,7 +130720,7 @@ paths: application/json: schema: type: array - items: &829 + items: &827 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -131284,7 +130740,7 @@ paths: - title - created_at examples: - default: &858 + default: &856 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -131349,9 +130805,9 @@ paths: description: Response content: application/json: - schema: *829 + schema: *827 examples: - default: &830 + default: &828 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -131381,7 +130837,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: - - &831 + - &829 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -131393,9 +130849,9 @@ paths: description: Response content: application/json: - schema: *829 + schema: *827 examples: - default: *830 + default: *828 '404': *6 '304': *35 '403': *27 @@ -131418,7 +130874,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: - - *831 + - *829 responses: '204': description: Response @@ -131447,7 +130903,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: - - &859 + - &857 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 @@ -131472,11 +130928,11 @@ paths: type: array items: *78 examples: - default-response: *832 + default-response: *830 application/vnd.github.v3.star+json: schema: type: array - items: &860 + items: &858 title: Starred Repository description: Starred Repository type: object @@ -131632,8 +131088,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response if this repository is starred by you @@ -131661,8 +131117,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -131686,8 +131142,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -131720,9 +131176,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *417 + default: *414 headers: Link: *45 '304': *35 @@ -131759,7 +131215,7 @@ paths: application/json: schema: type: array - items: *467 + items: *464 examples: default: value: @@ -131837,7 +131293,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *239 + - *236 responses: '200': description: Response @@ -131845,10 +131301,10 @@ paths: application/json: schema: oneOf: - - *808 - - *833 + - *806 + - *831 examples: - default-response: &837 + default-response: &835 summary: Default response value: login: octocat @@ -131883,7 +131339,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &838 + response-with-git-hub-plan-information: &836 summary: Response with GitHub plan information value: login: octocat @@ -131940,14 +131396,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &835 + - &833 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *422 + - *419 requestBody: required: true description: Details of the draft item to create in the project. @@ -131981,9 +131437,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: - draft_issue: *428 + draft_issue: *425 '304': *35 '403': *27 '401': *23 @@ -132006,7 +131462,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *834 + - *832 - *17 responses: '200': @@ -132017,7 +131473,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: example: ; rel="next" @@ -132041,8 +131497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *835 - - *422 + - *833 + - *419 requestBody: required: true content: @@ -132116,17 +131572,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *836 + schema: *834 examples: table_view: summary: Response for creating a table view - value: *432 + value: *429 board_view: summary: Response for creating a board view with filter - value: *432 + value: *429 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *429 '304': *35 '403': *27 '401': *23 @@ -132168,11 +131624,11 @@ paths: application/json: schema: oneOf: - - *808 - - *833 + - *806 + - *831 examples: - default-response: *837 - response-with-git-hub-plan-information: *838 + default-response: *835 + response-with-git-hub-plan-information: *836 '404': *6 x-github: githubCloudOnly: false @@ -132222,8 +131678,8 @@ paths: required: - subject_digests examples: - default: *839 - withPredicateType: *840 + default: *837 + withPredicateType: *838 responses: '200': description: Response @@ -132263,7 +131719,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *841 + default: *839 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -132452,12 +131908,12 @@ paths: initiator: type: string examples: - default: *521 + default: *518 '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -132519,7 +131975,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *331 + items: *328 examples: default: summary: Example response for listing user copilot spaces @@ -132734,9 +132190,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: &842 + default: &840 summary: Example response for a user copilot space value: id: 42 @@ -132835,9 +132291,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *842 + default: *840 '403': *27 '404': *6 x-github: @@ -132961,9 +132417,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *842 + default: *840 '403': *27 '404': *6 '422': *15 @@ -133040,7 +132496,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *333 + items: *330 examples: default: value: @@ -133183,7 +132639,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: default: value: @@ -133294,7 +132750,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: default: value: @@ -133424,7 +132880,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *334 + items: *331 examples: default: value: @@ -133516,7 +132972,7 @@ paths: description: Resource created content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -133532,7 +132988,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -133585,7 +133041,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -133652,7 +133108,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -133729,9 +133185,9 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *823 + default: *821 '403': *27 '401': *23 x-github: @@ -133764,7 +133220,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -133837,7 +133293,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -133924,7 +133380,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -133994,7 +133450,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -134025,7 +133481,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -134072,7 +133528,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *140 - - *226 + - *223 - *17 - *19 responses: @@ -134082,9 +133538,9 @@ paths: application/json: schema: type: array - items: *227 + items: *224 examples: - default: *228 + default: *225 headers: Link: *45 '422': *15 @@ -134115,9 +133571,9 @@ paths: application/json: schema: type: array - items: *814 + items: *812 examples: - default: *843 + default: *841 headers: Link: *45 x-github: @@ -134221,7 +133677,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134307,7 +133763,7 @@ paths: type: array items: *73 examples: - default: *250 + default: *247 headers: Link: *45 x-github: @@ -134346,7 +133802,7 @@ paths: - docker - nuget - container - - *822 + - *820 - *140 - *19 - *17 @@ -134357,12 +133813,12 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *823 + default: *821 '403': *27 '401': *23 - '400': *824 + '400': *822 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134382,17 +133838,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 responses: '200': description: Response content: application/json: - schema: *404 + schema: *401 examples: - default: *844 + default: *842 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134413,8 +133869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 responses: '204': @@ -134447,8 +133903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 - name: token description: package token @@ -134481,8 +133937,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-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 responses: '200': @@ -134491,7 +133947,7 @@ paths: application/json: schema: type: array - items: *408 + items: *405 examples: default: value: @@ -134549,16 +134005,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: + - *403 + - *404 - *406 - - *407 - - *409 - *140 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: default: value: @@ -134593,10 +134049,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 - - *409 + - *406 responses: '204': description: Response @@ -134628,10 +134084,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 - - *409 + - *406 responses: '204': description: Response @@ -134672,9 +134128,9 @@ paths: application/json: schema: type: array - items: *420 + items: *417 examples: - default: *421 + default: *418 headers: Link: *45 '304': *35 @@ -134696,16 +134152,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *422 + - *419 - *140 responses: '200': description: Response content: application/json: - schema: *420 + schema: *417 examples: - default: *421 + default: *418 headers: Link: *45 '304': *35 @@ -134727,7 +134183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *422 + - *419 - *140 - *17 - *108 @@ -134739,9 +134195,9 @@ paths: application/json: schema: type: array - items: *425 + items: *422 examples: - default: *845 + default: *843 headers: Link: *45 '304': *35 @@ -134763,7 +134219,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *140 - - *422 + - *419 requestBody: required: true content: @@ -134801,7 +134257,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *846 + items: *844 required: - name - data_type @@ -134817,7 +134273,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *847 + iteration_configuration: *845 required: - name - data_type @@ -134839,20 +134295,20 @@ paths: value: name: Due date data_type: date - single_select_field: *848 - iteration_field: *849 + single_select_field: *846 + iteration_field: *847 responses: '201': description: Response content: application/json: - schema: *425 + schema: *422 examples: - text_field: *850 - number_field: *851 - date_field: *852 - single_select_field: *853 - iteration_field: *854 + text_field: *848 + number_field: *849 + date_field: *850 + single_select_field: *851 + iteration_field: *852 '304': *35 '403': *27 '401': *23 @@ -134873,17 +134329,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *422 - - *855 + - *419 + - *853 - *140 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: *856 + default: *854 headers: Link: *45 '304': *35 @@ -134906,7 +134362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *422 + - *419 - *140 - *108 - *109 @@ -134939,9 +134395,9 @@ paths: application/json: schema: type: array - items: *429 + items: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -134963,7 +134419,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *140 - - *422 + - *419 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -135033,22 +134489,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *425 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *425 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *425 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *425 '304': *35 '403': *27 '401': *23 @@ -135068,9 +134524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *422 + - *419 - *140 - - *431 + - *428 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -135090,9 +134546,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -135113,9 +134569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *422 + - *419 - *140 - - *431 + - *428 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -135188,13 +134644,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *427 + number_field: *427 + date_field: *427 + single_select_field: *427 + iteration_field: *427 '401': *23 '403': *27 '404': *6 @@ -135214,9 +134670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *422 + - *419 - *140 - - *431 + - *428 responses: '204': description: Response @@ -135238,9 +134694,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *422 + - *419 - *140 - - *857 + - *855 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -135266,9 +134722,9 @@ paths: application/json: schema: type: array - items: *429 + items: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -135306,7 +134762,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -135381,7 +134837,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -135487,9 +134943,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *417 + default: *414 headers: Link: *45 x-github: @@ -135519,9 +134975,9 @@ paths: application/json: schema: type: array - items: *827 + items: *825 examples: - default: *828 + default: *826 headers: Link: *45 x-github: @@ -135551,9 +135007,9 @@ paths: application/json: schema: type: array - items: *829 + items: *827 examples: - default: *858 + default: *856 headers: Link: *45 x-github: @@ -135578,7 +135034,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *140 - - *859 + - *857 - *110 - *17 - *19 @@ -135590,11 +135046,11 @@ paths: schema: anyOf: - type: array - items: *860 + items: *858 - type: array items: *78 examples: - default-response: *832 + default-response: *830 headers: Link: *45 x-github: @@ -135623,9 +135079,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *417 + default: *414 headers: Link: *45 x-github: @@ -135754,7 +135210,7 @@ webhooks: type: string enum: - disabled - enterprise: &861 + enterprise: &859 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -135823,7 +135279,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &862 + installation: &860 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -135844,7 +135300,7 @@ webhooks: required: - id - node_id - organization: &863 + organization: &861 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -135917,7 +135373,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &864 + repository: &862 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -135946,7 +135402,7 @@ webhooks: license: anyOf: - type: 'null' - - *223 + - *220 organization: anyOf: - type: 'null' @@ -136832,10 +136288,10 @@ webhooks: type: string enum: - enabled - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -136911,11 +136367,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - rule: &865 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + rule: &863 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) @@ -137138,11 +136594,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - rule: *865 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + rule: *863 sender: *4 required: - action @@ -137330,11 +136786,11 @@ webhooks: - everyone required: - from - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - rule: *865 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + rule: *863 sender: *4 required: - action @@ -137407,7 +136863,7 @@ webhooks: required: true content: application/json: - schema: &885 + schema: &883 title: Exemption request cancellation event type: object properties: @@ -137415,11 +136871,11 @@ webhooks: type: string enum: - cancelled - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: &866 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: &864 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -137728,7 +137184,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &867 + items: &865 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -137840,7 +137296,7 @@ webhooks: required: true content: application/json: - schema: &886 + schema: &884 title: Exemption request completed event type: object properties: @@ -137848,11 +137304,11 @@ webhooks: type: string enum: - completed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 sender: *4 required: - action @@ -137924,7 +137380,7 @@ webhooks: required: true content: application/json: - schema: &883 + schema: &881 title: Exemption request created event type: object properties: @@ -137932,11 +137388,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 sender: *4 required: - action @@ -138008,7 +137464,7 @@ webhooks: required: true content: application/json: - schema: &887 + schema: &885 title: Exemption response dismissed event type: object properties: @@ -138016,12 +137472,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 - exemption_response: *867 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 + exemption_response: *865 sender: *4 required: - action @@ -138095,7 +137551,7 @@ webhooks: required: true content: application/json: - schema: &884 + schema: &882 title: Exemption response submitted event type: object properties: @@ -138103,12 +137559,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 - exemption_response: *867 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 + exemption_response: *865 sender: *4 required: - action @@ -138192,7 +137648,7 @@ webhooks: type: string enum: - completed - check_run: &869 + check_run: &867 title: CheckRun description: A check performed on the code of a given code change type: object @@ -138257,8 +137713,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *224 - repository: *280 + items: *221 + repository: *277 status: type: string enum: @@ -138302,7 +137758,7 @@ webhooks: - examples: - neutral - deployment: *868 + deployment: *866 details_url: type: string examples: @@ -138362,7 +137818,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *224 + items: *221 started_at: type: string format: date-time @@ -138400,10 +137856,10 @@ webhooks: - output - app - pull_requests - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 sender: *4 required: - check_run @@ -138794,11 +138250,11 @@ webhooks: type: string enum: - created - check_run: *869 - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + check_run: *867 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 sender: *4 required: - check_run @@ -139192,11 +138648,11 @@ webhooks: type: string enum: - requested_action - check_run: *869 - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + check_run: *867 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 requested_action: description: The action requested by the user. type: object @@ -139599,11 +139055,11 @@ webhooks: type: string enum: - rerequested - check_run: *869 - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + check_run: *867 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 sender: *4 required: - check_run @@ -140588,10 +140044,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -141305,10 +140761,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -142016,10 +141472,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -142188,7 +141644,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -142340,20 +141796,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &870 + commit_oid: &868 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: *861 - installation: *862 - organization: *863 - ref: &871 + enterprise: *859 + installation: *860 + organization: *861 + ref: &869 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: *864 + repository: *862 sender: *4 required: - action @@ -142520,7 +141976,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -142761,12 +142217,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -142864,7 +142320,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -143049,12 +142505,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -143223,7 +142679,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -143400,12 +142856,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -143506,7 +142962,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -143695,9 +143151,9 @@ webhooks: type: - string - 'null' - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -143705,7 +143161,7 @@ webhooks: type: - string - 'null' - repository: *864 + repository: *862 sender: *4 required: - action @@ -143804,7 +143260,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -143951,12 +143407,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -144125,7 +143581,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -144277,10 +143733,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -144540,10 +143996,10 @@ webhooks: - updated_at - author_association - body - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -144624,18 +144080,18 @@ webhooks: type: - string - 'null' - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *863 - pusher_type: &872 + organization: *861 + pusher_type: &870 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &873 + ref: &871 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -144645,7 +144101,7 @@ webhooks: enum: - tag - branch - repository: *864 + repository: *862 sender: *4 required: - ref @@ -144728,9 +144184,9 @@ webhooks: enum: - created definition: *153 - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -144815,9 +144271,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -144895,9 +144351,9 @@ webhooks: enum: - promote_to_enterprise definition: *153 - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -144975,9 +144431,9 @@ webhooks: enum: - updated definition: *153 - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -145054,10 +144510,10 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - repository: *864 - organization: *863 + enterprise: *859 + installation: *860 + repository: *862 + organization: *861 sender: *4 new_property_values: type: array @@ -145142,18 +144598,18 @@ webhooks: title: delete event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - pusher_type: *872 - ref: *873 + enterprise: *859 + installation: *860 + organization: *861 + pusher_type: *870 + ref: *871 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *864 + repository: *862 sender: *4 required: - ref @@ -145233,11 +144689,11 @@ webhooks: type: string enum: - assignees_changed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145317,11 +144773,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145402,11 +144858,11 @@ webhooks: type: string enum: - auto_reopened - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145487,11 +144943,11 @@ webhooks: type: string enum: - created - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145570,11 +145026,11 @@ webhooks: type: string enum: - dismissed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145653,11 +145109,11 @@ webhooks: type: string enum: - fixed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145737,11 +145193,11 @@ webhooks: type: string enum: - reintroduced - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145820,11 +145276,11 @@ webhooks: type: string enum: - reopened - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -145901,9 +145357,9 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - key: &874 + enterprise: *859 + installation: *860 + key: &872 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -145941,8 +145397,8 @@ webhooks: - verified - created_at - read_only - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -146019,11 +145475,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - key: *874 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + key: *872 + organization: *861 + repository: *862 sender: *4 required: - action @@ -146590,12 +146046,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: &878 + workflow: &876 title: Workflow type: - object @@ -147346,13 +146802,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *616 + - *613 pull_requests: type: array - items: *709 - repository: *864 - organization: *863 - installation: *862 + items: *707 + repository: *862 + organization: *861 + installation: *860 sender: *4 responses: '200': @@ -147423,7 +146879,7 @@ webhooks: type: string enum: - approved - approver: &875 + approver: &873 type: object properties: avatar_url: @@ -147466,11 +146922,11 @@ webhooks: type: string comment: type: string - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - reviewers: &876 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + reviewers: &874 type: array items: type: object @@ -147551,7 +147007,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &877 + workflow_job_run: &875 type: object properties: conclusion: @@ -148297,18 +147753,18 @@ webhooks: type: string enum: - rejected - approver: *875 + approver: *873 comment: type: string - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - reviewers: *876 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + reviewers: *874 sender: *4 since: type: string - workflow_job_run: *877 + workflow_job_run: *875 workflow_job_runs: type: array items: @@ -149025,13 +148481,13 @@ webhooks: type: string enum: - requested - enterprise: *861 + enterprise: *859 environment: type: string - installation: *862 - organization: *863 - repository: *864 - requestor: &888 + installation: *860 + organization: *861 + repository: *862 + requestor: &886 title: User type: - object @@ -150964,12 +150420,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Deployment Workflow Run type: @@ -151660,7 +151116,7 @@ webhooks: type: string enum: - answered - answer: &881 + answer: &879 type: object properties: author_association: @@ -151820,11 +151276,11 @@ webhooks: - created_at - updated_at - body - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -151951,11 +151407,11 @@ webhooks: - from required: - category - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152038,11 +151494,11 @@ webhooks: type: string enum: - closed - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152124,7 +151580,7 @@ webhooks: type: string enum: - created - comment: &880 + comment: &878 type: object properties: author_association: @@ -152284,11 +151740,11 @@ webhooks: - updated_at - body - reactions - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152371,12 +151827,12 @@ webhooks: type: string enum: - deleted - comment: *880 - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + comment: *878 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152471,12 +151927,12 @@ webhooks: - from required: - body - comment: *880 - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + comment: *878 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152560,11 +152016,11 @@ webhooks: type: string enum: - created - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152646,11 +152102,11 @@ webhooks: type: string enum: - deleted - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152750,11 +152206,11 @@ webhooks: type: string required: - from - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152836,10 +152292,10 @@ webhooks: type: string enum: - labeled - discussion: *879 - enterprise: *861 - installation: *862 - label: &882 + discussion: *877 + enterprise: *859 + installation: *860 + label: &880 title: Label type: object properties: @@ -152872,8 +152328,8 @@ webhooks: - color - default - description - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -152956,11 +152412,11 @@ webhooks: type: string enum: - locked - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153042,11 +152498,11 @@ webhooks: type: string enum: - pinned - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153128,11 +152584,11 @@ webhooks: type: string enum: - reopened - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153217,16 +152673,16 @@ webhooks: changes: type: object properties: - new_discussion: *879 - new_repository: *864 + new_discussion: *877 + new_repository: *862 required: - new_discussion - new_repository - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153309,10 +152765,10 @@ webhooks: type: string enum: - unanswered - discussion: *879 - old_answer: *881 - organization: *863 - repository: *864 + discussion: *877 + old_answer: *879 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153394,12 +152850,12 @@ webhooks: type: string enum: - unlabeled - discussion: *879 - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153482,11 +152938,11 @@ webhooks: type: string enum: - unlocked - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153568,11 +153024,11 @@ webhooks: type: string enum: - unpinned - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153641,7 +153097,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153704,7 +153160,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153767,7 +153223,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153830,7 +153286,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153893,7 +153349,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153959,7 +153415,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154025,7 +153481,7 @@ webhooks: required: true content: application/json: - schema: *886 + schema: *884 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154091,7 +153547,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154157,7 +153613,7 @@ webhooks: required: true content: application/json: - schema: *887 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154223,7 +153679,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154288,7 +153744,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154353,7 +153809,7 @@ webhooks: required: true content: application/json: - schema: *886 + schema: *884 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154418,7 +153874,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154483,7 +153939,7 @@ webhooks: required: true content: application/json: - schema: *887 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154549,7 +154005,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154616,7 +154072,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *861 + enterprise: *859 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -155294,9 +154750,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - forkee @@ -155442,9 +154898,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pages: description: The pages that were updated. type: array @@ -155482,7 +154938,7 @@ webhooks: - action - sha - html_url - repository: *864 + repository: *862 sender: *4 required: - pages @@ -155558,10 +155014,10 @@ webhooks: type: string enum: - created - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: &889 + organization: *861 + repositories: &887 description: An array of repository objects that the installation can access. type: array @@ -155587,8 +155043,8 @@ webhooks: - name - full_name - private - repository: *864 - requester: *888 + repository: *862 + requester: *886 sender: *4 required: - action @@ -155663,11 +155119,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -155744,11 +155200,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -155825,10 +155281,10 @@ webhooks: type: string enum: - added - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories_added: &890 + organization: *861 + repositories_added: &888 description: An array of repository objects, which were added to the installation. type: array @@ -155874,15 +155330,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *864 - repository_selection: &891 + repository: *862 + repository_selection: &889 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *888 + requester: *886 sender: *4 required: - action @@ -155961,10 +155417,10 @@ webhooks: type: string enum: - removed - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories_added: *890 + organization: *861 + repositories_added: *888 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -155991,9 +155447,9 @@ webhooks: - name - full_name - private - repository: *864 - repository_selection: *891 - requester: *888 + repository: *862 + repository_selection: *889 + requester: *886 sender: *4 required: - action @@ -156072,11 +155528,11 @@ webhooks: type: string enum: - suspend - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -156259,10 +155715,10 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 target_type: type: string @@ -156341,11 +155797,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -156511,7 +155967,7 @@ webhooks: pin: anyOf: - type: 'null' - - *686 + - *684 user: title: User type: @@ -156597,8 +156053,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157410,8 +156866,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157428,7 +156884,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -157772,8 +157228,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -157853,7 +157309,7 @@ webhooks: type: string enum: - deleted - comment: &892 + comment: &890 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -158010,7 +157466,7 @@ webhooks: pin: anyOf: - type: 'null' - - *686 + - *684 required: - url - html_url @@ -158024,8 +157480,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158833,8 +158289,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158851,7 +158307,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -159197,8 +158653,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -159278,7 +158734,7 @@ webhooks: type: string enum: - edited - changes: &916 + changes: &914 description: The changes to the comment. type: object properties: @@ -159290,9 +158746,9 @@ webhooks: type: string required: - from - comment: *892 - enterprise: *861 - installation: *862 + comment: *890 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -160103,8 +159559,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160121,7 +159577,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -160465,8 +159921,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -160547,9 +160003,9 @@ webhooks: type: string enum: - pinned - comment: *892 - enterprise: *861 - installation: *862 + comment: *890 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -161362,8 +160818,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161380,7 +160836,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -161726,8 +161182,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -161807,9 +161263,9 @@ webhooks: type: string enum: - unpinned - comment: *892 - enterprise: *861 - installation: *862 + comment: *890 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -162622,8 +162078,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162640,7 +162096,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -162986,8 +162442,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163070,15 +162526,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *218 blocking_issue_repo: *78 - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163161,15 +162617,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *218 blocking_issue_repo: *78 - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163251,15 +162707,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *862 - organization: *863 - repository: *864 + blocking_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163342,15 +162798,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *862 - organization: *863 - repository: *864 + blocking_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163430,10 +162886,10 @@ webhooks: type: string enum: - assigned - assignee: *888 - enterprise: *861 - installation: *862 - issue: &893 + assignee: *886 + enterprise: *859 + installation: *860 + issue: &891 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -164243,12 +163699,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164265,7 +163721,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -164368,8 +163824,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -164449,8 +163905,8 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -165265,12 +164721,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165287,7 +164743,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -165533,8 +164989,8 @@ webhooks: required: - state - closed_at - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -165613,8 +165069,8 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166420,12 +165876,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166442,7 +165898,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -166544,8 +166000,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -166624,8 +166080,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167454,12 +166910,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167476,7 +166932,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -167557,7 +167013,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &894 + milestone: &892 title: Milestone description: A collection of related issues and pull requests. type: object @@ -167700,8 +167156,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -167800,8 +167256,8 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168611,12 +168067,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168630,7 +168086,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *386 title: description: Title of the issue type: string @@ -168736,9 +168192,9 @@ webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *863 - repository: *864 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -168818,9 +168274,9 @@ webhooks: type: string enum: - field_added - enterprise: *861 - installation: *862 - issue: *893 + enterprise: *859 + installation: *860 + issue: *891 issue_field: type: object description: The issue field whose value was set or updated on the @@ -168986,8 +168442,8 @@ webhooks: - id required: - from - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -169067,9 +168523,9 @@ webhooks: type: string enum: - field_removed - enterprise: *861 - installation: *862 - issue: *893 + enterprise: *859 + installation: *860 + issue: *891 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -169156,8 +168612,8 @@ webhooks: - 'null' required: - id - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -169237,8 +168693,8 @@ webhooks: type: string enum: - labeled - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170047,12 +169503,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170066,7 +169522,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *386 title: description: Title of the issue type: string @@ -170172,9 +169628,9 @@ webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *863 - repository: *864 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -170254,8 +169710,8 @@ webhooks: type: string enum: - locked - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171089,12 +170545,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171108,7 +170564,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *386 title: description: Title of the issue type: string @@ -171191,8 +170647,8 @@ webhooks: format: uri user_view_type: type: string - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -171271,8 +170727,8 @@ webhooks: type: string enum: - milestoned - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172100,12 +171556,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172122,7 +171578,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -172202,9 +171658,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *894 - organization: *863 - repository: *864 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -173091,11 +172547,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173122,7 +172578,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *219 user: title: User type: @@ -173195,7 +172651,7 @@ webhooks: required: - login - id - type: *389 + type: *386 required: - id - number @@ -173687,8 +173143,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174495,11 +173951,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174516,7 +173972,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -174527,7 +173983,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *219 user: title: User type: @@ -174622,8 +174078,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -174703,9 +174159,9 @@ webhooks: type: string enum: - pinned - enterprise: *861 - installation: *862 - issue: &895 + enterprise: *859 + installation: *860 + issue: &893 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -175509,12 +174965,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175531,7 +174987,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -175633,8 +175089,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -175713,8 +175169,8 @@ webhooks: type: string enum: - reopened - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176546,12 +176002,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176648,9 +176104,9 @@ webhooks: format: uri user_view_type: type: string - type: *389 - organization: *863 - repository: *864 + type: *386 + organization: *861 + repository: *862 sender: *4 required: - action @@ -177537,12 +176993,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177559,7 +177015,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -178152,11 +177608,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *861 - installation: *862 - issue: *895 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *893 + organization: *861 + repository: *862 sender: *4 required: - action @@ -178236,12 +177692,12 @@ webhooks: type: string enum: - typed - enterprise: *861 - installation: *862 - issue: *893 - type: *389 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + type: *386 + organization: *861 + repository: *862 sender: *4 required: - action @@ -178322,7 +177778,7 @@ webhooks: type: string enum: - unassigned - assignee: &919 + assignee: &917 title: User type: - object @@ -178394,11 +177850,11 @@ webhooks: required: - login - id - enterprise: *861 - installation: *862 - issue: *893 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + organization: *861 + repository: *862 sender: *4 required: - action @@ -178477,12 +177933,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *861 - installation: *862 - issue: *893 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -178562,8 +178018,8 @@ webhooks: type: string enum: - unlocked - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179395,12 +178851,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179417,7 +178873,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -179497,8 +178953,8 @@ webhooks: format: uri user_view_type: type: string - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -179578,11 +179034,11 @@ webhooks: type: string enum: - unpinned - enterprise: *861 - installation: *862 - issue: *895 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *893 + organization: *861 + repository: *862 sender: *4 required: - action @@ -179661,12 +179117,12 @@ webhooks: type: string enum: - untyped - enterprise: *861 - installation: *862 - issue: *893 - type: *389 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + type: *386 + organization: *861 + repository: *862 sender: *4 required: - action @@ -179746,11 +179202,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -179828,11 +179284,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -179942,11 +179398,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -180028,9 +179484,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: &896 + enterprise: *859 + installation: *860 + marketplace_purchase: &894 title: Marketplace Purchase type: object required: @@ -180118,8 +179574,8 @@ webhooks: type: integer unit_count: type: integer - organization: *863 - previous_marketplace_purchase: &897 + organization: *861 + previous_marketplace_purchase: &895 title: Marketplace Purchase type: object properties: @@ -180203,7 +179659,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *864 + repository: *862 sender: *4 required: - action @@ -180283,10 +179739,10 @@ webhooks: - changed effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: *896 - organization: *863 + enterprise: *859 + installation: *860 + marketplace_purchase: *894 + organization: *861 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -180374,7 +179830,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *864 + repository: *862 sender: *4 required: - action @@ -180456,10 +179912,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: *896 - organization: *863 + enterprise: *859 + installation: *860 + marketplace_purchase: *894 + organization: *861 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -180545,7 +180001,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *864 + repository: *862 sender: *4 required: - action @@ -180626,8 +180082,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 marketplace_purchase: title: Marketplace Purchase type: object @@ -180713,9 +180169,9 @@ webhooks: type: integer unit_count: type: integer - organization: *863 - previous_marketplace_purchase: *897 - repository: *864 + organization: *861 + previous_marketplace_purchase: *895 + repository: *862 sender: *4 required: - action @@ -180795,12 +180251,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: *896 - organization: *863 - previous_marketplace_purchase: *897 - repository: *864 + enterprise: *859 + installation: *860 + marketplace_purchase: *894 + organization: *861 + previous_marketplace_purchase: *895 + repository: *862 sender: *4 required: - action @@ -180902,11 +180358,11 @@ webhooks: type: string required: - to - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181008,11 +180464,11 @@ webhooks: type: - string - 'null' - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181091,11 +180547,11 @@ webhooks: type: string enum: - removed - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181173,11 +180629,11 @@ webhooks: type: string enum: - added - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 scope: description: The scope of the membership. Currently, can only be `team`. @@ -181255,7 +180711,7 @@ webhooks: required: - login - id - team: &898 + team: &896 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -181485,11 +180941,11 @@ webhooks: type: string enum: - removed - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 scope: description: The scope of the membership. Currently, can only be `team`. @@ -181568,7 +181024,7 @@ webhooks: required: - login - id - team: *898 + team: *896 required: - action - scope @@ -181650,8 +181106,8 @@ webhooks: type: string enum: - checks_requested - installation: *862 - merge_group: &899 + installation: *860 + merge_group: &897 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -181670,15 +181126,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *541 + head_commit: *538 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181764,10 +181220,10 @@ webhooks: - merged - invalidated - dequeued - installation: *862 - merge_group: *899 - organization: *863 - repository: *864 + installation: *860 + merge_group: *897 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181840,7 +181296,7 @@ webhooks: type: string enum: - deleted - enterprise: *861 + enterprise: *859 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -181949,12 +181405,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *862 - organization: *863 + installation: *860 + organization: *861 repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -182034,11 +181490,11 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 - milestone: *894 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182117,9 +181573,9 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - milestone: &900 + enterprise: *859 + installation: *860 + milestone: &898 title: Milestone description: A collection of related issues and pull requests. type: object @@ -182261,8 +181717,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182341,11 +181797,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - milestone: *894 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182455,11 +181911,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - milestone: *894 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182539,11 +181995,11 @@ webhooks: type: string enum: - opened - enterprise: *861 - installation: *862 - milestone: *900 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *898 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182622,11 +182078,11 @@ webhooks: type: string enum: - blocked - blocked_user: *888 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + blocked_user: *886 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182705,11 +182161,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *888 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + blocked_user: *886 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182785,7 +182241,7 @@ webhooks: enum: - created definition: *148 - enterprise: *861 + enterprise: *859 sender: *4 required: - action @@ -182865,8 +182321,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 sender: *4 required: - action @@ -182939,8 +182395,8 @@ webhooks: enum: - updated definition: *148 - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 sender: *4 required: - action @@ -183012,9 +182468,9 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 new_property_values: type: array @@ -183102,9 +182558,9 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - membership: &901 + enterprise: *859 + installation: *860 + membership: &899 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -183214,8 +182670,8 @@ webhooks: - role - organization_url - user - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183293,11 +182749,11 @@ webhooks: type: string enum: - member_added - enterprise: *861 - installation: *862 - membership: *901 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + membership: *899 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183376,8 +182832,8 @@ webhooks: type: string enum: - member_invited - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -183499,10 +182955,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 - user: *888 + user: *886 required: - action - invitation @@ -183580,11 +183036,11 @@ webhooks: type: string enum: - member_removed - enterprise: *861 - installation: *862 - membership: *901 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + membership: *899 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183671,11 +183127,11 @@ webhooks: properties: from: type: string - enterprise: *861 - installation: *862 - membership: *901 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + membership: *899 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183753,9 +183209,9 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 package: description: Information about the package. type: object @@ -184278,7 +183734,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &902 + items: &900 title: Ruby Gems metadata type: object properties: @@ -184375,7 +183831,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -184452,9 +183908,9 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 package: description: Information about the package. type: object @@ -184816,7 +184272,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *902 + items: *900 source_url: type: string format: uri @@ -184887,7 +184343,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -185067,12 +184523,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *861 + enterprise: *859 id: type: integer - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - id @@ -185149,7 +184605,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &903 + personal_access_token_request: &901 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -185299,10 +184755,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *861 - organization: *863 + enterprise: *859 + organization: *861 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -185379,11 +184835,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *903 - enterprise: *861 - organization: *863 + personal_access_token_request: *901 + enterprise: *859 + organization: *861 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -185459,11 +184915,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *903 - enterprise: *861 - organization: *863 + personal_access_token_request: *901 + enterprise: *859 + organization: *861 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -185538,11 +184994,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *903 - organization: *863 - enterprise: *861 + personal_access_token_request: *901 + organization: *861 + enterprise: *859 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -185647,7 +185103,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *904 + last_response: *902 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -185679,8 +185135,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 zen: description: Random string of GitHub zen. @@ -185925,10 +185381,10 @@ webhooks: - from required: - note - enterprise: *861 - installation: *862 - organization: *863 - project_card: &905 + enterprise: *859 + installation: *860 + organization: *861 + project_card: &903 title: Project Card type: object properties: @@ -186051,7 +185507,7 @@ webhooks: - creator - created_at - updated_at - repository: *864 + repository: *862 sender: *4 required: - action @@ -186132,11 +185588,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - project_card: *905 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_card: *903 + repository: *862 sender: *4 required: - action @@ -186216,9 +185672,9 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 project_card: title: Project Card type: object @@ -186348,7 +185804,7 @@ webhooks: repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -186442,11 +185898,11 @@ webhooks: - from required: - note - enterprise: *861 - installation: *862 - organization: *863 - project_card: *905 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_card: *903 + repository: *862 sender: *4 required: - action @@ -186540,9 +185996,9 @@ webhooks: - from required: - column_id - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 project_card: allOf: - title: Project Card @@ -186739,7 +186195,7 @@ webhooks: type: string required: - after_id - repository: *864 + repository: *862 sender: *4 required: - action @@ -186819,10 +186275,10 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 - organization: *863 - project: &907 + enterprise: *859 + installation: *860 + organization: *861 + project: &905 title: Project type: object properties: @@ -186949,7 +186405,7 @@ webhooks: - creator - created_at - updated_at - repository: *864 + repository: *862 sender: *4 required: - action @@ -187029,10 +186485,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - project_column: &906 + enterprise: *859 + installation: *860 + organization: *861 + project_column: &904 title: Project Column type: object properties: @@ -187072,7 +186528,7 @@ webhooks: - name - created_at - updated_at - repository: *864 + repository: *862 sender: *4 required: - action @@ -187151,14 +186607,14 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - project_column: *906 + enterprise: *859 + installation: *860 + organization: *861 + project_column: *904 repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -187247,11 +186703,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - project_column: *906 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_column: *904 + repository: *862 sender: *4 required: - action @@ -187331,11 +186787,11 @@ webhooks: type: string enum: - moved - enterprise: *861 - installation: *862 - organization: *863 - project_column: *906 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_column: *904 + repository: *862 sender: *4 required: - action @@ -187415,11 +186871,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - project: *907 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 + repository: *862 sender: *4 required: - action @@ -187499,14 +186955,14 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - project: *907 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -187607,11 +187063,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - project: *907 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 + repository: *862 sender: *4 required: - action @@ -187690,11 +187146,11 @@ webhooks: type: string enum: - reopened - enterprise: *861 - installation: *862 - organization: *863 - project: *907 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 + repository: *862 sender: *4 required: - action @@ -187775,9 +187231,9 @@ webhooks: type: string enum: - closed - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -187858,9 +187314,9 @@ webhooks: type: string enum: - created - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -187941,9 +187397,9 @@ webhooks: type: string enum: - deleted - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -188064,9 +187520,9 @@ webhooks: type: string to: type: string - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -188149,7 +187605,7 @@ webhooks: type: string enum: - archived - changes: &911 + changes: &909 type: object properties: archived_at: @@ -188165,9 +187621,9 @@ webhooks: - string - 'null' format: date-time - installation: *862 - organization: *863 - projects_v2_item: &908 + installation: *860 + organization: *861 + projects_v2_item: &906 title: Projects v2 Item description: An item belonging to a project type: object @@ -188185,7 +187641,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *426 + content_type: *423 creator: *4 created_at: type: string @@ -188307,9 +187763,9 @@ webhooks: - 'null' to: type: string - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -188391,9 +187847,9 @@ webhooks: type: string enum: - created - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -188474,9 +187930,9 @@ webhooks: type: string enum: - deleted - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -188581,7 +188037,7 @@ webhooks: oneOf: - type: string - type: integer - - &909 + - &907 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -188605,7 +188061,7 @@ webhooks: required: - id - name - - &910 + - &908 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -188645,8 +188101,8 @@ webhooks: oneOf: - type: string - type: integer - - *909 - - *910 + - *907 + - *908 type: - 'null' - string @@ -188669,9 +188125,9 @@ webhooks: - 'null' required: - body - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -188768,9 +188224,9 @@ webhooks: type: - string - 'null' - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -188853,10 +188309,10 @@ webhooks: type: string enum: - restored - changes: *911 - installation: *862 - organization: *863 - projects_v2_item: *908 + changes: *909 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -188938,9 +188394,9 @@ webhooks: type: string enum: - reopened - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -189021,9 +188477,9 @@ webhooks: type: string enum: - created - installation: *862 - organization: *863 - projects_v2_status_update: *912 + installation: *860 + organization: *861 + projects_v2_status_update: *910 sender: *4 required: - action @@ -189104,9 +188560,9 @@ webhooks: type: string enum: - deleted - installation: *862 - organization: *863 - projects_v2_status_update: *912 + installation: *860 + organization: *861 + projects_v2_status_update: *910 sender: *4 required: - action @@ -189252,9 +188708,9 @@ webhooks: - string - 'null' format: date - installation: *862 - organization: *863 - projects_v2_status_update: *912 + installation: *860 + organization: *861 + projects_v2_status_update: *910 sender: *4 required: - action @@ -189325,10 +188781,10 @@ webhooks: title: public event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - repository @@ -189405,13 +188861,13 @@ webhooks: type: string enum: - assigned - assignee: *888 - enterprise: *861 - installation: *862 - number: &913 + assignee: *886 + enterprise: *859 + installation: *860 + number: &911 description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -191763,7 +191219,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -191845,11 +191301,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -194194,7 +193650,7 @@ webhooks: - draft reason: type: string - repository: *864 + repository: *862 sender: *4 required: - action @@ -194276,11 +193732,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -196625,7 +196081,7 @@ webhooks: - draft reason: type: string - repository: *864 + repository: *862 sender: *4 required: - action @@ -196707,13 +196163,13 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: &914 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: &912 allOf: - - *709 + - *707 - type: object properties: allow_auto_merge: @@ -196775,7 +196231,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *864 + repository: *862 sender: *4 required: - action @@ -196856,12 +196312,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -196941,11 +196397,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *861 - milestone: *423 - number: *913 - organization: *863 - pull_request: &915 + enterprise: *859 + milestone: *420 + number: *911 + organization: *861 + pull_request: &913 title: Pull Request type: object properties: @@ -199289,7 +198745,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -199368,11 +198824,11 @@ webhooks: type: string enum: - dequeued - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -201735,7 +201191,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *864 + repository: *862 sender: *4 required: - action @@ -201859,12 +201315,12 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -201944,11 +201400,11 @@ webhooks: type: string enum: - enqueued - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -204296,7 +203752,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -204376,11 +203832,11 @@ webhooks: type: string enum: - labeled - enterprise: *861 - installation: *862 - label: *882 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + label: *880 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -206731,7 +206187,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -206812,10 +206268,10 @@ webhooks: type: string enum: - locked - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -209164,7 +208620,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -209244,12 +208700,12 @@ webhooks: type: string enum: - milestoned - enterprise: *861 - milestone: *423 - number: *913 - organization: *863 - pull_request: *915 - repository: *864 + enterprise: *859 + milestone: *420 + number: *911 + organization: *861 + pull_request: *913 + repository: *862 sender: *4 required: - action @@ -209328,12 +208784,12 @@ webhooks: type: string enum: - opened - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -209414,12 +208870,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -209499,12 +208955,12 @@ webhooks: type: string enum: - reopened - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -209879,9 +209335,9 @@ webhooks: - start_side - side - reactions - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: type: object properties: @@ -212114,7 +211570,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *864 + repository: *862 sender: *4 required: - action @@ -212194,7 +211650,7 @@ webhooks: type: string enum: - deleted - comment: &917 + comment: &915 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. @@ -212487,9 +211943,9 @@ webhooks: - start_side - side - reactions - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: type: object properties: @@ -214710,7 +214166,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *864 + repository: *862 sender: *4 required: - action @@ -214790,11 +214246,11 @@ webhooks: type: string enum: - edited - changes: *916 - comment: *917 - enterprise: *861 - installation: *862 - organization: *863 + changes: *914 + comment: *915 + enterprise: *859 + installation: *860 + organization: *861 pull_request: type: object properties: @@ -217018,7 +216474,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *864 + repository: *862 sender: *4 required: - action @@ -217099,9 +216555,9 @@ webhooks: type: string enum: - dismissed - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -219337,7 +218793,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 + repository: *862 review: description: The review that was affected. type: object @@ -219588,9 +219044,9 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -221699,8 +221155,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 - review: &918 + repository: *862 + review: &916 description: The review that was affected. type: object properties: @@ -221938,12 +221394,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -224293,7 +223749,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_reviewer: title: User type: @@ -224379,12 +223835,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -226741,7 +226197,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_team: title: Team description: Groups of organization members that gives permissions @@ -226936,12 +226392,12 @@ webhooks: type: string enum: - review_requested - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -229293,7 +228749,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_reviewer: title: User type: @@ -229380,12 +228836,12 @@ webhooks: type: string enum: - review_requested - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -231728,7 +231184,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_team: title: Team description: Groups of organization members that gives permissions @@ -231912,9 +231368,9 @@ webhooks: type: string enum: - submitted - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -234153,8 +233609,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 - review: *918 + repository: *862 + review: *916 sender: *4 required: - action @@ -234234,9 +233690,9 @@ webhooks: type: string enum: - resolved - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -236384,7 +235840,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 + repository: *862 sender: *4 thread: type: object @@ -236781,9 +236237,9 @@ webhooks: type: string enum: - unresolved - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -238914,7 +238370,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 + repository: *862 sender: *4 thread: type: object @@ -239313,10 +238769,10 @@ webhooks: type: string before: type: string - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -241654,7 +241110,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -241736,11 +241192,11 @@ webhooks: type: string enum: - unassigned - assignee: *919 - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + assignee: *917 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -244093,7 +243549,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -244172,11 +243628,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *861 - installation: *862 - label: *882 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + label: *880 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -246518,7 +245974,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -246599,10 +246055,10 @@ webhooks: type: string enum: - unlocked - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -248934,7 +248390,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -249137,7 +248593,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *861 + enterprise: *859 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -249232,8 +248688,8 @@ webhooks: - url - author - committer - installation: *862 - organization: *863 + installation: *860 + organization: *861 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -249832,9 +249288,9 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 registry_package: type: object properties: @@ -250311,7 +249767,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *902 + items: *900 summary: type: string tag_name: @@ -250367,7 +249823,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -250445,9 +249901,9 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 registry_package: type: object properties: @@ -250759,7 +250215,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *902 + items: *900 summary: type: string tag_name: @@ -250809,7 +250265,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -250886,10 +250342,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - release: &920 + enterprise: *859 + installation: *860 + organization: *861 + release: &918 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -251220,7 +250676,7 @@ webhooks: - updated_at - zipball_url - body - repository: *864 + repository: *862 sender: *4 required: - action @@ -251297,11 +250753,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - release: *920 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *918 + repository: *862 sender: *4 required: - action @@ -251418,11 +250874,11 @@ webhooks: type: boolean required: - to - enterprise: *861 - installation: *862 - organization: *863 - release: *920 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *918 + repository: *862 sender: *4 required: - action @@ -251500,9 +250956,9 @@ webhooks: type: string enum: - prereleased - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -251838,7 +251294,7 @@ webhooks: - string - 'null' format: uri - repository: *864 + repository: *862 sender: *4 required: - action @@ -251914,10 +251370,10 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 - release: &921 + enterprise: *859 + installation: *860 + organization: *861 + release: &919 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -252250,7 +251706,7 @@ webhooks: - string - 'null' format: uri - repository: *864 + repository: *862 sender: *4 required: - action @@ -252326,11 +251782,11 @@ webhooks: type: string enum: - released - enterprise: *861 - installation: *862 - organization: *863 - release: *920 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *918 + repository: *862 sender: *4 required: - action @@ -252406,11 +251862,11 @@ webhooks: type: string enum: - unpublished - enterprise: *861 - installation: *862 - organization: *863 - release: *921 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *919 + repository: *862 sender: *4 required: - action @@ -252486,11 +251942,11 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - repository_advisory: *762 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + repository_advisory: *760 sender: *4 required: - action @@ -252566,11 +252022,11 @@ webhooks: type: string enum: - reported - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - repository_advisory: *762 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + repository_advisory: *760 sender: *4 required: - action @@ -252646,10 +252102,10 @@ webhooks: type: string enum: - archived - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -252726,10 +252182,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -252807,10 +252263,10 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -252895,10 +252351,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253013,10 +252469,10 @@ webhooks: - 'null' items: type: string - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253088,10 +252544,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 status: type: string @@ -253172,10 +252628,10 @@ webhooks: type: string enum: - privatized - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253252,10 +252708,10 @@ webhooks: type: string enum: - publicized - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253349,10 +252805,10 @@ webhooks: - name required: - repository - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253432,10 +252888,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 repository_ruleset: *187 sender: *4 required: @@ -253514,10 +252970,10 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 repository_ruleset: *187 sender: *4 required: @@ -253596,10 +253052,10 @@ webhooks: type: string enum: - edited - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 repository_ruleset: *187 changes: type: object @@ -253661,16 +253117,16 @@ webhooks: properties: added: type: array - items: *729 + items: *727 deleted: type: array - items: *729 + items: *727 updated: type: array items: type: object properties: - rule: *729 + rule: *727 changes: type: object properties: @@ -253907,10 +253363,10 @@ webhooks: - from required: - owner - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -253988,10 +253444,10 @@ webhooks: type: string enum: - unarchived - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254069,7 +253525,7 @@ webhooks: type: string enum: - create - alert: &922 + alert: &920 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -254194,10 +253650,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254407,10 +253863,10 @@ webhooks: type: string enum: - dismissed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254488,11 +253944,11 @@ webhooks: type: string enum: - reopen - alert: *922 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *920 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254694,10 +254150,10 @@ webhooks: enum: - fixed - open - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254775,7 +254231,7 @@ webhooks: type: string enum: - assigned - alert: &923 + alert: &921 type: object properties: number: *127 @@ -254915,10 +254371,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254996,11 +254452,11 @@ webhooks: type: string enum: - created - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255081,11 +254537,11 @@ webhooks: type: string enum: - created - alert: *923 - installation: *862 - location: *924 - organization: *863 - repository: *864 + alert: *921 + installation: *860 + location: *922 + organization: *861 + repository: *862 sender: *4 required: - location @@ -255323,11 +254779,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255405,11 +254861,11 @@ webhooks: type: string enum: - reopened - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255487,11 +254943,11 @@ webhooks: type: string enum: - resolved - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255569,12 +255025,12 @@ webhooks: type: string enum: - unassigned - alert: *923 + alert: *921 assignee: *4 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255652,11 +255108,11 @@ webhooks: type: string enum: - validated - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255786,10 +255242,10 @@ webhooks: - organization - enterprise - - repository: *864 - enterprise: *861 - installation: *862 - organization: *863 + repository: *862 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -255867,11 +255323,11 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - security_advisory: &925 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + security_advisory: &923 description: The details of the security advisory, including summary, description, and severity. type: object @@ -256044,11 +255500,11 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - security_advisory: *925 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + security_advisory: *923 sender: *4 required: - action @@ -256121,10 +255577,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -256297,11 +255753,11 @@ webhooks: from: type: object properties: - security_and_analysis: *434 - enterprise: *861 - installation: *862 - organization: *863 - repository: *480 + security_and_analysis: *431 + enterprise: *859 + installation: *860 + organization: *861 + repository: *477 sender: *4 required: - changes @@ -256379,12 +255835,12 @@ webhooks: type: string enum: - cancelled - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: &926 + sponsorship: &924 type: object properties: created_at: @@ -256689,12 +256145,12 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - sponsorship @@ -256782,12 +256238,12 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -256864,17 +256320,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &927 + effective_date: &925 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: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - sponsorship @@ -256948,7 +256404,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &928 + changes: &926 type: object properties: tier: @@ -256992,13 +256448,13 @@ webhooks: - from required: - tier - effective_date: *927 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + effective_date: *925 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -257075,13 +256531,13 @@ webhooks: type: string enum: - tier_changed - changes: *928 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + changes: *926 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -257155,10 +256611,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -257242,10 +256698,10 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -257679,15 +257135,15 @@ webhooks: type: - string - 'null' - enterprise: *861 + enterprise: *859 id: description: The unique identifier of the status. type: integer - installation: *862 + installation: *860 name: type: string - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 sha: description: The Commit SHA. @@ -257797,15 +257253,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *218 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *862 - organization: *863 - repository: *864 + sub_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -257888,15 +257344,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *218 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *862 - organization: *863 - repository: *864 + sub_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -257979,15 +257435,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *218 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *862 - organization: *863 - repository: *864 + parent_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -258070,15 +257526,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *218 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *862 - organization: *863 - repository: *864 + parent_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -258154,12 +257610,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - team: &929 + team: &927 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -258389,9 +257845,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -258861,7 +258317,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -258937,9 +258393,9 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -259409,7 +258865,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -259486,9 +258942,9 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -259958,7 +259414,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -260102,9 +259558,9 @@ webhooks: - from required: - permissions - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -260574,7 +260030,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - changes @@ -260652,9 +260108,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -261124,7 +260580,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -261200,10 +260656,10 @@ webhooks: type: string enum: - started - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -261276,17 +260732,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *861 + enterprise: *859 inputs: type: - object - 'null' additionalProperties: true - installation: *862 - organization: *863 + installation: *860 + organization: *861 ref: type: string - repository: *864 + repository: *862 sender: *4 workflow: type: string @@ -261368,10 +260824,10 @@ webhooks: type: string enum: - completed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: allOf: @@ -261627,7 +261083,7 @@ webhooks: type: string required: - conclusion - deployment: *616 + deployment: *613 required: - action - repository @@ -261706,10 +261162,10 @@ webhooks: type: string enum: - in_progress - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: allOf: @@ -261991,7 +261447,7 @@ webhooks: required: - status - steps - deployment: *616 + deployment: *613 required: - action - repository @@ -262070,10 +261526,10 @@ webhooks: type: string enum: - queued - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: type: object @@ -262219,7 +261675,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *616 + deployment: *613 required: - action - repository @@ -262298,10 +261754,10 @@ webhooks: type: string enum: - waiting - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: type: object @@ -262448,7 +261904,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *616 + deployment: *613 required: - action - repository @@ -262528,12 +261984,12 @@ webhooks: type: string enum: - completed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object @@ -263552,12 +263008,12 @@ webhooks: type: string enum: - in_progress - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object @@ -264561,12 +264017,12 @@ webhooks: type: string enum: - requested - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 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 7cba85e65f..a0b9211817 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -52167,662 +52167,6 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an enterprise", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly enterprise owners and billing managers can view Copilot 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/copilot-metrics-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise 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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { "get": { "summary": "Get Copilot enterprise usage metrics for a specific day", @@ -84668,671 +84012,6 @@ } } }, - "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 100 days prior. 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** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot 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/copilot-metrics-for-enterprise-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the enterprise 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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -169543,7 +168222,7 @@ "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", - "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "description": "List artifact storage records with a given subject digest for repositories owned by an organization.\n\nResults are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.", "tags": [ "orgs" ], @@ -199047,662 +197726,6 @@ } } }, - "/orgs/{org}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an organization", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" - }, - "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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { "summary": "Get Copilot organization usage metrics for a specific day", @@ -328865,671 +326888,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for a team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\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** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot_ide_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot_dotcom_chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot_dotcom_pull_requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - } - }, - "required": [ - "date" - ], - "additionalProperties": true - } - }, - "examples": { - "default": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "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-metrics" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -338154,7 +335512,7 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/enterprise-cloud@latest/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/enterprise-cloud@latest/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/enterprise-cloud@latest/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/enterprise-cloud@latest/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], @@ -338321,7 +335679,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -338345,7 +335703,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -338369,7 +335727,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -338393,7 +335751,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -338417,7 +335775,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -338441,7 +335799,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -338549,12 +335907,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -472930,7 +470282,7 @@ }, "assignees": { "type": "array", - "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.\nTo assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`).", "items": { "type": "string" } @@ -521643,6 +518995,721 @@ } } }, + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { + "get": { + "summary": "Get pull request creation cap bypass list for a repository", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + } + }, + "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": "interactions", + "subcategory": "repos" + } + }, + "put": { + "summary": "Add users to the pull request creation cap bypass list for a repository", + "description": "Adds users to the pull request creation cap bypass list for a repository.\nUsers on this list can create pull requests regardless of any configured\npull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.", + "tags": [ + "interactions" + ], + "operationId": "interactions/set-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat", + "monalisa" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Remove users from the pull request creation cap bypass list for a repository", + "description": "Removes users from the pull request creation cap bypass list for a repository.\nRemoved users will be subject to any configured pull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can remove a maximum of 100 users per request.", + "tags": [ + "interactions" + ], + "operationId": "interactions/remove-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/invitations": { "get": { "summary": "List repository invitations", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index b9f538847b..36de886b11 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -946,7 +946,7 @@ paths: - subscriptions_url - type - url - type: &459 + type: &456 type: string description: The type of credit the user is receiving. enum: @@ -1106,7 +1106,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &256 + schema: &253 title: Validation Error Simple description: Validation Error Simple type: object @@ -1139,7 +1139,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: - - &764 + - &762 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4261,7 +4261,7 @@ paths: schema: type: integer default: 30 - - &362 + - &359 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 @@ -4270,7 +4270,7 @@ paths: required: false schema: type: string - - &363 + - &360 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4290,7 +4290,7 @@ paths: application/json: schema: type: array - items: &364 + items: &361 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4386,7 +4386,7 @@ paths: - installation_id - repository_id examples: - default: &365 + default: &362 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4418,7 +4418,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &773 + schema: &771 title: Scim Error description: Scim Error type: object @@ -4449,7 +4449,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &255 + schema: &252 title: Validation Error description: Validation Error type: object @@ -4521,7 +4521,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &363 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4656,7 +4656,7 @@ paths: - request - response examples: - default: &367 + default: &364 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4860,7 +4860,7 @@ paths: parameters: - *17 - *19 - - &226 + - &223 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) @@ -5715,7 +5715,7 @@ paths: license: anyOf: - type: 'null' - - &223 + - &220 title: License Simple description: License Simple type: object @@ -10729,7 +10729,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &254 type: object properties: total_active_caches_count: @@ -10744,7 +10744,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &258 + default: &255 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10959,7 +10959,7 @@ paths: - public_ip_enabled - platform examples: - default: &259 + default: &256 value: total_count: 2 runners: @@ -11263,7 +11263,7 @@ paths: application/json: schema: *47 examples: - default: &260 + default: &257 value: id: 1 platform: linux-x64 @@ -11408,7 +11408,7 @@ paths: application/json: schema: *50 examples: - default: &261 + default: &258 value: version: 1.0.0 size_gb: 75 @@ -11576,7 +11576,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &259 type: object properties: public_ips: @@ -11603,7 +11603,7 @@ paths: required: - public_ips examples: - default: &263 + default: &260 value: public_ips: current_usage: 17 @@ -11643,7 +11643,7 @@ paths: type: array items: *54 examples: - default: &264 + default: &261 value: id: 4-core cpu_cores: 4 @@ -11961,7 +11961,7 @@ paths: required: true content: application/json: - schema: &265 + schema: &262 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -12072,7 +12072,7 @@ paths: - all - local_only - selected - selected_actions_url: &267 + selected_actions_url: &264 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` @@ -12152,7 +12152,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &269 + schema: &266 type: object properties: days: @@ -12170,7 +12170,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &774 + '401': &772 description: Authorization failure '404': *6 x-github: @@ -12198,7 +12198,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &267 type: object properties: days: @@ -12247,7 +12247,7 @@ paths: required: - approval_policy examples: - default: &271 + default: &268 value: approval_policy: first_time_contributors '404': *6 @@ -12305,7 +12305,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &269 type: object required: - run_workflows_from_fork_pull_requests @@ -12359,7 +12359,7 @@ paths: required: true content: application/json: - schema: &273 + schema: &270 type: object required: - run_workflows_from_fork_pull_requests @@ -12795,7 +12795,7 @@ paths: description: Success response content: application/json: - schema: &276 + schema: &273 type: object properties: default_workflow_permissions: &67 @@ -12843,7 +12843,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &274 type: object properties: default_workflow_permissions: *67 @@ -13699,7 +13699,7 @@ paths: application/json: schema: type: array - items: &281 + items: &278 title: Runner Application description: Runner Application type: object @@ -13724,7 +13724,7 @@ paths: - download_url - filename examples: - default: &282 + default: &279 value: - os: osx architecture: x64 @@ -13808,7 +13808,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &283 + '201': &280 description: Response content: application/json: @@ -13927,7 +13927,7 @@ paths: - token - expires_at examples: - default: &284 + default: &281 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13967,7 +13967,7 @@ paths: application/json: schema: *79 examples: - default: &285 + default: &282 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13999,7 +13999,7 @@ paths: application/json: schema: *76 examples: - default: &286 + default: &283 value: id: 23 name: MBP @@ -14216,7 +14216,7 @@ paths: - *39 - *75 responses: - '200': &287 + '200': &284 description: Response content: application/json: @@ -14272,7 +14272,7 @@ paths: parameters: - *39 - *75 - - &288 + - &285 name: name description: The name of a self-hosted runner's custom label. in: path @@ -14369,7 +14369,7 @@ paths: required: true content: application/json: - schema: &302 + schema: &299 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -15020,7 +15020,7 @@ paths: required: false schema: type: string - - &305 + - &302 name: include description: |- The event types to include: @@ -15038,7 +15038,7 @@ paths: - web - git - all - - &306 + - &303 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. @@ -15046,7 +15046,7 @@ paths: required: false schema: type: string - - &307 + - &304 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. @@ -15054,7 +15054,7 @@ paths: required: false schema: type: string - - &308 + - &305 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -15076,7 +15076,7 @@ paths: application/json: schema: type: array - items: &309 + items: &306 type: object properties: "@timestamp": @@ -15198,7 +15198,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &310 + default: &307 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15866,7 +15866,7 @@ paths: application/json: schema: type: array - items: &311 + items: &308 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -16038,7 +16038,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &312 + default: &309 value: - id: 21 number: 42 @@ -16143,7 +16143,7 @@ paths: application/json: schema: type: array - items: &314 + items: &311 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -16274,7 +16274,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &315 + default: &312 value: - id: 21 number: 42 @@ -16359,7 +16359,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &320 + - &317 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`, @@ -16369,7 +16369,7 @@ paths: schema: &111 type: string description: The name of the tool used to generate the code scanning analysis. - - &321 + - &318 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 @@ -16393,7 +16393,7 @@ paths: be returned. in: query required: false - schema: &322 + schema: &319 type: string description: State of a code scanning alert. enum: @@ -16426,7 +16426,7 @@ paths: application/json: schema: type: array - items: &323 + items: &320 type: object properties: number: &127 @@ -16455,7 +16455,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &547 + instances_url: &544 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -16491,7 +16491,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &548 + dismissed_reason: &545 type: - string - 'null' @@ -16502,14 +16502,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &549 + dismissed_comment: &546 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &550 + rule: &547 type: object properties: id: @@ -16570,7 +16570,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &551 + tool: &548 type: object properties: name: *111 @@ -16581,26 +16581,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &552 + most_recent_instance: &549 type: object properties: - ref: &545 + ref: &542 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &562 + analysis_key: &559 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &563 + environment: &560 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &564 + category: &561 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16620,7 +16620,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &565 + location: &562 type: object description: Describe a region within a file for the alert. properties: @@ -16641,7 +16641,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &566 + items: &563 type: - string - 'null' @@ -16997,7 +16997,7 @@ paths: - most_recent_instance - repository examples: - default: &324 + default: &321 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17893,7 +17893,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &323 type: array description: A list of default code security configurations items: @@ -17909,7 +17909,7 @@ paths: default configuration: *114 examples: - default: &327 + default: &324 value: - default_for_new_repos: public configuration: @@ -18367,7 +18367,7 @@ paths: default: value: default_for_new_repos: all - configuration: &325 + configuration: &322 value: id: 1325 target_type: organization @@ -18457,7 +18457,7 @@ paths: application/json: schema: type: array - items: &328 + items: &325 type: object description: Repositories associated with a code security configuration and attachment status @@ -18481,7 +18481,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &329 + repository: &326 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18982,7 +18982,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &316 + - &313 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -19059,7 +19059,7 @@ paths: parent: anyOf: - type: 'null' - - &402 + - &399 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -19846,7 +19846,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &336 + '413': &333 description: Payload Too Large content: application/json: @@ -20219,487 +20219,6 @@ paths: content: application/json: schema: *3 - "/enterprises/{enterprise}/copilot/metrics": - get: - summary: Get Copilot metrics for an enterprise - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled or set to "no policy" for the enterprise within GitHub settings. - Only enterprise owners and billing managers can view Copilot 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/copilot-metrics-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise - parameters: - - *39 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &207 - title: Copilot Usage Metrics - description: Copilot usage metrics for a given day. - type: object - properties: - date: - type: string - format: date - description: The date for which the usage metrics are aggregated, - in `YYYY-MM-DD` format. - total_active_users: - type: integer - description: The total number of Copilot users with activity - belonging to any Copilot feature, globally, for the given - day. Includes passive activity such as receiving a code suggestion, - as well as engagement activity such as accepting a code suggestion - or prompting chat. Does not include authentication events. - Is not limited to the individual features detailed on the - endpoint. - total_engaged_users: - type: integer - description: The total number of Copilot users who engaged with - any Copilot feature, for the given day. Examples include but - are not limited to accepting a code suggestion, prompting - Copilot chat, or triggering a PR Summary. Does not include - authentication events. Is not limited to the individual features - detailed on the endpoint. - copilot_ide_code_completions: - type: - - object - - 'null' - description: Usage metrics for Copilot editor code completions - in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot - code suggestion, across all active editors. Includes both - full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages. - items: - type: object - description: Usage metrics for a given language for the - given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot - code completion suggestions. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - language. Includes both full and partial acceptances. - editors: - type: array - items: - type: object - description: Copilot code completion metrics for active - editors. - additionalProperties: true - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least - one Copilot code completion suggestion for the given - editor. Includes both full and partial acceptances. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - code completion suggestions. If the default - model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: Number of users who accepted at - least one Copilot code completion suggestion - for the given editor, for the given language - and model. Includes both full and partial - acceptances. - languages: - type: array - description: Code completion metrics for active - languages, for the given editor. - items: - type: object - description: Usage metrics for a given language - for the given editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used - for Copilot code completion suggestions, - for the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted - at least one Copilot code completion - suggestion for the given editor, for - the given language. Includes both full - and partial acceptances. - total_code_suggestions: - type: integer - description: The number of Copilot code - suggestions generated for the given - editor, for the given language. - total_code_acceptances: - type: integer - description: The number of Copilot code - suggestions accepted for the given editor, - for the given language. Includes both - full and partial acceptances. - total_code_lines_suggested: - type: integer - description: The number of lines of code - suggested by Copilot code completions - for the given editor, for the given - language. - total_code_lines_accepted: - type: integer - description: The number of lines of code - accepted from Copilot code suggestions - for the given editor, for the given - language. - copilot_ide_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat in the IDE. - editors: - type: array - items: - type: object - description: Copilot Chat metrics, for active editors. - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot - Chat in the specified editor. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - Chat. If the default model is used will appear - as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_engaged_users: - type: integer - description: The number of users who prompted - Copilot Chat in the given editor and model. - total_chats: - type: integer - description: The total number of chats initiated - by users in the given editor and model. - total_chat_insertion_events: - type: integer - description: The number of times users accepted - a code suggestion from Copilot Chat using - the 'Insert Code' UI element, for the given - editor. - total_chat_copy_events: - type: integer - description: The number of times users copied - a code suggestion from Copilot Chat using - the keyboard, or the 'Copy' UI element, for - the given editor. - copilot_dotcom_chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in GitHub.com - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once. - models: - type: array - description: List of model metrics for a custom models and - the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. - If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or - default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model - (if applicable). - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot - Chat on github.com at least once for each model. - total_chats: - type: integer - description: Total number of chats initiated by users - on github.com. - copilot_dotcom_pull_requests: - type: - - object - - 'null' - description: Usage metrics for Copilot for pull requests. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: The number of users who used Copilot for Pull - Requests on github.com to generate a pull request summary - at least once. - repositories: - type: array - description: Repositories in which users used Copilot for - Pull Requests to generate pull request summaries - items: - type: object - properties: - name: - type: string - description: Repository name - total_engaged_users: - type: integer - description: The number of users who generated pull - request summaries using Copilot for Pull Requests - in the given repository. - models: - type: array - description: List of model metrics for custom models - and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot - pull request summaries. If the default model - is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom - or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom - model. - total_pr_summaries_created: - type: integer - description: The number of pull request summaries - generated using Copilot for Pull Requests - in the given repository. - total_engaged_users: - type: integer - description: The number of users who generated - pull request summaries using Copilot for Pull - Requests in the given repository and model. - required: - - date - additionalProperties: true - examples: - default: &208 - value: - - date: '2024-06-24' - total_active_users: 24 - total_engaged_users: 20 - copilot_ide_code_completions: - total_engaged_users: 20 - languages: - - name: python - total_engaged_users: 10 - - name: ruby - total_engaged_users: 10 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 13 - languages: - - name: python - total_engaged_users: 6 - total_code_suggestions: 249 - total_code_acceptances: 123 - total_code_lines_suggested: 225 - total_code_lines_accepted: 135 - - name: ruby - total_engaged_users: 7 - total_code_suggestions: 496 - total_code_acceptances: 253 - total_code_lines_suggested: 520 - total_code_lines_accepted: 270 - - name: neovim - total_engaged_users: 7 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - languages: - - name: typescript - total_engaged_users: 3 - total_code_suggestions: 112 - total_code_acceptances: 56 - total_code_lines_suggested: 143 - total_code_lines_accepted: 61 - - name: go - total_engaged_users: 4 - total_code_suggestions: 132 - total_code_acceptances: 67 - total_code_lines_suggested: 154 - total_code_lines_accepted: 72 - copilot_ide_chat: - total_engaged_users: 13 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 12 - total_chats: 45 - total_chat_insertion_events: 12 - total_chat_copy_events: 16 - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_engaged_users: 1 - total_chats: 10 - total_chat_insertion_events: 11 - total_chat_copy_events: 3 - copilot_dotcom_chat: - total_engaged_users: 14 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 14 - total_chats: 38 - copilot_dotcom_pull_requests: - total_engaged_users: 12 - repositories: - - name: demo/repo1 - total_engaged_users: 8 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_pr_summaries_created: 6 - total_engaged_users: 8 - - name: demo/repo2 - total_engaged_users: 4 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - total_pr_summaries_created: 10 - total_engaged_users: 4 - '500': *38 - '403': *27 - '404': *6 - '422': &209 - description: Copilot Usage Metrics API setting is disabled at the organization - or enterprise level. - content: - application/json: - schema: *3 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": get: summary: Get Copilot enterprise usage metrics for a specific day @@ -21262,7 +20781,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &341 + - &338 name: classification in: query description: |- @@ -21271,7 +20790,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &342 + - &339 name: state in: query description: |- @@ -21280,7 +20799,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &343 + - &340 name: severity in: query description: |- @@ -21289,7 +20808,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &344 + - &341 name: ecosystem in: query description: |- @@ -21298,14 +20817,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &345 + - &342 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 - - &346 + - &343 name: epss_percentage in: query description: |- @@ -21317,7 +20836,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 - - &605 + - &602 name: has in: query description: |- @@ -21331,7 +20850,7 @@ paths: type: string enum: - patch - - &347 + - &344 name: assignee in: query description: |- @@ -21340,7 +20859,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &348 + - &345 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -21350,7 +20869,7 @@ paths: enum: - development - runtime - - &349 + - &346 name: sort in: query description: |- @@ -21376,7 +20895,7 @@ paths: application/json: schema: type: array - items: &350 + items: &347 type: object description: A Dependabot alert. properties: @@ -21444,7 +20963,7 @@ paths: - transitive - inconclusive - - security_advisory: &606 + security_advisory: &603 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -21706,7 +21225,7 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: &607 + auto_dismissed_at: &604 type: - string - 'null' @@ -21714,7 +21233,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &608 + dismissal_request: &605 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21777,7 +21296,7 @@ paths: - repository additionalProperties: false examples: - default: &351 + default: &348 value: - number: 2 state: dismissed @@ -22162,7 +21681,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &349 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -22188,7 +21707,7 @@ paths: - *120 additionalProperties: false examples: - default: &353 + default: &350 value: default_level: public accessible_repositories: @@ -22411,7 +21930,7 @@ paths: - *103 - *104 - *105 - - &355 + - &352 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -22437,7 +21956,7 @@ paths: application/json: schema: type: array - items: &357 + items: &354 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -22564,7 +22083,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &358 + default: &355 value: - id: 21 number: 42 @@ -23095,7 +22614,7 @@ paths: type: array items: *142 examples: - default: &210 + default: &207 value: - id: 1 name: Justice League @@ -23259,7 +22778,7 @@ paths: application/json: schema: *20 examples: - default: &379 + default: &376 value: id: 1 account: @@ -23520,7 +23039,7 @@ paths: - name - created_on examples: - default: &463 + default: &460 value: total_count: 2 network_configurations: @@ -23771,7 +23290,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: - *39 - - &464 + - &461 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23783,7 +23302,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &462 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23822,7 +23341,7 @@ paths: - subnet_id - region examples: - default: &466 + default: &463 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -24675,7 +24194,7 @@ paths: required: true content: application/json: - schema: &433 + schema: &430 title: Custom Property Set Payload description: Custom property set payload type: object @@ -25879,7 +25398,7 @@ paths: conditions: anyOf: - *158 - - &437 + - &434 title: Organization ruleset conditions type: object description: |- @@ -25929,7 +25448,7 @@ paths: - object rules: type: array - items: &729 + items: &727 title: Repository Rule type: object description: A repository rule. @@ -25938,7 +25457,7 @@ paths: - *167 - *168 - *169 - - &727 + - &725 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -26266,7 +25785,7 @@ paths: type: string format: date-time examples: - default: &440 + default: &437 value: - version_id: 3 actor: @@ -26319,7 +25838,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &438 allOf: - *191 - type: object @@ -26374,7 +25893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &442 + - &439 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26385,7 +25904,7 @@ paths: enum: - open - resolved - - &443 + - &440 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26395,7 +25914,7 @@ paths: required: false schema: type: string - - &444 + - &441 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26406,7 +25925,7 @@ paths: required: false schema: type: string - - &445 + - &442 name: exclude_providers in: query description: |- @@ -26417,7 +25936,7 @@ paths: required: false schema: type: string - - &446 + - &443 name: providers in: query description: |- @@ -26428,7 +25947,7 @@ paths: required: false schema: type: string - - &447 + - &444 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26437,7 +25956,7 @@ paths: required: false schema: type: string - - &448 + - &445 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26456,7 +25975,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &449 + - &446 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. @@ -26472,7 +25991,7 @@ paths: - *17 - *108 - *109 - - &450 + - &447 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26481,7 +26000,7 @@ paths: required: false schema: type: string - - &451 + - &448 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26490,7 +26009,7 @@ paths: schema: type: boolean default: false - - &452 + - &449 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26499,7 +26018,7 @@ paths: schema: type: boolean default: false - - &453 + - &450 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26508,7 +26027,7 @@ paths: schema: type: boolean default: false - - &454 + - &451 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26526,7 +26045,7 @@ paths: application/json: schema: type: array - items: &455 + items: &452 type: object properties: number: *127 @@ -26542,14 +26061,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &742 + state: &740 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: &743 + resolution: &741 type: - string - 'null' @@ -26668,14 +26187,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &744 + - &742 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &746 + - &744 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26739,7 +26258,7 @@ paths: - blob_url - commit_sha - commit_url - - &747 + - &745 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -26800,7 +26319,7 @@ paths: - page_url - commit_sha - commit_url - - &748 + - &746 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26822,7 +26341,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &749 + - &747 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26844,7 +26363,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &750 + - &748 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26866,7 +26385,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &751 + - &749 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26881,7 +26400,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &752 + - &750 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26896,7 +26415,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &753 + - &751 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26911,7 +26430,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &754 + - &752 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -26933,7 +26452,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &755 + - &753 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -26955,7 +26474,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &756 + - &754 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -26977,7 +26496,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &757 + - &755 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -26999,7 +26518,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &758 + - &756 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -27045,7 +26564,7 @@ paths: - type: 'null' - *4 examples: - default: &456 + default: &453 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -27254,7 +26773,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &454 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -27341,7 +26860,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *193 examples: - default: &458 + default: &455 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27477,7 +26996,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &460 + - &457 name: advanced_security_product in: query description: | @@ -27497,7 +27016,7 @@ paths: description: Success content: application/json: - schema: &461 + schema: &458 type: object properties: total_advanced_security_committers: @@ -27560,7 +27079,7 @@ paths: required: - repositories examples: - default: &462 + default: &459 value: total_advanced_security_committers: 2 total_count: 2 @@ -29994,78 +29513,6 @@ paths: enabledForGitHubApps: false category: billing subcategory: usage - "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for an enterprise team - description: |- - > [!NOTE] - > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." - - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 100 days prior. 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** on that day, as evaluated at the end of that day. - - To access this endpoint, the Copilot Metrics API access policy must be enabled or set to "no policy" for the enterprise within GitHub settings. - Only owners and billing managers for the enterprise that contains the enterprise team can view Copilot 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/copilot-metrics-for-enterprise-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team - parameters: - - *39 - - *138 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *207 - examples: - default: *208 - '500': *38 - '403': *27 - '404': *6 - '422': *209 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -30089,7 +29536,7 @@ paths: type: array items: *142 examples: - default: *210 + default: *207 headers: Link: *45 '403': *27 @@ -30180,7 +29627,7 @@ paths: application/json: schema: *142 examples: - default: &215 + default: &212 value: id: 1 name: Justice League @@ -30209,7 +29656,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &211 + - &208 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -30228,7 +29675,7 @@ paths: type: array items: *4 examples: - default: &212 + default: &209 value: - login: octocat id: 1 @@ -30267,7 +29714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30298,7 +29745,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30316,7 +29763,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30347,7 +29794,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30365,7 +29812,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *211 + - *208 - *140 responses: '200': @@ -30374,7 +29821,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &213 + exampleKey1: &210 value: login: octocat id: 1 @@ -30410,7 +29857,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *211 + - *208 - *140 responses: '201': @@ -30419,7 +29866,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *213 + exampleKey1: *210 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30437,7 +29884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *211 + - *208 - *140 responses: '204': @@ -30460,7 +29907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *39 - - *211 + - *208 - *17 - *19 responses: @@ -30472,7 +29919,7 @@ paths: type: array items: *73 examples: - default: &214 + default: &211 value: login: github id: 1 @@ -30503,7 +29950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30533,7 +29980,7 @@ paths: type: array items: *73 examples: - default: &250 + default: &247 value: - login: github id: 1 @@ -30564,7 +30011,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *39 - - *211 + - *208 requestBody: required: true content: @@ -30605,7 +30052,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *39 - - *211 + - *208 - *87 responses: '200': @@ -30614,7 +30061,7 @@ paths: application/json: schema: *73 examples: - default: *214 + default: *211 '404': description: The team is not assigned to the organization x-github: @@ -30633,7 +30080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *39 - - *211 + - *208 - *87 responses: '201': @@ -30642,7 +30089,7 @@ paths: application/json: schema: *73 examples: - default: *214 + default: *211 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30659,7 +30106,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *39 - - *211 + - *208 - *87 responses: '204': @@ -30684,7 +30131,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &216 + - &213 name: team_slug description: The slug of the team name. in: path @@ -30698,7 +30145,7 @@ paths: application/json: schema: *142 examples: - default: *215 + default: *212 headers: Link: *45 '403': *27 @@ -30718,7 +30165,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *216 + - *213 requestBody: required: true content: @@ -30788,7 +30235,7 @@ paths: application/json: schema: *142 examples: - default: *215 + default: *212 headers: Link: *45 '403': *27 @@ -30811,7 +30258,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *216 + - *213 responses: '204': description: Response @@ -30910,7 +30357,7 @@ paths: application/json: schema: type: array - items: &245 + items: &242 title: Event description: Event type: object @@ -30921,7 +30368,7 @@ paths: type: - string - 'null' - actor: &217 + actor: &214 title: Actor description: Actor type: object @@ -30962,7 +30409,7 @@ paths: - id - name - url - org: *217 + org: *214 payload: oneOf: - title: CreateEvent @@ -31009,7 +30456,7 @@ paths: properties: action: type: string - discussion: &879 + discussion: &877 title: Discussion description: A Discussion in a repository. type: object @@ -31306,7 +30753,7 @@ paths: - id labels: type: array - items: &220 + items: &217 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -31389,7 +30836,7 @@ paths: properties: action: type: string - issue: &221 + issue: &218 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -31510,7 +30957,7 @@ paths: milestone: anyOf: - type: 'null' - - &423 + - &420 title: Milestone description: A collection of related issues and pull requests. @@ -31682,7 +31129,7 @@ paths: timeline_url: type: string format: uri - type: &389 + type: &386 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -31743,7 +31190,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &218 + author_association: &215 title: author_association type: string description: How the author is associated with the @@ -31759,7 +31206,7 @@ paths: - OWNER examples: - OWNER - reactions: &219 + reactions: &216 title: Reaction Rollup type: object properties: @@ -31795,7 +31242,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &801 + sub_issues_summary: &799 title: Sub-issues Summary type: object properties: @@ -31819,7 +31266,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &222 + - &219 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -31870,16 +31317,16 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *215 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *216 pin: anyOf: - type: 'null' - - &686 + - &684 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -31906,7 +31353,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &802 + issue_dependencies_summary: &800 title: Issue Dependencies Summary type: object properties: @@ -31925,7 +31372,7 @@ paths: - total_blocking issue_field_values: type: array - items: &670 + items: &668 title: Issue Field Value description: A value assigned to an issue field type: object @@ -32098,10 +31545,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *217 labels: type: array - items: *220 + items: *217 required: - action - issue @@ -32110,8 +31557,8 @@ paths: properties: action: type: string - issue: *221 - comment: *222 + issue: *218 + comment: *219 required: - action - issue @@ -32290,7 +31737,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 allow_forking: type: boolean is_template: @@ -32381,7 +31828,7 @@ paths: type: string number: type: integer - pull_request: &224 + pull_request: &221 title: Pull Request Minimal type: object properties: @@ -32452,10 +31899,10 @@ paths: assignees: type: array items: *4 - label: *220 + label: *217 labels: type: array - items: *220 + items: *217 required: - action - number @@ -32465,7 +31912,7 @@ paths: properties: action: type: string - pull_request: *224 + pull_request: *221 comment: type: object properties: @@ -32719,7 +32166,7 @@ paths: - pull_request updated_at: type: string - pull_request: *224 + pull_request: *221 required: - action - review @@ -32768,7 +32215,7 @@ paths: updated_at: type: string format: date-time - reactions: *219 + reactions: *216 required: - action - comment @@ -32779,7 +32226,7 @@ paths: type: string release: allOf: - - &720 + - &718 title: Release description: A release. type: object @@ -32861,7 +32308,7 @@ paths: author: *4 assets: type: array - items: &721 + items: &719 title: Release Asset description: Data related to a release. type: object @@ -32936,7 +32383,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *219 + reactions: *216 required: - assets_url - upload_url @@ -33119,7 +32566,7 @@ paths: _links: type: object properties: - timeline: &225 + timeline: &222 title: Link With Type description: Hypermedia Link with Type type: object @@ -33131,17 +32578,17 @@ paths: required: - href - type - user: *225 - security_advisories: *225 - current_user: *225 - current_user_public: *225 - current_user_actor: *225 - current_user_organization: *225 + user: *222 + security_advisories: *222 + current_user: *222 + current_user_public: *222 + current_user_actor: *222 + current_user_organization: *222 current_user_organizations: type: array - items: *225 - repository_discussions: *225 - repository_discussions_category: *225 + items: *222 + repository_discussions: *222 + repository_discussions_category: *222 required: - timeline - user @@ -33203,7 +32650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *226 + - *223 - *17 - *19 responses: @@ -33213,7 +32660,7 @@ paths: application/json: schema: type: array - items: &227 + items: &224 title: Base Gist description: Base Gist type: object @@ -33339,7 +32786,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &228 + default: &225 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -33463,7 +32910,7 @@ paths: description: Response content: application/json: - schema: &229 + schema: &226 title: Gist Simple description: Gist Simple type: object @@ -33481,7 +32928,7 @@ paths: url: type: string format: uri - user: &808 + user: &806 title: Public User description: Public User type: object @@ -33863,7 +33310,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &230 + default: &227 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -33967,7 +33414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *226 + - *223 - *17 - *19 responses: @@ -33977,9 +33424,9 @@ paths: application/json: schema: type: array - items: *227 + items: *224 examples: - default: *228 + default: *225 headers: Link: *45 '422': *15 @@ -34001,7 +33448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *226 + - *223 - *17 - *19 responses: @@ -34011,9 +33458,9 @@ paths: application/json: schema: type: array - items: *227 + items: *224 examples: - default: *228 + default: *225 headers: Link: *45 '401': *23 @@ -34040,7 +33487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &231 + - &228 name: gist_id description: The unique identifier of the gist. in: path @@ -34052,10 +33499,10 @@ paths: description: Response content: application/json: - schema: *229 + schema: *226 examples: - default: *230 - '403': &234 + default: *227 + '403': &231 description: Forbidden Gist content: application/json: @@ -34103,7 +33550,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *231 + - *228 requestBody: required: true content: @@ -34167,9 +33614,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *226 examples: - updateGist: *230 + updateGist: *227 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -34327,7 +33774,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *231 + - *228 responses: '204': description: Response @@ -34355,7 +33802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *231 + - *228 - *17 - *19 responses: @@ -34365,7 +33812,7 @@ paths: application/json: schema: type: array - items: &232 + items: &229 title: Gist Comment description: A comment made to a gist. type: object @@ -34403,7 +33850,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *218 + author_association: *215 required: - url - id @@ -34467,7 +33914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *231 + - *228 requestBody: required: true content: @@ -34493,9 +33940,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *229 examples: - default: &233 + default: &230 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -34552,8 +33999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *231 - - &235 + - *228 + - &232 name: comment_id description: The unique identifier of the comment. in: path @@ -34566,12 +34013,12 @@ paths: description: Response content: application/json: - schema: *232 + schema: *229 examples: - default: *233 + default: *230 '304': *35 '404': *6 - '403': *234 + '403': *231 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34592,8 +34039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *231 - - *235 + - *228 + - *232 requestBody: required: true content: @@ -34619,9 +34066,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *229 examples: - default: *233 + default: *230 '404': *6 x-github: githubCloudOnly: false @@ -34638,8 +34085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *231 - - *235 + - *228 + - *232 responses: '204': description: Response @@ -34662,7 +34109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *231 + - *228 - *17 - *19 responses: @@ -34763,7 +34210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *231 + - *228 - *17 - *19 responses: @@ -34773,7 +34220,7 @@ paths: application/json: schema: type: array - items: *229 + items: *226 examples: default: value: @@ -34838,13 +34285,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *231 + - *228 responses: '201': description: Response content: application/json: - schema: *227 + schema: *224 examples: default: value: @@ -34921,7 +34368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *231 + - *228 responses: '204': description: Response if gist is starred @@ -34951,7 +34398,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *231 + - *228 responses: '204': description: Response @@ -34973,7 +34420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *231 + - *228 responses: '204': description: Response @@ -35001,7 +34448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *231 + - *228 - name: sha in: path required: true @@ -35012,9 +34459,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *226 examples: - default: *230 + default: *227 '422': *15 '404': *6 '403': *27 @@ -35397,7 +34844,7 @@ paths: - closed - all default: open - - &392 + - &389 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -35416,7 +34863,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - name: collab in: query required: false @@ -35446,9 +34893,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: &393 + default: &390 value: - id: 1 node_id: MDU6SXNzdWUx @@ -35728,7 +35175,7 @@ paths: application/json: schema: type: array - items: *223 + items: *220 examples: default: value: @@ -36026,7 +35473,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &236 + X-CommonMarker-Version: &233 example: 0.17.4 schema: type: string @@ -36081,7 +35528,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *236 + X-CommonMarker-Version: *233 content: text/html: schema: @@ -36110,7 +35557,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: - - &239 + - &236 name: account_id description: account_id parameter in: path @@ -36122,7 +35569,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &235 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -36156,7 +35603,7 @@ paths: - 'null' id: type: integer - plan: &237 + plan: &234 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -36259,7 +35706,7 @@ paths: - 'null' updated_at: type: string - plan: *237 + plan: *234 required: - url - id @@ -36267,7 +35714,7 @@ paths: - login - marketplace_purchase examples: - default: &240 + default: &237 value: url: https://api.github.com/orgs/github type: Organization @@ -36352,9 +35799,9 @@ paths: application/json: schema: type: array - items: *237 + items: *234 examples: - default: &241 + default: &238 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -36394,14 +35841,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &242 + - &239 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &243 + - &240 name: sort description: The property to sort the results by. in: query @@ -36431,9 +35878,9 @@ paths: application/json: schema: type: array - items: *238 + items: *235 examples: - default: &244 + default: &241 value: - url: https://api.github.com/orgs/github type: Organization @@ -36507,15 +35954,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: - - *239 + - *236 responses: '200': description: Response content: application/json: - schema: *238 + schema: *235 examples: - default: *240 + default: *237 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -36547,9 +35994,9 @@ paths: application/json: schema: type: array - items: *237 + items: *234 examples: - default: *241 + default: *238 headers: Link: *45 '401': *23 @@ -36572,8 +36019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *242 - - *243 + - *239 + - *240 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -36593,9 +36040,9 @@ paths: application/json: schema: type: array - items: *238 + items: *235 examples: - default: *244 + default: *241 headers: Link: *45 '401': *23 @@ -36860,14 +36307,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: - - &475 + - &472 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &476 + - &473 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -36884,7 +36331,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -36929,7 +36376,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &481 + '301': &478 description: Moved permanently content: application/json: @@ -36951,7 +36398,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &694 + - &692 name: all description: If `true`, show notifications marked as read. in: query @@ -36959,7 +36406,7 @@ paths: schema: type: boolean default: false - - &695 + - &693 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -36968,8 +36415,8 @@ paths: schema: type: boolean default: false - - *226 - - &696 + - *223 + - &694 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: @@ -36994,14 +36441,14 @@ paths: application/json: schema: type: array - items: &246 + items: &243 title: Thread description: Thread type: object properties: id: type: string - repository: &280 + repository: &277 title: Minimal Repository description: Minimal Repository type: object @@ -37351,7 +36798,7 @@ paths: type: boolean examples: - false - security_and_analysis: &434 + security_and_analysis: &431 type: - object - 'null' @@ -37576,7 +37023,7 @@ paths: - url - subscription_url examples: - default: &697 + default: &695 value: - id: '1' repository: @@ -37742,7 +37189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &247 + - &244 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 @@ -37756,7 +37203,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *243 examples: default: value: @@ -37859,7 +37306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *247 + - *244 responses: '205': description: Reset Content @@ -37882,7 +37329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *247 + - *244 responses: '204': description: No content @@ -37905,13 +37352,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: - - *247 + - *244 responses: '200': description: Response content: application/json: - schema: &248 + schema: &245 title: Thread Subscription description: Thread Subscription type: object @@ -37955,7 +37402,7 @@ paths: - url - subscribed examples: - default: &249 + default: &246 value: subscribed: true ignored: false @@ -37986,7 +37433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *247 + - *244 requestBody: required: false content: @@ -38007,9 +37454,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *245 examples: - default: *249 + default: *246 '304': *35 '403': *27 '401': *23 @@ -38032,7 +37479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *247 + - *244 responses: '204': description: Response @@ -38129,7 +37576,7 @@ paths: type: array items: *73 examples: - default: *250 + default: *247 headers: Link: example: ; rel="next" @@ -38181,7 +37628,7 @@ paths: - 3 custom_roles: type: array - items: &337 + items: &334 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -38230,7 +37677,7 @@ paths: - created_at - updated_at examples: - default: &338 + default: &335 value: id: 8030 name: Security Engineer @@ -38296,7 +37743,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &248 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -38335,7 +37782,7 @@ paths: required: true content: application/json: - schema: *251 + schema: *248 examples: selected_actions: *42 responses: @@ -38370,7 +37817,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &249 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -38409,7 +37856,7 @@ paths: required: true content: application/json: - schema: *252 + schema: *249 examples: selected_actions: *44 responses: @@ -38452,7 +37899,7 @@ paths: type: array items: *152 examples: - default: &703 + default: &701 value: - property_name: environment value: production @@ -38502,7 +37949,7 @@ paths: required: - properties examples: - default: &704 + default: &702 value: properties: - property_name: environment @@ -38549,7 +37996,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &250 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -38965,7 +38412,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &254 + default-response: &251 value: login: github id: 1 @@ -39297,17 +38744,17 @@ paths: description: Response content: application/json: - schema: *253 + schema: *250 examples: - default: *254 + default: *251 '422': description: Validation failed content: application/json: schema: oneOf: - - *255 - - *256 + - *252 + - *253 '409': *119 x-github: githubCloudOnly: false @@ -39378,9 +38825,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *254 examples: - default: *258 + default: *255 headers: Link: *45 x-github: @@ -39421,7 +38868,7 @@ paths: type: integer repository_cache_usages: type: array - items: &488 + items: &485 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -39499,7 +38946,7 @@ paths: type: array items: *46 examples: - default: *259 + default: *256 headers: Link: *45 x-github: @@ -39666,7 +39113,7 @@ paths: application/json: schema: *47 examples: - default: *260 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39758,7 +39205,7 @@ paths: application/json: schema: *50 examples: - default: *261 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39877,9 +39324,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *259 examples: - default: *263 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39915,7 +39362,7 @@ paths: type: array items: *54 examples: - default: *264 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40159,7 +39606,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *262 examples: default: *58 responses: @@ -40252,7 +39699,7 @@ paths: required: - include_claim_keys examples: - default: &266 + default: &263 value: include_claim_keys: - repo @@ -40297,13 +39744,13 @@ paths: format. type: boolean examples: - default: *266 + default: *263 responses: '201': description: Empty response content: application/json: - schema: &291 + schema: &288 title: Empty Object description: An object without any properties. type: object @@ -40342,7 +39789,7 @@ paths: schema: type: object properties: - enabled_repositories: &268 + enabled_repositories: &265 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -40356,7 +39803,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *60 - selected_actions_url: *267 + selected_actions_url: *264 sha_pinning_required: *61 required: - enabled_repositories @@ -40398,7 +39845,7 @@ paths: schema: type: object properties: - enabled_repositories: *268 + enabled_repositories: *265 allowed_actions: *60 sha_pinning_required: *61 required: @@ -40434,7 +39881,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *266 examples: response: summary: Example response @@ -40465,7 +39912,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *267 examples: application/json: value: @@ -40503,7 +39950,7 @@ paths: application/json: schema: *62 examples: - default: *271 + default: *268 '404': *6 x-github: enabledForGitHubApps: true @@ -40560,7 +40007,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *269 examples: default: *63 '403': *27 @@ -40585,7 +40032,7 @@ paths: required: true content: application/json: - schema: *273 + schema: *270 examples: default: *63 responses: @@ -40637,7 +40084,7 @@ paths: type: array items: *78 examples: - default: &275 + default: &272 value: total_count: 1 repositories: @@ -40822,7 +40269,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - &274 + - &271 name: repository_id description: The unique identifier of the repository. in: path @@ -40851,7 +40298,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: Response @@ -41047,7 +40494,7 @@ paths: type: array items: *78 examples: - default: *275 + default: *272 '403': *27 '404': *6 x-github: @@ -41116,7 +40563,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No content @@ -41143,7 +40590,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No content @@ -41177,7 +40624,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *273 examples: default: *69 x-github: @@ -41211,7 +40658,7 @@ paths: required: false content: application/json: - schema: *277 + schema: *274 examples: default: *69 x-github: @@ -41258,7 +40705,7 @@ paths: type: number runner_groups: type: array - items: &278 + items: &275 type: object properties: id: @@ -41448,9 +40895,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *275 examples: - default: &279 + default: &276 value: id: 2 name: octo-runner-group @@ -41492,7 +40939,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *275 examples: default: value: @@ -41585,9 +41032,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *275 examples: - default: *279 + default: *276 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -41651,7 +41098,7 @@ paths: type: array items: *46 examples: - default: *259 + default: *256 headers: Link: *45 x-github: @@ -41692,9 +41139,9 @@ paths: type: number repositories: type: array - items: *280 + items: *277 examples: - default: &335 + default: &332 value: total_count: 1 repositories: @@ -41993,7 +41440,7 @@ paths: parameters: - *87 - *72 - - *274 + - *271 responses: '204': description: Response @@ -42017,7 +41464,7 @@ paths: parameters: - *87 - *72 - - *274 + - *271 responses: '204': description: Response @@ -42235,9 +41682,9 @@ paths: application/json: schema: type: array - items: *281 + items: *278 examples: - default: *282 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42302,7 +41749,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *280 '404': *6 '422': *7 '409': *119 @@ -42341,7 +41788,7 @@ paths: application/json: schema: *79 examples: - default: *284 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42377,7 +41824,7 @@ paths: application/json: schema: *79 examples: - default: *285 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42408,7 +41855,7 @@ paths: application/json: schema: *76 examples: - default: *286 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42583,7 +42030,7 @@ paths: - *87 - *75 responses: - '200': *287 + '200': *284 '404': *6 x-github: githubCloudOnly: false @@ -42612,7 +42059,7 @@ paths: parameters: - *87 - *75 - - *288 + - *285 responses: '200': *81 '404': *6 @@ -42657,7 +42104,7 @@ paths: type: integer secrets: type: array - items: &289 + items: &286 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -42691,7 +42138,7 @@ paths: - updated_at - visibility examples: - default: &295 + default: &292 value: total_count: 3 secrets: @@ -42738,7 +42185,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &293 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -42773,7 +42220,7 @@ paths: - key_id - key examples: - default: &297 + default: &294 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42799,7 +42246,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *87 - - &290 + - &287 name: secret_name description: The name of the secret. in: path @@ -42811,9 +42258,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *286 examples: - default: &298 + default: &295 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42842,7 +42289,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -42899,7 +42346,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -42926,7 +42373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -42953,7 +42400,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -42971,9 +42418,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: &294 + default: &291 value: total_count: 1 repositories: @@ -43066,7 +42513,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -43119,7 +42566,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -43153,7 +42600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -43186,7 +42633,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *87 - - &299 + - &296 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)." @@ -43210,7 +42657,7 @@ paths: type: integer variables: type: array - items: &292 + items: &289 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -43258,7 +42705,7 @@ paths: - updated_at - visibility examples: - default: &300 + default: &297 value: total_count: 3 variables: @@ -43348,7 +42795,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -43374,7 +42821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *87 - - &293 + - &290 name: name description: The name of the variable. in: path @@ -43386,9 +42833,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *289 examples: - default: &301 + default: &298 value: name: USERNAME value: octocat @@ -43417,7 +42864,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -43480,7 +42927,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *87 - - *293 + - *290 responses: '204': description: Response @@ -43507,7 +42954,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 - *19 - *17 responses: @@ -43525,9 +42972,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43554,7 +43001,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -43604,7 +43051,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -43639,7 +43086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -43691,9 +43138,9 @@ paths: type: integer secrets: type: array - items: *289 + items: *286 examples: - default: *295 + default: *292 headers: Link: *45 x-github: @@ -43724,9 +43171,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43749,15 +43196,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *289 + schema: *286 examples: - default: *298 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43780,7 +43227,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -43837,7 +43284,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -43864,7 +43311,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -43891,7 +43338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -43909,9 +43356,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43935,7 +43382,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -43988,7 +43435,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -44022,7 +43469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -44056,7 +43503,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *87 - - *299 + - *296 - *19 responses: '200': @@ -44073,9 +43520,9 @@ paths: type: integer variables: type: array - items: *292 + items: *289 examples: - default: *300 + default: *297 headers: Link: *45 x-github: @@ -44146,7 +43593,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -44172,15 +43619,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *87 - - *293 + - *290 responses: '200': description: Response content: application/json: - schema: *292 + schema: *289 examples: - default: *301 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44202,7 +43649,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -44265,7 +43712,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *87 - - *293 + - *290 responses: '204': description: Response @@ -44292,7 +43739,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 - *19 - *17 responses: @@ -44310,9 +43757,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 '409': description: Response when the visibility of the variable is not set to `selected` @@ -44339,7 +43786,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - - *293 + - *290 requestBody: required: true content: @@ -44389,7 +43836,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -44424,7 +43871,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - - *293 + - *290 - name: repository_id in: path required: true @@ -44482,7 +43929,7 @@ paths: required: true content: application/json: - schema: *302 + schema: *299 examples: default: *85 parameters: @@ -44669,7 +44116,7 @@ paths: type: integer deployment_records: type: array - items: &303 + items: &300 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -44716,7 +44163,7 @@ paths: required: - total_count examples: - default: &304 + default: &301 value: total_count: 1 deployment_records: @@ -44898,11 +44345,11 @@ paths: type: integer deployment_records: type: array - items: *303 + items: *300 required: - total_count examples: - default: *304 + default: *301 '403': description: Forbidden content: @@ -45154,9 +44601,9 @@ paths: - 3 deployment_records: type: array - items: *303 + items: *300 examples: - default: *304 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,9 +44613,9 @@ paths: get: summary: List artifact storage records description: |- - List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + List artifact storage records with a given subject digest for repositories owned by an organization. - The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission. tags: - orgs operationId: orgs/list-artifact-storage-records @@ -45286,12 +44733,12 @@ paths: required: - subject_digests examples: - default: &839 + default: &837 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &840 + withPredicateType: &838 value: subject_digests: - sha256:abc123 @@ -45350,7 +44797,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &841 + default: &839 value: attestations_subject_digests: - sha256:abc: @@ -45716,7 +45163,7 @@ paths: initiator: type: string examples: - default: &521 + default: &518 value: attestations: - bundle: @@ -45856,10 +45303,10 @@ paths: required: false schema: type: string + - *302 + - *303 + - *304 - *305 - - *306 - - *307 - - *308 - *17 responses: '200': @@ -45868,9 +45315,9 @@ paths: application/json: schema: type: array - items: *309 + items: *306 examples: - default: *310 + default: *307 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45899,7 +45346,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45993,7 +45440,7 @@ paths: subcategory: bypass-requests parameters: - *87 - - &313 + - &310 name: repository_name description: The name of the repository to filter on. in: query @@ -46012,9 +45459,9 @@ paths: application/json: schema: type: array - items: *311 + items: *308 examples: - default: *312 + default: *309 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -46038,7 +45485,7 @@ paths: subcategory: delegated-bypass parameters: - *87 - - *313 + - *310 - *103 - *104 - *105 @@ -46052,9 +45499,9 @@ paths: application/json: schema: type: array - items: *314 + items: *311 examples: - default: *315 + default: *312 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -46081,7 +45528,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &317 + schema: &314 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -46107,7 +45554,7 @@ paths: application/json: schema: type: array - items: &318 + items: &315 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -46138,7 +45585,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *316 + items: *313 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -46157,7 +45604,7 @@ paths: - string - 'null' format: date-time - state: *317 + state: *314 contact_link: description: The contact link of the campaign. type: @@ -46380,9 +45827,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *315 examples: - default: &319 + default: &316 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -46465,9 +45912,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *315 examples: - default: *319 + default: *316 '404': *6 '422': description: Unprocessable Entity @@ -46545,7 +45992,7 @@ paths: - string - 'null' format: uri - state: *317 + state: *314 examples: default: value: @@ -46555,9 +46002,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *315 examples: - default: *319 + default: *316 '400': description: Bad Request content: @@ -46624,8 +46071,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *87 - - *320 - - *321 + - *317 + - *318 - *108 - *109 - *19 @@ -46636,7 +46083,7 @@ paths: be returned. in: query required: false - schema: *322 + schema: *319 - name: sort description: The property by which to sort the results. in: query @@ -46652,7 +46099,7 @@ paths: be returned. in: query required: false - schema: &546 + schema: &543 type: string description: Severity of a code scanning alert. enum: @@ -46678,9 +46125,9 @@ paths: application/json: schema: type: array - items: *323 + items: *320 examples: - default: *324 + default: *321 headers: Link: *45 '404': *6 @@ -47055,7 +46502,7 @@ paths: application/json: schema: *114 examples: - default: *325 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47083,9 +46530,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *323 examples: - default: *327 + default: *324 '304': *35 '403': *27 '404': *6 @@ -47174,7 +46621,7 @@ paths: application/json: schema: *114 examples: - default: *325 + default: *322 '304': *35 '403': *27 '404': *6 @@ -47619,7 +47066,7 @@ paths: default: value: default_for_new_repos: all - configuration: *325 + configuration: *322 '403': *27 '404': *6 x-github: @@ -47672,13 +47119,13 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *329 + repository: *326 '403': *27 '404': *6 x-github: @@ -47718,7 +47165,7 @@ paths: type: integer codespaces: type: array - items: &394 + items: &391 type: object title: Codespace description: A codespace. @@ -47749,11 +47196,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *280 + repository: *277 machine: anyOf: - type: 'null' - - &578 + - &575 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -48040,7 +47487,7 @@ paths: - pulls_url - recent_folders examples: - default: &395 + default: &392 value: total_count: 3 codespaces: @@ -48664,7 +48111,7 @@ paths: type: integer secrets: type: array - items: &330 + items: &327 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -48705,7 +48152,7 @@ paths: - updated_at - visibility examples: - default: &579 + default: &576 value: total_count: 2 secrets: @@ -48743,7 +48190,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &577 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -48778,7 +48225,7 @@ paths: - key_id - key examples: - default: &581 + default: &578 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -48802,15 +48249,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: &583 + default: &580 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48838,7 +48285,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -48893,7 +48340,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -48920,7 +48367,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -48946,7 +48393,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -48964,9 +48411,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 '404': *6 x-github: githubCloudOnly: false @@ -48989,7 +48436,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -49040,7 +48487,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -49074,7 +48521,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -49144,7 +48591,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &331 + items: &328 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -49541,9 +48988,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: &332 + default: &329 summary: Example response for an organization copilot space value: id: 84 @@ -49648,9 +49095,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *332 + default: *329 '403': *27 '404': *6 x-github: @@ -49779,9 +49226,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *332 + default: *329 '403': *27 '404': *6 '422': *15 @@ -49864,7 +49311,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &333 + items: &330 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -50089,7 +49536,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: user: value: @@ -50219,7 +49666,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: user: value: @@ -50370,7 +49817,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &334 + items: &331 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -50514,7 +49961,7 @@ paths: description: Resource created content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -50530,7 +49977,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -50585,7 +50032,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -50654,7 +50101,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -51382,12 +50829,12 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 required: - total_count - repositories examples: - default: *335 + default: *332 '500': *38 '401': *23 '403': *27 @@ -51473,7 +50920,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No Content @@ -51507,7 +50954,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: No Content @@ -51655,81 +51102,13 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *336 + '413': *333 '422': *7 x-github: githubCloudOnly: enabledForGitHubApps: true category: copilot subcategory: copilot-content-exclusion-management - "/orgs/{org}/copilot/metrics": - get: - summary: Get Copilot metrics for an organization - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. - Only organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization - parameters: - - *87 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *207 - examples: - default: *208 - '500': *38 - '403': *27 - '404': *6 - '422': *209 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/copilot/metrics/reports/organization-1-day": get: summary: Get Copilot organization usage metrics for a specific day @@ -52143,7 +51522,7 @@ paths: - 3 custom_roles: type: array - items: *337 + items: *334 examples: default: value: @@ -52235,7 +51614,7 @@ paths: required: true content: application/json: - schema: &339 + schema: &336 type: object properties: name: @@ -52277,9 +51656,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -52310,9 +51689,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '404': *6 x-github: githubCloudOnly: true @@ -52340,7 +51719,7 @@ paths: required: true content: application/json: - schema: &340 + schema: &337 type: object properties: name: @@ -52379,9 +51758,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -52439,7 +51818,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *336 examples: default: value: @@ -52453,9 +51832,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -52492,9 +51871,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '404': *6 x-github: githubCloudOnly: true @@ -52528,7 +51907,7 @@ paths: required: true content: application/json: - schema: *340 + schema: *337 examples: default: value: @@ -52543,9 +51922,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: - default: *338 + default: *335 '422': *15 '404': *6 x-github: @@ -52605,12 +51984,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *87 + - *338 + - *339 + - *340 - *341 - *342 - *343 - - *344 - - *345 - - *346 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -52640,7 +52019,7 @@ paths: enum: - patch - deployment - - *347 + - *344 - name: runtime_risk in: query description: |- @@ -52649,8 +52028,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *348 - - *349 + - *345 + - *346 - *110 - *108 - *109 @@ -52662,9 +52041,9 @@ paths: application/json: schema: type: array - items: *350 + items: *347 examples: - default: *351 + default: *348 '304': *35 '400': *14 '403': *27 @@ -52713,9 +52092,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *349 examples: - default: *353 + default: *350 '403': *27 '404': *6 x-github: @@ -52879,7 +52258,7 @@ paths: type: integer secrets: type: array - items: &354 + items: &351 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -52958,7 +52337,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &608 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -52977,7 +52356,7 @@ paths: - key_id - key examples: - default: &612 + default: &609 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -53001,13 +52380,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *354 + schema: *351 examples: default: value: @@ -53036,7 +52415,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -53093,7 +52472,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -53126,7 +52505,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -53151,7 +52530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 - *19 - *17 responses: @@ -53169,9 +52548,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53193,7 +52572,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -53244,7 +52623,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -53276,7 +52655,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - - *290 + - *287 - name: repository_id in: path required: true @@ -53313,7 +52692,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &621 + - &618 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -53321,7 +52700,7 @@ paths: required: false schema: type: string - - &622 + - &619 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -53329,7 +52708,7 @@ paths: required: false schema: type: string - - &623 + - &620 name: time_period description: |- The time period to filter by. @@ -53345,7 +52724,7 @@ paths: - week - month default: month - - &624 + - &621 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -53360,7 +52739,7 @@ paths: - denied - all default: all - - *313 + - *310 - *17 - *19 responses: @@ -53370,7 +52749,7 @@ paths: application/json: schema: type: array - items: &625 + items: &622 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -53480,7 +52859,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &356 + items: &353 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -53533,7 +52912,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &626 + default: &623 value: - id: 21 number: 42 @@ -53621,11 +53000,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *313 + - *310 - *103 - *104 - *105 - - *355 + - *352 - *17 - *19 responses: @@ -53635,7 +53014,7 @@ paths: application/json: schema: type: array - items: &627 + items: &624 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -53745,7 +53124,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *356 + items: *353 url: type: string format: uri @@ -53758,7 +53137,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &628 + default: &625 value: - id: 21 number: 42 @@ -53846,11 +53225,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *313 + - *310 - *103 - *104 - *105 - - *355 + - *352 - *17 - *19 responses: @@ -53860,9 +53239,9 @@ paths: application/json: schema: type: array - items: *357 + items: *354 examples: - default: *358 + default: *355 '404': *6 '403': *27 '500': *38 @@ -53888,7 +53267,7 @@ paths: application/json: schema: type: array - items: &404 + items: &401 title: Package description: A software package type: object @@ -53941,7 +53320,7 @@ paths: repository: anyOf: - type: 'null' - - *280 + - *277 created_at: type: string format: date-time @@ -53959,7 +53338,7 @@ paths: - created_at - updated_at examples: - default: &405 + default: &402 value: - id: 197 name: hello_docker @@ -54047,7 +53426,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: 200-response: value: @@ -54146,7 +53525,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &469 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -54236,7 +53615,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &473 + default: &470 value: group_id: '123' group_name: Octocat admins @@ -54291,7 +53670,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &466 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -54331,7 +53710,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &470 + default: &467 value: groups: - group_id: '123' @@ -54376,7 +53755,7 @@ paths: application/json: schema: type: array - items: &383 + items: &380 title: Organization Invitation description: Organization Invitation type: object @@ -54430,7 +53809,7 @@ paths: - invitation_teams_url - node_id examples: - default: &384 + default: &381 value: - id: 1 login: monalisa @@ -54497,7 +53876,7 @@ paths: application/json: schema: type: array - items: &435 + items: &432 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -54511,7 +53890,7 @@ paths: - name - description examples: - default: &436 + default: &433 value: - name: add_assignee description: Assign or remove a user @@ -54552,7 +53931,7 @@ paths: application/json: schema: type: array - items: &359 + items: &356 title: Org Hook description: Org Hook type: object @@ -54735,9 +54114,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *356 examples: - default: &360 + default: &357 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -54782,7 +54161,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &361 + - &358 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. @@ -54795,9 +54174,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *356 examples: - default: *360 + default: *357 '404': *6 x-github: githubCloudOnly: false @@ -54819,7 +54198,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *361 + - *358 requestBody: required: false content: @@ -54865,7 +54244,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *356 examples: default: value: @@ -54905,7 +54284,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *361 + - *358 responses: '204': description: Response @@ -54931,7 +54310,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *361 + - *358 responses: '200': description: Response @@ -54960,7 +54339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *361 + - *358 requestBody: required: false content: @@ -55009,10 +54388,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *361 + - *358 - *17 - - *362 - - *363 + - *359 + - *360 responses: '200': description: Response @@ -55020,9 +54399,9 @@ paths: application/json: schema: type: array - items: *364 + items: *361 examples: - default: *365 + default: *362 '400': *14 '422': *15 x-github: @@ -55046,16 +54425,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *361 + - *358 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *363 examples: - default: *367 + default: *364 '400': *14 '422': *15 x-github: @@ -55079,7 +54458,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *361 + - *358 - *16 responses: '202': *37 @@ -55106,7 +54485,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *361 + - *358 responses: '204': description: Response @@ -55129,7 +54508,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &372 + - &369 name: actor_type in: path description: The type of the actor @@ -55142,14 +54521,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &373 + - &370 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &368 + - &365 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`.' @@ -55157,7 +54536,7 @@ paths: required: true schema: type: string - - &369 + - &366 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) @@ -55252,12 +54631,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *368 - - *369 + - *365 + - *366 - *19 - *17 - *110 - - &378 + - &375 name: sort description: The property to sort the results by. in: query @@ -55336,14 +54715,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *368 - - *369 + - *365 + - *366 responses: '200': description: Response content: application/json: - schema: &370 + schema: &367 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -55359,7 +54738,7 @@ paths: type: integer format: int64 examples: - default: &371 + default: &368 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -55380,23 +54759,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &374 + - &371 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *368 - - *369 + - *365 + - *366 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *371 + default: *368 x-github: enabledForGitHubApps: true category: orgs @@ -55415,18 +54794,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *368 + - *365 + - *366 - *369 - - *372 - - *373 + - *370 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *371 + default: *368 x-github: enabledForGitHubApps: true category: orgs @@ -55444,9 +54823,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *87 - - *368 - - *369 - - &375 + - *365 + - *366 + - &372 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -55459,7 +54838,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &373 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -55475,7 +54854,7 @@ paths: type: integer format: int64 examples: - default: &377 + default: &374 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -55512,18 +54891,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *374 - - *368 - - *369 - - *375 + - *371 + - *365 + - *366 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *377 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -55541,19 +54920,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *372 - - *373 - - *368 - *369 - - *375 + - *370 + - *365 + - *366 + - *372 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *377 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -55571,13 +54950,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *87 - - *374 - - *368 - - *369 + - *371 + - *365 + - *366 - *19 - *17 - *110 - - *378 + - *375 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -55661,7 +55040,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55781,12 +55160,12 @@ paths: application/json: schema: anyOf: - - &381 + - &378 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &380 + limit: &377 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -55814,7 +55193,7 @@ paths: properties: {} additionalProperties: false examples: - default: &382 + default: &379 value: limit: collaborators_only origin: organization @@ -55843,13 +55222,13 @@ paths: required: true content: application/json: - schema: &657 + schema: &654 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *380 + limit: *377 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -55874,9 +55253,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *378 examples: - default: *382 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -55954,9 +55333,9 @@ paths: application/json: schema: type: array - items: *383 + items: *380 examples: - default: *384 + default: *381 headers: Link: *45 '404': *6 @@ -56034,7 +55413,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *380 examples: default: value: @@ -56091,7 +55470,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &385 + - &382 name: invitation_id description: The unique identifier of the invitation. in: path @@ -56125,7 +55504,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *385 + - *382 - *17 - *19 responses: @@ -56135,9 +55514,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: &403 + default: &400 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -56180,7 +55559,7 @@ paths: application/json: schema: type: array - items: &386 + items: &383 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -56443,9 +55822,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: &387 + default: &384 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -56501,7 +55880,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *87 - - &388 + - &385 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -56611,9 +55990,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *383 examples: - default: *387 + default: *384 '404': *6 '422': *7 x-github: @@ -56638,7 +56017,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *87 - - *388 + - *385 responses: '204': *126 '404': *6 @@ -56668,9 +56047,9 @@ paths: application/json: schema: type: array - items: *389 + items: *386 examples: - default: &660 + default: &658 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -56756,9 +56135,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *386 examples: - default: &390 + default: &387 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -56791,7 +56170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &391 + - &388 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -56847,9 +56226,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *386 examples: - default: *390 + default: *387 '404': *6 '422': *7 x-github: @@ -56874,7 +56253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *391 + - *388 responses: '204': description: Response @@ -56937,7 +56316,7 @@ paths: - closed - all default: open - - *392 + - *389 - name: type description: Can be the name of an issue type. in: query @@ -56956,7 +56335,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - *17 - *19 responses: @@ -56966,9 +56345,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *393 + default: *390 headers: Link: *45 '404': *6 @@ -57028,7 +56407,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '422': *15 @@ -57133,9 +56512,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *391 examples: - default: *395 + default: *392 '304': *35 '500': *38 '401': *23 @@ -57162,7 +56541,7 @@ paths: parameters: - *87 - *140 - - &396 + - &393 name: codespace_name in: path required: true @@ -57197,15 +56576,15 @@ paths: parameters: - *87 - *140 - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: &577 + default: &574 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -57461,7 +56840,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &394 title: Org Membership description: Org Membership type: object @@ -57530,7 +56909,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &398 + response-if-user-has-an-active-admin-membership-with-organization: &395 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -57631,9 +57010,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: - response-if-user-already-had-membership-with-organization: *398 + response-if-user-already-had-membership-with-organization: *395 '422': *15 '403': *27 x-github: @@ -57711,7 +57090,7 @@ paths: application/json: schema: type: array - items: &399 + items: &396 title: Migration description: A migration. type: object @@ -58060,7 +57439,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -58239,7 +57618,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &400 + - &397 name: migration_id description: The unique identifier of the migration. in: path @@ -58267,7 +57646,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -58437,7 +57816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *400 + - *397 responses: '302': description: Response @@ -58459,7 +57838,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *400 + - *397 responses: '204': description: Response @@ -58483,8 +57862,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *400 - - &822 + - *397 + - &820 name: repo_name description: repo_name parameter in: path @@ -58512,7 +57891,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *400 + - *397 - *17 - *19 responses: @@ -58522,9 +57901,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: &410 + default: &407 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -58753,7 +58132,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &401 + items: &398 title: Organization Role description: Organization roles type: object @@ -58962,7 +58341,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: default: value: @@ -59014,7 +58393,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response @@ -59040,7 +58419,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *87 - - *216 + - *213 - *139 responses: '204': @@ -59071,7 +58450,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *87 - - *216 + - *213 - *139 responses: '204': @@ -59192,7 +58571,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: default: value: @@ -59289,7 +58668,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: default: value: @@ -59448,7 +58827,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *399 type: description: The ownership type of the team type: string @@ -59481,7 +58860,7 @@ paths: - type - parent examples: - default: *403 + default: *400 headers: Link: *45 '404': @@ -59540,7 +58919,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *402 + items: *399 name: type: - string @@ -59657,7 +59036,7 @@ paths: - type - url examples: - default: *212 + default: *209 headers: Link: *45 '404': @@ -59708,7 +59087,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -59850,7 +59229,7 @@ paths: - nuget - container - *87 - - &823 + - &821 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -59886,12 +59265,12 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *405 + default: *402 '403': *27 '401': *23 - '400': &825 + '400': &823 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -59913,7 +59292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &406 + - &403 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 @@ -59931,7 +59310,7 @@ paths: - docker - nuget - container - - &407 + - &404 name: package_name description: The name of the package. in: path @@ -59944,7 +59323,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *401 examples: default: value: @@ -59996,8 +59375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 responses: '204': @@ -60030,8 +59409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - name: token description: package token @@ -60064,8 +59443,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-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - *19 - *17 @@ -60086,7 +59465,7 @@ paths: application/json: schema: type: array - items: &408 + items: &405 title: Package Version description: A version of a software package type: object @@ -60221,10 +59600,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: - - *406 - - *407 + - *403 + - *404 - *87 - - &409 + - &406 name: package_version_id description: Unique identifier of the package version. in: path @@ -60236,7 +59615,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *405 examples: default: value: @@ -60272,10 +59651,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - - *409 + - *406 responses: '204': description: Response @@ -60307,10 +59686,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *406 - - *407 + - *403 + - *404 - *87 - - *409 + - *406 responses: '204': description: Response @@ -60340,7 +59719,7 @@ paths: - *87 - *17 - *19 - - &411 + - &408 name: sort description: The property by which to sort the results. in: query @@ -60351,7 +59730,7 @@ paths: - created_at default: created_at - *110 - - &412 + - &409 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -60363,7 +59742,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &413 + - &410 name: repository description: The name of the repository to use to filter the results. in: query @@ -60372,7 +59751,7 @@ paths: type: string examples: - Hello-World - - &414 + - &411 name: permission description: The permission to use to filter the results. in: query @@ -60381,7 +59760,7 @@ paths: type: string examples: - issues_read - - &415 + - &412 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) @@ -60391,7 +59770,7 @@ paths: schema: type: string format: date-time - - &416 + - &413 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) @@ -60401,7 +59780,7 @@ paths: schema: type: string format: date-time - - &417 + - &414 name: token_id description: The ID of the token in: query @@ -60718,9 +60097,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -60746,14 +60125,14 @@ paths: - *87 - *17 - *19 - - *411 + - *408 - *110 + - *409 + - *410 + - *411 - *412 - *413 - *414 - - *415 - - *416 - - *417 responses: '500': *38 '422': *15 @@ -61035,9 +60414,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -61079,7 +60458,7 @@ paths: type: integer configurations: type: array - items: &418 + items: &415 title: Organization private registry description: Private registry configuration for an organization type: object @@ -61596,7 +60975,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &419 + org-private-registry-with-selected-visibility: &416 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -61688,15 +61067,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *87 - - *290 + - *287 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *418 + schema: *415 examples: - default: *419 + default: *416 '404': *6 x-github: githubCloudOnly: false @@ -61719,7 +61098,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *87 - - *290 + - *287 requestBody: required: true content: @@ -61908,7 +61287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *87 - - *290 + - *287 responses: '204': description: Response @@ -61948,7 +61327,7 @@ paths: application/json: schema: type: array - items: &420 + items: &417 title: Projects v2 Project description: A projects v2 project type: object @@ -62022,7 +61401,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &912 + - &910 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -62107,7 +61486,7 @@ paths: - deleted_at - deleted_by examples: - default: &421 + default: &418 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -62210,7 +61589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &422 + - &419 name: project_number description: The project's number. in: path @@ -62223,9 +61602,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *417 examples: - default: *421 + default: *418 headers: Link: *45 '304': *35 @@ -62248,7 +61627,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *422 + - *419 requestBody: required: true description: Details of the draft item to create in the project. @@ -62282,7 +61661,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &424 title: Projects v2 Item description: An item belonging to a project type: object @@ -62295,8 +61674,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *221 - - &592 + - *218 + - &589 title: Pull Request Simple description: Pull Request Simple type: object @@ -62416,7 +61795,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *420 active_lock_reason: type: - string @@ -62465,7 +61844,7 @@ paths: items: *4 requested_teams: type: array - items: *316 + items: *313 head: type: object properties: @@ -62509,7 +61888,7 @@ paths: _links: type: object properties: - comments: &424 + comments: &421 title: Link description: Hypermedia Link type: object @@ -62518,13 +61897,13 @@ paths: type: string required: - href - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + commits: *421 + statuses: *421 + html: *421 + issue: *421 + review_comments: *421 + review_comment: *421 + self: *421 required: - comments - commits @@ -62534,8 +61913,8 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: &706 + author_association: *215 + auto_merge: &704 title: Auto merge description: The status of auto merging a pull request. type: @@ -62709,7 +62088,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &426 + content_type: &423 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -62753,7 +62132,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &428 + draft_issue: &425 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -62827,7 +62206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *422 + - *419 - *87 - *17 - *108 @@ -62839,7 +62218,7 @@ paths: application/json: schema: type: array - items: &425 + items: &422 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -62992,7 +62371,7 @@ paths: - updated_at - project_url examples: - default: &845 + default: &843 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -63122,7 +62501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *422 + - *419 - *87 requestBody: required: true @@ -63169,7 +62548,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &846 + items: &844 type: object properties: name: @@ -63206,7 +62585,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &847 + iteration_configuration: &845 type: object description: The configuration for iteration fields. properties: @@ -63256,7 +62635,7 @@ paths: value: name: Due date data_type: date - single_select_field: &848 + single_select_field: &846 summary: Create a single select field value: name: Priority @@ -63283,7 +62662,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &849 + iteration_field: &847 summary: Create an iteration field value: name: Sprint @@ -63307,9 +62686,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *425 + schema: *422 examples: - text_field: &850 + text_field: &848 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -63318,7 +62697,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &851 + number_field: &849 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -63327,7 +62706,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &852 + date_field: &850 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -63336,7 +62715,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &853 + single_select_field: &851 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -63370,7 +62749,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &854 + iteration_field: &852 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -63415,8 +62794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *422 - - &855 + - *419 + - &853 name: field_id description: The unique identifier of the field. in: path @@ -63429,9 +62808,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: &856 + default: &854 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -63487,7 +62866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *422 + - *419 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -63520,7 +62899,7 @@ paths: application/json: schema: type: array - items: &429 + items: &426 title: Projects v2 Item description: An item belonging to a project type: object @@ -63537,7 +62916,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *426 + content_type: *423 content: type: - object @@ -63587,7 +62966,7 @@ paths: - updated_at - archived_at examples: - default: &430 + default: &427 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -64285,7 +63664,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *422 + - *419 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -64355,22 +63734,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *425 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *425 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *425 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *425 '304': *35 '403': *27 '401': *23 @@ -64390,9 +63769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *422 + - *419 - *87 - - &431 + - &428 name: item_id description: The unique identifier of the project item. in: path @@ -64418,9 +63797,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -64441,9 +63820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *422 + - *419 - *87 - - *431 + - *428 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -64516,13 +63895,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *427 + number_field: *427 + date_field: *427 + single_select_field: *427 + iteration_field: *427 '401': *23 '403': *27 '404': *6 @@ -64542,9 +63921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *422 + - *419 - *87 - - *431 + - *428 responses: '204': description: Response @@ -64568,7 +63947,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *87 - - *422 + - *419 requestBody: required: true content: @@ -64642,7 +64021,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &836 + schema: &834 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -64746,7 +64125,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &432 + value: &429 value: id: 1 number: 1 @@ -64792,10 +64171,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *432 + value: *429 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *429 '304': *35 '403': *27 '401': *23 @@ -64823,9 +64202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *422 + - *419 - *87 - - &857 + - &855 name: view_number description: The number that identifies the project view. in: path @@ -64857,9 +64236,9 @@ paths: application/json: schema: type: array - items: *429 + items: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -65023,7 +64402,7 @@ paths: required: true content: application/json: - schema: *433 + schema: *430 examples: default: value: @@ -65251,7 +64630,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -65389,9 +64768,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -65595,7 +64974,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &477 title: Full Repository description: Full Repository type: object @@ -66054,7 +65433,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 organization: anyOf: - type: 'null' @@ -66073,7 +65452,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &597 + code_of_conduct: &594 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -66103,7 +65482,7 @@ paths: - key - name - html_url - security_and_analysis: *434 + security_and_analysis: *431 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -66198,7 +65577,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &482 + default: &479 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -66736,9 +66115,9 @@ paths: application/json: schema: type: array - items: *435 + items: *432 examples: - default: *436 + default: *433 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -66763,7 +66142,7 @@ paths: - *87 - *17 - *19 - - &728 + - &726 name: targets description: | A comma-separated list of rule targets to filter by. @@ -66855,11 +66234,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *437 + conditions: *434 rules: type: array description: An array of rules within the ruleset. - items: &439 + items: &436 title: Repository Rule type: object description: A repository rule. @@ -66924,7 +66303,7 @@ paths: application/json: schema: *187 examples: - default: &438 + default: &435 value: id: 21 name: super cool ruleset @@ -66980,7 +66359,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &730 + - &728 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 @@ -66990,16 +66369,16 @@ paths: schema: type: string x-multi-segment: true - - *313 + - *310 - *105 - - &731 + - &729 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 - - &732 + - &730 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -67012,7 +66391,7 @@ paths: - bypass - all default: all - - &733 + - &731 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -67035,7 +66414,7 @@ paths: description: Response content: application/json: - schema: &734 + schema: &732 title: Rule Suites description: Response type: array @@ -67091,7 +66470,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &735 + default: &733 value: - id: 21 actor_id: 12 @@ -67135,7 +66514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &736 + - &734 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -67151,7 +66530,7 @@ paths: description: Response content: application/json: - schema: &737 + schema: &735 title: Rule Suite description: Response type: object @@ -67258,7 +66637,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &738 + default: &736 value: id: 21 actor_id: 12 @@ -67333,7 +66712,7 @@ paths: application/json: schema: *187 examples: - default: *438 + default: *435 '404': *6 '500': *38 put: @@ -67382,11 +66761,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *437 + conditions: *434 rules: description: An array of rules within the ruleset. type: array - items: *439 + items: *436 examples: default: value: @@ -67423,7 +66802,7 @@ paths: application/json: schema: *187 examples: - default: *438 + default: *435 '404': *6 '422': *15 '500': *38 @@ -67483,7 +66862,7 @@ paths: type: array items: *191 examples: - default: *440 + default: *437 '404': *6 '500': *38 x-github: @@ -67520,7 +66899,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: default: value: @@ -67583,18 +66962,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 + - *439 + - *440 + - *441 - *442 - *443 - *444 - *445 - *446 - - *447 - - *448 - - *449 - *110 - *19 - *17 - - &740 + - &738 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 @@ -67604,7 +66983,7 @@ paths: required: false schema: type: string - - &741 + - &739 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 @@ -67614,11 +66993,11 @@ paths: required: false schema: type: string + - *447 + - *448 + - *449 - *450 - *451 - - *452 - - *453 - - *454 responses: '200': description: Response @@ -67626,9 +67005,9 @@ paths: application/json: schema: type: array - items: *455 + items: *452 examples: - default: *456 + default: *453 headers: Link: *45 '404': *6 @@ -67663,9 +67042,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *454 examples: - default: *458 + default: *455 '403': *27 '404': *6 patch: @@ -67818,7 +67197,7 @@ paths: application/json: schema: type: array - items: &762 + items: &760 description: A repository security advisory. type: object properties: @@ -68062,7 +67441,7 @@ paths: login: type: string description: The username of the user credited. - type: *459 + type: *456 credits_detailed: type: - array @@ -68073,7 +67452,7 @@ paths: type: object properties: user: *4 - type: *459 + type: *456 state: type: string description: The state of the user's acceptance of the @@ -68099,7 +67478,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *316 + items: *313 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -68169,7 +67548,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &763 + default: &761 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -68556,7 +67935,7 @@ paths: application/json: schema: type: array - items: *402 + items: *399 examples: default: value: @@ -68597,7 +67976,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response @@ -68623,7 +68002,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response @@ -68655,7 +68034,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *460 + - *457 - *17 - *19 responses: @@ -68663,9 +68042,9 @@ paths: description: Success content: application/json: - schema: *461 + schema: *458 examples: - default: *462 + default: *459 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68811,9 +68190,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68882,7 +68261,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: Response @@ -68905,7 +68284,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *87 - - *274 + - *271 responses: '204': description: Response @@ -68948,7 +68327,7 @@ paths: type: array items: *145 examples: - default: *463 + default: *460 headers: Link: *45 x-github: @@ -69177,15 +68556,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *464 + - *461 responses: '200': description: Response content: application/json: - schema: *465 + schema: *462 examples: - default: *466 + default: *463 headers: Link: *45 x-github: @@ -69223,7 +68602,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &474 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -69275,7 +68654,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &478 + default: &475 value: groups: - group_id: '123' @@ -69296,75 +68675,6 @@ paths: enabledForGitHubApps: true category: teams subcategory: team-sync - "/orgs/{org}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for a team - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. - Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team - parameters: - - *87 - - *216 - - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *207 - examples: - default: *208 - '500': *38 - '403': *27 - '404': *6 - '422': *209 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -69399,9 +68709,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 headers: Link: *45 '403': *27 @@ -69495,7 +68805,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &464 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -69569,7 +68879,7 @@ paths: parent: anyOf: - type: 'null' - - *402 + - *399 members_count: type: integer examples: @@ -69894,7 +69204,7 @@ paths: - repos_count - organization examples: - default: &468 + default: &465 value: id: 1 node_id: MDQ6VGVhbTE= @@ -69976,15 +69286,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *87 - - *216 + - *213 responses: '200': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -70006,7 +69316,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *87 - - *216 + - *213 requestBody: required: false content: @@ -70069,16 +69379,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '201': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 '422': *15 '403': *27 @@ -70104,11 +69414,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response - '422': &471 + '422': &468 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -70131,16 +69441,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *87 - - *216 + - *213 responses: '200': description: Response content: application/json: - schema: *469 + schema: *466 examples: - default: *470 - '422': *471 + default: *467 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -70160,7 +69470,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *216 + - *213 requestBody: required: true content: @@ -70184,10 +69494,10 @@ paths: description: Response content: application/json: - schema: *472 + schema: *469 examples: - default: *473 - '422': *471 + default: *470 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70207,11 +69517,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *87 - - *216 + - *213 responses: '204': description: Response - '422': *471 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -70233,7 +69543,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *87 - - *216 + - *213 - *17 - *19 responses: @@ -70243,12 +69553,12 @@ paths: application/json: schema: type: array - items: *383 + items: *380 examples: - default: *384 + default: *381 headers: Link: *45 - '422': *471 + '422': *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70269,7 +69579,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *87 - - *216 + - *213 - name: role description: Filters members returned by their role in the team. in: query @@ -70292,7 +69602,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -70323,14 +69633,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *87 - - *216 + - *213 - *140 responses: '200': description: Response content: application/json: - schema: &474 + schema: &471 title: Team Membership description: Team Membership type: object @@ -70358,7 +69668,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &804 + response-if-user-is-a-team-maintainer: &802 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -70395,7 +69705,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *87 - - *216 + - *213 - *140 requestBody: required: false @@ -70421,9 +69731,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: &805 + response-if-users-membership-with-team-is-now-pending: &803 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -70459,7 +69769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *87 - - *216 + - *213 - *140 responses: '204': @@ -70487,7 +69797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *87 - - *216 + - *213 - *17 - *19 responses: @@ -70497,9 +69807,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -70529,15 +69839,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *87 - - *216 - - *475 - - *476 + - *213 + - *472 + - *473 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &806 + schema: &804 title: Team Repository description: A team's access to a repository. type: object @@ -70563,7 +69873,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 forks: type: integer permissions: @@ -71264,9 +70574,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *87 - - *216 - - *475 - - *476 + - *213 + - *472 + - *473 requestBody: required: false content: @@ -71312,9 +70622,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *87 - - *216 - - *475 - - *476 + - *213 + - *472 + - *473 responses: '204': description: Response @@ -71341,16 +70651,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *87 - - *216 + - *213 responses: '200': description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: *478 - '422': *471 + default: *475 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71373,7 +70683,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *87 - - *216 + - *213 requestBody: required: true content: @@ -71416,7 +70726,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: default: value: @@ -71428,7 +70738,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *471 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71450,7 +70760,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *87 - - *216 + - *213 - *17 - *19 responses: @@ -71460,9 +70770,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - response-if-child-teams-exist: &807 + response-if-child-teams-exist: &805 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -71590,7 +70900,6 @@ paths: * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)." * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph)." * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph)." - * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners)." * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions)." @@ -71616,7 +70925,7 @@ paths: resources: type: object properties: - core: &479 + core: &476 title: Rate Limit type: object properties: @@ -71633,21 +70942,21 @@ paths: - remaining - reset - used - graphql: *479 - search: *479 - code_search: *479 - source_import: *479 - integration_manifest: *479 - code_scanning_upload: *479 - actions_runner_registration: *479 - scim: *479 - dependency_snapshots: *479 - dependency_sbom: *479 - code_scanning_autofix: *479 + graphql: *476 + search: *476 + code_search: *476 + source_import: *476 + integration_manifest: *476 + actions_runner_registration: *476 + scim: *476 + dependency_snapshots: *476 + dependency_sbom: *476 + code_scanning_autofix: *476 + copilot_usage_records: *476 required: - core - search - rate: *479 + rate: *476 required: - rate - resources @@ -71688,11 +70997,6 @@ paths: used: 1 remaining: 99 reset: 1691591091 - code_scanning_upload: - limit: 500 - used: 1 - remaining: 499 - reset: 1691594631 actions_runner_registration: limit: 10000 used: 0 @@ -71766,14 +71070,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *480 + schema: *477 examples: default-response: summary: Default response @@ -72288,7 +71592,7 @@ paths: version: '2026-03-10' '403': *27 '404': *6 - '301': *481 + '301': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72306,8 +71610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -72628,10 +71932,10 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 - '307': &483 + default: *479 + '307': &480 description: Temporary Redirect content: application/json: @@ -72660,8 +71964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -72683,7 +71987,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': *483 + '307': *480 '404': *6 '409': *119 x-github: @@ -72707,11 +72011,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - - &499 + - &496 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -72734,7 +72038,7 @@ paths: type: integer artifacts: type: array - items: &484 + items: &481 title: Artifact description: An artifact type: object @@ -72829,7 +72133,7 @@ paths: - expires_at - updated_at examples: - default: &500 + default: &497 value: total_count: 2 artifacts: @@ -72890,9 +72194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *475 - - *476 - - &485 + - *472 + - *473 + - &482 name: artifact_id description: The unique identifier of the artifact. in: path @@ -72904,7 +72208,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *481 examples: default: value: @@ -72942,9 +72246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *475 - - *476 - - *485 + - *472 + - *473 + - *482 responses: '204': description: Response @@ -72968,9 +72272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *475 - - *476 - - *485 + - *472 + - *473 + - *482 - name: archive_format in: path required: true @@ -72980,11 +72284,11 @@ paths: '302': description: Response headers: - Location: &614 + Location: &611 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': &661 + '410': &659 description: Gone content: application/json: @@ -73009,14 +72313,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &486 + schema: &483 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -73050,13 +72354,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *486 + schema: *483 examples: selected_actions: *42 responses: @@ -73085,14 +72389,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &487 + schema: &484 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -73126,13 +72430,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *487 + schema: *484 examples: selected_actions: *44 responses: @@ -73163,14 +72467,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *488 + schema: *485 examples: default: value: @@ -73196,11 +72500,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: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - - &489 + - &486 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 @@ -73234,7 +72538,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &487 title: Repository actions caches description: Repository actions caches type: object @@ -73284,7 +72588,7 @@ paths: - total_count - actions_caches examples: - default: &491 + default: &488 value: total_count: 1 actions_caches: @@ -73316,23 +72620,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: - - *475 - - *476 + - *472 + - *473 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *489 + - *486 responses: '200': description: Response content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73352,8 +72656,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: - - *475 - - *476 + - *472 + - *473 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -73382,8 +72686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *109 responses: @@ -73466,8 +72770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -73623,9 +72927,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: - - *475 - - *476 - - &492 + - *472 + - *473 + - &489 name: job_id description: The unique identifier of the job. in: path @@ -73637,7 +72941,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &500 title: Job description: Information of a job execution in a workflow run type: object @@ -73984,9 +73288,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: - - *475 - - *476 - - *492 + - *472 + - *473 + - *489 responses: '302': description: Response @@ -74014,9 +73318,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: - - *475 - - *476 - - *492 + - *472 + - *473 + - *489 requestBody: required: false content: @@ -74043,7 +73347,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -74067,8 +73371,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Status response @@ -74127,8 +73431,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -74167,7 +73471,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -74196,8 +73500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -74215,7 +73519,7 @@ paths: type: integer secrets: type: array - items: &505 + items: &502 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -74236,7 +73540,7 @@ paths: - created_at - updated_at examples: - default: &506 + default: &503 value: total_count: 2 secrets: @@ -74269,9 +73573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -74288,7 +73592,7 @@ paths: type: integer variables: type: array - items: &507 + items: &504 title: Actions Variable type: object properties: @@ -74322,7 +73626,7 @@ paths: - created_at - updated_at examples: - default: &508 + default: &505 value: total_count: 2 variables: @@ -74355,8 +73659,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -74365,11 +73669,11 @@ paths: schema: type: object properties: - enabled: &493 + enabled: &490 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 - selected_actions_url: *267 + selected_actions_url: *264 sha_pinning_required: *61 required: - enabled @@ -74400,8 +73704,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -74412,7 +73716,7 @@ paths: schema: type: object properties: - enabled: *493 + enabled: *490 allowed_actions: *60 sha_pinning_required: *61 required: @@ -74445,14 +73749,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &494 + schema: &491 type: object properties: access_level: @@ -74470,7 +73774,7 @@ paths: required: - access_level examples: - default: &495 + default: &492 value: access_level: organization x-github: @@ -74495,15 +73799,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *494 + schema: *491 examples: - default: *495 + default: *492 responses: '204': description: Response @@ -74527,14 +73831,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *269 + schema: *266 examples: default: value: @@ -74558,8 +73862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Empty response for successful settings update @@ -74569,7 +73873,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *267 examples: default: summary: Set retention days @@ -74593,8 +73897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -74602,7 +73906,7 @@ paths: application/json: schema: *62 examples: - default: *271 + default: *268 '404': *6 x-github: enabledForGitHubApps: true @@ -74621,8 +73925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -74656,14 +73960,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *272 + schema: *269 examples: default: *63 '403': *27 @@ -74685,13 +73989,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *273 + schema: *270 examples: default: *63 responses: @@ -74717,8 +74021,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -74749,8 +74053,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -74782,14 +74086,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *276 + schema: *273 examples: default: *69 x-github: @@ -74812,8 +74116,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Success response @@ -74824,7 +74128,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *274 examples: default: *69 x-github: @@ -74853,8 +74157,8 @@ paths: in: query schema: type: string - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -74898,8 +74202,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -74907,9 +74211,9 @@ paths: application/json: schema: type: array - items: *281 + items: *278 examples: - default: *282 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74931,8 +74235,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -74975,7 +74279,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *283 + '201': *280 '404': *6 '422': *7 '409': *119 @@ -75006,8 +74310,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: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -75015,7 +74319,7 @@ paths: application/json: schema: *79 examples: - default: *284 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75043,8 +74347,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: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -75052,7 +74356,7 @@ paths: application/json: schema: *79 examples: - default: *285 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75074,8 +74378,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: '200': @@ -75084,7 +74388,7 @@ paths: application/json: schema: *76 examples: - default: *286 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75105,8 +74409,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: '204': @@ -75133,8 +74437,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: '200': *81 @@ -75159,8 +74463,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: - - *475 - - *476 + - *472 + - *473 - *75 requestBody: required: true @@ -75209,8 +74513,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: - - *475 - - *476 + - *472 + - *473 - *75 requestBody: required: true @@ -75260,11 +74564,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: - - *475 - - *476 + - *472 + - *473 - *75 responses: - '200': *287 + '200': *284 '404': *6 x-github: githubCloudOnly: false @@ -75291,10 +74595,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: - - *475 - - *476 + - *472 + - *473 - *75 - - *288 + - *285 responses: '200': *81 '404': *6 @@ -75322,9 +74626,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: - - *475 - - *476 - - &511 + - *472 + - *473 + - &508 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. @@ -75332,7 +74636,7 @@ paths: required: false schema: type: string - - &512 + - &509 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -75340,7 +74644,7 @@ paths: required: false schema: type: string - - &513 + - &510 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -75349,7 +74653,7 @@ paths: required: false schema: type: string - - &514 + - &511 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 @@ -75376,7 +74680,7 @@ paths: - pending - *17 - *19 - - &515 + - &512 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)." @@ -75385,7 +74689,7 @@ paths: schema: type: string format: date-time - - &496 + - &493 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -75394,13 +74698,13 @@ paths: schema: type: boolean default: false - - &516 + - &513 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &517 + - &514 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -75423,7 +74727,7 @@ paths: type: integer workflow_runs: type: array - items: &497 + items: &494 title: Workflow Run description: An invocation of a workflow type: object @@ -75540,7 +74844,7 @@ paths: type: - array - 'null' - items: *224 + items: *221 created_at: type: string format: date-time @@ -75601,7 +74905,7 @@ paths: head_commit: anyOf: - type: 'null' - - &541 + - &538 title: Simple Commit description: A commit. type: object @@ -75675,8 +74979,8 @@ paths: - timestamp - author - committer - repository: *280 - head_repository: *280 + repository: *277 + head_repository: *277 head_repository_id: type: integer examples: @@ -75716,7 +75020,7 @@ paths: - workflow_url - pull_requests examples: - default: &518 + default: &515 value: total_count: 1 workflow_runs: @@ -75952,24 +75256,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *475 - - *476 - - &498 + - *472 + - *473 + - &495 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *496 + - *493 responses: '200': description: Response content: application/json: - schema: *497 + schema: *494 examples: - default: &501 + default: &498 value: id: 30433642 name: Build @@ -76210,9 +75514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '204': description: Response @@ -76235,9 +75539,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '200': description: Response @@ -76365,15 +75669,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76400,12 +75704,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 - *17 - *19 - - *499 + - *496 - *110 responses: '200': @@ -76422,9 +75726,9 @@ paths: type: integer artifacts: type: array - items: *484 + items: *481 examples: - default: *500 + default: *497 headers: Link: *45 x-github: @@ -76448,25 +75752,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *475 - - *476 - - *498 - - &502 + - *472 + - *473 + - *495 + - &499 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *496 + - *493 responses: '200': description: Response content: application/json: - schema: *497 + schema: *494 examples: - default: *501 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76489,10 +75793,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: - - *475 - - *476 - - *498 - - *502 + - *472 + - *473 + - *495 + - *499 - *17 - *19 responses: @@ -76510,9 +75814,9 @@ paths: type: integer jobs: type: array - items: *503 + items: *500 examples: - default: &504 + default: &501 value: total_count: 1 jobs: @@ -76625,10 +75929,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *475 - - *476 - - *498 - - *502 + - *472 + - *473 + - *495 + - *499 responses: '302': description: Response @@ -76656,15 +75960,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '202': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76704,9 +76008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 - *17 - *108 - *109 @@ -76883,9 +76187,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: true content: @@ -76952,15 +76256,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '202': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -76987,9 +76291,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 - 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 @@ -77019,9 +76323,9 @@ paths: type: integer jobs: type: array - items: *503 + items: *500 examples: - default: *504 + default: *501 headers: Link: *45 x-github: @@ -77046,9 +76350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '302': description: Response @@ -77075,9 +76379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '204': description: Response @@ -77104,9 +76408,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '200': description: Response @@ -77175,7 +76479,7 @@ paths: items: type: object properties: - type: &629 + type: &626 type: string description: The type of reviewer. enum: @@ -77186,7 +76490,7 @@ paths: reviewer: anyOf: - *4 - - *316 + - *313 required: - environment - wait_timer @@ -77261,9 +76565,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: true content: @@ -77313,7 +76617,7 @@ paths: application/json: schema: type: array - items: &616 + items: &613 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -77425,7 +76729,7 @@ paths: - created_at - updated_at examples: - default: &617 + default: &614 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -77481,9 +76785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: false content: @@ -77505,7 +76809,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -77528,9 +76832,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: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 requestBody: required: false content: @@ -77552,7 +76856,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -77585,9 +76889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *475 - - *476 - - *498 + - *472 + - *473 + - *495 responses: '200': description: Response @@ -77724,8 +77028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -77743,9 +77047,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -77770,16 +77074,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77801,17 +77105,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: &519 + default: &516 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -77837,9 +77141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -77870,7 +77174,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -77896,9 +77200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -77923,9 +77227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -77942,9 +77246,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -77967,8 +77271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -77995,7 +77299,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -78020,17 +77324,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: &520 + default: &517 value: name: USERNAME value: octocat @@ -78056,9 +77360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 requestBody: required: true content: @@ -78100,9 +77404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '204': description: Response @@ -78127,8 +77431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -78146,7 +77450,7 @@ paths: type: integer workflows: type: array - items: &509 + items: &506 title: Workflow description: A GitHub Actions workflow type: object @@ -78264,9 +77568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *475 - - *476 - - &510 + - *472 + - *473 + - &507 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -78281,7 +77585,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: default: value: @@ -78314,9 +77618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '204': description: Response @@ -78341,9 +77645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -78441,9 +77745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '204': description: Response @@ -78470,19 +77774,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: - - *475 - - *476 + - *472 + - *473 + - *507 + - *508 + - *509 - *510 - *511 + - *17 + - *19 - *512 + - *493 - *513 - *514 - - *17 - - *19 - - *515 - - *496 - - *516 - - *517 responses: '200': description: Response @@ -78498,9 +77802,9 @@ paths: type: integer workflow_runs: type: array - items: *497 + items: *494 examples: - default: *518 + default: *515 headers: Link: *45 x-github: @@ -78533,9 +77837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *475 - - *476 - - *510 + - *472 + - *473 + - *507 responses: '200': description: Response @@ -78596,8 +77900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *475 - - *476 + - *472 + - *473 - *110 - *17 - *108 @@ -78770,8 +78074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -78789,9 +78093,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -78815,9 +78119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -78834,9 +78138,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -78861,8 +78165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -78880,9 +78184,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -78907,16 +78211,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78938,17 +78242,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: *519 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78970,9 +78274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -79003,7 +78307,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -79029,9 +78333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -79056,9 +78360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *475 - - *476 - - *299 + - *472 + - *473 + - *296 - *19 responses: '200': @@ -79075,9 +78379,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -79100,8 +78404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -79128,7 +78432,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -79153,17 +78457,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: *520 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79184,9 +78488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 requestBody: required: true content: @@ -79228,9 +78532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *475 - - *476 - - *293 + - *472 + - *473 + - *290 responses: '204': description: Response @@ -79251,8 +78555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -79264,7 +78568,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '404': *6 @@ -79289,8 +78593,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: - - *475 - - *476 + - *472 + - *473 - name: assignee in: path required: true @@ -79326,8 +78630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -79437,8 +78741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *108 - *109 @@ -79495,7 +78799,7 @@ paths: initiator: type: string examples: - default: *521 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79529,8 +78833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -79538,7 +78842,7 @@ paths: application/json: schema: type: array - items: &522 + items: &519 title: Autolink reference description: An autolink reference. type: object @@ -79597,8 +78901,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -79637,9 +78941,9 @@ paths: description: response content: application/json: - schema: *522 + schema: *519 examples: - default: &523 + default: &520 value: id: 1 key_prefix: TICKET- @@ -79670,9 +78974,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: - - *475 - - *476 - - &524 + - *472 + - *473 + - &521 name: autolink_id description: The unique identifier of the autolink. in: path @@ -79684,9 +78988,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *519 examples: - default: *523 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -79706,9 +79010,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: - - *475 - - *476 - - *524 + - *472 + - *473 + - *521 responses: '204': description: Response @@ -79732,8 +79036,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response if Dependabot is enabled @@ -79783,8 +79087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -79805,8 +79109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -79826,8 +79130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *475 - - *476 + - *472 + - *473 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -79865,7 +79169,7 @@ paths: - url protected: type: boolean - protection: &526 + protection: &523 title: Branch Protection description: Branch Protection type: object @@ -79908,7 +79212,7 @@ paths: required: - contexts - checks - enforce_admins: &529 + enforce_admins: &526 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -79925,7 +79229,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &531 + required_pull_request_reviews: &528 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -79947,7 +79251,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *316 + items: *313 apps: description: The list of apps with review dismissal access. @@ -79979,7 +79283,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *316 + items: *313 apps: description: The list of apps allowed to bypass pull request requirements. @@ -80009,7 +79313,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &528 + restrictions: &525 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -80072,7 +79376,7 @@ paths: type: string teams: type: array - items: *316 + items: *313 apps: type: array items: @@ -80302,9 +79606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *475 - - *476 - - &527 + - *472 + - *473 + - &524 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). @@ -80318,14 +79622,14 @@ paths: description: Response content: application/json: - schema: &537 + schema: &534 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &588 + commit: &585 title: Commit description: Commit type: object @@ -80364,7 +79668,7 @@ paths: author: anyOf: - type: 'null' - - &525 + - &522 title: Git User description: Metaproperties for Git author/committer information. @@ -80386,7 +79690,7 @@ paths: committer: anyOf: - type: 'null' - - *525 + - *522 message: type: string examples: @@ -80410,7 +79714,7 @@ paths: required: - sha - url - verification: &647 + verification: &644 title: Verification type: object properties: @@ -80446,14 +79750,14 @@ paths: author: oneOf: - *4 - - *291 + - *288 type: - 'null' - object committer: oneOf: - *4 - - *291 + - *288 type: - 'null' - object @@ -80490,7 +79794,7 @@ paths: type: integer files: type: array - items: &599 + items: &596 title: Diff Entry description: Diff Entry type: object @@ -80586,7 +79890,7 @@ paths: - self protected: type: boolean - protection: *526 + protection: *523 protection_url: type: string format: uri @@ -80695,7 +79999,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *481 + '301': *478 '404': *6 x-github: githubCloudOnly: false @@ -80717,15 +80021,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: default: value: @@ -80919,9 +80223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -81181,7 +80485,7 @@ paths: url: type: string format: uri - required_status_checks: &534 + required_status_checks: &531 title: Status Check Policy description: Status Check Policy type: object @@ -81262,7 +80566,7 @@ paths: items: *4 teams: type: array - items: *316 + items: *313 apps: type: array items: *5 @@ -81280,7 +80584,7 @@ paths: items: *4 teams: type: array - items: *316 + items: *313 apps: type: array items: *5 @@ -81340,7 +80644,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *528 + restrictions: *525 required_conversation_resolution: type: object properties: @@ -81452,9 +80756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -81479,17 +80783,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: &530 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -81511,17 +80815,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: *530 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81540,9 +80844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -81567,17 +80871,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *531 + schema: *528 examples: - default: &532 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -81673,9 +80977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -81773,9 +81077,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *528 examples: - default: *532 + default: *529 '422': *15 x-github: githubCloudOnly: false @@ -81796,9 +81100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -81825,17 +81129,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: &533 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -81858,17 +81162,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: *533 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -81888,9 +81192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -81915,17 +81219,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *534 + schema: *531 examples: - default: &535 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -81951,9 +81255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -82005,9 +81309,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *531 examples: - default: *535 + default: *532 '404': *6 '422': *15 x-github: @@ -82029,9 +81333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -82055,9 +81359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -82091,9 +81395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -82160,9 +81464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -82226,9 +81530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: content: application/json: @@ -82294,15 +81598,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response content: application/json: - schema: *528 + schema: *525 examples: default: value: @@ -82393,9 +81697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '204': description: Response @@ -82418,9 +81722,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: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -82430,7 +81734,7 @@ paths: type: array items: *5 examples: - default: &536 + default: &533 value: - id: 1 slug: octoapp @@ -82487,9 +81791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -82523,7 +81827,7 @@ paths: type: array items: *5 examples: - default: *536 + default: *533 '422': *15 x-github: githubCloudOnly: false @@ -82544,9 +81848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -82580,7 +81884,7 @@ paths: type: array items: *5 examples: - default: *536 + default: *533 '422': *15 x-github: githubCloudOnly: false @@ -82601,9 +81905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -82637,7 +81941,7 @@ paths: type: array items: *5 examples: - default: *536 + default: *533 '422': *15 x-github: githubCloudOnly: false @@ -82659,9 +81963,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: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -82669,9 +81973,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -82691,9 +81995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -82729,9 +82033,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -82752,9 +82056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: false content: @@ -82790,9 +82094,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -82813,9 +82117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: content: application/json: @@ -82850,9 +82154,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -82874,9 +82178,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: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 responses: '200': description: Response @@ -82886,7 +82190,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '404': *6 x-github: githubCloudOnly: false @@ -82910,9 +82214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -82945,7 +82249,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '422': *15 x-github: githubCloudOnly: false @@ -82970,9 +82274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -83005,7 +82309,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '422': *15 x-github: githubCloudOnly: false @@ -83030,9 +82334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -83065,7 +82369,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '422': *15 x-github: githubCloudOnly: false @@ -83092,9 +82396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 requestBody: required: true content: @@ -83116,7 +82420,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *534 examples: default: value: @@ -83230,8 +82534,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *475 - - *476 + - *472 + - *473 - *103 - *104 - *105 @@ -83245,9 +82549,9 @@ paths: application/json: schema: type: array - items: *311 + items: *308 examples: - default: *312 + default: *309 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -83267,8 +82571,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_request_number in: path required: true @@ -83282,7 +82586,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *308 examples: default: value: @@ -83341,8 +82645,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - *103 - *104 - *105 @@ -83356,9 +82660,9 @@ paths: application/json: schema: type: array - items: *314 + items: *311 examples: - default: *315 + default: *312 '404': *6 '403': *27 '500': *38 @@ -83382,8 +82686,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_request_number in: path required: true @@ -83395,7 +82699,7 @@ paths: description: A single bypass request. content: application/json: - schema: *314 + schema: *311 examples: default: value: @@ -83453,8 +82757,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_request_number in: path required: true @@ -83525,8 +82829,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *475 - - *476 + - *472 + - *473 - name: bypass_response_id in: path required: true @@ -83559,8 +82863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -83839,7 +83143,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &535 title: CheckRun description: A check performed on the code of a given code change type: object @@ -83974,8 +83278,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *224 - deployment: &868 + items: *221 + deployment: &866 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -84262,9 +83566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *475 - - *476 - - &539 + - *472 + - *473 + - &536 name: check_run_id description: The unique identifier of the check run. in: path @@ -84276,9 +83580,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *535 examples: - default: &540 + default: &537 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -84378,9 +83682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *475 - - *476 - - *539 + - *472 + - *473 + - *536 requestBody: required: true content: @@ -84620,9 +83924,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *535 examples: - default: *540 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84642,9 +83946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *475 - - *476 - - *539 + - *472 + - *473 + - *536 - *17 - *19 responses: @@ -84754,15 +84058,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *475 - - *476 - - *539 + - *472 + - *473 + - *536 responses: '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -84800,8 +84104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -84823,7 +84127,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &542 + schema: &539 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -84905,12 +84209,12 @@ paths: type: - array - 'null' - items: *224 + items: *221 app: anyOf: - type: 'null' - *5 - repository: *280 + repository: *277 created_at: type: - string @@ -84921,7 +84225,7 @@ paths: - string - 'null' format: date-time - head_commit: *541 + head_commit: *538 latest_check_runs_count: type: integer check_runs_url: @@ -84949,7 +84253,7 @@ paths: - check_runs_url - pull_requests examples: - default: &543 + default: &540 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -85240,9 +84544,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *542 + schema: *539 examples: - default: *543 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85261,8 +84565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -85323,7 +84627,7 @@ paths: required: - app_id - setting - repository: *280 + repository: *277 examples: default: value: @@ -85571,9 +84875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *475 - - *476 - - &544 + - *472 + - *473 + - &541 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -85585,9 +84889,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *539 examples: - default: *543 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85610,17 +84914,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: - - *475 - - *476 - - *544 - - &594 + - *472 + - *473 + - *541 + - &591 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &595 + - &592 name: status description: Returns check runs with the specified `status`. in: query @@ -85659,9 +84963,9 @@ paths: type: integer check_runs: type: array - items: *538 + items: *535 examples: - default: &596 + default: &593 value: total_count: 1 check_runs: @@ -85763,15 +85067,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *475 - - *476 - - *544 + - *472 + - *473 + - *541 responses: '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -85798,21 +85102,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: - - *475 - - *476 - - *320 - - *321 + - *472 + - *473 + - *317 + - *318 - *19 - *17 - - &560 + - &557 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: *545 - - &561 + schema: *542 + - &558 name: pr description: The number of the pull request for the results you want to list. in: query @@ -85837,13 +85141,13 @@ paths: be returned. in: query required: false - schema: *322 + schema: *319 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *546 + schema: *543 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -85867,7 +85171,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *547 + instances_url: *544 state: *113 fixed_at: *137 dismissed_by: @@ -85875,11 +85179,11 @@ paths: - type: 'null' - *4 dismissed_at: *136 - dismissed_reason: *548 - dismissed_comment: *549 - rule: *550 - tool: *551 - most_recent_instance: *552 + dismissed_reason: *545 + dismissed_comment: *546 + rule: *547 + tool: *548 + most_recent_instance: *549 dismissal_approved_by: anyOf: - type: 'null' @@ -86002,7 +85306,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &553 + '403': &550 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -86029,9 +85333,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: - - *475 - - *476 - - &554 + - *472 + - *473 + - &551 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -86045,7 +85349,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &552 type: object properties: number: *127 @@ -86053,7 +85357,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *547 + instances_url: *544 state: *113 fixed_at: *137 dismissed_by: @@ -86061,8 +85365,8 @@ paths: - type: 'null' - *4 dismissed_at: *136 - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *545 + dismissed_comment: *546 rule: type: object properties: @@ -86124,8 +85428,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *551 - most_recent_instance: *552 + tool: *548 + most_recent_instance: *549 dismissal_approved_by: anyOf: - type: 'null' @@ -86221,7 +85525,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -86241,9 +85545,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 requestBody: required: true content: @@ -86258,8 +85562,8 @@ paths: enum: - open - dismissed - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *545 + dismissed_comment: *546 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -86287,7 +85591,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *552 examples: default: value: @@ -86363,7 +85667,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &559 + '403': &556 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -86390,15 +85694,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 responses: '200': description: Response content: application/json: - schema: &556 + schema: &553 type: object properties: status: @@ -86425,13 +85729,13 @@ paths: - description - started_at examples: - default: &557 + default: &554 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &558 + '400': &555 description: Bad Request content: application/json: @@ -86442,7 +85746,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': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -86467,29 +85771,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 responses: '200': description: OK content: application/json: - schema: *556 + schema: *553 examples: - default: *557 + default: *554 '202': description: Accepted content: application/json: - schema: *556 + schema: *553 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *558 + '400': *555 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -86521,9 +85825,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 requestBody: required: false content: @@ -86569,8 +85873,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *558 - '403': *559 + '400': *555 + '403': *556 '404': *6 '422': description: Unprocessable Entity @@ -86594,13 +85898,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 - *19 - *17 - - *560 - - *561 + - *557 + - *558 responses: '200': description: Response @@ -86611,10 +85915,10 @@ paths: items: type: object properties: - ref: *545 - analysis_key: *562 - environment: *563 - category: *564 + ref: *542 + analysis_key: *559 + environment: *560 + category: *561 state: type: - string @@ -86631,7 +85935,7 @@ paths: properties: text: type: string - location: *565 + location: *562 html_url: type: string classifications: @@ -86639,7 +85943,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *566 + items: *563 examples: default: value: @@ -86676,7 +85980,7 @@ paths: end_column: 50 classifications: - source - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -86710,25 +86014,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: - - *475 - - *476 - - *320 - - *321 + - *472 + - *473 + - *317 + - *318 - *19 - *17 - - *561 + - *558 - 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: *545 + schema: *542 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &567 + schema: &564 type: string description: An identifier for the upload. examples: @@ -86750,23 +86054,23 @@ paths: application/json: schema: type: array - items: &568 + items: &565 type: object properties: - ref: *545 - commit_sha: &576 + ref: *542 + commit_sha: &573 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *562 + analysis_key: *559 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *564 + category: *561 error: type: string examples: @@ -86791,8 +86095,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *567 - tool: *551 + sarif_id: *564 + tool: *548 deletable: type: boolean warning: @@ -86854,7 +86158,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -86890,8 +86194,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: - - *475 - - *476 + - *472 + - *473 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -86904,7 +86208,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *565 examples: response: summary: application/json response @@ -86958,7 +86262,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *553 + '403': *550 '404': *6 '422': description: Response if analysis could not be processed @@ -87045,8 +86349,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: - - *475 - - *476 + - *472 + - *473 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -87102,7 +86406,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': *559 + '403': *556 '404': *6 '503': *192 x-github: @@ -87124,8 +86428,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -87133,7 +86437,7 @@ paths: application/json: schema: type: array - items: &569 + items: &566 title: CodeQL Database description: A CodeQL database. type: object @@ -87245,7 +86549,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': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -87274,8 +86578,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: - - *475 - - *476 + - *472 + - *473 - name: language in: path description: The language of the CodeQL database. @@ -87287,7 +86591,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: default: value: @@ -87319,9 +86623,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': &603 + '302': &600 description: Found - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -87343,8 +86647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *475 - - *476 + - *472 + - *473 - name: language in: path description: The language of the CodeQL database. @@ -87354,7 +86658,7 @@ paths: responses: '204': description: Response - '403': *559 + '403': *556 '404': *6 '503': *192 x-github: @@ -87382,8 +86686,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -87392,7 +86696,7 @@ paths: type: object additionalProperties: false properties: - language: &570 + language: &567 type: string description: The language targeted by the CodeQL query enum: @@ -87472,7 +86776,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &574 + schema: &571 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -87482,7 +86786,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *570 + query_language: *567 query_pack_url: type: string description: The download url for the query pack. @@ -87530,7 +86834,7 @@ paths: items: type: object properties: - repository: &571 + repository: &568 title: Repository Identifier description: Repository Identifier type: object @@ -87572,7 +86876,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &575 + analysis_status: &572 type: string description: The new status of the CodeQL variant analysis repository task. @@ -87604,7 +86908,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &572 + access_mismatch_repos: &569 type: object properties: repository_count: @@ -87619,7 +86923,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: *571 + items: *568 required: - repository_count - repositories @@ -87642,8 +86946,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *572 - over_limit_repos: *572 + no_codeql_db_repos: *569 + over_limit_repos: *569 required: - access_mismatch_repos - not_found_repos @@ -87659,7 +86963,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &573 + value: &570 summary: Default response value: id: 1 @@ -87805,10 +87109,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *573 + value: *570 repository_lists: summary: Response for a successful variant analysis submission - value: *573 + value: *570 '404': *6 '422': description: Unable to process variant analysis submission @@ -87836,8 +87140,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: - - *475 - - *476 + - *472 + - *473 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -87849,9 +87153,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *571 examples: - default: *573 + default: *570 '404': *6 '503': *192 x-github: @@ -87874,7 +87178,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: - - *475 + - *472 - name: repo in: path description: The name of the controller repository. @@ -87909,7 +87213,7 @@ paths: type: object properties: repository: *120 - analysis_status: *575 + analysis_status: *572 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -88034,8 +87338,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -88145,7 +87449,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *553 + '403': *550 '404': *6 '503': *192 x-github: @@ -88166,8 +87470,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -88236,7 +87540,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -88261,7 +87565,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *559 + '403': *556 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -88332,8 +87636,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -88341,7 +87645,7 @@ paths: schema: type: object properties: - commit_sha: *576 + commit_sha: *573 ref: type: string description: |- @@ -88401,7 +87705,7 @@ paths: schema: type: object properties: - id: *567 + id: *564 url: type: string description: The REST API URL for checking the status of the upload. @@ -88415,7 +87719,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': *559 + '403': *556 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -88438,8 +87742,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: - - *475 - - *476 + - *472 + - *473 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -88487,7 +87791,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': *553 + '403': *550 '404': description: Not Found if the sarif id does not match any upload '503': *192 @@ -88512,8 +87816,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -88594,8 +87898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *475 - - *476 + - *472 + - *473 - 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 @@ -88723,8 +88027,8 @@ paths: parameters: - *17 - *19 - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -88740,7 +88044,7 @@ paths: type: integer codespaces: type: array - items: *394 + items: *391 examples: default: value: @@ -89038,8 +88342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -89103,17 +88407,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '400': *14 '401': *23 '403': *27 @@ -89142,8 +88446,8 @@ paths: parameters: - *17 - *19 - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -89207,8 +88511,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: - - *475 - - *476 + - *472 + - *473 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -89245,9 +88549,9 @@ paths: type: integer machines: type: array - items: *578 + items: *575 examples: - default: &813 + default: &811 value: total_count: 2 machines: @@ -89287,8 +88591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *475 - - *476 + - *472 + - *473 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -89375,8 +88679,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: - - *475 - - *476 + - *472 + - *473 - 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 @@ -89445,8 +88749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -89464,7 +88768,7 @@ paths: type: integer secrets: type: array - items: &582 + items: &579 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -89485,7 +88789,7 @@ paths: - created_at - updated_at examples: - default: *579 + default: *576 headers: Link: *45 x-github: @@ -89508,16 +88812,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *580 + schema: *577 examples: - default: *581 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89537,17 +88841,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *582 + schema: *579 examples: - default: *583 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89567,9 +88871,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: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -89597,7 +88901,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -89621,9 +88925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -89651,8 +88955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *475 - - *476 + - *472 + - *473 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -89690,7 +88994,7 @@ paths: application/json: schema: type: array - items: &584 + items: &581 title: Collaborator description: Collaborator type: object @@ -89883,8 +89187,8 @@ 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: - - *475 - - *476 + - *472 + - *473 - *140 responses: '204': @@ -89931,8 +89235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *475 - - *476 + - *472 + - *473 - *140 requestBody: required: false @@ -89959,7 +89263,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &659 + schema: &657 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -89971,7 +89275,7 @@ paths: format: int64 examples: - 42 - repository: *280 + repository: *277 invitee: anyOf: - type: 'null' @@ -90147,7 +89451,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *255 + schema: *252 '403': *27 x-github: triggersNotification: true @@ -90187,8 +89491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *475 - - *476 + - *472 + - *473 - *140 responses: '204': @@ -90220,8 +89524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *475 - - *476 + - *472 + - *473 - *140 responses: '200': @@ -90242,7 +89546,7 @@ paths: user: anyOf: - type: 'null' - - *584 + - *581 required: - permission - role_name @@ -90296,8 +89600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -90307,7 +89611,7 @@ paths: application/json: schema: type: array - items: &585 + items: &582 title: Commit Comment description: Commit Comment type: object @@ -90348,8 +89652,8 @@ paths: updated_at: type: string format: date-time - author_association: *218 - reactions: *219 + author_association: *215 + reactions: *216 required: - url - html_url @@ -90365,7 +89669,7 @@ paths: - created_at - updated_at examples: - default: &590 + default: &587 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -90424,17 +89728,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *585 + schema: *582 examples: - default: &591 + default: &588 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -90491,9 +89795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -90515,7 +89819,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *582 examples: default: value: @@ -90566,9 +89870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response @@ -90589,9 +89893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 - 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. @@ -90617,7 +89921,7 @@ paths: application/json: schema: type: array - items: &586 + items: &583 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -90661,7 +89965,7 @@ paths: - content - created_at examples: - default: &663 + default: &661 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -90706,9 +90010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -90740,9 +90044,9 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: &587 + default: &584 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -90771,9 +90075,9 @@ paths: description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -90795,10 +90099,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *475 - - *476 - - *235 - - &664 + - *472 + - *473 + - *232 + - &662 name: reaction_id description: The unique identifier of the reaction. in: path @@ -90853,8 +90157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *475 - - *476 + - *472 + - *473 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -90910,9 +90214,9 @@ paths: application/json: schema: type: array - items: *588 + items: *585 examples: - default: &713 + default: &711 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -91006,9 +90310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *475 - - *476 - - &589 + - *472 + - *473 + - &586 name: commit_sha description: The SHA of the commit. in: path @@ -91080,9 +90384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 - *17 - *19 responses: @@ -91092,9 +90396,9 @@ paths: application/json: schema: type: array - items: *585 + items: *582 examples: - default: *590 + default: *587 headers: Link: *45 x-github: @@ -91122,9 +90426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 requestBody: required: true content: @@ -91159,9 +90463,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *582 examples: - default: *591 + default: *588 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -91189,9 +90493,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: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 - *17 - *19 responses: @@ -91201,9 +90505,9 @@ paths: application/json: schema: type: array - items: *592 + items: *589 examples: - default: &705 + default: &703 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -91740,11 +91044,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *475 - - *476 + - *472 + - *473 - *19 - *17 - - &593 + - &590 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)" @@ -91759,9 +91063,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *585 examples: - default: &691 + default: &689 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -91849,7 +91153,7 @@ paths: schema: type: string examples: - default: &600 + default: &597 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -91862,7 +91166,7 @@ paths: schema: type: string examples: - default: &601 + default: &598 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -91915,11 +91219,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: - - *475 - - *476 - - *593 - - *594 - - *595 + - *472 + - *473 + - *590 + - *591 + - *592 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -91953,9 +91257,9 @@ paths: type: integer check_runs: type: array - items: *538 + items: *535 examples: - default: *596 + default: *593 headers: Link: *45 x-github: @@ -91980,9 +91284,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: - - *475 - - *476 - - *593 + - *472 + - *473 + - *590 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -91990,7 +91294,7 @@ paths: schema: type: integer example: 1 - - *594 + - *591 - *17 - *19 responses: @@ -92008,7 +91312,7 @@ paths: type: integer check_suites: type: array - items: *542 + items: *539 examples: default: value: @@ -92208,9 +91512,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: - - *475 - - *476 - - *593 + - *472 + - *473 + - *590 - *17 - *19 responses: @@ -92281,7 +91585,7 @@ paths: type: string total_count: type: integer - repository: *280 + repository: *277 commit_url: type: string format: uri @@ -92412,9 +91716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *475 - - *476 - - *593 + - *472 + - *473 + - *590 - *17 - *19 responses: @@ -92424,7 +91728,7 @@ paths: application/json: schema: type: array - items: &767 + items: &765 title: Status description: The status of a commit. type: object @@ -92505,7 +91809,7 @@ paths: site_admin: false headers: Link: *45 - '301': *481 + '301': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92533,8 +91837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -92567,11 +91871,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *597 + - *594 code_of_conduct_file: anyOf: - type: 'null' - - &598 + - &595 title: Community Health File type: object properties: @@ -92587,23 +91891,23 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 contributing: anyOf: - type: 'null' - - *598 + - *595 readme: anyOf: - type: 'null' - - *598 + - *595 issue_template: anyOf: - type: 'null' - - *598 + - *595 pull_request_template: anyOf: - type: 'null' - - *598 + - *595 required: - code_of_conduct - code_of_conduct_file @@ -92732,8 +92036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *475 - - *476 + - *472 + - *473 - *19 - *17 - name: basehead @@ -92781,8 +92085,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *588 - merge_base_commit: *588 + base_commit: *585 + merge_base_commit: *585 status: type: string enum: @@ -92806,10 +92110,10 @@ paths: - 6 commits: type: array - items: *588 + items: *585 files: type: array - items: *599 + items: *596 required: - url - html_url @@ -93055,12 +92359,12 @@ paths: schema: type: string examples: - default: *600 + default: *597 application/vnd.github.patch: schema: type: string examples: - default: *601 + default: *598 '404': *6 '500': *38 '503': *192 @@ -93105,8 +92409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *475 - - *476 + - *472 + - *473 - name: path description: path parameter in: path @@ -93276,7 +92580,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &602 + response-if-content-is-a-file-github-object: &599 summary: Response if content is a file value: type: file @@ -93413,7 +92717,7 @@ paths: - size - type - url - - &718 + - &716 title: Content File description: Content File type: object @@ -93631,7 +92935,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *602 + response-if-content-is-a-file: *599 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -93700,7 +93004,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *603 + '302': *600 '304': *35 x-github: githubCloudOnly: false @@ -93753,8 +93057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *475 - - *476 + - *472 + - *473 - name: path description: path parameter in: path @@ -93849,7 +93153,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &601 title: File Commit description: File Commit type: object @@ -94005,7 +93309,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *601 examples: example-for-creating-a-file: value: @@ -94059,7 +93363,7 @@ paths: schema: oneOf: - *3 - - &642 + - &639 description: Repository rule violation was detected type: object properties: @@ -94080,7 +93384,7 @@ paths: items: type: object properties: - placeholder_id: &759 + placeholder_id: &757 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -94112,8 +93416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *475 - - *476 + - *472 + - *473 - name: path description: path parameter in: path @@ -94174,7 +93478,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *601 examples: default: value: @@ -94229,8 +93533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *475 - - *476 + - *472 + - *473 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -94360,8 +93664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -94494,24 +93798,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 + - *338 + - *339 + - *340 - *341 - *342 - - *343 - - *344 - - *345 - 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 + - *343 + - *602 + - *344 + - *345 - *346 - - *605 - - *347 - - *348 - - *349 - *110 - *108 - *109 @@ -94523,7 +93827,7 @@ paths: application/json: schema: type: array - items: &609 + items: &606 type: object description: A Dependabot alert. properties: @@ -94574,7 +93878,7 @@ paths: - transitive - inconclusive - - security_advisory: *606 + security_advisory: *603 security_vulnerability: *131 url: *132 html_url: *133 @@ -94605,8 +93909,8 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: *607 - dismissal_request: *608 + auto_dismissed_at: *604 + dismissal_request: *605 assignees: type: array description: The users assigned to this alert. @@ -94861,9 +94165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *475 - - *476 - - &610 + - *472 + - *473 + - &607 name: alert_number in: path description: |- @@ -94878,7 +94182,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *606 examples: default: value: @@ -95010,9 +94314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *475 - - *476 - - *610 + - *472 + - *473 + - *607 requestBody: required: true content: @@ -95049,6 +94353,7 @@ paths: Usernames to assign to this Dependabot Alert. Pass one or more user logins to _replace_ the set of assignees on this alert. Send an empty array (`[]`) to clear all assignees from the alert. + To assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`). items: type: string anyOf: @@ -95068,7 +94373,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *606 examples: default: value: @@ -95198,8 +94503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -95217,7 +94522,7 @@ paths: type: integer secrets: type: array - items: &613 + items: &610 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -95271,16 +94576,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *611 + schema: *608 examples: - default: *612 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95300,15 +94605,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '200': description: Response content: application/json: - schema: *613 + schema: *610 examples: default: value: @@ -95334,9 +94639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 requestBody: required: true content: @@ -95364,7 +94669,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -95388,9 +94693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *475 - - *476 - - *290 + - *472 + - *473 + - *287 responses: '204': description: Response @@ -95412,8 +94717,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: - - *475 - - *476 + - *472 + - *473 - 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 @@ -95590,8 +94895,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -95850,8 +95155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - name: sbom_uuid in: path required: true @@ -95862,7 +95167,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *614 + Location: *611 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -95883,8 +95188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -95922,8 +95227,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -96006,7 +95311,7 @@ paths: - version - url additionalProperties: false - metadata: &615 + metadata: &612 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -96045,7 +95350,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *615 + metadata: *612 resolved: type: object description: A collection of resolved package dependencies. @@ -96059,7 +95364,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *615 + metadata: *612 relationship: type: string description: A notation of whether a dependency is requested @@ -96192,8 +95497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *475 - - *476 + - *472 + - *473 - name: sha description: The SHA recorded at creation time. in: query @@ -96234,9 +95539,9 @@ paths: application/json: schema: type: array - items: *616 + items: *613 examples: - default: *617 + default: *614 headers: Link: *45 x-github: @@ -96302,8 +95607,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -96385,7 +95690,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *613 examples: simple-example: summary: Simple example @@ -96458,9 +95763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *475 - - *476 - - &618 + - *472 + - *473 + - &615 name: deployment_id description: deployment_id parameter in: path @@ -96472,7 +95777,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *613 examples: default: value: @@ -96537,9 +95842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 responses: '204': description: Response @@ -96561,9 +95866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 - *17 - *19 responses: @@ -96573,7 +95878,7 @@ paths: application/json: schema: type: array - items: &619 + items: &616 title: Deployment Status description: The status of a deployment. type: object @@ -96737,9 +96042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 requestBody: required: true content: @@ -96814,9 +96119,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *616 examples: - default: &620 + default: &617 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -96872,9 +96177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *475 - - *476 - - *618 + - *472 + - *473 + - *615 - name: status_id in: path required: true @@ -96885,9 +96190,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *616 examples: - default: *620 + default: *617 '404': *6 x-github: githubCloudOnly: false @@ -96914,12 +96219,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 + - *618 + - *619 + - *620 - *621 - - *622 - - *623 - - *624 - *17 - *19 responses: @@ -96929,9 +96234,9 @@ paths: application/json: schema: type: array - items: *625 + items: *622 examples: - default: *626 + default: *623 '404': *6 '403': *27 '500': *38 @@ -96955,8 +96260,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -96968,7 +96273,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *625 + schema: *622 examples: default: value: @@ -97024,8 +96329,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -97084,12 +96389,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 + - *618 + - *619 + - *620 - *621 - - *622 - - *623 - - *624 - *17 - *19 responses: @@ -97099,9 +96404,9 @@ paths: application/json: schema: type: array - items: *627 + items: *624 examples: - default: *628 + default: *625 '404': *6 '403': *27 '500': *38 @@ -97125,8 +96430,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -97138,7 +96443,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *627 + schema: *624 examples: default: value: @@ -97189,8 +96494,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -97228,7 +96533,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *627 + schema: *624 examples: default: value: @@ -97279,8 +96584,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -97351,8 +96656,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -97385,12 +96690,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - *103 - *104 - *105 - - *355 + - *352 - *17 - *19 responses: @@ -97400,9 +96705,9 @@ paths: application/json: schema: type: array - items: *357 + items: *354 examples: - default: *358 + default: *355 '404': *6 '403': *27 '500': *38 @@ -97427,8 +96732,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -97440,7 +96745,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *357 + schema: *354 examples: default: value: @@ -97498,8 +96803,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: alert_number in: path required: true @@ -97568,8 +96873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -97626,8 +96931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -97645,7 +96950,7 @@ paths: - 5 environments: type: array - items: &630 + items: &627 title: Environment description: Details of a deployment environment type: object @@ -97707,7 +97012,7 @@ paths: type: string examples: - wait_timer - wait_timer: &632 + wait_timer: &629 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -97749,11 +97054,11 @@ paths: items: type: object properties: - type: *629 + type: *626 reviewer: anyOf: - *4 - - *316 + - *313 required: - id - node_id @@ -97776,7 +97081,7 @@ paths: - id - node_id - type - deployment_branch_policy: &633 + deployment_branch_policy: &630 type: - object - 'null' @@ -97893,9 +97198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *475 - - *476 - - &631 + - *472 + - *473 + - &628 name: environment_name in: path required: true @@ -97908,9 +97213,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *627 examples: - default: &634 + default: &631 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -97994,9 +97299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 requestBody: required: false content: @@ -98006,7 +97311,7 @@ paths: - object - 'null' properties: - wait_timer: *632 + wait_timer: *629 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -98025,14 +97330,14 @@ paths: items: type: object properties: - type: *629 + type: *626 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *633 + deployment_branch_policy: *630 additionalProperties: false examples: default: @@ -98052,9 +97357,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *627 examples: - default: *634 + default: *631 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -98078,9 +97383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 responses: '204': description: Default response @@ -98105,9 +97410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 - *17 - *19 responses: @@ -98126,7 +97431,7 @@ paths: - 2 branch_policies: type: array - items: &635 + items: &632 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -98187,9 +97492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 requestBody: required: true content: @@ -98237,9 +97542,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: - example-wildcard: &636 + example-wildcard: &633 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -98281,10 +97586,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 - - &637 + - *472 + - *473 + - *628 + - &634 name: branch_policy_id in: path required: true @@ -98296,9 +97601,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: - default: *636 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98317,10 +97622,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 - - *637 + - *472 + - *473 + - *628 + - *634 requestBody: required: true content: @@ -98349,9 +97654,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: - default: *636 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98370,10 +97675,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *475 - - *476 - - *631 - - *637 + - *472 + - *473 + - *628 + - *634 responses: '204': description: Response @@ -98398,9 +97703,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: - - *631 - - *476 - - *475 + - *628 + - *473 + - *472 responses: '200': description: List of deployment protection rules @@ -98417,7 +97722,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &638 + items: &635 title: Deployment protection rule description: Deployment protection rule type: object @@ -98439,7 +97744,7 @@ paths: for the environment. examples: - true - app: &639 + app: &636 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -98542,9 +97847,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: - - *631 - - *476 - - *475 + - *628 + - *473 + - *472 requestBody: content: application/json: @@ -98565,9 +97870,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *638 + schema: *635 examples: - default: &640 + default: &637 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -98602,9 +97907,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: - - *631 - - *476 - - *475 + - *628 + - *473 + - *472 - *19 - *17 responses: @@ -98624,7 +97929,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *639 + items: *636 examples: default: value: @@ -98659,10 +97964,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: - - *475 - - *476 - - *631 - - &641 + - *472 + - *473 + - *628 + - &638 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -98674,9 +97979,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *635 examples: - default: *640 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98697,10 +98002,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: - - *631 - - *476 - - *475 - - *641 + - *628 + - *473 + - *472 + - *638 responses: '204': description: Response @@ -98726,9 +98031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 - *17 - *19 responses: @@ -98746,9 +98051,9 @@ paths: type: integer secrets: type: array - items: *505 + items: *502 examples: - default: *506 + default: *503 headers: Link: *45 x-github: @@ -98773,17 +98078,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 responses: '200': description: Response content: application/json: - schema: *296 + schema: *293 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98805,18 +98110,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *475 - - *476 - - *631 - - *290 + - *472 + - *473 + - *628 + - *287 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: *519 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98838,10 +98143,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *475 - - *476 - - *631 - - *290 + - *472 + - *473 + - *628 + - *287 requestBody: required: true content: @@ -98872,7 +98177,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -98898,10 +98203,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *475 - - *476 - - *631 - - *290 + - *472 + - *473 + - *628 + - *287 responses: '204': description: Default response @@ -98926,10 +98231,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *475 - - *476 - - *631 - - *299 + - *472 + - *473 + - *628 + - *296 - *19 responses: '200': @@ -98946,9 +98251,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *45 x-github: @@ -98971,9 +98276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *475 - - *476 - - *631 + - *472 + - *473 + - *628 requestBody: required: true content: @@ -99000,7 +98305,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -99025,18 +98330,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *475 - - *476 - - *631 - - *293 + - *472 + - *473 + - *628 + - *290 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: *520 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99057,10 +98362,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *475 - - *476 - - *293 - - *631 + - *472 + - *473 + - *290 + - *628 requestBody: required: true content: @@ -99102,10 +98407,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *475 - - *476 - - *293 - - *631 + - *472 + - *473 + - *290 + - *628 responses: '204': description: Response @@ -99127,8 +98432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -99138,7 +98443,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: 200-response: value: @@ -99196,8 +98501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *475 - - *476 + - *472 + - *473 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -99219,7 +98524,7 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: default: value: @@ -99356,8 +98661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -99390,9 +98695,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 '400': *14 '422': *15 '403': *27 @@ -99413,8 +98718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -99473,8 +98778,8 @@ paths: application/json: schema: oneOf: - - *255 - - *642 + - *252 + - *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99499,8 +98804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *475 - - *476 + - *472 + - *473 - name: file_sha in: path required: true @@ -99600,8 +98905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -99710,7 +99015,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &640 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -99937,15 +99242,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *475 - - *476 - - *589 + - *472 + - *473 + - *586 responses: '200': description: Response content: application/json: - schema: *643 + schema: *640 examples: default: value: @@ -100001,9 +99306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *475 - - *476 - - &644 + - *472 + - *473 + - &641 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. @@ -100020,7 +99325,7 @@ paths: application/json: schema: type: array - items: &645 + items: &642 title: Git Reference description: Git references within a repository type: object @@ -100096,17 +99401,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *475 - - *476 - - *644 + - *472 + - *473 + - *641 responses: '200': description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: &646 + default: &643 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -100135,8 +99440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -100165,9 +99470,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: *646 + default: *643 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -100193,9 +99498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *475 - - *476 - - *644 + - *472 + - *473 + - *641 requestBody: required: true content: @@ -100224,9 +99529,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: *646 + default: *643 '422': *15 '409': *119 x-github: @@ -100244,9 +99549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *475 - - *476 - - *644 + - *472 + - *473 + - *641 responses: '204': description: Response @@ -100301,8 +99606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -100369,7 +99674,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &645 title: Git Tag description: Metadata for a Git tag type: object @@ -100425,7 +99730,7 @@ paths: - sha - type - url - verification: *647 + verification: *644 required: - sha - url @@ -100435,7 +99740,7 @@ paths: - tag - message examples: - default: &649 + default: &646 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -100508,8 +99813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *475 - - *476 + - *472 + - *473 - name: tag_sha in: path required: true @@ -100520,9 +99825,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *645 examples: - default: *649 + default: *646 '404': *6 '409': *119 x-github: @@ -100546,8 +99851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -100621,7 +99926,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &647 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -100723,8 +100028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *475 - - *476 + - *472 + - *473 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -100747,7 +100052,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *647 examples: default-response: summary: Default response @@ -100805,8 +100110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -100850,8 +100155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -100861,7 +100166,7 @@ paths: application/json: schema: type: array - items: &651 + items: &648 title: Webhook description: Webhooks for repositories. type: object @@ -100924,7 +100229,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &904 + last_response: &902 title: Hook Response type: object properties: @@ -101001,8 +100306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -101055,9 +100360,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: &652 + default: &649 value: type: Repository id: 12345678 @@ -101105,17 +100410,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '200': description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: *652 + default: *649 '404': *6 x-github: githubCloudOnly: false @@ -101135,9 +100440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 requestBody: required: true content: @@ -101182,9 +100487,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: *652 + default: *649 '422': *15 '404': *6 x-github: @@ -101205,9 +100510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '204': description: Response @@ -101231,9 +100536,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '200': description: Response @@ -101260,9 +100565,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 requestBody: required: false content: @@ -101306,12 +100611,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 - *17 - - *362 - - *363 + - *359 + - *360 responses: '200': description: Response @@ -101319,9 +100624,9 @@ paths: application/json: schema: type: array - items: *364 + items: *361 examples: - default: *365 + default: *362 '400': *14 '422': *15 x-github: @@ -101340,18 +100645,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 - *16 responses: '200': description: Response content: application/json: - schema: *366 + schema: *363 examples: - default: *367 + default: *364 '400': *14 '422': *15 x-github: @@ -101370,9 +100675,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: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 - *16 responses: '202': *37 @@ -101395,9 +100700,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '204': description: Response @@ -101422,9 +100727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *475 - - *476 - - *361 + - *472 + - *473 + - *358 responses: '204': description: Response @@ -101447,8 +100752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response if immutable releases are enabled @@ -101496,8 +100801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '409': *119 @@ -101517,8 +100822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '409': *119 @@ -101575,14 +100880,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &653 + schema: &650 title: Import description: A repository import from an external source. type: object @@ -101689,7 +100994,7 @@ paths: - html_url - authors_url examples: - default: &656 + default: &653 value: vcs: subversion use_lfs: true @@ -101705,7 +101010,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': &654 + '503': &651 description: Unavailable due to service under maintenance. content: application/json: @@ -101734,8 +101039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -101783,7 +101088,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: default: value: @@ -101808,7 +101113,7 @@ paths: type: string '422': *15 '404': *6 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101836,8 +101141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -101889,7 +101194,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: example-1: summary: Example 1 @@ -101937,7 +101242,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': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101960,12 +101265,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101991,9 +101296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *475 - - *476 - - &834 + - *472 + - *473 + - &832 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -102007,7 +101312,7 @@ paths: application/json: schema: type: array - items: &655 + items: &652 title: Porter Author description: Porter Author type: object @@ -102061,7 +101366,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': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102086,8 +101391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *475 - - *476 + - *472 + - *473 - name: author_id in: path required: true @@ -102117,7 +101422,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: default: value: @@ -102130,7 +101435,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102154,8 +101459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -102196,7 +101501,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102224,8 +101529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -102252,11 +101557,11 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: - default: *656 + default: *653 '422': *15 - '503': *654 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102279,8 +101584,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -102288,8 +101593,8 @@ paths: application/json: schema: *20 examples: - default: *379 - '301': *481 + default: *376 + '301': *478 '404': *6 x-github: githubCloudOnly: false @@ -102309,8 +101614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -102318,12 +101623,12 @@ paths: application/json: schema: anyOf: - - *381 + - *378 - type: object properties: {} additionalProperties: false examples: - default: &658 + default: &655 value: limit: collaborators_only origin: repository @@ -102348,13 +101653,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: application/json: - schema: *657 + schema: *654 examples: default: summary: Example request body @@ -102366,9 +101671,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *378 examples: - default: *658 + default: *655 '409': description: Response x-github: @@ -102390,8 +101695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -102402,6 +101707,157 @@ paths: enabledForGitHubApps: true category: interactions subcategory: repos + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": + get: + summary: Get pull request creation cap bypass list for a repository + description: |- + Lists the users that are on the pull request creation cap bypass list for a + repository. Users on this list can create pull requests regardless of any + configured pull request creation cap. + + Only repository admins can view the bypass list. + tags: + - interactions + operationId: interactions/get-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *472 + - *473 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *4 + examples: + default: + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + put: + summary: Add users to the pull request creation cap bypass list for a repository + description: |- + Adds users to the pull request creation cap bypass list for a repository. + Users on this list can create pull requests regardless of any configured + pull request creation cap. + + Only repository admins can modify the bypass list. + You can add a maximum of 100 users per request. + The bypass list can only hold a maximum of 100 users. + tags: + - interactions + operationId: interactions/set-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *472 + - *473 + requestBody: + required: true + content: + application/json: + schema: &656 + title: Interaction Limits Pull Request Bypass List + description: A list of user logins to add or remove from the pull request + creation cap bypass list. + type: object + properties: + users: + description: A list of user logins to add or remove from the bypass + list. + type: array + items: + type: string + examples: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + delete: + summary: Remove users from the pull request creation cap bypass list for a repository + description: |- + Removes users from the pull request creation cap bypass list for a repository. + Removed users will be subject to any configured pull request creation cap. + + Only repository admins can modify the bypass list. + You can remove a maximum of 100 users per request. + tags: + - interactions + operationId: interactions/remove-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - *472 + - *473 + requestBody: + required: true + content: + application/json: + schema: *656 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -102414,8 +101870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -102425,9 +101881,9 @@ paths: application/json: schema: type: array - items: *659 + items: *657 examples: - default: &827 + default: &825 value: - id: 1 repository: @@ -102558,9 +102014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *475 - - *476 - - *385 + - *472 + - *473 + - *382 requestBody: required: false content: @@ -102589,7 +102045,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: default: value: @@ -102720,9 +102176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *475 - - *476 - - *385 + - *472 + - *473 + - *382 responses: '204': description: Response @@ -102745,8 +102201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -102754,9 +102210,9 @@ paths: application/json: schema: type: array - items: *389 + items: *386 examples: - default: *660 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -102785,8 +102241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *475 - - *476 + - *472 + - *473 - 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 @@ -102848,7 +102304,7 @@ paths: required: false schema: type: string - - *392 + - *389 - name: sort description: What to sort results by. in: query @@ -102861,7 +102317,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - *17 - *19 responses: @@ -102871,9 +102327,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: &669 + default: &667 value: - id: 1 node_id: MDU6SXNzdWUx @@ -103022,7 +102478,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *481 + '301': *478 '422': *15 '404': *6 x-github: @@ -103051,8 +102507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -103167,9 +102623,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: &666 + default: &664 value: id: 1 node_id: MDU6SXNzdWUx @@ -103332,7 +102788,7 @@ paths: '422': *15 '503': *192 '404': *6 - '410': *661 + '410': *659 x-github: triggersNotification: true githubCloudOnly: false @@ -103370,9 +102826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *475 - - *476 - - *243 + - *472 + - *473 + - *240 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -103382,7 +102838,7 @@ paths: enum: - asc - desc - - *226 + - *223 - *17 - *19 responses: @@ -103392,9 +102848,9 @@ paths: application/json: schema: type: array - items: *222 + items: *219 examples: - default: &668 + default: &666 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -103452,17 +102908,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *222 + schema: *219 examples: - default: &662 + default: &660 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -103517,9 +102973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -103541,9 +102997,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *219 examples: - default: *662 + default: *660 '422': *15 x-github: githubCloudOnly: false @@ -103561,9 +103017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response @@ -103591,15 +103047,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *222 + schema: *219 examples: default: value: @@ -103655,7 +103111,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *661 + '410': *659 '422': *15 x-github: githubCloudOnly: false @@ -103672,16 +103128,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response '401': *23 '403': *27 '404': *6 - '410': *661 + '410': *659 '503': *192 x-github: githubCloudOnly: false @@ -103699,9 +103155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 - 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. @@ -103727,9 +103183,9 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 @@ -103750,9 +103206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -103784,16 +103240,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -103815,10 +103271,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *475 - - *476 - - *235 - - *664 + - *472 + - *473 + - *232 + - *662 responses: '204': description: Response @@ -103838,8 +103294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -103849,7 +103305,7 @@ paths: application/json: schema: type: array - items: &665 + items: &663 title: Issue Event description: Issue Event type: object @@ -103896,7 +103352,7 @@ paths: issue: anyOf: - type: 'null' - - *221 + - *218 label: title: Issue Event Label description: Issue Event Label @@ -103929,7 +103385,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *316 + requested_team: *313 dismissed_review: title: Issue Event Dismissed Review type: object @@ -103996,7 +103452,7 @@ paths: required: - from - to - author_association: *218 + author_association: *215 lock_reason: type: - string @@ -104189,8 +103645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *475 - - *476 + - *472 + - *473 - name: event_id in: path required: true @@ -104201,7 +103657,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: default: value: @@ -104394,7 +103850,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *661 + '410': *659 '403': *27 x-github: githubCloudOnly: false @@ -104428,9 +103884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *475 - - *476 - - &667 + - *472 + - *473 + - &665 name: issue_number description: The number that identifies the issue. in: path @@ -104442,11 +103898,11 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: default: summary: Issue - value: *666 + value: *664 pinned_comment: summary: Issue with pinned comment value: @@ -104651,9 +104107,9 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 '304': *35 x-github: githubCloudOnly: false @@ -104678,9 +104134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -104823,15 +104279,15 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 '422': *15 '503': *192 '403': *27 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104859,9 +104315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -104887,9 +104343,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104905,9 +104361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: content: application/json: @@ -104932,9 +104388,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104956,9 +104412,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: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - name: assignee in: path required: true @@ -104998,10 +104454,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *475 - - *476 - - *667 - - *226 + - *472 + - *473 + - *665 + - *223 - *17 - *19 responses: @@ -105011,13 +104467,13 @@ paths: application/json: schema: type: array - items: *222 + items: *219 examples: - default: *668 + default: *666 headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105046,9 +104502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -105070,16 +104526,16 @@ paths: description: Response content: application/json: - schema: *222 + schema: *219 examples: - default: *662 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *661 + '410': *659 '422': *15 '404': *6 x-github: @@ -105107,9 +104563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -105119,14 +104575,14 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *669 + default: *667 headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105154,9 +104610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -105178,17 +104634,17 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *481 + '301': *478 '403': *27 - '410': *661 + '410': *659 '422': *15 '404': *6 x-github: @@ -105219,9 +104675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -105233,15 +104689,15 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 - '301': *481 + default: *664 + '301': *478 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *661 + '410': *659 x-github: triggersNotification: true githubCloudOnly: false @@ -105267,9 +104723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -105279,14 +104735,14 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *669 + default: *667 headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105303,9 +104759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -105319,7 +104775,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &673 + - &671 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -105368,7 +104824,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &672 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -105496,7 +104952,7 @@ paths: - performed_via_github_app - assignee - assigner - - &675 + - &673 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -105542,7 +104998,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &674 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -105588,7 +105044,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &675 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -105637,7 +105093,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &676 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -105666,7 +105122,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *316 + requested_team: *313 requested_reviewer: *4 required: - review_requester @@ -105679,7 +105135,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &677 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -105708,7 +105164,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *316 + requested_team: *313 requested_reviewer: *4 required: - review_requester @@ -105721,7 +105177,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &678 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -105777,7 +105233,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &679 title: Locked Issue Event description: Locked Issue Event type: object @@ -105822,7 +105278,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &680 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -105883,7 +105339,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &681 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -105944,7 +105400,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &684 + - &682 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -106005,7 +105461,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &685 + - &683 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -106098,7 +105554,7 @@ paths: color: red headers: Link: *45 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106115,9 +105571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -106127,9 +105583,9 @@ paths: application/json: schema: type: array - items: *670 + items: *668 examples: - default: &671 + default: &669 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -106164,9 +105620,9 @@ paths: color: green headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106195,9 +105651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -106269,9 +105725,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *670 + items: *668 examples: - default: *671 + default: *669 '400': *14 '403': *27 '404': *6 @@ -106307,9 +105763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -106376,9 +105832,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *670 + items: *668 examples: - default: *671 + default: *669 '400': *14 '403': *27 '404': *6 @@ -106409,10 +105865,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *475 - - *476 - - *667 - - *388 + - *472 + - *473 + - *665 + - *385 responses: '204': description: Issue field value deleted successfully @@ -106437,9 +105893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -106449,9 +105905,9 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: &672 + default: &670 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -106469,9 +105925,9 @@ paths: default: false headers: Link: *45 - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106487,9 +105943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -106532,12 +105988,12 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 - '301': *481 + default: *670 + '301': *478 '404': *6 - '410': *661 + '410': *659 '422': *15 x-github: githubCloudOnly: false @@ -106554,9 +106010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -106616,12 +106072,12 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 - '301': *481 + default: *670 + '301': *478 '404': *6 - '410': *661 + '410': *659 '422': *15 x-github: githubCloudOnly: false @@ -106638,15 +106094,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 responses: '204': description: Response - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106665,9 +106121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - name: name in: path required: true @@ -106680,7 +106136,7 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: default: value: @@ -106691,9 +106147,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *481 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106713,9 +106169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: false content: @@ -106744,7 +106200,7 @@ paths: '204': description: Response '403': *27 - '410': *661 + '410': *659 '404': *6 '422': *15 x-github: @@ -106762,9 +106218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 responses: '204': description: Response @@ -106794,20 +106250,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 responses: '200': description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 - '301': *481 + default: *664 + '301': *478 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106824,9 +106280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - 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. @@ -106852,13 +106308,13 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106876,9 +106332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -106910,16 +106366,16 @@ paths: description: Response content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Response content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -106941,10 +106397,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *475 - - *476 - - *667 - - *664 + - *472 + - *473 + - *665 + - *662 responses: '204': description: Response @@ -106973,9 +106429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -106997,9 +106453,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -107032,9 +106488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -107044,13 +106500,13 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *669 + default: *667 headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107078,9 +106534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -107107,16 +106563,16 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *661 + '410': *659 '422': *15 '404': *6 x-github: @@ -107136,9 +106592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 requestBody: required: true content: @@ -107169,9 +106625,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *218 examples: - default: *666 + default: *664 '403': *27 '404': *6 '422': *7 @@ -107193,9 +106649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *475 - - *476 - - *667 + - *472 + - *473 + - *665 - *17 - *19 responses: @@ -107210,6 +106666,8 @@ paths: description: Timeline Event type: object anyOf: + - *671 + - *672 - *673 - *674 - *675 @@ -107221,8 +106679,6 @@ paths: - *681 - *682 - *683 - - *684 - - *685 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -107270,16 +106726,16 @@ paths: issue_url: type: string format: uri - author_association: *218 + author_association: *215 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *219 + reactions: *216 pin: anyOf: - type: 'null' - - *686 + - *684 required: - event - actor @@ -107310,7 +106766,7 @@ paths: properties: type: type: string - issue: *221 + issue: *218 required: - event - created_at @@ -107532,7 +106988,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *215 required: - event - id @@ -107555,7 +107011,7 @@ paths: type: string comments: type: array - items: &707 + items: &705 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -107663,7 +107119,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *215 _links: type: object properties: @@ -107758,7 +107214,7 @@ paths: enum: - line - file - reactions: *219 + reactions: *216 body_html: type: string examples: @@ -107796,7 +107252,7 @@ paths: type: string comments: type: array - items: *585 + items: *582 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -108071,7 +107527,7 @@ paths: headers: Link: *45 '404': *6 - '410': *661 + '410': *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108088,8 +107544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -108099,7 +107555,7 @@ paths: application/json: schema: type: array - items: &687 + items: &685 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -108167,8 +107623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108204,9 +107660,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: - default: &688 + default: &686 value: id: 1 key: ssh-rsa AAA... @@ -108240,9 +107696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *475 - - *476 - - &689 + - *472 + - *473 + - &687 name: key_id description: The unique identifier of the key. in: path @@ -108254,9 +107710,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: - default: *688 + default: *686 '404': *6 x-github: githubCloudOnly: false @@ -108274,9 +107730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *475 - - *476 - - *689 + - *472 + - *473 + - *687 responses: '204': description: Response @@ -108296,8 +107752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -108307,9 +107763,9 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 + default: *670 headers: Link: *45 '404': *6 @@ -108330,8 +107786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108367,9 +107823,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *217 examples: - default: &690 + default: &688 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -108401,8 +107857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *475 - - *476 + - *472 + - *473 - name: name in: path required: true @@ -108413,9 +107869,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *217 examples: - default: *690 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -108432,8 +107888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *475 - - *476 + - *472 + - *473 - name: name in: path required: true @@ -108472,7 +107928,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *217 examples: default: value: @@ -108498,8 +107954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *475 - - *476 + - *472 + - *473 - name: name in: path required: true @@ -108525,8 +107981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -108562,8 +108018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '202': *37 '403': @@ -108591,8 +108047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -108618,9 +108074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *475 - - *476 - - *560 + - *472 + - *473 + - *557 responses: '200': description: Response @@ -108686,7 +108142,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 required: - _links - git_url @@ -108767,8 +108223,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108833,8 +108289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -108868,9 +108324,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *588 + schema: *585 examples: - default: *691 + default: *689 '204': description: Response when already merged '404': @@ -108895,8 +108351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *475 - - *476 + - *472 + - *473 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -108937,7 +108393,7 @@ paths: application/json: schema: type: array - items: *423 + items: *420 examples: default: value: @@ -108993,8 +108449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -109034,9 +108490,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: - default: &692 + default: &690 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -109095,9 +108551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *475 - - *476 - - &693 + - *472 + - *473 + - &691 name: milestone_number description: The number that identifies the milestone. in: path @@ -109109,9 +108565,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: - default: *692 + default: *690 '404': *6 x-github: githubCloudOnly: false @@ -109128,9 +108584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *475 - - *476 - - *693 + - *472 + - *473 + - *691 requestBody: required: false content: @@ -109168,9 +108624,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: - default: *692 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109186,9 +108642,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *475 - - *476 - - *693 + - *472 + - *473 + - *691 responses: '204': description: Response @@ -109209,9 +108665,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: - - *475 - - *476 - - *693 + - *472 + - *473 + - *691 - *17 - *19 responses: @@ -109221,9 +108677,9 @@ paths: application/json: schema: type: array - items: *220 + items: *217 examples: - default: *672 + default: *670 headers: Link: *45 x-github: @@ -109242,12 +108698,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: - - *475 - - *476 + - *472 + - *473 + - *692 + - *693 + - *223 - *694 - - *695 - - *226 - - *696 - *17 - *19 responses: @@ -109257,9 +108713,9 @@ paths: application/json: schema: type: array - items: *246 + items: *243 examples: - default: *697 + default: *695 headers: Link: *45 x-github: @@ -109283,8 +108739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -109342,14 +108798,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &698 + schema: &696 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -109493,7 +108949,7 @@ paths: - custom_404 - public examples: - default: &699 + default: &697 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -109534,8 +108990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -109590,9 +109046,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *696 examples: - default: *699 + default: *697 '422': *15 '409': *119 x-github: @@ -109615,8 +109071,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -109724,8 +109180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -109751,8 +109207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -109762,7 +109218,7 @@ paths: application/json: schema: type: array - items: &700 + items: &698 title: Page Build description: Page Build type: object @@ -109854,8 +109310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *475 - - *476 + - *472 + - *473 responses: '201': description: Response @@ -109902,16 +109358,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *700 + schema: *698 examples: - default: &701 + default: &699 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -109959,8 +109415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *475 - - *476 + - *472 + - *473 - name: build_id in: path required: true @@ -109971,9 +109427,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *698 examples: - default: *701 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109993,8 +109449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -110102,9 +109558,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: - - *475 - - *476 - - &702 + - *472 + - *473 + - &700 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -110162,9 +109618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *475 - - *476 - - *702 + - *472 + - *473 + - *700 responses: '204': *126 '404': *6 @@ -110191,8 +109647,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -110460,7 +109916,7 @@ paths: description: Empty response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -110487,8 +109943,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Private vulnerability reporting status @@ -110525,8 +109981,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: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '422': *14 @@ -110547,8 +110003,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: - - *475 - - *476 + - *472 + - *473 responses: '204': *126 '422': *14 @@ -110570,8 +110026,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -110581,7 +110037,7 @@ paths: type: array items: *152 examples: - default: *703 + default: *701 '403': *27 '404': *6 x-github: @@ -110603,8 +110059,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -110620,7 +110076,7 @@ paths: required: - properties examples: - default: *704 + default: *702 responses: '204': description: No Content when custom property values are successfully created @@ -110658,8 +110114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *475 - - *476 + - *472 + - *473 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -110719,9 +110175,9 @@ paths: application/json: schema: type: array - items: *592 + items: *589 examples: - default: *705 + default: *703 headers: Link: *45 '304': *35 @@ -110753,8 +110209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -110821,7 +110277,7 @@ paths: description: Response content: application/json: - schema: &709 + schema: &707 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -110950,7 +110406,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *420 active_lock_reason: type: - string @@ -110999,7 +110455,7 @@ paths: items: *4 requested_teams: type: array - items: *402 + items: *399 head: type: object properties: @@ -111037,14 +110493,14 @@ paths: _links: type: object properties: - comments: *424 - commits: *424 - statuses: *424 - html: *424 - issue: *424 - review_comments: *424 - review_comment: *424 - self: *424 + comments: *421 + commits: *421 + statuses: *421 + html: *421 + issue: *421 + review_comments: *421 + review_comment: *421 + self: *421 required: - comments - commits @@ -111054,8 +110510,8 @@ paths: - review_comments - review_comment - self - author_association: *218 - auto_merge: *706 + author_association: *215 + auto_merge: *704 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -111251,7 +110707,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &710 + default: &708 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -111789,8 +111245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *475 - - *476 + - *472 + - *473 - name: sort in: query required: false @@ -111809,7 +111265,7 @@ paths: enum: - asc - desc - - *226 + - *223 - *17 - *19 responses: @@ -111819,9 +111275,9 @@ paths: application/json: schema: type: array - items: *707 + items: *705 examples: - default: &712 + default: &710 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -111898,17 +111354,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '200': description: Response content: application/json: - schema: *707 + schema: *705 examples: - default: &708 + default: &706 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -111983,9 +111439,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -112007,9 +111463,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *705 examples: - default: *708 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112025,9 +111481,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 responses: '204': description: Response @@ -112048,9 +111504,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 - 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. @@ -112076,9 +111532,9 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 @@ -112099,9 +111555,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: - - *475 - - *476 - - *235 + - *472 + - *473 + - *232 requestBody: required: true content: @@ -112133,16 +111589,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -112164,10 +111620,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *475 - - *476 - - *235 - - *664 + - *472 + - *473 + - *232 + - *662 responses: '204': description: Response @@ -112210,9 +111666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *475 - - *476 - - &711 + - *472 + - *473 + - &709 name: pull_number description: The number that identifies the pull request. in: path @@ -112225,9 +111681,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *709 + schema: *707 examples: - default: *710 + default: *708 '304': *35 '404': *6 '406': @@ -112262,9 +111718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -112306,9 +111762,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *707 examples: - default: *710 + default: *708 '422': *15 '403': *27 x-github: @@ -112330,9 +111786,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: true content: @@ -112393,17 +111849,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '401': *23 '403': *27 '404': *6 @@ -112433,10 +111889,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: - - *475 - - *476 - - *711 - - *243 + - *472 + - *473 + - *709 + - *240 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -112446,7 +111902,7 @@ paths: enum: - asc - desc - - *226 + - *223 - *17 - *19 responses: @@ -112456,9 +111912,9 @@ paths: application/json: schema: type: array - items: *707 + items: *705 examples: - default: *712 + default: *710 headers: Link: *45 x-github: @@ -112491,9 +111947,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: true content: @@ -112599,7 +112055,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *705 examples: example-for-a-multi-line-comment: value: @@ -112687,10 +112143,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: - - *475 - - *476 - - *711 - - *235 + - *472 + - *473 + - *709 + - *232 requestBody: required: true content: @@ -112712,7 +112168,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *705 examples: default: value: @@ -112798,9 +112254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 - *17 - *19 responses: @@ -112810,9 +112266,9 @@ paths: application/json: schema: type: array - items: *588 + items: *585 examples: - default: *713 + default: *711 headers: Link: *45 x-github: @@ -112842,9 +112298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 - *17 - *19 responses: @@ -112854,7 +112310,7 @@ paths: application/json: schema: type: array - items: *599 + items: *596 examples: default: value: @@ -112892,9 +112348,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 responses: '204': description: Response if pull request has been merged @@ -112917,9 +112373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -113031,9 +112487,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 responses: '200': description: Response @@ -113049,7 +112505,7 @@ paths: items: *4 teams: type: array - items: *316 + items: *313 required: - users - teams @@ -113108,9 +112564,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -113147,7 +112603,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *589 examples: default: value: @@ -113683,9 +113139,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: true content: @@ -113719,7 +113175,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *589 examples: default: value: @@ -114235,9 +113691,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 - *17 - *19 responses: @@ -114247,7 +113703,7 @@ paths: application/json: schema: type: array - items: &714 + items: &712 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -114321,7 +113777,7 @@ paths: type: string body_text: type: string - author_association: *218 + author_association: *215 required: - id - node_id @@ -114403,9 +113859,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: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -114495,9 +113951,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: &716 + default: &714 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -114560,10 +114016,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: - - *475 - - *476 - - *711 - - &715 + - *472 + - *473 + - *709 + - &713 name: review_id description: The unique identifier of the review. in: path @@ -114575,9 +114031,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: &717 + default: &715 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -114636,10 +114092,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 requestBody: required: true content: @@ -114662,7 +114118,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: default: value: @@ -114724,18 +114180,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 responses: '200': description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: *716 + default: *714 '422': *7 '404': *6 x-github: @@ -114762,10 +114218,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 - *17 - *19 responses: @@ -114859,13 +114315,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *218 + author_association: *215 _links: type: object properties: - self: *424 - html: *424 - pull_request: *424 + self: *421 + html: *421 + pull_request: *421 required: - self - html @@ -114874,7 +114330,7 @@ paths: type: string body_html: type: string - reactions: *219 + reactions: *216 side: description: The side of the first line of the range for a multi-line comment. @@ -115023,10 +114479,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 requestBody: required: true content: @@ -115055,7 +114511,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: default: value: @@ -115118,10 +114574,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: - - *475 - - *476 - - *711 - - *715 + - *472 + - *473 + - *709 + - *713 requestBody: required: true content: @@ -115156,9 +114612,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *712 examples: - default: *717 + default: *715 '404': *6 '422': *7 '403': *27 @@ -115180,9 +114636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *475 - - *476 - - *711 + - *472 + - *473 + - *709 requestBody: required: false content: @@ -115246,8 +114702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *475 - - *476 + - *472 + - *473 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -115260,9 +114716,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: &719 + default: &717 value: type: file encoding: base64 @@ -115304,8 +114760,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: - - *475 - - *476 + - *472 + - *473 - name: dir description: The alternate path to look for a README file in: path @@ -115325,9 +114781,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: *719 + default: *717 '404': *6 '422': *15 x-github: @@ -115349,8 +114805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -115360,7 +114816,7 @@ paths: application/json: schema: type: array - items: *720 + items: *718 examples: default: value: @@ -115454,8 +114910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -115531,9 +114987,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: &724 + default: &722 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -115638,9 +115094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *475 - - *476 - - &722 + - *472 + - *473 + - &720 name: asset_id description: The unique identifier of the asset. in: path @@ -115652,9 +115108,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *719 examples: - default: &723 + default: &721 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 @@ -115689,7 +115145,7 @@ paths: type: User site_admin: false '404': *6 - '302': *603 + '302': *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115705,9 +115161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *475 - - *476 - - *722 + - *472 + - *473 + - *720 requestBody: required: false content: @@ -115736,9 +115192,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *719 examples: - default: *723 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115754,9 +115210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *475 - - *476 - - *722 + - *472 + - *473 + - *720 responses: '204': description: Response @@ -115781,8 +115237,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -115868,16 +115324,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *724 + default: *722 '404': *6 x-github: githubCloudOnly: false @@ -115895,8 +115351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *475 - - *476 + - *472 + - *473 - name: tag description: tag parameter in: path @@ -115909,9 +115365,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *724 + default: *722 '404': *6 x-github: githubCloudOnly: false @@ -115933,9 +115389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *475 - - *476 - - &725 + - *472 + - *473 + - &723 name: release_id description: The unique identifier of the release. in: path @@ -115949,9 +115405,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: *720 + schema: *718 examples: - default: *724 + default: *722 '401': description: Unauthorized x-github: @@ -115969,9 +115425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 requestBody: required: false content: @@ -116035,9 +115491,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *724 + default: *722 '404': description: Not Found if the discussion category name is invalid content: @@ -116058,9 +115514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 responses: '204': description: Response @@ -116081,9 +115537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 - *17 - *19 responses: @@ -116093,7 +115549,7 @@ paths: application/json: schema: type: array - items: *721 + items: *719 examples: default: value: @@ -116175,9 +115631,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: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 - name: name in: query required: true @@ -116203,7 +115659,7 @@ paths: description: Response for successful upload content: application/json: - schema: *721 + schema: *719 examples: response-for-successful-upload: value: @@ -116258,9 +115714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 - 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. @@ -116284,9 +115740,9 @@ paths: application/json: schema: type: array - items: *586 + items: *583 examples: - default: *663 + default: *661 headers: Link: *45 '404': *6 @@ -116307,9 +115763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *475 - - *476 - - *725 + - *472 + - *473 + - *723 requestBody: required: true content: @@ -116339,16 +115795,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '201': description: Reaction created content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '422': *15 x-github: githubCloudOnly: false @@ -116370,10 +115826,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *475 - - *476 - - *725 - - *664 + - *472 + - *473 + - *723 + - *662 responses: '204': description: Response @@ -116397,9 +115853,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *475 - - *476 - - *527 + - *472 + - *473 + - *524 - *17 - *19 responses: @@ -116416,7 +115872,7 @@ paths: oneOf: - allOf: - *166 - - &726 + - &724 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -116437,67 +115893,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *167 - - *726 + - *724 - allOf: - *168 - - *726 + - *724 - allOf: - *169 - - *726 + - *724 - allOf: - - *727 - - *726 + - *725 + - *724 - allOf: - *170 - - *726 + - *724 - allOf: - *171 - - *726 + - *724 - allOf: - *172 - - *726 + - *724 - allOf: - *173 - - *726 + - *724 - allOf: - *174 - - *726 + - *724 - allOf: - *175 - - *726 + - *724 - allOf: - *176 - - *726 + - *724 - allOf: - *177 - - *726 + - *724 - allOf: - *178 - - *726 + - *724 - allOf: - *179 - - *726 + - *724 - allOf: - *180 - - *726 + - *724 - allOf: - *181 - - *726 + - *724 - allOf: - *182 - - *726 + - *724 - allOf: - *183 - - *726 + - *724 - allOf: - *184 - - *726 + - *724 - allOf: - *185 - - *726 + - *724 - allOf: - *186 - - *726 + - *724 examples: default: value: @@ -116536,8 +115992,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - name: includes_parents @@ -116548,7 +116004,7 @@ paths: schema: type: boolean default: true - - *728 + - *726 responses: '200': description: Response @@ -116603,8 +116059,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 requestBody: description: Request body required: true @@ -116633,7 +116089,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *729 + items: *727 required: - name - enforcement @@ -116666,7 +116122,7 @@ paths: application/json: schema: *187 examples: - default: &739 + default: &737 value: id: 42 name: super cool ruleset @@ -116714,13 +116170,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *475 - - *476 - - *730 + - *472 + - *473 + - *728 - *105 + - *729 + - *730 - *731 - - *732 - - *733 - *17 - *19 responses: @@ -116728,9 +116184,9 @@ paths: description: Response content: application/json: - schema: *734 + schema: *732 examples: - default: *735 + default: *733 '404': *6 '500': *38 x-github: @@ -116751,17 +116207,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *475 - - *476 - - *736 + - *472 + - *473 + - *734 responses: '200': description: Response content: application/json: - schema: *737 + schema: *735 examples: - default: *738 + default: *736 '404': *6 '500': *38 x-github: @@ -116789,8 +116245,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116812,7 +116268,7 @@ paths: application/json: schema: *187 examples: - default: *739 + default: *737 '404': *6 '500': *38 put: @@ -116830,8 +116286,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116865,7 +116321,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *729 + items: *727 examples: default: value: @@ -116895,7 +116351,7 @@ paths: application/json: schema: *187 examples: - default: *739 + default: *737 '404': *6 '422': *15 '500': *38 @@ -116914,8 +116370,8 @@ paths: category: repos subcategory: rules parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116938,8 +116394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 - name: ruleset_id @@ -116957,7 +116413,7 @@ paths: type: array items: *191 examples: - default: *440 + default: *437 '404': *6 '500': *38 x-github: @@ -116976,8 +116432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *475 - - *476 + - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -116995,7 +116451,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: default: value: @@ -117050,26 +116506,26 @@ 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: - - *475 - - *476 + - *472 + - *473 + - *439 + - *440 + - *441 - *442 - *443 - *444 - *445 - *446 - - *447 - - *448 - - *449 - *110 - *19 - *17 - - *740 - - *741 + - *738 + - *739 + - *447 + - *448 + - *449 - *450 - *451 - - *452 - - *453 - - *454 responses: '200': description: Response @@ -117077,7 +116533,7 @@ paths: application/json: schema: type: array - items: &745 + items: &743 type: object properties: number: *127 @@ -117093,8 +116549,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *742 - resolution: *743 + state: *740 + resolution: *741 resolved_at: type: - string @@ -117200,7 +116656,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *744 + - *742 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -117359,16 +116815,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *475 - - *476 - - *554 - - *453 + - *472 + - *473 + - *551 + - *450 responses: '200': description: Response content: application/json: - schema: *745 + schema: *743 examples: default: value: @@ -117422,9 +116878,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 requestBody: required: true content: @@ -117432,8 +116888,8 @@ paths: schema: type: object properties: - state: *742 - resolution: *743 + state: *740 + resolution: *741 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -117481,7 +116937,7 @@ paths: description: Response content: application/json: - schema: *745 + schema: *743 examples: default: value: @@ -117580,9 +117036,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: - - *475 - - *476 - - *554 + - *472 + - *473 + - *551 - *19 - *17 responses: @@ -117593,7 +117049,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &924 + items: &922 type: object properties: type: @@ -117620,6 +117076,8 @@ paths: - commit details: oneOf: + - *744 + - *745 - *746 - *747 - *748 @@ -117631,8 +117089,6 @@ paths: - *754 - *755 - *756 - - *757 - - *758 examples: default: value: @@ -117718,8 +117174,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -117727,14 +117183,14 @@ paths: schema: type: object properties: - reason: &760 + reason: &758 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *759 + placeholder_id: *757 required: - reason - placeholder_id @@ -117751,7 +117207,7 @@ paths: schema: type: object properties: - reason: *760 + reason: *758 expire_at: type: - string @@ -117798,8 +117254,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: - - *475 - - *476 + - *472 + - *473 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -117814,7 +117270,7 @@ paths: properties: incremental_scans: type: array - items: &761 + items: &759 description: Information on a single scan performed by secret scanning on the repository type: object @@ -117847,15 +117303,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *761 + items: *759 backfill_scans: type: array - items: *761 + items: *759 custom_pattern_backfill_scans: type: array items: allOf: - - *761 + - *759 - type: object properties: pattern_name: @@ -117868,7 +117324,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *761 + items: *759 examples: default: value: @@ -117933,8 +117389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *475 - - *476 + - *472 + - *473 - *110 - name: sort description: The property to sort the results by. @@ -117978,9 +117434,9 @@ paths: application/json: schema: type: array - items: *762 + items: *760 examples: - default: *763 + default: *761 '400': *14 '404': *6 x-github: @@ -118003,8 +117459,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -118084,7 +117540,7 @@ paths: login: type: string description: The username of the user credited. - type: *459 + type: *456 required: - login - type @@ -118174,9 +117630,9 @@ paths: description: Response content: application/json: - schema: *762 + schema: *760 examples: - default: &765 + default: &763 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -118415,8 +117871,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: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -118529,7 +117985,7 @@ paths: description: Response content: application/json: - schema: *762 + schema: *760 examples: default: value: @@ -118682,17 +118138,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 responses: '200': description: Response content: application/json: - schema: *762 + schema: *760 examples: - default: *765 + default: *763 '403': *27 '404': *6 x-github: @@ -118716,9 +118172,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 requestBody: required: true content: @@ -118798,7 +118254,7 @@ paths: login: type: string description: The username of the user credited. - type: *459 + type: *456 required: - login - type @@ -118889,17 +118345,17 @@ paths: description: Response content: application/json: - schema: *762 + schema: *760 examples: - default: *765 - add_credit: *765 + default: *763 + add_credit: *763 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *255 + schema: *252 examples: invalid_state_transition: value: @@ -118930,9 +118386,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 responses: '202': *37 '400': *14 @@ -118959,17 +118415,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: - - *475 - - *476 - - *764 + - *472 + - *473 + - *762 responses: '202': description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 '400': *14 '422': *15 '403': *27 @@ -118995,8 +118451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -119092,8 +118548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -119102,7 +118558,7 @@ paths: application/json: schema: type: array - items: &766 + items: &764 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -119135,8 +118591,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -119214,8 +118670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -119309,8 +118765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -119464,8 +118920,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: - - *475 - - *476 + - *472 + - *473 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -119475,7 +118931,7 @@ paths: application/json: schema: type: array - items: *766 + items: *764 examples: default: value: @@ -119508,8 +118964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *475 - - *476 + - *472 + - *473 - name: sha in: path required: true @@ -119565,7 +119021,7 @@ paths: description: Response content: application/json: - schema: *767 + schema: *765 examples: default: value: @@ -119619,8 +119075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -119632,7 +119088,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -119652,14 +119108,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &768 + schema: &766 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -119732,8 +119188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: false content: @@ -119759,7 +119215,7 @@ paths: description: Response content: application/json: - schema: *768 + schema: *766 examples: default: value: @@ -119786,8 +119242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -119807,8 +119263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -119890,8 +119346,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *475 - - *476 + - *472 + - *473 - name: ref in: path required: true @@ -119927,8 +119383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *475 - - *476 + - *472 + - *473 - *17 - *19 responses: @@ -119938,9 +119394,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - default: *403 + default: *400 headers: Link: *45 '404': *6 @@ -119960,8 +119416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *475 - - *476 + - *472 + - *473 - *19 - *17 responses: @@ -119969,7 +119425,7 @@ paths: description: Response content: application/json: - schema: &769 + schema: &767 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -119981,7 +119437,7 @@ paths: required: - names examples: - default: &770 + default: &768 value: names: - octocat @@ -120004,8 +119460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -120036,9 +119492,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *767 examples: - default: *770 + default: *768 '404': *6 '422': *7 x-github: @@ -120059,9 +119515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *475 - - *476 - - &771 + - *472 + - *473 + - &769 name: per description: The time frame to display results for. in: query @@ -120092,7 +119548,7 @@ paths: - 128 clones: type: array - items: &772 + items: &770 title: Traffic type: object properties: @@ -120179,8 +119635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -120274,8 +119730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *475 - - *476 + - *472 + - *473 responses: '200': description: Response @@ -120338,9 +119794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *475 - - *476 - - *771 + - *472 + - *473 + - *769 responses: '200': description: Response @@ -120361,7 +119817,7 @@ paths: - 3782 views: type: array - items: *772 + items: *770 required: - uniques - count @@ -120438,8 +119894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *475 - - *476 + - *472 + - *473 requestBody: required: true content: @@ -120475,7 +119931,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *277 examples: default: value: @@ -120719,8 +120175,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -120743,8 +120199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -120766,8 +120222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -120793,8 +120249,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *475 - - *476 + - *472 + - *473 - name: ref in: path required: true @@ -120886,9 +120342,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120929,7 +120385,7 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: default: value: @@ -121039,7 +120495,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &780 + - &778 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -121049,7 +120505,7 @@ paths: type: string examples: - members - - &785 + - &783 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -121061,7 +120517,7 @@ paths: format: int32 examples: - 1 - - &786 + - &784 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -121105,7 +120561,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &775 + items: &773 allOf: - type: object required: @@ -121187,7 +120643,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: &787 + meta: &785 type: object description: The metadata associated with the creation/updates to the user. @@ -121252,30 +120708,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &776 + '400': &774 description: Bad request content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '401': *774 - '403': &777 + schema: *771 + '401': *772 + '403': &775 description: Permission denied - '429': &778 + '429': &776 description: Too many requests content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '500': &779 + schema: *771 + '500': &777 description: Internal server error content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 + schema: *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121299,7 +120755,7 @@ paths: required: true content: application/json: - schema: &783 + schema: &781 type: object required: - schemas @@ -121363,9 +120819,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *775 + schema: *773 examples: - group: &781 + group: &779 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -121384,13 +120840,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': *776 - '401': *774 - '403': *777 - '409': &784 + '400': *774 + '401': *772 + '403': *775 + '409': &782 description: Duplicate record detected - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121407,7 +120863,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: - - &782 + - &780 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -121416,22 +120872,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *780 + - *778 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *775 + schema: *773 examples: - default: *781 - '400': *776 - '401': *774 - '403': *777 + default: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121450,13 +120906,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: - - *782 + - *780 - *39 requestBody: required: true content: application/json: - schema: *783 + schema: *781 examples: group: summary: Group @@ -121482,17 +120938,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *775 + schema: *773 examples: - group: *781 - groupWithMembers: *781 - '400': *776 - '401': *774 - '403': *777 + group: *779 + groupWithMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121516,13 +120972,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: - - *782 + - *780 - *39 requestBody: required: true content: application/json: - schema: &794 + schema: &792 type: object required: - Operations @@ -121582,17 +121038,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *775 + schema: *773 examples: - updateGroup: *781 - addMembers: *781 - '400': *776 - '401': *774 - '403': *777 + updateGroup: *779 + addMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121608,17 +121064,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: - - *782 + - *780 - *39 responses: '204': description: Group was deleted, no content - '400': *776 - '401': *774 - '403': *777 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121652,8 +121108,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *785 - - *786 + - *783 + - *784 - *39 responses: '200': @@ -121687,7 +121143,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &789 + items: &787 allOf: - type: object required: @@ -121779,7 +121235,7 @@ paths: address. examples: - true - roles: &788 + roles: &786 type: array description: The roles assigned to the user. items: @@ -121838,7 +121294,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *787 + meta: *785 startIndex: type: integer description: A starting index for the returned page @@ -121877,11 +121333,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *776 - '401': *774 - '403': *777 - '429': *778 - '500': *779 + '400': *774 + '401': *772 + '403': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121905,7 +121361,7 @@ paths: required: true content: application/json: - schema: &792 + schema: &790 type: object required: - schemas @@ -121998,9 +121454,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *788 + roles: *786 examples: - user: &793 + user: &791 summary: User value: schemas: @@ -122047,9 +121503,9 @@ paths: description: User has been created content: application/scim+json: - schema: *789 + schema: *787 examples: - user: &790 + user: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -122075,13 +121531,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: *790 - '400': *776 - '401': *774 - '403': *777 - '409': *784 - '429': *778 - '500': *779 + enterpriseOwner: *788 + '400': *774 + '401': *772 + '403': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -122098,7 +121554,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: - - &791 + - &789 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -122111,15 +121567,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *789 + schema: *787 examples: - default: *790 - '400': *776 - '401': *774 - '403': *777 + default: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -122170,30 +121626,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: - - *791 + - *789 - *39 requestBody: required: true content: application/json: - schema: *792 + schema: *790 examples: - user: *793 + user: *791 responses: '200': description: User was updated content: application/scim+json: - schema: *789 + schema: *787 examples: - user: *790 - '400': *776 - '401': *774 - '403': *777 + user: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -122234,13 +121690,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: - - *791 + - *789 - *39 requestBody: required: true content: application/json: - schema: *794 + schema: *792 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -122280,18 +121736,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *789 - examples: - userMultiValuedProperties: *790 - userSingleValuedProperties: *790 - disableUser: *790 - '400': *776 - '401': *774 - '403': *777 + schema: *787 + examples: + userMultiValuedProperties: *788 + userSingleValuedProperties: *788 + disableUser: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -122311,17 +121767,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: - - *791 + - *789 - *39 responses: '204': description: User was deleted, no content - '400': *776 - '401': *774 - '403': *777 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *778 - '500': *779 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -122412,7 +121868,7 @@ paths: - 1 Resources: type: array - items: &795 + items: &793 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -122659,22 +122115,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': &796 + '404': &794 description: Resource not found content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '403': &797 + schema: *771 + '403': &795 description: Forbidden content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '400': *776 - '429': *778 + schema: *771 + '400': *774 + '429': *776 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -122700,9 +122156,9 @@ paths: description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: &798 + default: &796 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -122725,17 +122181,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': *796 - '403': *797 - '500': *779 + '404': *794 + '403': *795 + '500': *777 '409': description: Conflict content: application/json: - schema: *773 + schema: *771 application/scim+json: - schema: *773 - '400': *776 + schema: *771 + '400': *774 requestBody: required: true content: @@ -122835,17 +122291,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *791 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: *798 - '404': *796 - '403': *797 + default: *796 + '404': *794 + '403': *795 '304': *35 x-github: githubCloudOnly: true @@ -122869,18 +122325,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *791 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: *798 + default: *796 '304': *35 - '404': *796 - '403': *797 + '404': *794 + '403': *795 requestBody: required: true content: @@ -122995,19 +122451,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *791 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *793 examples: - default: *798 + default: *796 '304': *35 - '404': *796 - '403': *797 - '400': *776 + '404': *794 + '403': *795 + '400': *774 '429': description: Response content: @@ -123103,12 +122559,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *791 + - *789 responses: '204': description: Response - '404': *796 - '403': *797 + '404': *794 + '403': *795 '304': *35 x-github: githubCloudOnly: true @@ -123226,7 +122682,7 @@ paths: html_url: type: string format: uri - repository: *280 + repository: *277 score: type: number file_size: @@ -123245,7 +122701,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &799 + text_matches: &797 title: Search Result Text Matches type: array items: @@ -123409,7 +122865,7 @@ paths: enum: - author-date - committer-date - - &800 + - &798 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 @@ -123478,7 +122934,7 @@ paths: committer: anyOf: - type: 'null' - - *525 + - *522 comment_count: type: integer message: @@ -123497,7 +122953,7 @@ paths: url: type: string format: uri - verification: *647 + verification: *644 required: - author - committer @@ -123512,7 +122968,7 @@ paths: committer: anyOf: - type: 'null' - - *525 + - *522 parents: type: array items: @@ -123524,12 +122980,12 @@ paths: type: string sha: type: string - repository: *280 + repository: *277 score: type: number node_id: type: string - text_matches: *799 + text_matches: *797 required: - sha - node_id @@ -123722,7 +123178,7 @@ paths: - interactions - created - updated - - *800 + - *798 - *17 - *19 - name: advanced_search @@ -123836,11 +123292,11 @@ paths: type: - string - 'null' - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: type: string state_reason: @@ -123854,7 +123310,7 @@ paths: milestone: anyOf: - type: 'null' - - *423 + - *420 comments: type: integer created_at: @@ -123868,7 +123324,7 @@ paths: - string - 'null' format: date-time - text_matches: *799 + text_matches: *797 pull_request: type: object properties: @@ -123906,7 +123362,7 @@ paths: type: string score: type: number - author_association: *218 + author_association: *215 draft: type: boolean repository: *78 @@ -123917,7 +123373,7 @@ paths: timeline_url: type: string format: uri - type: *389 + type: *386 performed_via_github_app: anyOf: - type: 'null' @@ -123925,8 +123381,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *222 - reactions: *219 + - *219 + reactions: *216 required: - assignee - closed_at @@ -124178,7 +123634,7 @@ paths: enum: - created - updated - - *800 + - *798 - *17 - *19 responses: @@ -124223,7 +123679,7 @@ paths: - 'null' score: type: number - text_matches: *799 + text_matches: *797 required: - id - node_id @@ -124309,7 +123765,7 @@ paths: - forks - help-wanted-issues - updated - - *800 + - *798 - *17 - *19 responses: @@ -124537,7 +123993,7 @@ paths: license: anyOf: - type: 'null' - - *223 + - *220 permissions: type: object properties: @@ -124555,7 +124011,7 @@ paths: - admin - pull - push - text_matches: *799 + text_matches: *797 temp_clone_token: type: string allow_merge_commit: @@ -124864,7 +124320,7 @@ paths: - string - 'null' format: uri - text_matches: *799 + text_matches: *797 related: type: - array @@ -125059,7 +124515,7 @@ paths: - followers - repositories - joined - - *800 + - *798 - *17 - *19 responses: @@ -125169,7 +124625,7 @@ paths: type: - boolean - 'null' - text_matches: *799 + text_matches: *797 blog: type: - string @@ -125251,7 +124707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &803 + - &801 name: team_id description: The unique identifier of the team. in: path @@ -125263,9 +124719,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -125292,7 +124748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *803 + - *801 requestBody: required: true content: @@ -125356,16 +124812,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '201': description: Response content: application/json: - schema: *467 + schema: *464 examples: - default: *468 + default: *465 '404': *6 '422': *15 '403': *27 @@ -125393,7 +124849,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *803 + - *801 responses: '204': description: Response @@ -125422,7 +124878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *803 + - *801 - *17 - *19 responses: @@ -125432,9 +124888,9 @@ paths: application/json: schema: type: array - items: *383 + items: *380 examples: - default: *384 + default: *381 headers: Link: *45 x-github: @@ -125460,7 +124916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *803 + - *801 - name: role description: Filters members returned by their role in the team. in: query @@ -125483,7 +124939,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '404': *6 @@ -125511,7 +124967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -125548,7 +125004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -125588,7 +125044,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -125625,16 +125081,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: - - *803 + - *801 - *140 responses: '200': description: Response content: application/json: - schema: *474 + schema: *471 examples: - response-if-user-is-a-team-maintainer: *804 + response-if-user-is-a-team-maintainer: *802 '404': *6 x-github: githubCloudOnly: false @@ -125667,7 +125123,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *803 + - *801 - *140 requestBody: required: false @@ -125693,9 +125149,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: *805 + response-if-users-membership-with-team-is-now-pending: *803 '403': description: Forbidden if team synchronization is set up '422': @@ -125729,7 +125185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *803 + - *801 - *140 responses: '204': @@ -125757,7 +125213,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *803 + - *801 - *17 - *19 responses: @@ -125767,9 +125223,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 '404': *6 @@ -125799,15 +125255,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: - - *803 - - *475 - - *476 + - *801 + - *472 + - *473 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *806 + schema: *804 examples: alternative-response-with-extra-repository-information: value: @@ -125964,9 +125420,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: - - *803 - - *475 - - *476 + - *801 + - *472 + - *473 requestBody: required: false content: @@ -126016,9 +125472,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: - - *803 - - *475 - - *476 + - *801 + - *472 + - *473 responses: '204': description: Response @@ -126047,15 +125503,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: - - *803 + - *801 responses: '200': description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: *478 + default: *475 '403': *27 '404': *6 x-github: @@ -126082,7 +125538,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: - - *803 + - *801 requestBody: required: true content: @@ -126143,7 +125599,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: default: value: @@ -126174,7 +125630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *803 + - *801 - *17 - *19 responses: @@ -126184,9 +125640,9 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: - response-if-child-teams-exist: *807 + response-if-child-teams-exist: *805 headers: Link: *45 '404': *6 @@ -126219,7 +125675,7 @@ paths: application/json: schema: oneOf: - - &809 + - &807 title: Private User description: Private User type: object @@ -126469,7 +125925,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *808 + - *806 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -126629,7 +126085,7 @@ paths: description: Response content: application/json: - schema: *809 + schema: *807 examples: default: value: @@ -126708,7 +126164,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 '304': *35 '404': *6 '403': *27 @@ -126832,9 +126288,9 @@ paths: type: integer codespaces: type: array - items: *394 + items: *391 examples: - default: *395 + default: *392 '304': *35 '500': *38 '401': *23 @@ -126973,17 +126429,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '401': *23 '403': *27 '404': *6 @@ -127027,7 +126483,7 @@ paths: type: integer secrets: type: array - items: &810 + items: &808 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -127069,7 +126525,7 @@ paths: - visibility - selected_repositories_url examples: - default: *579 + default: *576 headers: Link: *45 x-github: @@ -127141,13 +126597,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: - - *290 + - *287 responses: '200': description: Response content: application/json: - schema: *810 + schema: *808 examples: default: value: @@ -127177,7 +126633,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: - - *290 + - *287 requestBody: required: true content: @@ -127222,7 +126678,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -127250,7 +126706,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: - - *290 + - *287 responses: '204': description: Response @@ -127275,7 +126731,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: - - *290 + - *287 responses: '200': description: Response @@ -127291,9 +126747,9 @@ paths: type: integer repositories: type: array - items: *280 + items: *277 examples: - default: *335 + default: *332 '401': *23 '403': *27 '404': *6 @@ -127318,7 +126774,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: - - *290 + - *287 requestBody: required: true content: @@ -127372,7 +126828,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: - - *290 + - *287 - name: repository_id in: path required: true @@ -127405,7 +126861,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: - - *290 + - *287 - name: repository_id in: path required: true @@ -127437,15 +126893,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: - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '304': *35 '500': *38 '401': *23 @@ -127471,7 +126927,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: - - *396 + - *393 requestBody: required: false content: @@ -127501,9 +126957,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '401': *23 '403': *27 '404': *6 @@ -127525,7 +126981,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: - - *396 + - *393 responses: '202': *37 '304': *35 @@ -127554,13 +127010,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: - - *396 + - *393 responses: '202': description: Response content: application/json: - schema: &811 + schema: &809 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -127613,7 +127069,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &812 + default: &810 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -127645,7 +127101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *396 + - *393 - name: export_id in: path required: true @@ -127658,9 +127114,9 @@ paths: description: Response content: application/json: - schema: *811 + schema: *809 examples: - default: *812 + default: *810 '404': *6 x-github: githubCloudOnly: false @@ -127681,7 +127137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *396 + - *393 responses: '200': description: Response @@ -127697,9 +127153,9 @@ paths: type: integer machines: type: array - items: *578 + items: *575 examples: - default: *813 + default: *811 '304': *35 '500': *38 '401': *23 @@ -127728,7 +127184,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: - - *396 + - *393 requestBody: required: true content: @@ -127784,11 +127240,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *480 + repository: *477 machine: anyOf: - type: 'null' - - *578 + - *575 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -128585,15 +128041,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: - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '304': *35 '500': *38 '400': *14 @@ -128625,15 +128081,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: - - *396 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *577 + default: *574 '500': *38 '401': *23 '403': *27 @@ -128663,9 +128119,9 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: &824 + default: &822 value: - id: 197 name: hello_docker @@ -128766,7 +128222,7 @@ paths: application/json: schema: type: array - items: &814 + items: &812 title: Email description: Email type: object @@ -128836,9 +128292,9 @@ paths: application/json: schema: type: array - items: *814 + items: *812 examples: - default: &826 + default: &824 value: - email: octocat@github.com verified: true @@ -128915,7 +128371,7 @@ paths: application/json: schema: type: array - items: *814 + items: *812 examples: default: value: @@ -129027,7 +128483,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '304': *35 @@ -129060,7 +128516,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 '304': *35 @@ -129173,7 +128629,7 @@ paths: application/json: schema: type: array - items: &815 + items: &813 title: GPG Key description: A unique encryption key type: object @@ -129318,7 +128774,7 @@ paths: - subkeys - revoked examples: - default: &843 + default: &841 value: - id: 3 name: Octocat's GPG Key @@ -129403,9 +128859,9 @@ paths: description: Response content: application/json: - schema: *815 + schema: *813 examples: - default: &816 + default: &814 value: id: 3 name: Octocat's GPG Key @@ -129462,7 +128918,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: - - &817 + - &815 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -129474,9 +128930,9 @@ paths: description: Response content: application/json: - schema: *815 + schema: *813 examples: - default: *816 + default: *814 '404': *6 '304': *35 '403': *27 @@ -129499,7 +128955,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: - - *817 + - *815 responses: '204': description: Response @@ -129701,7 +129157,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *275 + default: *272 headers: Link: *45 '404': *6 @@ -129727,7 +129183,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *274 + - *271 responses: '204': description: Response @@ -129753,7 +129209,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *274 + - *271 responses: '204': description: Response @@ -129787,12 +129243,12 @@ paths: application/json: schema: anyOf: - - *381 + - *378 - type: object properties: {} additionalProperties: false examples: - default: *382 + default: *379 '204': description: Response when there are no restrictions x-github: @@ -129816,7 +129272,7 @@ paths: required: true content: application/json: - schema: *657 + schema: *654 examples: default: value: @@ -129827,7 +129283,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *378 examples: default: value: @@ -129908,7 +129364,7 @@ paths: - closed - all default: open - - *392 + - *389 - name: sort description: What to sort results by. in: query @@ -129921,7 +129377,7 @@ paths: - comments default: created - *110 - - *226 + - *223 - *17 - *19 responses: @@ -129931,9 +129387,9 @@ paths: application/json: schema: type: array - items: *221 + items: *218 examples: - default: *393 + default: *390 headers: Link: *45 '404': *6 @@ -129966,7 +129422,7 @@ paths: application/json: schema: type: array - items: &818 + items: &816 title: Key description: Key type: object @@ -130069,9 +129525,9 @@ paths: description: Response content: application/json: - schema: *818 + schema: *816 examples: - default: &819 + default: &817 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -130104,15 +129560,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: - - *689 + - *687 responses: '200': description: Response content: application/json: - schema: *818 + schema: *816 examples: - default: *819 + default: *817 '404': *6 '304': *35 '403': *27 @@ -130135,7 +129591,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: - - *689 + - *687 responses: '204': description: Response @@ -130168,7 +129624,7 @@ paths: application/json: schema: type: array - items: &820 + items: &818 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -130236,7 +129692,7 @@ paths: - id - type - login - plan: *237 + plan: *234 required: - billing_cycle - next_billing_date @@ -130247,7 +129703,7 @@ paths: - account - plan examples: - default: &821 + default: &819 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -130309,9 +129765,9 @@ paths: application/json: schema: type: array - items: *820 + items: *818 examples: - default: *821 + default: *819 headers: Link: *45 '304': *35 @@ -130351,7 +129807,7 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: default: value: @@ -130465,7 +129921,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: default: value: @@ -130552,7 +130008,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: default: value: @@ -130624,7 +130080,7 @@ paths: application/json: schema: type: array - items: *399 + items: *396 examples: default: value: @@ -130886,7 +130342,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -131066,7 +130522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *400 + - *397 - name: exclude in: query required: false @@ -131079,7 +130535,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *396 examples: default: value: @@ -131273,7 +130729,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *400 + - *397 responses: '302': description: Response @@ -131299,7 +130755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *400 + - *397 responses: '204': description: Response @@ -131328,8 +130784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *400 - - *822 + - *397 + - *820 responses: '204': description: Response @@ -131353,7 +130809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *400 + - *397 - *17 - *19 responses: @@ -131363,9 +130819,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 '404': *6 @@ -131420,7 +130876,7 @@ paths: type: array items: *73 examples: - default: *250 + default: *247 headers: Link: *45 '304': *35 @@ -131462,7 +130918,7 @@ paths: - docker - nuget - container - - *823 + - *821 - *19 - *17 responses: @@ -131472,10 +130928,10 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *824 - '400': *825 + default: *822 + '400': *823 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131495,16 +130951,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: - - *406 - - *407 + - *403 + - *404 responses: '200': description: Response content: application/json: - schema: *404 + schema: *401 examples: - default: &844 + default: &842 value: id: 40201 name: octo-name @@ -131617,8 +131073,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: - - *406 - - *407 + - *403 + - *404 responses: '204': description: Response @@ -131648,8 +131104,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: - - *406 - - *407 + - *403 + - *404 - name: token description: package token schema: @@ -131681,8 +131137,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: - - *406 - - *407 + - *403 + - *404 - *19 - *17 - name: state @@ -131702,7 +131158,7 @@ paths: application/json: schema: type: array - items: *408 + items: *405 examples: default: value: @@ -131751,15 +131207,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: + - *403 + - *404 - *406 - - *407 - - *409 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: default: value: @@ -131795,9 +131251,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: + - *403 + - *404 - *406 - - *407 - - *409 responses: '204': description: Response @@ -131827,9 +131283,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: + - *403 + - *404 - *406 - - *407 - - *409 responses: '204': description: Response @@ -131866,9 +131322,9 @@ paths: application/json: schema: type: array - items: *814 + items: *812 examples: - default: *826 + default: *824 headers: Link: *45 '304': *35 @@ -131981,7 +131437,7 @@ paths: type: array items: *78 examples: - default: &833 + default: &831 summary: Default response value: - id: 1296269 @@ -132299,9 +131755,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: - default: *482 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -132345,9 +131801,9 @@ paths: application/json: schema: type: array - items: *659 + items: *657 examples: - default: *827 + default: *825 headers: Link: *45 '304': *35 @@ -132370,7 +131826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *385 + - *382 responses: '204': description: Response @@ -132399,7 +131855,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *385 + - *382 responses: '204': description: Response @@ -132432,7 +131888,7 @@ paths: application/json: schema: type: array - items: &828 + items: &826 title: Social account description: Social media account type: object @@ -132449,7 +131905,7 @@ paths: - provider - url examples: - default: &829 + default: &827 value: - provider: twitter url: https://twitter.com/github @@ -132512,9 +131968,9 @@ paths: application/json: schema: type: array - items: *828 + items: *826 examples: - default: *829 + default: *827 '422': *15 '304': *35 '404': *6 @@ -132602,7 +132058,7 @@ paths: application/json: schema: type: array - items: &830 + items: &828 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -132622,7 +132078,7 @@ paths: - title - created_at examples: - default: &858 + default: &856 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -132687,9 +132143,9 @@ paths: description: Response content: application/json: - schema: *830 + schema: *828 examples: - default: &831 + default: &829 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -132719,7 +132175,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: - - &832 + - &830 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -132731,9 +132187,9 @@ paths: description: Response content: application/json: - schema: *830 + schema: *828 examples: - default: *831 + default: *829 '404': *6 '304': *35 '403': *27 @@ -132756,7 +132212,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: - - *832 + - *830 responses: '204': description: Response @@ -132785,7 +132241,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: - - &859 + - &857 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 @@ -132810,11 +132266,11 @@ paths: type: array items: *78 examples: - default-response: *833 + default-response: *831 application/vnd.github.v3.star+json: schema: type: array - items: &860 + items: &858 title: Starred Repository description: Starred Repository type: object @@ -132970,8 +132426,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response if this repository is starred by you @@ -132999,8 +132455,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -133024,8 +132480,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: - - *475 - - *476 + - *472 + - *473 responses: '204': description: Response @@ -133058,9 +132514,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 '304': *35 @@ -133097,7 +132553,7 @@ paths: application/json: schema: type: array - items: *467 + items: *464 examples: default: value: @@ -133175,7 +132631,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *239 + - *236 responses: '200': description: Response @@ -133183,10 +132639,10 @@ paths: application/json: schema: oneOf: - - *809 - - *808 + - *807 + - *806 examples: - default-response: &837 + default-response: &835 summary: Default response value: login: octocat @@ -133221,7 +132677,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &838 + response-with-git-hub-plan-information: &836 summary: Response with GitHub plan information value: login: octocat @@ -133278,14 +132734,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &835 + - &833 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *422 + - *419 requestBody: required: true description: Details of the draft item to create in the project. @@ -133319,9 +132775,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: - draft_issue: *428 + draft_issue: *425 '304': *35 '403': *27 '401': *23 @@ -133344,7 +132800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *834 + - *832 - *17 responses: '200': @@ -133355,7 +132811,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: example: ; rel="next" @@ -133379,8 +132835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *835 - - *422 + - *833 + - *419 requestBody: required: true content: @@ -133454,17 +132910,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *836 + schema: *834 examples: table_view: summary: Response for creating a table view - value: *432 + value: *429 board_view: summary: Response for creating a board view with filter - value: *432 + value: *429 roadmap_view: summary: Response for creating a roadmap view - value: *432 + value: *429 '304': *35 '403': *27 '401': *23 @@ -133506,11 +132962,11 @@ paths: application/json: schema: oneOf: - - *809 - - *808 + - *807 + - *806 examples: - default-response: *837 - response-with-git-hub-plan-information: *838 + default-response: *835 + response-with-git-hub-plan-information: *836 '404': *6 x-github: githubCloudOnly: false @@ -133560,8 +133016,8 @@ paths: required: - subject_digests examples: - default: *839 - withPredicateType: *840 + default: *837 + withPredicateType: *838 responses: '200': description: Response @@ -133615,7 +133071,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *841 + default: *839 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -133835,12 +133291,12 @@ paths: initiator: type: string examples: - default: *521 + default: *518 '201': description: Response content: application/json: - schema: *291 + schema: *288 examples: default: value: @@ -133916,7 +133372,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *331 + items: *328 examples: default: summary: Example response for listing user copilot spaces @@ -134131,9 +133587,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: &842 + default: &840 summary: Example response for a user copilot space value: id: 42 @@ -134232,9 +133688,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *842 + default: *840 '403': *27 '404': *6 x-github: @@ -134358,9 +133814,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *328 examples: - default: *842 + default: *840 '403': *27 '404': *6 '422': *15 @@ -134437,7 +133893,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *333 + items: *330 examples: default: value: @@ -134580,7 +134036,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: default: value: @@ -134691,7 +134147,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *330 examples: default: value: @@ -134821,7 +134277,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *334 + items: *331 examples: default: value: @@ -134913,7 +134369,7 @@ paths: description: Resource created content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -134929,7 +134385,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -134982,7 +134438,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -135049,7 +134505,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *331 examples: default: value: @@ -135126,9 +134582,9 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *824 + default: *822 '403': *27 '401': *23 x-github: @@ -135161,7 +134617,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -135234,7 +134690,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -135321,7 +134777,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -135391,7 +134847,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -135422,7 +134878,7 @@ paths: type: array items: *4 examples: - default: *212 + default: *209 headers: Link: *45 x-github: @@ -135469,7 +134925,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *140 - - *226 + - *223 - *17 - *19 responses: @@ -135479,9 +134935,9 @@ paths: application/json: schema: type: array - items: *227 + items: *224 examples: - default: *228 + default: *225 headers: Link: *45 '422': *15 @@ -135512,9 +134968,9 @@ paths: application/json: schema: type: array - items: *815 + items: *813 examples: - default: *843 + default: *841 headers: Link: *45 x-github: @@ -135618,7 +135074,7 @@ paths: application/json: schema: *20 examples: - default: *379 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -135704,7 +135160,7 @@ paths: type: array items: *73 examples: - default: *250 + default: *247 headers: Link: *45 x-github: @@ -135743,7 +135199,7 @@ paths: - docker - nuget - container - - *823 + - *821 - *140 - *19 - *17 @@ -135754,12 +135210,12 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *824 + default: *822 '403': *27 '401': *23 - '400': *825 + '400': *823 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -135779,17 +135235,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 responses: '200': description: Response content: application/json: - schema: *404 + schema: *401 examples: - default: *844 + default: *842 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -135810,8 +135266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 responses: '204': @@ -135844,8 +135300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 - name: token description: package token @@ -135878,8 +135334,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-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 responses: '200': @@ -135888,7 +135344,7 @@ paths: application/json: schema: type: array - items: *408 + items: *405 examples: default: value: @@ -135946,16 +135402,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: + - *403 + - *404 - *406 - - *407 - - *409 - *140 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: default: value: @@ -135990,10 +135446,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 - - *409 + - *406 responses: '204': description: Response @@ -136025,10 +135481,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *406 - - *407 + - *403 + - *404 - *140 - - *409 + - *406 responses: '204': description: Response @@ -136069,9 +135525,9 @@ paths: application/json: schema: type: array - items: *420 + items: *417 examples: - default: *421 + default: *418 headers: Link: *45 '304': *35 @@ -136093,16 +135549,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *422 + - *419 - *140 responses: '200': description: Response content: application/json: - schema: *420 + schema: *417 examples: - default: *421 + default: *418 headers: Link: *45 '304': *35 @@ -136124,7 +135580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *422 + - *419 - *140 - *17 - *108 @@ -136136,9 +135592,9 @@ paths: application/json: schema: type: array - items: *425 + items: *422 examples: - default: *845 + default: *843 headers: Link: *45 '304': *35 @@ -136160,7 +135616,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *140 - - *422 + - *419 requestBody: required: true content: @@ -136198,7 +135654,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *846 + items: *844 required: - name - data_type @@ -136214,7 +135670,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *847 + iteration_configuration: *845 required: - name - data_type @@ -136236,20 +135692,20 @@ paths: value: name: Due date data_type: date - single_select_field: *848 - iteration_field: *849 + single_select_field: *846 + iteration_field: *847 responses: '201': description: Response content: application/json: - schema: *425 + schema: *422 examples: - text_field: *850 - number_field: *851 - date_field: *852 - single_select_field: *853 - iteration_field: *854 + text_field: *848 + number_field: *849 + date_field: *850 + single_select_field: *851 + iteration_field: *852 '304': *35 '403': *27 '401': *23 @@ -136270,17 +135726,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *422 - - *855 + - *419 + - *853 - *140 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: *856 + default: *854 headers: Link: *45 '304': *35 @@ -136303,7 +135759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *422 + - *419 - *140 - *108 - *109 @@ -136336,9 +135792,9 @@ paths: application/json: schema: type: array - items: *429 + items: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -136360,7 +135816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *140 - - *422 + - *419 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -136430,22 +135886,22 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *428 + value: *425 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *428 + value: *425 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *428 + value: *425 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *428 + value: *425 '304': *35 '403': *27 '401': *23 @@ -136465,9 +135921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *422 + - *419 - *140 - - *431 + - *428 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -136487,9 +135943,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -136510,9 +135966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *422 + - *419 - *140 - - *431 + - *428 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -136585,13 +136041,13 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - text_field: *430 - number_field: *430 - date_field: *430 - single_select_field: *430 - iteration_field: *430 + text_field: *427 + number_field: *427 + date_field: *427 + single_select_field: *427 + iteration_field: *427 '401': *23 '403': *27 '404': *6 @@ -136611,9 +136067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *422 + - *419 - *140 - - *431 + - *428 responses: '204': description: Response @@ -136635,9 +136091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *422 + - *419 - *140 - - *857 + - *855 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -136663,9 +136119,9 @@ paths: application/json: schema: type: array - items: *429 + items: *426 examples: - default: *430 + default: *427 headers: Link: *45 '304': *35 @@ -136703,7 +136159,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -136778,7 +136234,7 @@ paths: application/json: schema: type: array - items: *245 + items: *242 examples: default: value: @@ -136884,9 +136340,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -136916,9 +136372,9 @@ paths: application/json: schema: type: array - items: *828 + items: *826 examples: - default: *829 + default: *827 headers: Link: *45 x-github: @@ -136948,9 +136404,9 @@ paths: application/json: schema: type: array - items: *830 + items: *828 examples: - default: *858 + default: *856 headers: Link: *45 x-github: @@ -136975,7 +136431,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *140 - - *859 + - *857 - *110 - *17 - *19 @@ -136987,11 +136443,11 @@ paths: schema: anyOf: - type: array - items: *860 + items: *858 - type: array items: *78 examples: - default-response: *833 + default-response: *831 headers: Link: *45 x-github: @@ -137020,9 +136476,9 @@ paths: application/json: schema: type: array - items: *280 + items: *277 examples: - default: *410 + default: *407 headers: Link: *45 x-github: @@ -137151,7 +136607,7 @@ webhooks: type: string enum: - disabled - enterprise: &861 + enterprise: &859 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -137220,7 +136676,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &862 + installation: &860 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -137241,7 +136697,7 @@ webhooks: required: - id - node_id - organization: &863 + organization: &861 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -137314,7 +136770,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &864 + repository: &862 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -137343,7 +136799,7 @@ webhooks: license: anyOf: - type: 'null' - - *223 + - *220 organization: anyOf: - type: 'null' @@ -138254,10 +137710,10 @@ webhooks: type: string enum: - enabled - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -138333,11 +137789,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - rule: &865 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + rule: &863 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) @@ -138560,11 +138016,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - rule: *865 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + rule: *863 sender: *4 required: - action @@ -138752,11 +138208,11 @@ webhooks: - everyone required: - from - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - rule: *865 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + rule: *863 sender: *4 required: - action @@ -138829,7 +138285,7 @@ webhooks: required: true content: application/json: - schema: &885 + schema: &883 title: Exemption request cancellation event type: object properties: @@ -138837,11 +138293,11 @@ webhooks: type: string enum: - cancelled - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: &866 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: &864 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -139150,7 +138606,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &867 + items: &865 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -139262,7 +138718,7 @@ webhooks: required: true content: application/json: - schema: &886 + schema: &884 title: Exemption request completed event type: object properties: @@ -139270,11 +138726,11 @@ webhooks: type: string enum: - completed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 sender: *4 required: - action @@ -139346,7 +138802,7 @@ webhooks: required: true content: application/json: - schema: &883 + schema: &881 title: Exemption request created event type: object properties: @@ -139354,11 +138810,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 sender: *4 required: - action @@ -139430,7 +138886,7 @@ webhooks: required: true content: application/json: - schema: &887 + schema: &885 title: Exemption response dismissed event type: object properties: @@ -139438,12 +138894,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 - exemption_response: *867 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 + exemption_response: *865 sender: *4 required: - action @@ -139517,7 +138973,7 @@ webhooks: required: true content: application/json: - schema: &884 + schema: &882 title: Exemption response submitted event type: object properties: @@ -139525,12 +138981,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - exemption_request: *866 - exemption_response: *867 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + exemption_request: *864 + exemption_response: *865 sender: *4 required: - action @@ -139614,7 +139070,7 @@ webhooks: type: string enum: - completed - check_run: &869 + check_run: &867 title: CheckRun description: A check performed on the code of a given code change type: object @@ -139679,8 +139135,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *224 - repository: *280 + items: *221 + repository: *277 status: type: string enum: @@ -139724,7 +139180,7 @@ webhooks: - examples: - neutral - deployment: *868 + deployment: *866 details_url: type: string examples: @@ -139784,7 +139240,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *224 + items: *221 started_at: type: string format: date-time @@ -139822,10 +139278,10 @@ webhooks: - output - app - pull_requests - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 sender: *4 required: - check_run @@ -140216,11 +139672,11 @@ webhooks: type: string enum: - created - check_run: *869 - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + check_run: *867 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 sender: *4 required: - check_run @@ -140614,11 +140070,11 @@ webhooks: type: string enum: - requested_action - check_run: *869 - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + check_run: *867 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 requested_action: description: The action requested by the user. type: object @@ -141021,11 +140477,11 @@ webhooks: type: string enum: - rerequested - check_run: *869 - installation: *862 - enterprise: *861 - organization: *863 - repository: *864 + check_run: *867 + installation: *860 + enterprise: *859 + organization: *861 + repository: *862 sender: *4 required: - check_run @@ -142010,10 +141466,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -142727,10 +142183,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -143438,10 +142894,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -143610,7 +143066,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -143762,20 +143218,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &870 + commit_oid: &868 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: *861 - installation: *862 - organization: *863 - ref: &871 + enterprise: *859 + installation: *860 + organization: *861 + ref: &869 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: *864 + repository: *862 sender: *4 required: - action @@ -143942,7 +143398,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -144183,12 +143639,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -144286,7 +143742,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -144471,12 +143927,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -144645,7 +144101,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -144822,12 +144278,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -144928,7 +144384,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -145117,9 +144573,9 @@ webhooks: type: - string - 'null' - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -145127,7 +144583,7 @@ webhooks: type: - string - 'null' - repository: *864 + repository: *862 sender: *4 required: - action @@ -145226,7 +144682,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -145373,12 +144829,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *861 - installation: *862 - organization: *863 - ref: *871 - repository: *864 + commit_oid: *868 + enterprise: *859 + installation: *860 + organization: *861 + ref: *869 + repository: *862 sender: *4 required: - action @@ -145547,7 +145003,7 @@ webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -145699,10 +145155,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -145962,10 +145418,10 @@ webhooks: - updated_at - author_association - body - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -146046,18 +145502,18 @@ webhooks: type: - string - 'null' - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *863 - pusher_type: &872 + organization: *861 + pusher_type: &870 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &873 + ref: &871 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -146067,7 +145523,7 @@ webhooks: enum: - tag - branch - repository: *864 + repository: *862 sender: *4 required: - ref @@ -146150,9 +145606,9 @@ webhooks: enum: - created definition: *153 - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -146237,9 +145693,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -146317,9 +145773,9 @@ webhooks: enum: - promote_to_enterprise definition: *153 - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -146397,9 +145853,9 @@ webhooks: enum: - updated definition: *153 - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -146476,10 +145932,10 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - repository: *864 - organization: *863 + enterprise: *859 + installation: *860 + repository: *862 + organization: *861 sender: *4 new_property_values: type: array @@ -146564,18 +146020,18 @@ webhooks: title: delete event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - pusher_type: *872 - ref: *873 + enterprise: *859 + installation: *860 + organization: *861 + pusher_type: *870 + ref: *871 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *864 + repository: *862 sender: *4 required: - ref @@ -146655,11 +146111,11 @@ webhooks: type: string enum: - assignees_changed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -146739,11 +146195,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -146824,11 +146280,11 @@ webhooks: type: string enum: - auto_reopened - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -146909,11 +146365,11 @@ webhooks: type: string enum: - created - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -146992,11 +146448,11 @@ webhooks: type: string enum: - dismissed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -147075,11 +146531,11 @@ webhooks: type: string enum: - fixed - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -147159,11 +146615,11 @@ webhooks: type: string enum: - reintroduced - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -147242,11 +146698,11 @@ webhooks: type: string enum: - reopened - alert: *609 - installation: *862 - organization: *863 - enterprise: *861 - repository: *864 + alert: *606 + installation: *860 + organization: *861 + enterprise: *859 + repository: *862 sender: *4 required: - action @@ -147323,9 +146779,9 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - key: &874 + enterprise: *859 + installation: *860 + key: &872 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -147363,8 +146819,8 @@ webhooks: - verified - created_at - read_only - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -147441,11 +146897,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - key: *874 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + key: *872 + organization: *861 + repository: *862 sender: *4 required: - action @@ -148012,12 +147468,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: &878 + workflow: &876 title: Workflow type: - object @@ -148768,13 +148224,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *616 + - *613 pull_requests: type: array - items: *709 - repository: *864 - organization: *863 - installation: *862 + items: *707 + repository: *862 + organization: *861 + installation: *860 sender: *4 responses: '200': @@ -148845,7 +148301,7 @@ webhooks: type: string enum: - approved - approver: &875 + approver: &873 type: object properties: avatar_url: @@ -148888,11 +148344,11 @@ webhooks: type: string comment: type: string - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - reviewers: &876 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + reviewers: &874 type: array items: type: object @@ -148973,7 +148429,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &877 + workflow_job_run: &875 type: object properties: conclusion: @@ -149719,18 +149175,18 @@ webhooks: type: string enum: - rejected - approver: *875 + approver: *873 comment: type: string - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - reviewers: *876 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + reviewers: *874 sender: *4 since: type: string - workflow_job_run: *877 + workflow_job_run: *875 workflow_job_runs: type: array items: @@ -150447,13 +149903,13 @@ webhooks: type: string enum: - requested - enterprise: *861 + enterprise: *859 environment: type: string - installation: *862 - organization: *863 - repository: *864 - requestor: &888 + installation: *860 + organization: *861 + repository: *862 + requestor: &886 title: User type: - object @@ -152386,12 +151842,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Deployment Workflow Run type: @@ -153082,7 +152538,7 @@ webhooks: type: string enum: - answered - answer: &881 + answer: &879 type: object properties: author_association: @@ -153242,11 +152698,11 @@ webhooks: - created_at - updated_at - body - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153373,11 +152829,11 @@ webhooks: - from required: - category - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153460,11 +152916,11 @@ webhooks: type: string enum: - closed - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153546,7 +153002,7 @@ webhooks: type: string enum: - created - comment: &880 + comment: &878 type: object properties: author_association: @@ -153706,11 +153162,11 @@ webhooks: - updated_at - body - reactions - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153793,12 +153249,12 @@ webhooks: type: string enum: - deleted - comment: *880 - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + comment: *878 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153893,12 +153349,12 @@ webhooks: - from required: - body - comment: *880 - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + comment: *878 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -153982,11 +153438,11 @@ webhooks: type: string enum: - created - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154068,11 +153524,11 @@ webhooks: type: string enum: - deleted - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154172,11 +153628,11 @@ webhooks: type: string required: - from - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154258,10 +153714,10 @@ webhooks: type: string enum: - labeled - discussion: *879 - enterprise: *861 - installation: *862 - label: &882 + discussion: *877 + enterprise: *859 + installation: *860 + label: &880 title: Label type: object properties: @@ -154294,8 +153750,8 @@ webhooks: - color - default - description - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154378,11 +153834,11 @@ webhooks: type: string enum: - locked - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154464,11 +153920,11 @@ webhooks: type: string enum: - pinned - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154550,11 +154006,11 @@ webhooks: type: string enum: - reopened - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154639,16 +154095,16 @@ webhooks: changes: type: object properties: - new_discussion: *879 - new_repository: *864 + new_discussion: *877 + new_repository: *862 required: - new_discussion - new_repository - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154731,10 +154187,10 @@ webhooks: type: string enum: - unanswered - discussion: *879 - old_answer: *881 - organization: *863 - repository: *864 + discussion: *877 + old_answer: *879 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154816,12 +154272,12 @@ webhooks: type: string enum: - unlabeled - discussion: *879 - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154904,11 +154360,11 @@ webhooks: type: string enum: - unlocked - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -154990,11 +154446,11 @@ webhooks: type: string enum: - unpinned - discussion: *879 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + discussion: *877 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -155063,7 +154519,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155126,7 +154582,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155189,7 +154645,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155252,7 +154708,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155315,7 +154771,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155381,7 +154837,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155447,7 +154903,7 @@ webhooks: required: true content: application/json: - schema: *886 + schema: *884 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155513,7 +154969,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155579,7 +155035,7 @@ webhooks: required: true content: application/json: - schema: *887 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155645,7 +155101,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155710,7 +155166,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155775,7 +155231,7 @@ webhooks: required: true content: application/json: - schema: *886 + schema: *884 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155840,7 +155296,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155905,7 +155361,7 @@ webhooks: required: true content: application/json: - schema: *887 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -155971,7 +155427,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -156038,7 +155494,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *861 + enterprise: *859 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -156716,9 +156172,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - forkee @@ -156864,9 +156320,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pages: description: The pages that were updated. type: array @@ -156904,7 +156360,7 @@ webhooks: - action - sha - html_url - repository: *864 + repository: *862 sender: *4 required: - pages @@ -156980,10 +156436,10 @@ webhooks: type: string enum: - created - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: &889 + organization: *861 + repositories: &887 description: An array of repository objects that the installation can access. type: array @@ -157009,8 +156465,8 @@ webhooks: - name - full_name - private - repository: *864 - requester: *888 + repository: *862 + requester: *886 sender: *4 required: - action @@ -157085,11 +156541,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -157166,11 +156622,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -157247,10 +156703,10 @@ webhooks: type: string enum: - added - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories_added: &890 + organization: *861 + repositories_added: &888 description: An array of repository objects, which were added to the installation. type: array @@ -157296,15 +156752,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *864 - repository_selection: &891 + repository: *862 + repository_selection: &889 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *888 + requester: *886 sender: *4 required: - action @@ -157383,10 +156839,10 @@ webhooks: type: string enum: - removed - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories_added: *890 + organization: *861 + repositories_added: *888 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -157413,9 +156869,9 @@ webhooks: - name - full_name - private - repository: *864 - repository_selection: *891 - requester: *888 + repository: *862 + repository_selection: *889 + requester: *886 sender: *4 required: - action @@ -157494,11 +156950,11 @@ webhooks: type: string enum: - suspend - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -157681,10 +157137,10 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 target_type: type: string @@ -157763,11 +157219,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *861 + enterprise: *859 installation: *20 - organization: *863 - repositories: *889 - repository: *864 + organization: *861 + repositories: *887 + repository: *862 requester: type: - 'null' @@ -157933,7 +157389,7 @@ webhooks: pin: anyOf: - type: 'null' - - *686 + - *684 user: title: User type: @@ -158019,8 +157475,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158832,8 +158288,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158850,7 +158306,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -159194,8 +158650,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -159275,7 +158731,7 @@ webhooks: type: string enum: - deleted - comment: &892 + comment: &890 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -159432,7 +158888,7 @@ webhooks: pin: anyOf: - type: 'null' - - *686 + - *684 required: - url - html_url @@ -159446,8 +158902,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -160255,8 +159711,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160273,7 +159729,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -160619,8 +160075,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -160700,7 +160156,7 @@ webhooks: type: string enum: - edited - changes: &916 + changes: &914 description: The changes to the comment. type: object properties: @@ -160712,9 +160168,9 @@ webhooks: type: string required: - from - comment: *892 - enterprise: *861 - installation: *862 + comment: *890 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -161525,8 +160981,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161543,7 +160999,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -161887,8 +161343,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -161969,9 +161425,9 @@ webhooks: type: string enum: - pinned - comment: *892 - enterprise: *861 - installation: *862 + comment: *890 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -162784,8 +162240,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162802,7 +162258,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -163148,8 +162604,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -163229,9 +162685,9 @@ webhooks: type: string enum: - unpinned - comment: *892 - enterprise: *861 - installation: *862 + comment: *890 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -164044,8 +163500,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164062,7 +163518,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -164408,8 +163864,8 @@ webhooks: - state - locked - assignee - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -164492,15 +163948,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *218 blocking_issue_repo: *78 - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -164583,15 +164039,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 + blocking_issue: *218 blocking_issue_repo: *78 - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -164673,15 +164129,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *862 - organization: *863 - repository: *864 + blocking_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -164764,15 +164220,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *221 + blocked_issue: *218 blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *221 - installation: *862 - organization: *863 - repository: *864 + blocking_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -164852,10 +164308,10 @@ webhooks: type: string enum: - assigned - assignee: *888 - enterprise: *861 - installation: *862 - issue: &893 + assignee: *886 + enterprise: *859 + installation: *860 + issue: &891 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -165665,12 +165121,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165687,7 +165143,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -165790,8 +165246,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -165871,8 +165327,8 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -166687,12 +166143,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166709,7 +166165,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -166955,8 +166411,8 @@ webhooks: required: - state - closed_at - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -167035,8 +166491,8 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167842,12 +167298,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167864,7 +167320,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -167966,8 +167422,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -168046,8 +167502,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168876,12 +168332,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168898,7 +168354,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -168979,7 +168435,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &894 + milestone: &892 title: Milestone description: A collection of related issues and pull requests. type: object @@ -169122,8 +168578,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -169222,8 +168678,8 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170033,12 +169489,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170052,7 +169508,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *386 title: description: Title of the issue type: string @@ -170158,9 +169614,9 @@ webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *863 - repository: *864 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -170240,9 +169696,9 @@ webhooks: type: string enum: - field_added - enterprise: *861 - installation: *862 - issue: *893 + enterprise: *859 + installation: *860 + issue: *891 issue_field: type: object description: The issue field whose value was set or updated on the @@ -170408,8 +169864,8 @@ webhooks: - id required: - from - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -170489,9 +169945,9 @@ webhooks: type: string enum: - field_removed - enterprise: *861 - installation: *862 - issue: *893 + enterprise: *859 + installation: *860 + issue: *891 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -170578,8 +170034,8 @@ webhooks: - 'null' required: - id - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -170659,8 +170115,8 @@ webhooks: type: string enum: - labeled - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171469,12 +170925,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171488,7 +170944,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *386 title: description: Title of the issue type: string @@ -171594,9 +171050,9 @@ webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *863 - repository: *864 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -171676,8 +171132,8 @@ webhooks: type: string enum: - locked - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172511,12 +171967,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172530,7 +171986,7 @@ webhooks: timeline_url: type: string format: uri - type: *389 + type: *386 title: description: Title of the issue type: string @@ -172613,8 +172069,8 @@ webhooks: format: uri user_view_type: type: string - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -172693,8 +172149,8 @@ webhooks: type: string enum: - milestoned - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173522,12 +172978,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173544,7 +173000,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -173624,9 +173080,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *894 - organization: *863 - repository: *864 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -174513,11 +173969,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174544,7 +174000,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *219 user: title: User type: @@ -174617,7 +174073,7 @@ webhooks: required: - login - id - type: *389 + type: *386 required: - id - number @@ -175109,8 +174565,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175917,11 +175373,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175938,7 +175394,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -175949,7 +175405,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 + - *219 user: title: User type: @@ -176044,8 +175500,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -176125,9 +175581,9 @@ webhooks: type: string enum: - pinned - enterprise: *861 - installation: *862 - issue: &895 + enterprise: *859 + installation: *860 + issue: &893 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -176931,12 +176387,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176953,7 +176409,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -177055,8 +176511,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -177135,8 +176591,8 @@ webhooks: type: string enum: - reopened - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177968,12 +177424,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178070,9 +177526,9 @@ webhooks: format: uri user_view_type: type: string - type: *389 - organization: *863 - repository: *864 + type: *386 + organization: *861 + repository: *862 sender: *4 required: - action @@ -178959,12 +178415,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178981,7 +178437,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -179574,11 +179030,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *861 - installation: *862 - issue: *895 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *893 + organization: *861 + repository: *862 sender: *4 required: - action @@ -179658,12 +179114,12 @@ webhooks: type: string enum: - typed - enterprise: *861 - installation: *862 - issue: *893 - type: *389 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + type: *386 + organization: *861 + repository: *862 sender: *4 required: - action @@ -179744,7 +179200,7 @@ webhooks: type: string enum: - unassigned - assignee: &919 + assignee: &917 title: User type: - object @@ -179816,11 +179272,11 @@ webhooks: required: - login - id - enterprise: *861 - installation: *862 - issue: *893 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + organization: *861 + repository: *862 sender: *4 required: - action @@ -179899,12 +179355,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *861 - installation: *862 - issue: *893 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -179984,8 +179440,8 @@ webhooks: type: string enum: - unlocked - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -180817,12 +180273,12 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *222 - sub_issues_summary: *801 - issue_dependencies_summary: *802 + - *219 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *670 + items: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -180839,7 +180295,7 @@ webhooks: title: description: Title of the issue type: string - type: *389 + type: *386 updated_at: type: string format: date-time @@ -180919,8 +180375,8 @@ webhooks: format: uri user_view_type: type: string - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181000,11 +180456,11 @@ webhooks: type: string enum: - unpinned - enterprise: *861 - installation: *862 - issue: *895 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *893 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181083,12 +180539,12 @@ webhooks: type: string enum: - untyped - enterprise: *861 - installation: *862 - issue: *893 - type: *389 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + issue: *891 + type: *386 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181168,11 +180624,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181250,11 +180706,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181364,11 +180820,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - label: *882 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + label: *880 + organization: *861 + repository: *862 sender: *4 required: - action @@ -181450,9 +180906,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: &896 + enterprise: *859 + installation: *860 + marketplace_purchase: &894 title: Marketplace Purchase type: object required: @@ -181540,8 +180996,8 @@ webhooks: type: integer unit_count: type: integer - organization: *863 - previous_marketplace_purchase: &897 + organization: *861 + previous_marketplace_purchase: &895 title: Marketplace Purchase type: object properties: @@ -181625,7 +181081,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *864 + repository: *862 sender: *4 required: - action @@ -181705,10 +181161,10 @@ webhooks: - changed effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: *896 - organization: *863 + enterprise: *859 + installation: *860 + marketplace_purchase: *894 + organization: *861 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -181796,7 +181252,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *864 + repository: *862 sender: *4 required: - action @@ -181878,10 +181334,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: *896 - organization: *863 + enterprise: *859 + installation: *860 + marketplace_purchase: *894 + organization: *861 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -181967,7 +181423,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *864 + repository: *862 sender: *4 required: - action @@ -182048,8 +181504,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 marketplace_purchase: title: Marketplace Purchase type: object @@ -182135,9 +181591,9 @@ webhooks: type: integer unit_count: type: integer - organization: *863 - previous_marketplace_purchase: *897 - repository: *864 + organization: *861 + previous_marketplace_purchase: *895 + repository: *862 sender: *4 required: - action @@ -182217,12 +181673,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *861 - installation: *862 - marketplace_purchase: *896 - organization: *863 - previous_marketplace_purchase: *897 - repository: *864 + enterprise: *859 + installation: *860 + marketplace_purchase: *894 + organization: *861 + previous_marketplace_purchase: *895 + repository: *862 sender: *4 required: - action @@ -182324,11 +181780,11 @@ webhooks: type: string required: - to - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182430,11 +181886,11 @@ webhooks: type: - string - 'null' - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182513,11 +181969,11 @@ webhooks: type: string enum: - removed - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 sender: *4 required: - action @@ -182595,11 +182051,11 @@ webhooks: type: string enum: - added - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 scope: description: The scope of the membership. Currently, can only be `team`. @@ -182677,7 +182133,7 @@ webhooks: required: - login - id - team: &898 + team: &896 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -182907,11 +182363,11 @@ webhooks: type: string enum: - removed - enterprise: *861 - installation: *862 - member: *888 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + member: *886 + organization: *861 + repository: *862 scope: description: The scope of the membership. Currently, can only be `team`. @@ -182990,7 +182446,7 @@ webhooks: required: - login - id - team: *898 + team: *896 required: - action - scope @@ -183072,8 +182528,8 @@ webhooks: type: string enum: - checks_requested - installation: *862 - merge_group: &899 + installation: *860 + merge_group: &897 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -183092,15 +182548,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *541 + head_commit: *538 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183186,10 +182642,10 @@ webhooks: - merged - invalidated - dequeued - installation: *862 - merge_group: *899 - organization: *863 - repository: *864 + installation: *860 + merge_group: *897 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183262,7 +182718,7 @@ webhooks: type: string enum: - deleted - enterprise: *861 + enterprise: *859 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -183371,12 +182827,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *862 - organization: *863 + installation: *860 + organization: *861 repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -183456,11 +182912,11 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 - milestone: *894 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183539,9 +182995,9 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - milestone: &900 + enterprise: *859 + installation: *860 + milestone: &898 title: Milestone description: A collection of related issues and pull requests. type: object @@ -183683,8 +183139,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183763,11 +183219,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - milestone: *894 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183877,11 +183333,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - milestone: *894 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *892 + organization: *861 + repository: *862 sender: *4 required: - action @@ -183961,11 +183417,11 @@ webhooks: type: string enum: - opened - enterprise: *861 - installation: *862 - milestone: *900 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + milestone: *898 + organization: *861 + repository: *862 sender: *4 required: - action @@ -184044,11 +183500,11 @@ webhooks: type: string enum: - blocked - blocked_user: *888 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + blocked_user: *886 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -184127,11 +183583,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *888 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + blocked_user: *886 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -184207,7 +183663,7 @@ webhooks: enum: - created definition: *148 - enterprise: *861 + enterprise: *859 sender: *4 required: - action @@ -184287,8 +183743,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 sender: *4 required: - action @@ -184361,8 +183817,8 @@ webhooks: enum: - updated definition: *148 - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 sender: *4 required: - action @@ -184434,9 +183890,9 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 new_property_values: type: array @@ -184524,9 +183980,9 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - membership: &901 + enterprise: *859 + installation: *860 + membership: &899 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -184636,8 +184092,8 @@ webhooks: - role - organization_url - user - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 required: - action @@ -184715,11 +184171,11 @@ webhooks: type: string enum: - member_added - enterprise: *861 - installation: *862 - membership: *901 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + membership: *899 + organization: *861 + repository: *862 sender: *4 required: - action @@ -184798,8 +184254,8 @@ webhooks: type: string enum: - member_invited - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -184921,10 +184377,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 - user: *888 + user: *886 required: - action - invitation @@ -185002,11 +184458,11 @@ webhooks: type: string enum: - member_removed - enterprise: *861 - installation: *862 - membership: *901 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + membership: *899 + organization: *861 + repository: *862 sender: *4 required: - action @@ -185093,11 +184549,11 @@ webhooks: properties: from: type: string - enterprise: *861 - installation: *862 - membership: *901 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + membership: *899 + organization: *861 + repository: *862 sender: *4 required: - action @@ -185175,9 +184631,9 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 package: description: Information about the package. type: object @@ -185700,7 +185156,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &902 + items: &900 title: Ruby Gems metadata type: object properties: @@ -185797,7 +185253,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -185874,9 +185330,9 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 package: description: Information about the package. type: object @@ -186238,7 +185694,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *902 + items: *900 source_url: type: string format: uri @@ -186309,7 +185765,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -186489,12 +185945,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *861 + enterprise: *859 id: type: integer - installation: *862 - organization: *863 - repository: *864 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - id @@ -186571,7 +186027,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &903 + personal_access_token_request: &901 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -186721,10 +186177,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *861 - organization: *863 + enterprise: *859 + organization: *861 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -186801,11 +186257,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *903 - enterprise: *861 - organization: *863 + personal_access_token_request: *901 + enterprise: *859 + organization: *861 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -186881,11 +186337,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *903 - enterprise: *861 - organization: *863 + personal_access_token_request: *901 + enterprise: *859 + organization: *861 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -186960,11 +186416,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *903 - organization: *863 - enterprise: *861 + personal_access_token_request: *901 + organization: *861 + enterprise: *859 sender: *4 - installation: *862 + installation: *860 required: - action - personal_access_token_request @@ -187069,7 +186525,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *904 + last_response: *902 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -187101,8 +186557,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 zen: description: Random string of GitHub zen. @@ -187347,10 +186803,10 @@ webhooks: - from required: - note - enterprise: *861 - installation: *862 - organization: *863 - project_card: &905 + enterprise: *859 + installation: *860 + organization: *861 + project_card: &903 title: Project Card type: object properties: @@ -187473,7 +186929,7 @@ webhooks: - creator - created_at - updated_at - repository: *864 + repository: *862 sender: *4 required: - action @@ -187554,11 +187010,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - project_card: *905 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_card: *903 + repository: *862 sender: *4 required: - action @@ -187638,9 +187094,9 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 project_card: title: Project Card type: object @@ -187770,7 +187226,7 @@ webhooks: repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -187864,11 +187320,11 @@ webhooks: - from required: - note - enterprise: *861 - installation: *862 - organization: *863 - project_card: *905 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_card: *903 + repository: *862 sender: *4 required: - action @@ -187962,9 +187418,9 @@ webhooks: - from required: - column_id - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 project_card: allOf: - title: Project Card @@ -188161,7 +187617,7 @@ webhooks: type: string required: - after_id - repository: *864 + repository: *862 sender: *4 required: - action @@ -188241,10 +187697,10 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 - organization: *863 - project: &907 + enterprise: *859 + installation: *860 + organization: *861 + project: &905 title: Project type: object properties: @@ -188371,7 +187827,7 @@ webhooks: - creator - created_at - updated_at - repository: *864 + repository: *862 sender: *4 required: - action @@ -188451,10 +187907,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - project_column: &906 + enterprise: *859 + installation: *860 + organization: *861 + project_column: &904 title: Project Column type: object properties: @@ -188494,7 +187950,7 @@ webhooks: - name - created_at - updated_at - repository: *864 + repository: *862 sender: *4 required: - action @@ -188573,14 +188029,14 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - project_column: *906 + enterprise: *859 + installation: *860 + organization: *861 + project_column: *904 repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -188669,11 +188125,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - project_column: *906 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_column: *904 + repository: *862 sender: *4 required: - action @@ -188753,11 +188209,11 @@ webhooks: type: string enum: - moved - enterprise: *861 - installation: *862 - organization: *863 - project_column: *906 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project_column: *904 + repository: *862 sender: *4 required: - action @@ -188837,11 +188293,11 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - project: *907 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 + repository: *862 sender: *4 required: - action @@ -188921,14 +188377,14 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - project: *907 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 repository: anyOf: - type: 'null' - - *864 + - *862 sender: *4 required: - action @@ -189029,11 +188485,11 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - project: *907 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 + repository: *862 sender: *4 required: - action @@ -189112,11 +188568,11 @@ webhooks: type: string enum: - reopened - enterprise: *861 - installation: *862 - organization: *863 - project: *907 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + project: *905 + repository: *862 sender: *4 required: - action @@ -189197,9 +188653,9 @@ webhooks: type: string enum: - closed - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -189280,9 +188736,9 @@ webhooks: type: string enum: - created - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -189363,9 +188819,9 @@ webhooks: type: string enum: - deleted - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -189486,9 +188942,9 @@ webhooks: type: string to: type: string - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -189571,7 +189027,7 @@ webhooks: type: string enum: - archived - changes: &911 + changes: &909 type: object properties: archived_at: @@ -189587,9 +189043,9 @@ webhooks: - string - 'null' format: date-time - installation: *862 - organization: *863 - projects_v2_item: &908 + installation: *860 + organization: *861 + projects_v2_item: &906 title: Projects v2 Item description: An item belonging to a project type: object @@ -189607,7 +189063,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *426 + content_type: *423 creator: *4 created_at: type: string @@ -189729,9 +189185,9 @@ webhooks: - 'null' to: type: string - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -189813,9 +189269,9 @@ webhooks: type: string enum: - created - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -189896,9 +189352,9 @@ webhooks: type: string enum: - deleted - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -190003,7 +189459,7 @@ webhooks: oneOf: - type: string - type: integer - - &909 + - &907 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -190027,7 +189483,7 @@ webhooks: required: - id - name - - &910 + - &908 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -190067,8 +189523,8 @@ webhooks: oneOf: - type: string - type: integer - - *909 - - *910 + - *907 + - *908 type: - 'null' - string @@ -190091,9 +189547,9 @@ webhooks: - 'null' required: - body - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -190190,9 +189646,9 @@ webhooks: type: - string - 'null' - installation: *862 - organization: *863 - projects_v2_item: *908 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -190275,10 +189731,10 @@ webhooks: type: string enum: - restored - changes: *911 - installation: *862 - organization: *863 - projects_v2_item: *908 + changes: *909 + installation: *860 + organization: *861 + projects_v2_item: *906 sender: *4 required: - action @@ -190360,9 +189816,9 @@ webhooks: type: string enum: - reopened - installation: *862 - organization: *863 - projects_v2: *420 + installation: *860 + organization: *861 + projects_v2: *417 sender: *4 required: - action @@ -190443,9 +189899,9 @@ webhooks: type: string enum: - created - installation: *862 - organization: *863 - projects_v2_status_update: *912 + installation: *860 + organization: *861 + projects_v2_status_update: *910 sender: *4 required: - action @@ -190526,9 +189982,9 @@ webhooks: type: string enum: - deleted - installation: *862 - organization: *863 - projects_v2_status_update: *912 + installation: *860 + organization: *861 + projects_v2_status_update: *910 sender: *4 required: - action @@ -190674,9 +190130,9 @@ webhooks: - string - 'null' format: date - installation: *862 - organization: *863 - projects_v2_status_update: *912 + installation: *860 + organization: *861 + projects_v2_status_update: *910 sender: *4 required: - action @@ -190747,10 +190203,10 @@ webhooks: title: public event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - repository @@ -190827,13 +190283,13 @@ webhooks: type: string enum: - assigned - assignee: *888 - enterprise: *861 - installation: *862 - number: &913 + assignee: *886 + enterprise: *859 + installation: *860 + number: &911 description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -193204,7 +192660,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -193301,11 +192757,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -195669,7 +195125,7 @@ webhooks: - draft reason: type: string - repository: *864 + repository: *862 sender: *4 required: - action @@ -195766,11 +195222,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -198134,7 +197590,7 @@ webhooks: - draft reason: type: string - repository: *864 + repository: *862 sender: *4 required: - action @@ -198231,13 +197687,13 @@ webhooks: type: string enum: - closed - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: &914 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: &912 allOf: - - *709 + - *707 - type: object properties: allow_auto_merge: @@ -198299,7 +197755,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *864 + repository: *862 sender: *4 required: - action @@ -198380,12 +197836,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -198465,11 +197921,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *861 - milestone: *423 - number: *913 - organization: *863 - pull_request: &915 + enterprise: *859 + milestone: *420 + number: *911 + organization: *861 + pull_request: &913 title: Pull Request type: object properties: @@ -200860,7 +200316,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *864 + repository: *862 sender: *4 required: - action @@ -200939,11 +200395,11 @@ webhooks: type: string enum: - dequeued - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -203311,7 +202767,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *864 + repository: *862 sender: *4 required: - action @@ -203443,12 +202899,12 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -203528,11 +202984,11 @@ webhooks: type: string enum: - enqueued - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -205885,7 +205341,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -205973,11 +205429,11 @@ webhooks: type: string enum: - labeled - enterprise: *861 - installation: *862 - label: *882 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + label: *880 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -208347,7 +207803,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -208443,10 +207899,10 @@ webhooks: type: string enum: - locked - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -210814,7 +210270,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -210909,12 +210365,12 @@ webhooks: type: string enum: - milestoned - enterprise: *861 - milestone: *423 - number: *913 - organization: *863 - pull_request: *915 - repository: *864 + enterprise: *859 + milestone: *420 + number: *911 + organization: *861 + pull_request: *913 + repository: *862 sender: *4 required: - action @@ -210993,12 +210449,12 @@ webhooks: type: string enum: - opened - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -211079,12 +210535,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -211164,12 +210620,12 @@ webhooks: type: string enum: - reopened - enterprise: *861 - installation: *862 - number: *913 - organization: *863 - pull_request: *914 - repository: *864 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 + pull_request: *912 + repository: *862 sender: *4 required: - action @@ -211544,9 +211000,9 @@ webhooks: - start_side - side - reactions - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: type: object properties: @@ -213798,7 +213254,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *864 + repository: *862 sender: *4 required: - action @@ -213893,7 +213349,7 @@ webhooks: type: string enum: - deleted - comment: &917 + comment: &915 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. @@ -214186,9 +213642,9 @@ webhooks: - start_side - side - reactions - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: type: object properties: @@ -216428,7 +215884,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *864 + repository: *862 sender: *4 required: - action @@ -216523,11 +215979,11 @@ webhooks: type: string enum: - edited - changes: *916 - comment: *917 - enterprise: *861 - installation: *862 - organization: *863 + changes: *914 + comment: *915 + enterprise: *859 + installation: *860 + organization: *861 pull_request: type: object properties: @@ -218770,7 +218226,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *864 + repository: *862 sender: *4 required: - action @@ -218866,9 +218322,9 @@ webhooks: type: string enum: - dismissed - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -221123,7 +220579,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 + repository: *862 review: description: The review that was affected. type: object @@ -221389,9 +220845,9 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -223505,8 +222961,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 - review: &918 + repository: *862 + review: &916 description: The review that was affected. type: object properties: @@ -223752,12 +223208,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -226126,7 +225582,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_reviewer: title: User type: @@ -226212,12 +225668,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -228593,7 +228049,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_team: title: Team description: Groups of organization members that gives permissions @@ -228811,12 +228267,12 @@ webhooks: type: string enum: - review_requested - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -231187,7 +230643,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_reviewer: title: User type: @@ -231274,12 +230730,12 @@ webhooks: type: string enum: - review_requested - enterprise: *861 - installation: *862 + enterprise: *859 + installation: *860 number: description: The pull request number. type: integer - organization: *863 + organization: *861 pull_request: title: Pull Request type: object @@ -233641,7 +233097,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 requested_team: title: Team description: Groups of organization members that gives permissions @@ -233848,9 +233304,9 @@ webhooks: type: string enum: - submitted - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -236108,8 +235564,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 - review: *918 + repository: *862 + review: *916 sender: *4 required: - action @@ -236204,9 +235660,9 @@ webhooks: type: string enum: - resolved - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -238359,7 +237815,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 + repository: *862 sender: *4 thread: type: object @@ -238764,9 +238220,9 @@ webhooks: type: string enum: - unresolved - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 pull_request: title: Simple Pull Request type: object @@ -240902,7 +240358,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *864 + repository: *862 sender: *4 thread: type: object @@ -241309,10 +240765,10 @@ webhooks: type: string before: type: string - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -243669,7 +243125,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -243766,11 +243222,11 @@ webhooks: type: string enum: - unassigned - assignee: *919 - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + assignee: *917 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -246142,7 +245598,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -246236,11 +245692,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *861 - installation: *862 - label: *882 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + label: *880 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -248601,7 +248057,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -248697,10 +248153,10 @@ webhooks: type: string enum: - unlocked - enterprise: *861 - installation: *862 - number: *913 - organization: *863 + enterprise: *859 + installation: *860 + number: *911 + organization: *861 pull_request: title: Pull Request type: object @@ -251051,7 +250507,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *864 + repository: *862 sender: *4 required: - action @@ -251269,7 +250725,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *861 + enterprise: *859 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -251364,8 +250820,8 @@ webhooks: - url - author - committer - installation: *862 - organization: *863 + installation: *860 + organization: *861 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -251964,9 +251420,9 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 registry_package: type: object properties: @@ -252443,7 +251899,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *902 + items: *900 summary: type: string tag_name: @@ -252499,7 +251955,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -252577,9 +252033,9 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 registry_package: type: object properties: @@ -252891,7 +252347,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *902 + items: *900 summary: type: string tag_name: @@ -252941,7 +252397,7 @@ webhooks: - owner - package_version - registry - repository: *864 + repository: *862 sender: *4 required: - action @@ -253018,10 +252474,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - release: &920 + enterprise: *859 + installation: *860 + organization: *861 + release: &918 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -253352,7 +252808,7 @@ webhooks: - updated_at - zipball_url - body - repository: *864 + repository: *862 sender: *4 required: - action @@ -253429,11 +252885,11 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - release: *920 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *918 + repository: *862 sender: *4 required: - action @@ -253550,11 +253006,11 @@ webhooks: type: boolean required: - to - enterprise: *861 - installation: *862 - organization: *863 - release: *920 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *918 + repository: *862 sender: *4 required: - action @@ -253632,9 +253088,9 @@ webhooks: type: string enum: - prereleased - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -253970,7 +253426,7 @@ webhooks: - string - 'null' format: uri - repository: *864 + repository: *862 sender: *4 required: - action @@ -254046,10 +253502,10 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 - release: &921 + enterprise: *859 + installation: *860 + organization: *861 + release: &919 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -254382,7 +253838,7 @@ webhooks: - string - 'null' format: uri - repository: *864 + repository: *862 sender: *4 required: - action @@ -254458,11 +253914,11 @@ webhooks: type: string enum: - released - enterprise: *861 - installation: *862 - organization: *863 - release: *920 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *918 + repository: *862 sender: *4 required: - action @@ -254538,11 +253994,11 @@ webhooks: type: string enum: - unpublished - enterprise: *861 - installation: *862 - organization: *863 - release: *921 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + release: *919 + repository: *862 sender: *4 required: - action @@ -254618,11 +254074,11 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - repository_advisory: *762 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + repository_advisory: *760 sender: *4 required: - action @@ -254698,11 +254154,11 @@ webhooks: type: string enum: - reported - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - repository_advisory: *762 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + repository_advisory: *760 sender: *4 required: - action @@ -254778,10 +254234,10 @@ webhooks: type: string enum: - archived - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254858,10 +254314,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -254939,10 +254395,10 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255027,10 +254483,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255145,10 +254601,10 @@ webhooks: - 'null' items: type: string - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255220,10 +254676,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 status: type: string @@ -255304,10 +254760,10 @@ webhooks: type: string enum: - privatized - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255384,10 +254840,10 @@ webhooks: type: string enum: - publicized - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255481,10 +254937,10 @@ webhooks: - name required: - repository - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -255564,10 +255020,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 repository_ruleset: *187 sender: *4 required: @@ -255646,10 +255102,10 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 repository_ruleset: *187 sender: *4 required: @@ -255728,10 +255184,10 @@ webhooks: type: string enum: - edited - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 repository_ruleset: *187 changes: type: object @@ -255793,16 +255249,16 @@ webhooks: properties: added: type: array - items: *729 + items: *727 deleted: type: array - items: *729 + items: *727 updated: type: array items: type: object properties: - rule: *729 + rule: *727 changes: type: object properties: @@ -256039,10 +255495,10 @@ webhooks: - from required: - owner - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256120,10 +255576,10 @@ webhooks: type: string enum: - unarchived - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256201,7 +255657,7 @@ webhooks: type: string enum: - create - alert: &922 + alert: &920 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -256326,10 +255782,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256539,10 +255995,10 @@ webhooks: type: string enum: - dismissed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256620,11 +256076,11 @@ webhooks: type: string enum: - reopen - alert: *922 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *920 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256826,10 +256282,10 @@ webhooks: enum: - fixed - open - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -256907,7 +256363,7 @@ webhooks: type: string enum: - assigned - alert: &923 + alert: &921 type: object properties: number: *127 @@ -257047,10 +256503,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -257128,11 +256584,11 @@ webhooks: type: string enum: - created - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -257213,11 +256669,11 @@ webhooks: type: string enum: - created - alert: *923 - installation: *862 - location: *924 - organization: *863 - repository: *864 + alert: *921 + installation: *860 + location: *922 + organization: *861 + repository: *862 sender: *4 required: - location @@ -257455,11 +256911,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -257537,11 +256993,11 @@ webhooks: type: string enum: - reopened - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -257619,11 +257075,11 @@ webhooks: type: string enum: - resolved - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -257701,12 +257157,12 @@ webhooks: type: string enum: - unassigned - alert: *923 + alert: *921 assignee: *4 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -257784,11 +257240,11 @@ webhooks: type: string enum: - validated - alert: *923 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + alert: *921 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -257918,10 +257374,10 @@ webhooks: - organization - enterprise - - repository: *864 - enterprise: *861 - installation: *862 - organization: *863 + repository: *862 + enterprise: *859 + installation: *860 + organization: *861 sender: *4 required: - action @@ -257999,11 +257455,11 @@ webhooks: type: string enum: - published - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - security_advisory: &925 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + security_advisory: &923 description: The details of the security advisory, including summary, description, and severity. type: object @@ -258207,11 +257663,11 @@ webhooks: type: string enum: - updated - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 - security_advisory: *925 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 + security_advisory: *923 sender: *4 required: - action @@ -258284,10 +257740,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -258481,11 +257937,11 @@ webhooks: from: type: object properties: - security_and_analysis: *434 - enterprise: *861 - installation: *862 - organization: *863 - repository: *480 + security_and_analysis: *431 + enterprise: *859 + installation: *860 + organization: *861 + repository: *477 sender: *4 required: - changes @@ -258563,12 +258019,12 @@ webhooks: type: string enum: - cancelled - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: &926 + sponsorship: &924 type: object properties: created_at: @@ -258873,12 +258329,12 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - sponsorship @@ -258966,12 +258422,12 @@ webhooks: type: string required: - from - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -259048,17 +258504,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &927 + effective_date: &925 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: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - sponsorship @@ -259132,7 +258588,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &928 + changes: &926 type: object properties: tier: @@ -259176,13 +258632,13 @@ webhooks: - from required: - tier - effective_date: *927 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + effective_date: *925 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -259259,13 +258715,13 @@ webhooks: type: string enum: - tier_changed - changes: *928 - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + changes: *926 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -259339,10 +258795,10 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -259426,10 +258882,10 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -259863,15 +259319,15 @@ webhooks: type: - string - 'null' - enterprise: *861 + enterprise: *859 id: description: The unique identifier of the status. type: integer - installation: *862 + installation: *860 name: type: string - organization: *863 - repository: *864 + organization: *861 + repository: *862 sender: *4 sha: description: The Commit SHA. @@ -259981,15 +259437,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *218 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *862 - organization: *863 - repository: *864 + sub_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -260072,15 +259528,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 + parent_issue: *218 parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 - installation: *862 - organization: *863 - repository: *864 + sub_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -260163,15 +259619,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *218 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *862 - organization: *863 - repository: *864 + parent_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -260254,15 +259710,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *221 + sub_issue: *218 sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *221 - installation: *862 - organization: *863 - repository: *864 + parent_issue: *218 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -260338,12 +259794,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - team: &929 + team: &927 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -260573,9 +260029,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -261045,7 +260501,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -261121,9 +260577,9 @@ webhooks: type: string enum: - created - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -261593,7 +261049,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -261670,9 +261126,9 @@ webhooks: type: string enum: - deleted - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -262142,7 +261598,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -262286,9 +261742,9 @@ webhooks: - from required: - permissions - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -262758,7 +262214,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - changes @@ -262836,9 +262292,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *861 - installation: *862 - organization: *863 + enterprise: *859 + installation: *860 + organization: *861 repository: title: Repository description: A git repository @@ -263308,7 +262764,7 @@ webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -263384,10 +262840,10 @@ webhooks: type: string enum: - started - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 required: - action @@ -263460,17 +262916,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *861 + enterprise: *859 inputs: type: - object - 'null' additionalProperties: true - installation: *862 - organization: *863 + installation: *860 + organization: *861 ref: type: string - repository: *864 + repository: *862 sender: *4 workflow: type: string @@ -263552,10 +263008,10 @@ webhooks: type: string enum: - completed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: allOf: @@ -263811,7 +263267,7 @@ webhooks: type: string required: - conclusion - deployment: *616 + deployment: *613 required: - action - repository @@ -263890,10 +263346,10 @@ webhooks: type: string enum: - in_progress - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: allOf: @@ -264175,7 +263631,7 @@ webhooks: required: - status - steps - deployment: *616 + deployment: *613 required: - action - repository @@ -264254,10 +263710,10 @@ webhooks: type: string enum: - queued - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: type: object @@ -264403,7 +263859,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *616 + deployment: *613 required: - action - repository @@ -264482,10 +263938,10 @@ webhooks: type: string enum: - waiting - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 workflow_job: type: object @@ -264632,7 +264088,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *616 + deployment: *613 required: - action - repository @@ -264712,12 +264168,12 @@ webhooks: type: string enum: - completed - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object @@ -265736,12 +265192,12 @@ webhooks: type: string enum: - in_progress - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object @@ -266745,12 +266201,12 @@ webhooks: type: string enum: - requested - enterprise: *861 - installation: *862 - organization: *863 - repository: *864 + enterprise: *859 + installation: *860 + organization: *861 + repository: *862 sender: *4 - workflow: *878 + workflow: *876 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 42d6844f9c..ffeb493d52 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -13197,93 +13197,6 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an enterprise", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly enterprise owners and billing managers can view Copilot 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/copilot-metrics-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise" - }, - "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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics-day" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/usage_metrics_api_disabled" - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" - } - } - }, "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { "get": { "summary": "Get Copilot enterprise usage metrics for a specific day", @@ -18695,96 +18608,6 @@ } } }, - "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 100 days prior. 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** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot 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/copilot-metrics-for-enterprise-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/enterprise-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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics-day" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/usage_metrics_api_disabled" - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -30511,7 +30334,7 @@ "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", - "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "description": "List artifact storage records with a given subject digest for repositories owned by an organization.\n\nResults are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission.", "tags": [ "orgs" ], @@ -36945,51 +36768,132 @@ } } }, - "/orgs/{org}/copilot/metrics": { + "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { - "summary": "Get Copilot metrics for an organization", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization.\nOnly organization owners and owners and billing managers of the parent enterprise can view Copilot 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": "Get Copilot organization usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", "tags": [ "copilot" ], - "operationId": "copilot/copilot-metrics-for-organization", + "operationId": "copilot/copilot-organization-one-day-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day" }, "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 100 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } } }, + "204": { + "$ref": "#/components/responses/no_content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { + "get": { + "summary": "Get Copilot organization usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + }, + "parameters": [ { - "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/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } } }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": { + "get": { + "summary": "Get Copilot organization user-teams report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization user-teams report for a specific day. The report provides user-team join data for Copilot across the organization, with one entry per user-team pair.\n\nThe report contains user-team membership data for the specified day, enabling consumers to join with the existing organization user reports to compute team-level usage metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-user-teams-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-user-teams-report-for-a-specific-day" + }, + "parameters": [ { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/org" }, { - "name": "per_page", - "description": "The number of days of metrics to display 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": 100 - } + "$ref": "#/components/parameters/day" } ], "responses": { @@ -36998,19 +36902,19 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics-day" - } + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" }, "examples": { "default": { - "$ref": "#/components/examples/copilot-usage-metrics-for-day" + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" } } } } }, + "204": { + "$ref": "#/components/responses/no_content" + }, "500": { "$ref": "#/components/responses/internal_error" }, @@ -37019,195 +36923,27 @@ }, "404": { "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/usage_metrics_api_disabled" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-metrics" + "subcategory": "copilot-usage-metrics" } } }, - "/orgs/{org}/copilot/metrics/reports/organization-1-day": { + "/orgs/{org}/copilot/metrics/reports/users-1-day": { "get": { - "summary": "Get Copilot organization usage metrics for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "summary": "Get Copilot organization users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", "tags": [ "copilot" ], - "operationId": "copilot/copilot-organization-one-day-usage-metrics", + "operationId": "copilot/copilot-organization-users-one-day-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/day" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" - } - } - } - } - }, - "204": { - "$ref": "#/components/responses/no_content" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage-metrics" - } - } - }, - "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { - "get": { - "summary": "Get Copilot organization usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", - "tags": [ - "copilot" - ], - "operationId": "copilot/copilot-organization-usage-metrics", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage-metrics" - } - } - }, - "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": { - "get": { - "summary": "Get Copilot organization user-teams report for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot organization user-teams report for a specific day. The report provides user-team join data for Copilot across the organization, with one entry per user-team pair.\n\nThe report contains user-team membership data for the specified day, enabling consumers to join with the existing organization user reports to compute team-level usage metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", - "tags": [ - "copilot" - ], - "operationId": "copilot/copilot-organization-user-teams-one-day-report", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-user-teams-report-for-a-specific-day" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/day" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" - } - } - } - } - }, - "204": { - "$ref": "#/components/responses/no_content" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage-metrics" - } - } - }, - "/orgs/{org}/copilot/metrics/reports/users-1-day": { - "get": { - "summary": "Get Copilot organization users usage metrics for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", - "tags": [ - "copilot" - ], - "operationId": "copilot/copilot-organization-users-one-day-usage-metrics", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day" }, "parameters": [ { @@ -49962,96 +49698,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/metrics": { - "get": { - "summary": "Get Copilot metrics for a team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\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** on that day, as evaluated at the end of that day.\n\nThe response contains metrics for up to 100 days prior. 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\nTo access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings.\nOnly organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 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": 100 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics-day" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/usage_metrics_api_disabled" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -51400,7 +51046,7 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/enterprise-cloud@latest/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/enterprise-cloud@latest/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/enterprise-cloud@latest/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/enterprise-cloud@latest/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], @@ -68060,7 +67706,7 @@ }, "assignees": { "type": "array", - "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.\nTo assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`).", "items": { "type": "string" } @@ -74929,6 +74575,181 @@ } } }, + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { + "get": { + "summary": "Get pull request creation cap bypass list for a repository", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-bypass-list-items" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "put": { + "summary": "Add users to the pull request creation cap bypass list for a repository", + "description": "Adds users to the pull request creation cap bypass list for a repository.\nUsers on this list can create pull requests regardless of any configured\npull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.", + "tags": [ + "interactions" + ], + "operationId": "interactions/set-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat", + "monalisa" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Remove users from the pull request creation cap bypass list for a repository", + "description": "Removes users from the pull request creation cap bypass list for a repository.\nRemoved users will be subject to any configured pull request creation cap.\n\nOnly repository admins can modify the bypass list.\nYou can remove a maximum of 100 users per request.", + "tags": [ + "interactions" + ], + "operationId": "interactions/remove-pull-request-bypass-list-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + }, + "examples": { + "default": { + "summary": "Example request body", + "value": { + "users": [ + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/invitations": { "get": { "summary": "List repository invitations", @@ -139360,334 +139181,6 @@ } } }, - "copilot-ide-code-completions": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." - } - } - } - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot code completion metrics for active editors.", - "additionalProperties": true, - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." - }, - "languages": { - "type": "array", - "description": "Code completion metrics for active languages, for the given editor.", - "items": { - "type": "object", - "description": "Usage metrics for a given language for the given editor for Copilot code completions.", - "properties": { - "name": { - "type": "string", - "description": "Name of the language used for Copilot code completion suggestions, for the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_suggestions": { - "type": "integer", - "description": "The number of Copilot code suggestions generated for the given editor, for the given language." - }, - "total_code_acceptances": { - "type": "integer", - "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." - }, - "total_code_lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." - }, - "total_code_lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." - } - } - } - } - } - } - } - } - } - } - } - }, - "copilot-ide-chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in the IDE.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat in the IDE." - }, - "editors": { - "type": "array", - "items": { - "type": "object", - "description": "Copilot Chat metrics, for active editors.", - "properties": { - "name": { - "type": "string", - "description": "Name of the given editor." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the specified editor." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who prompted Copilot Chat in the given editor and model." - }, - "total_chats": { - "type": "integer", - "description": "The total number of chats initiated by users in the given editor and model." - }, - "total_chat_insertion_events": { - "type": "integer", - "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." - }, - "total_chat_copy_events": { - "type": "integer", - "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." - } - } - } - } - } - } - } - } - }, - "copilot-dotcom-chat": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot Chat in GitHub.com", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once." - }, - "models": { - "type": "array", - "description": "List of model metrics for a custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model (if applicable)." - }, - "total_engaged_users": { - "type": "integer", - "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." - }, - "total_chats": { - "type": "integer", - "description": "Total number of chats initiated by users on github.com." - } - } - } - } - } - }, - "copilot-dotcom-pull-requests": { - "type": [ - "object", - "null" - ], - "description": "Usage metrics for Copilot for pull requests.", - "additionalProperties": true, - "properties": { - "total_engaged_users": { - "type": "integer", - "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." - }, - "repositories": { - "type": "array", - "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Repository name" - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." - }, - "models": { - "type": "array", - "description": "List of model metrics for custom models and the default model.", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." - }, - "is_custom_model": { - "type": "boolean", - "description": "Indicates whether a model is custom or default." - }, - "custom_model_training_date": { - "type": [ - "string", - "null" - ], - "description": "The training date for the custom model." - }, - "total_pr_summaries_created": { - "type": "integer", - "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." - }, - "total_engaged_users": { - "type": "integer", - "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." - } - } - } - } - } - } - } - } - }, - "copilot-usage-metrics-day": { - "title": "Copilot Usage Metrics", - "description": "Copilot usage metrics for a given day.", - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "total_engaged_users": { - "type": "integer", - "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." - }, - "copilot_ide_code_completions": { - "$ref": "#/components/schemas/copilot-ide-code-completions" - }, - "copilot_ide_chat": { - "$ref": "#/components/schemas/copilot-ide-chat" - }, - "copilot_dotcom_chat": { - "$ref": "#/components/schemas/copilot-dotcom-chat" - }, - "copilot_dotcom_pull_requests": { - "$ref": "#/components/schemas/copilot-dotcom-pull-requests" - } - }, - "required": [ - "date" - ], - "additionalProperties": true - }, "copilot-usage-metrics-1-day-report": { "type": "object", "title": "Copilot Metrics 1 Day Report", @@ -159019,9 +158512,6 @@ "integration_manifest": { "$ref": "#/components/schemas/rate-limit" }, - "code_scanning_upload": { - "$ref": "#/components/schemas/rate-limit" - }, "actions_runner_registration": { "$ref": "#/components/schemas/rate-limit" }, @@ -159036,6 +158526,9 @@ }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" + }, + "copilot_usage_records": { + "$ref": "#/components/schemas/rate-limit" } }, "required": [ @@ -168455,6 +167948,27 @@ "size" ] }, + "interaction-limit-pull-request-bypass-list": { + "title": "Interaction Limits Pull Request Bypass List", + "description": "A list of user logins to add or remove from the pull request creation cap bypass list.", + "type": "object", + "properties": { + "users": { + "description": "A list of user logins to add or remove from the bypass list.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, "issue-event-label": { "title": "Issue Event Label", "description": "Issue Event Label", @@ -333374,161 +332888,6 @@ ] } }, - "copilot-usage-metrics-for-day": { - "value": [ - { - "date": "2024-06-24", - "total_active_users": 24, - "total_engaged_users": 20, - "copilot_ide_code_completions": { - "total_engaged_users": 20, - "languages": [ - { - "name": "python", - "total_engaged_users": 10 - }, - { - "name": "ruby", - "total_engaged_users": 10 - } - ], - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 13, - "languages": [ - { - "name": "python", - "total_engaged_users": 6, - "total_code_suggestions": 249, - "total_code_acceptances": 123, - "total_code_lines_suggested": 225, - "total_code_lines_accepted": 135 - }, - { - "name": "ruby", - "total_engaged_users": 7, - "total_code_suggestions": 496, - "total_code_acceptances": 253, - "total_code_lines_suggested": 520, - "total_code_lines_accepted": 270 - } - ] - } - ] - }, - { - "name": "neovim", - "total_engaged_users": 7, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "languages": [ - { - "name": "typescript", - "total_engaged_users": 3, - "total_code_suggestions": 112, - "total_code_acceptances": 56, - "total_code_lines_suggested": 143, - "total_code_lines_accepted": 61 - }, - { - "name": "go", - "total_engaged_users": 4, - "total_code_suggestions": 132, - "total_code_acceptances": 67, - "total_code_lines_suggested": 154, - "total_code_lines_accepted": 72 - } - ] - } - ] - } - ] - }, - "copilot_ide_chat": { - "total_engaged_users": 13, - "editors": [ - { - "name": "vscode", - "total_engaged_users": 13, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 12, - "total_chats": 45, - "total_chat_insertion_events": 12, - "total_chat_copy_events": 16 - }, - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_engaged_users": 1, - "total_chats": 10, - "total_chat_insertion_events": 11, - "total_chat_copy_events": 3 - } - ] - } - ] - }, - "copilot_dotcom_chat": { - "total_engaged_users": 14, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_engaged_users": 14, - "total_chats": 38 - } - ] - }, - "copilot_dotcom_pull_requests": { - "total_engaged_users": 12, - "repositories": [ - { - "name": "demo/repo1", - "total_engaged_users": 8, - "models": [ - { - "name": "default", - "is_custom_model": false, - "custom_model_training_date": null, - "total_pr_summaries_created": 6, - "total_engaged_users": 8 - } - ] - }, - { - "name": "demo/repo2", - "total_engaged_users": 4, - "models": [ - { - "name": "a-custom-model", - "is_custom_model": true, - "custom_model_training_date": "2024-02-01", - "total_pr_summaries_created": 10, - "total_engaged_users": 4 - } - ] - } - ] - } - } - ] - }, "copilot-usage-metrics-1-day-report": { "value": { "download_links": [ @@ -343911,12 +343270,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -352807,6 +352160,30 @@ "expires_at": "2018-08-17T04:18:39Z" } }, + "pull-request-bypass-list-items": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + }, "repository-invitation-items": { "value": [ { @@ -367335,16 +366712,6 @@ } } }, - "usage_metrics_api_disabled": { - "description": "Copilot Usage Metrics API setting is disabled at the organization or enterprise level.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } - }, "billing_ai_credit_usage_report_ghe": { "description": "Response when getting a billing AI credit usage report", "content": { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index efee69dfa4..4d856a2754 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -9715,77 +9715,6 @@ paths: application/json: schema: "$ref": "#/components/schemas/basic-error" - "/enterprises/{enterprise}/copilot/metrics": - get: - summary: Get Copilot metrics for an enterprise - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled or set to "no policy" for the enterprise within GitHub settings. - Only enterprise owners and billing managers can view Copilot 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/copilot-metrics-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics-day" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - '500': - "$ref": "#/components/responses/internal_error" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/usage_metrics_api_disabled" - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": get: summary: Get Copilot enterprise usage metrics for a specific day @@ -13653,84 +13582,6 @@ paths: enabledForGitHubApps: false category: billing subcategory: usage - "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for an enterprise team - description: |- - > [!NOTE] - > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." - - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 100 days prior. 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** on that day, as evaluated at the end of that day. - - To access this endpoint, the Copilot Metrics API access policy must be enabled or set to "no policy" for the enterprise within GitHub settings. - Only owners and billing managers for the enterprise that contains the enterprise team can view Copilot 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/copilot-metrics-for-enterprise-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/enterprise-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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics-day" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - '500': - "$ref": "#/components/responses/internal_error" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/usage_metrics_api_disabled" - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -22329,9 +22180,9 @@ paths: get: summary: List artifact storage records description: |- - List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + List artifact storage records with a given subject digest for repositories owned by an organization. - The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + Results are filtered by the authenticated user's permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the `artifact-metadata:read` permission. tags: - orgs operationId: orgs/list-artifact-storage-records @@ -27180,80 +27031,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-content-exclusion-management - "/orgs/{org}/copilot/metrics": - get: - summary: Get Copilot metrics for an organization - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. - Only organization owners and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-organization - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization - 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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics-day" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - '500': - "$ref": "#/components/responses/internal_error" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/usage_metrics_api_disabled" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/copilot/metrics/reports/organization-1-day": get: summary: Get Copilot organization usage metrics for a specific day @@ -36542,81 +36319,6 @@ paths: enabledForGitHubApps: true category: teams subcategory: team-sync - "/orgs/{org}/team/{team_slug}/copilot/metrics": - get: - summary: Get Copilot metrics for a team - description: |- - Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. - - The response contains metrics for up to 100 days prior. 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. - - To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. - Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot 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/copilot-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-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 100 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 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: 100 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics-day" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-for-day" - '500': - "$ref": "#/components/responses/internal_error" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/usage_metrics_api_disabled" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -37633,7 +37335,6 @@ paths: * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)." * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph)." * The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph)." - * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners)." * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions)." @@ -49898,6 +49599,7 @@ paths: Usernames to assign to this Dependabot Alert. Pass one or more user logins to _replace_ the set of assignees on this alert. Send an empty array (`[]`) to clear all assignees from the alert. + To assign an AI agent, include the bot login (for example, `copilot-swe-agent[bot]`). items: type: string anyOf: @@ -54928,6 +54630,134 @@ paths: enabledForGitHubApps: true category: interactions subcategory: repos + "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": + get: + summary: Get pull request creation cap bypass list for a repository + description: |- + Lists the users that are on the pull request creation cap bypass list for a + repository. Users on this list can create pull requests regardless of any + configured pull request creation cap. + + Only repository admins can view the bypass list. + tags: + - interactions + operationId: interactions/get-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/pull-request-bypass-list-items" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + put: + summary: Add users to the pull request creation cap bypass list for a repository + description: |- + Adds users to the pull request creation cap bypass list for a repository. + Users on this list can create pull requests regardless of any configured + pull request creation cap. + + Only repository admins can modify the bypass list. + You can add a maximum of 100 users per request. + The bypass list can only hold a maximum of 100 users. + tags: + - interactions + operationId: interactions/set-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos + delete: + summary: Remove users from the pull request creation cap bypass list for a repository + description: |- + Removes users from the pull request creation cap bypass list for a repository. + Removed users will be subject to any configured pull request creation cap. + + Only repository admins can modify the bypass list. + You can remove a maximum of 100 users per request. + tags: + - interactions + operationId: interactions/remove-pull-request-bypass-list-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/interaction-limit-pull-request-bypass-list" + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -101293,295 +101123,6 @@ components: items: type: string description: The path to the file that will be excluded. - copilot-ide-code-completions: - type: - - object - - 'null' - description: Usage metrics for Copilot editor code completions in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code suggestion, - across all active editors. Includes both full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages. - items: - type: object - description: Usage metrics for a given language for the given editor for - Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot code completion - suggestions. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code - completion suggestion for the given language. Includes both full - and partial acceptances. - editors: - type: array - items: - type: object - description: Copilot code completion metrics for active editors. - additionalProperties: true - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot code - completion suggestion for the given editor. Includes both full and - partial acceptances. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot code completion - suggestions. If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_engaged_users: - type: integer - description: Number of users who accepted at least one Copilot - code completion suggestion for the given editor, for the given - language and model. Includes both full and partial acceptances. - languages: - type: array - description: Code completion metrics for active languages, for - the given editor. - items: - type: object - description: Usage metrics for a given language for the given - editor for Copilot code completions. - properties: - name: - type: string - description: Name of the language used for Copilot code - completion suggestions, for the given editor. - total_engaged_users: - type: integer - description: Number of users who accepted at least one - Copilot code completion suggestion for the given editor, - for the given language. Includes both full and partial - acceptances. - total_code_suggestions: - type: integer - description: The number of Copilot code suggestions generated - for the given editor, for the given language. - total_code_acceptances: - type: integer - description: The number of Copilot code suggestions accepted - for the given editor, for the given language. Includes - both full and partial acceptances. - total_code_lines_suggested: - type: integer - description: The number of lines of code suggested by - Copilot code completions for the given editor, for the - given language. - total_code_lines_accepted: - type: integer - description: The number of lines of code accepted from - Copilot code suggestions for the given editor, for the - given language. - copilot-ide-chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in the IDE. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat in the IDE. - editors: - type: array - items: - type: object - description: Copilot Chat metrics, for active editors. - properties: - name: - type: string - description: Name of the given editor. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot Chat in the - specified editor. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. If the - default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_engaged_users: - type: integer - description: The number of users who prompted Copilot Chat in - the given editor and model. - total_chats: - type: integer - description: The total number of chats initiated by users in - the given editor and model. - total_chat_insertion_events: - type: integer - description: The number of times users accepted a code suggestion - from Copilot Chat using the 'Insert Code' UI element, for - the given editor. - total_chat_copy_events: - type: integer - description: The number of times users copied a code suggestion - from Copilot Chat using the keyboard, or the 'Copy' UI element, - for the given editor. - copilot-dotcom-chat: - type: - - object - - 'null' - description: Usage metrics for Copilot Chat in GitHub.com - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat on github.com - at least once. - models: - type: array - description: List of model metrics for a custom models and the default model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot Chat. If the default - model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model (if applicable). - total_engaged_users: - type: integer - description: Total number of users who prompted Copilot Chat on github.com - at least once for each model. - total_chats: - type: integer - description: Total number of chats initiated by users on github.com. - copilot-dotcom-pull-requests: - type: - - object - - 'null' - description: Usage metrics for Copilot for pull requests. - additionalProperties: true - properties: - total_engaged_users: - type: integer - description: The number of users who used Copilot for Pull Requests on github.com - to generate a pull request summary at least once. - repositories: - type: array - description: Repositories in which users used Copilot for Pull Requests - to generate pull request summaries - items: - type: object - properties: - name: - type: string - description: Repository name - total_engaged_users: - type: integer - description: The number of users who generated pull request summaries - using Copilot for Pull Requests in the given repository. - models: - type: array - description: List of model metrics for custom models and the default - model. - items: - type: object - properties: - name: - type: string - description: Name of the model used for Copilot pull request - summaries. If the default model is used will appear as 'default'. - is_custom_model: - type: boolean - description: Indicates whether a model is custom or default. - custom_model_training_date: - type: - - string - - 'null' - description: The training date for the custom model. - total_pr_summaries_created: - type: integer - description: The number of pull request summaries generated - using Copilot for Pull Requests in the given repository. - total_engaged_users: - type: integer - description: The number of users who generated pull request - summaries using Copilot for Pull Requests in the given repository - and model. - copilot-usage-metrics-day: - title: Copilot Usage Metrics - description: Copilot usage metrics for a given day. - type: object - properties: - date: - type: string - format: date - description: The date for which the usage metrics are aggregated, in `YYYY-MM-DD` - format. - total_active_users: - type: integer - description: The total number of Copilot users with activity belonging to - any Copilot feature, globally, for the given day. Includes passive activity - such as receiving a code suggestion, as well as engagement activity such - as accepting a code suggestion or prompting chat. Does not include authentication - events. Is not limited to the individual features detailed on the endpoint. - total_engaged_users: - type: integer - description: The total number of Copilot users who engaged with any Copilot - feature, for the given day. Examples include but are not limited to accepting - a code suggestion, prompting Copilot chat, or triggering a PR Summary. - Does not include authentication events. Is not limited to the individual - features detailed on the endpoint. - copilot_ide_code_completions: - "$ref": "#/components/schemas/copilot-ide-code-completions" - copilot_ide_chat: - "$ref": "#/components/schemas/copilot-ide-chat" - copilot_dotcom_chat: - "$ref": "#/components/schemas/copilot-dotcom-chat" - copilot_dotcom_pull_requests: - "$ref": "#/components/schemas/copilot-dotcom-pull-requests" - required: - - date - additionalProperties: true copilot-usage-metrics-1-day-report: type: object title: Copilot Metrics 1 Day Report @@ -115840,8 +115381,6 @@ components: "$ref": "#/components/schemas/rate-limit" integration_manifest: "$ref": "#/components/schemas/rate-limit" - code_scanning_upload: - "$ref": "#/components/schemas/rate-limit" actions_runner_registration: "$ref": "#/components/schemas/rate-limit" scim: @@ -115852,6 +115391,8 @@ components: "$ref": "#/components/schemas/rate-limit" code_scanning_autofix: "$ref": "#/components/schemas/rate-limit" + copilot_usage_records: + "$ref": "#/components/schemas/rate-limit" required: - core - search @@ -122734,6 +122275,22 @@ components: - path - ref_name - size + interaction-limit-pull-request-bypass-list: + title: Interaction Limits Pull Request Bypass List + description: A list of user logins to add or remove from the pull request creation + cap bypass list. + type: object + properties: + users: + description: A list of user logins to add or remove from the bypass list. + type: array + items: + type: string + examples: + - octocat + - monalisa + required: + - users issue-event-label: title: Issue Event Label description: Issue Event Label @@ -245477,105 +245034,6 @@ components: - "/__tests__/**" octo-org/octo-repo: - "/src/some-dir/kernel.rs" - copilot-usage-metrics-for-day: - value: - - date: '2024-06-24' - total_active_users: 24 - total_engaged_users: 20 - copilot_ide_code_completions: - total_engaged_users: 20 - languages: - - name: python - total_engaged_users: 10 - - name: ruby - total_engaged_users: 10 - editors: - - name: vscode - total_engaged_users: 13 - models: - - name: default - is_custom_model: false - custom_model_training_date: - total_engaged_users: 13 - languages: - - name: python - total_engaged_users: 6 - total_code_suggestions: 249 - total_code_acceptances: 123 - total_code_lines_suggested: 225 - total_code_lines_accepted: 135 - - name: ruby - total_engaged_users: 7 - total_code_suggestions: 496 - total_code_acceptances: 253 - total_code_lines_suggested: 520 - total_code_lines_accepted: 270 - - name: neovim - total_engaged_users: 7 - models: - - name: a-custom-model - is_custom_model: true - custom_model_training_date: '2024-02-01' - languages: - - name: typescript - total_engaged_users: 3 - total_code_suggestions: 112 - total_code_acceptances: 56 - total_code_lines_suggested: 143 - total_code_lines_accepted: 61 - - name: go - total_engaged_users: 4 - total_code_suggestions: 132 - total_code_acceptances: 67 - total_code_lines_suggested: 154 - total_code_lines_accepted: 72 - copilot_ide_chat: - total_engaged_users: 13 - editors: - - name: v{"code":"deadline_exceeded","msg":"operation timed out"}