diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index b5e7108484..d5541cefa4 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -19672,7 +19672,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" ], @@ -25875,93 +25875,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", @@ -37393,96 +37306,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", @@ -38526,7 +38349,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" ], @@ -54834,7 +54657,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" } @@ -60773,6 +60596,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", @@ -125865,318 +125863,6 @@ } } }, - "copilot-ide-code-completions": { - "type": "object", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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.", @@ -135173,9 +134859,6 @@ "integration_manifest": { "$ref": "#/components/schemas/rate-limit" }, - "code_scanning_upload": { - "$ref": "#/components/schemas/rate-limit" - }, "actions_runner_registration": { "$ref": "#/components/schemas/rate-limit" }, @@ -135190,6 +134873,9 @@ }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" + }, + "copilot_usage_records": { + "$ref": "#/components/schemas/rate-limit" } }, "required": [ @@ -143622,6 +143308,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" + }, + "example": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, "nullable-issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -304685,161 +304392,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, @@ -309860,12 +309412,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -318564,6 +318110,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": [ { @@ -332587,16 +332157,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index ee51164b0b..f6ea513ae8 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -14568,9 +14568,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 @@ -19276,80 +19276,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 @@ -27544,81 +27470,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 @@ -28418,7 +28269,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)." @@ -40447,6 +40297,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: @@ -44845,6 +44696,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 @@ -92383,287 +92362,6 @@ components: items: type: string description: The path to the file that will be excluded. - copilot-ide-code-completions: - type: object - description: Usage metrics for Copilot editor code completions in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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. @@ -99742,8 +99440,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: @@ -99754,6 +99450,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 @@ -106310,6 +106008,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 + example: + - octocat + - monalisa + required: + - users nullable-issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -228761,105 +228475,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 @@ -233120,11 +232735,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 @@ -240460,6 +240070,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 @@ -252684,13 +252314,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/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index 1dffd816ba..ac92d6ab1f 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -19671,7 +19671,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" ], @@ -25835,93 +25835,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", @@ -37355,96 +37268,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", @@ -38479,7 +38302,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" ], @@ -54761,7 +54584,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" } @@ -60700,6 +60523,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", @@ -125369,318 +125367,6 @@ } } }, - "copilot-ide-code-completions": { - "type": "object", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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.", @@ -134608,9 +134294,6 @@ "integration_manifest": { "$ref": "#/components/schemas/rate-limit" }, - "code_scanning_upload": { - "$ref": "#/components/schemas/rate-limit" - }, "actions_runner_registration": { "$ref": "#/components/schemas/rate-limit" }, @@ -134625,6 +134308,9 @@ }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" + }, + "copilot_usage_records": { + "$ref": "#/components/schemas/rate-limit" } }, "required": [ @@ -143051,6 +142737,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" + }, + "example": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, "nullable-issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -303939,161 +303646,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, @@ -309112,12 +308664,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -317809,6 +317355,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": [ { @@ -331742,16 +331312,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/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index 860c1bc421..c96b636e31 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -14566,9 +14566,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 @@ -19243,80 +19243,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 @@ -27515,81 +27441,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 @@ -28381,7 +28232,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)." @@ -40387,6 +40237,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: @@ -44785,6 +44636,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 @@ -91991,287 +91970,6 @@ components: items: type: string description: The path to the file that will be excluded. - copilot-ide-code-completions: - type: object - description: Usage metrics for Copilot editor code completions in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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. @@ -99293,8 +98991,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: @@ -99305,6 +99001,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 @@ -105856,6 +105554,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 + example: + - octocat + - monalisa + required: + - users nullable-issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -228088,105 +227802,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 @@ -232445,11 +232060,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 @@ -239779,6 +239389,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 @@ -251918,13 +251548,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index dbe382acc9..de280fabbc 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -19718,7 +19718,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" ], @@ -25977,93 +25977,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", @@ -37585,96 +37498,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", @@ -38738,7 +38561,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" ], @@ -55103,7 +54926,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" } @@ -61042,6 +60865,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", @@ -126617,318 +126615,6 @@ } } }, - "copilot-ide-code-completions": { - "type": "object", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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.", @@ -136284,9 +135970,6 @@ "integration_manifest": { "$ref": "#/components/schemas/rate-limit" }, - "code_scanning_upload": { - "$ref": "#/components/schemas/rate-limit" - }, "actions_runner_registration": { "$ref": "#/components/schemas/rate-limit" }, @@ -136301,6 +135984,9 @@ }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" + }, + "copilot_usage_records": { + "$ref": "#/components/schemas/rate-limit" } }, "required": [ @@ -144772,6 +144458,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" + }, + "example": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, "nullable-issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -306820,161 +306527,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, @@ -312019,12 +311571,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -320747,6 +320293,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": [ { @@ -334898,16 +334468,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index d106a1fe06..26ab99a5c0 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -14593,9 +14593,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 @@ -19330,80 +19330,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 @@ -27646,81 +27572,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 @@ -28531,7 +28382,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)." @@ -40615,6 +40465,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: @@ -45013,6 +44864,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 @@ -92873,287 +92852,6 @@ components: items: type: string description: The path to the file that will be excluded. - copilot-ide-code-completions: - type: object - description: Usage metrics for Copilot editor code completions in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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. @@ -100533,8 +100231,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: @@ -100545,6 +100241,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 @@ -107126,6 +106824,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 + example: + - octocat + - monalisa + required: + - users nullable-issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -230163,105 +229877,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 @@ -234534,11 +234149,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 @@ -241886,6 +241496,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 @@ -254174,13 +253804,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 7fd57815fd..5d7dcb48b2 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -101458,7 +101458,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" ], @@ -126879,646 +126879,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -228545,655 +227905,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -235562,7 +234273,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" ], @@ -235729,7 +234440,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -235753,7 +234464,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -235777,7 +234488,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -235801,7 +234512,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -235825,7 +234536,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -235849,7 +234560,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -235943,12 +234654,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -347881,7 +346586,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" } @@ -385386,6 +384091,665 @@ } } }, + "/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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 9e73dfdd9c..28d28ad1de 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1030,7 +1030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &680 + - &678 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -12008,7 +12008,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 - - &509 + - &506 name: has in: query description: |- @@ -12134,7 +12134,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &510 + security_advisory: &507 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12403,14 +12403,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &511 + auto_dismissed_at: &508 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &512 + dismissal_request: &509 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -14098,7 +14098,7 @@ paths: properties: action: type: string - discussion: &773 + discussion: &771 title: Discussion description: A Discussion in a repository. type: object @@ -14465,7 +14465,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &563 + properties: &561 id: type: integer format: int64 @@ -14843,7 +14843,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &691 + sub_issues_summary: &689 title: Sub-issues Summary type: object properties: @@ -14930,7 +14930,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &586 + properties: &584 pinned_at: type: string format: date-time @@ -14942,7 +14942,7 @@ paths: properties: *20 required: *21 nullable: true - required: &587 + required: &585 - pinned_at - pinned_by nullable: true @@ -14956,7 +14956,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &692 + issue_dependencies_summary: &690 title: Issue Dependencies Summary type: object properties: @@ -14975,7 +14975,7 @@ paths: - total_blocking issue_field_values: type: array - items: &570 + items: &568 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15062,7 +15062,7 @@ paths: - node_id - data_type - value - required: &564 + required: &562 - assignee - closed_at - comments @@ -15100,7 +15100,7 @@ paths: action: type: string issue: *88 - comment: &559 + comment: &557 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15764,7 +15764,7 @@ paths: type: string release: allOf: - - &620 + - &618 title: Release description: A release. type: object @@ -15835,7 +15835,7 @@ paths: author: *4 assets: type: array - items: &621 + items: &619 title: Release Asset description: Data related to a release. type: object @@ -16426,7 +16426,7 @@ paths: url: type: string format: uri - user: &698 + user: &696 title: Public User description: Public User type: object @@ -19739,14 +19739,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &357 + - &354 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &358 + - &355 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19808,7 +19808,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &361 + '301': &358 description: Moved permanently content: application/json: @@ -19830,7 +19830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &596 + - &594 name: all description: If `true`, show notifications marked as read. in: query @@ -19838,7 +19838,7 @@ paths: schema: type: boolean default: false - - &597 + - &595 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19848,7 +19848,7 @@ paths: type: boolean default: false - *95 - - &598 + - &596 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: @@ -20378,7 +20378,7 @@ paths: - url - subscription_url examples: - default: &599 + default: &597 value: - id: '1' repository: @@ -22259,7 +22259,7 @@ paths: parameters: - *78 - *124 - - &749 + - &747 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 @@ -22371,7 +22371,7 @@ paths: - *124 - *125 - *126 - - &750 + - &748 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22379,7 +22379,7 @@ paths: schema: type: string - *129 - - &751 + - &749 name: sku description: The SKU to query for usage. in: query @@ -23281,7 +23281,7 @@ paths: type: integer repository_cache_usages: type: array - items: &368 + items: &365 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24623,7 +24623,7 @@ paths: - all - local_only - selected - selected_actions_url: &373 + selected_actions_url: &370 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` @@ -24706,7 +24706,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &374 type: object properties: days: @@ -24748,7 +24748,7 @@ paths: required: true content: application/json: - schema: &378 + schema: &375 type: object properties: days: @@ -24805,7 +24805,7 @@ paths: required: - approval_policy examples: - default: &379 + default: &376 value: approval_policy: first_time_contributors '404': *6 @@ -24864,7 +24864,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &377 type: object required: - run_workflows_from_fork_pull_requests @@ -24918,7 +24918,7 @@ paths: required: true content: application/json: - schema: &381 + schema: &378 type: object required: - run_workflows_from_fork_pull_requests @@ -25553,7 +25553,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &379 type: object properties: default_workflow_permissions: &156 @@ -25604,7 +25604,7 @@ paths: required: false content: application/json: - schema: &383 + schema: &380 type: object properties: default_workflow_permissions: *156 @@ -26744,7 +26744,7 @@ paths: application/json: schema: type: array - items: &384 + items: &381 title: Runner Application description: Runner Application type: object @@ -26769,7 +26769,7 @@ paths: - download_url - filename examples: - default: &385 + default: &382 value: - os: osx architecture: x64 @@ -26855,7 +26855,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &386 + '201': &383 description: Response content: application/json: @@ -26966,7 +26966,7 @@ paths: - token - expires_at examples: - default: &387 + default: &384 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27005,7 +27005,7 @@ paths: application/json: schema: *167 examples: - default: &388 + default: &385 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27039,7 +27039,7 @@ paths: application/json: schema: *165 examples: - default: &389 + default: &386 value: id: 23 name: MBP @@ -27266,7 +27266,7 @@ paths: - *78 - *164 responses: - '200': &390 + '200': &387 description: Response content: application/json: @@ -27323,7 +27323,7 @@ paths: parameters: - *78 - *164 - - &391 + - &388 name: name description: The name of a self-hosted runner's custom label. in: path @@ -29773,9 +29773,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 @@ -29892,12 +29892,12 @@ paths: required: - subject_digests examples: - default: &730 + default: &728 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &731 + withPredicateType: &729 value: subject_digests: - sha256:abc123 @@ -29955,7 +29955,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &732 + default: &730 value: attestations_subject_digests: - sha256:abc: @@ -30305,7 +30305,7 @@ paths: initiator: type: string examples: - default: &417 + default: &414 value: attestations: - bundle: @@ -31234,7 +31234,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *78 - - &442 + - &439 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`, @@ -31244,7 +31244,7 @@ paths: schema: &195 type: string description: The name of the tool used to generate the code scanning analysis. - - &443 + - &440 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 @@ -31267,7 +31267,7 @@ paths: be returned. in: query required: false - schema: &445 + schema: &442 type: string description: State of a code scanning alert. enum: @@ -31290,7 +31290,7 @@ paths: be returned. in: query required: false - schema: &446 + schema: &443 type: string description: Severity of a code scanning alert. enum: @@ -31324,7 +31324,7 @@ paths: updated_at: *190 url: *191 html_url: *192 - instances_url: &447 + instances_url: &444 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -31347,7 +31347,7 @@ paths: required: *21 nullable: true dismissed_at: *194 - dismissed_reason: &448 + dismissed_reason: &445 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -31356,13 +31356,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &449 + dismissed_comment: &446 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &450 + rule: &447 type: object properties: id: @@ -31415,7 +31415,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &451 + tool: &448 type: object properties: name: *195 @@ -31425,26 +31425,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *196 - most_recent_instance: &452 + most_recent_instance: &449 type: object properties: - ref: &444 + ref: &441 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &462 + analysis_key: &459 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: &463 + environment: &460 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: &464 + category: &461 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -31464,7 +31464,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: &465 + location: &462 type: object description: Describe a region within a file for the alert. properties: @@ -31485,7 +31485,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: &466 + items: &463 type: string description: A classification of the file. For example to identify it as generated. @@ -32816,7 +32816,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &478 + properties: &475 name: type: string description: The name of the machine. @@ -32858,7 +32858,7 @@ paths: - ready - in_progress nullable: true - required: &479 + required: &476 - name - display_name - operating_system @@ -33726,7 +33726,7 @@ paths: - updated_at - visibility examples: - default: &480 + default: &477 value: total_count: 2 secrets: @@ -33764,7 +33764,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &478 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -33793,7 +33793,7 @@ paths: - key_id - key examples: - default: &482 + default: &479 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33825,7 +33825,7 @@ paths: application/json: schema: *203 examples: - default: &484 + default: &481 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -36804,482 +36804,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: - - *78 - - 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: &350 - 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 - description: Usage metrics for Copilot editor code completions - in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model - (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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: &351 - 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': *55 - '403': *29 - '404': *6 - '422': &352 - 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 @@ -37838,7 +37362,7 @@ paths: description: Response content: application/json: - schema: &515 + schema: &512 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37855,7 +37379,7 @@ paths: - key_id - key examples: - default: &516 + default: &513 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39653,7 +39177,7 @@ paths: application/json: schema: *22 examples: - default: &553 + default: &550 value: id: 1 account: @@ -39878,7 +39402,7 @@ paths: required: true content: application/json: - schema: &554 + schema: &551 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -40684,7 +40208,7 @@ paths: type: array items: *257 examples: - default: &557 + default: &555 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -41207,7 +40731,7 @@ paths: application/json: schema: *262 examples: - default: &477 + default: &474 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42456,7 +41980,7 @@ paths: parameters: - *78 - *269 - - &713 + - &711 name: repo_name description: repo_name parameter in: path @@ -43497,7 +43021,7 @@ paths: - nuget - container - *78 - - &714 + - &712 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43538,7 +43062,7 @@ paths: default: *276 '403': *29 '401': *25 - '400': &716 + '400': &714 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45635,7 +45159,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &804 + properties: &802 id: type: number description: The unique identifier of the status update. @@ -45683,7 +45207,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &805 + required: &803 - id - node_id - created_at @@ -45897,7 +45421,7 @@ paths: content: oneOf: - *88 - - &494 + - &491 title: Pull Request Simple description: Pull Request Simple type: object @@ -46123,7 +45647,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &606 + auto_merge: &604 title: Auto merge description: The status of auto merging a pull request. type: object @@ -46501,7 +46025,7 @@ paths: - updated_at - project_url examples: - default: &736 + default: &734 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46678,7 +46202,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &737 + items: &735 type: object properties: name: @@ -46715,7 +46239,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &738 + iteration_configuration: &736 type: object description: The configuration for iteration fields. properties: @@ -46765,7 +46289,7 @@ paths: value: name: Due date data_type: date - single_select_field: &739 + single_select_field: &737 summary: Create a single select field value: name: Priority @@ -46792,7 +46316,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &740 + iteration_field: &738 summary: Create an iteration field value: name: Sprint @@ -46818,7 +46342,7 @@ paths: application/json: schema: *297 examples: - text_field: &741 + text_field: &739 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46827,7 +46351,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: &742 + number_field: &740 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46836,7 +46360,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: &743 + date_field: &741 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46845,7 +46369,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: &744 + single_select_field: &742 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46879,7 +46403,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &745 + iteration_field: &743 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46925,7 +46449,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *293 - - &746 + - &744 name: field_id description: The unique identifier of the field. in: path @@ -46940,7 +46464,7 @@ paths: application/json: schema: *297 examples: - default: &747 + default: &745 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48137,7 +47661,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &727 + schema: &725 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48314,7 +47838,7 @@ paths: parameters: - *293 - *78 - - &748 + - &746 name: view_number description: The number that identifies the project view. in: path @@ -49251,7 +48775,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &357 title: Full Repository description: Full Repository type: object @@ -49655,7 +49179,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &499 + properties: &496 url: type: string format: uri @@ -49671,7 +49195,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &500 + required: &497 - url - key - name @@ -49760,7 +49284,7 @@ paths: - network_count - subscribers_count examples: - default: &362 + default: &359 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50281,7 +49805,7 @@ paths: - *78 - *17 - *19 - - &628 + - &626 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50563,7 +50087,7 @@ paths: - repository_property rules: type: array - items: &629 + items: &627 title: Repository Rule type: object description: A repository rule. @@ -50625,7 +50149,7 @@ paths: type: string enum: - required_linear_history - - &627 + - &625 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51527,7 +51051,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &630 + - &628 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 @@ -51542,7 +51066,7 @@ paths: in: query schema: type: string - - &631 + - &629 name: time_period description: |- The time period to filter by. @@ -51558,14 +51082,14 @@ paths: - week - month default: day - - &632 + - &630 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 - - &633 + - &631 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51578,7 +51102,7 @@ paths: - bypass - all default: all - - &634 + - &632 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. @@ -51601,7 +51125,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &633 title: Rule Suites description: Response type: array @@ -51656,7 +51180,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &636 + default: &634 value: - id: 21 actor_id: 12 @@ -51700,7 +51224,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &637 + - &635 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51716,7 +51240,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &636 title: Rule Suite description: Response type: object @@ -51815,7 +51339,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &639 + default: &637 value: id: 21 actor_id: 12 @@ -52062,7 +51586,7 @@ paths: type: string format: date-time examples: - default: &641 + default: &639 value: - version_id: 3 actor: @@ -52115,7 +51639,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &640 allOf: - *342 - type: object @@ -52187,7 +51711,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - &643 + - &641 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52198,7 +51722,7 @@ paths: enum: - open - resolved - - &644 + - &642 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52208,7 +51732,7 @@ paths: required: false schema: type: string - - &645 + - &643 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52219,7 +51743,7 @@ paths: required: false schema: type: string - - &646 + - &644 name: exclude_providers in: query description: |- @@ -52230,7 +51754,7 @@ paths: required: false schema: type: string - - &647 + - &645 name: providers in: query description: |- @@ -52241,7 +51765,7 @@ paths: required: false schema: type: string - - &648 + - &646 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -52250,7 +51774,7 @@ paths: required: false schema: type: string - - &649 + - &647 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52269,7 +51793,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &650 + - &648 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. @@ -52284,7 +51808,7 @@ paths: - *62 - *19 - *17 - - &651 + - &649 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 @@ -52294,7 +51818,7 @@ paths: required: false schema: type: string - - &652 + - &650 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 @@ -52304,7 +51828,7 @@ paths: required: false schema: type: string - - &653 + - &651 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -52313,7 +51837,7 @@ paths: required: false schema: type: string - - &654 + - &652 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -52322,7 +51846,7 @@ paths: schema: type: boolean default: false - - &655 + - &653 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52331,7 +51855,7 @@ paths: schema: type: boolean default: false - - &656 + - &654 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52340,7 +51864,7 @@ paths: schema: type: boolean default: false - - &657 + - &655 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52377,14 +51901,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &658 + state: &656 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: &659 + resolution: &657 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -52501,8 +52025,8 @@ paths: pull request. ' - oneOf: &660 - - &662 + oneOf: &658 + - &660 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52560,7 +52084,7 @@ paths: - blob_url - commit_sha - commit_url - - &663 + - &661 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. @@ -52615,7 +52139,7 @@ paths: - page_url - commit_sha - commit_url - - &664 + - &662 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52635,7 +52159,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &665 + - &663 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52655,7 +52179,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &666 + - &664 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52675,7 +52199,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &667 + - &665 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52689,7 +52213,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &668 + - &666 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52703,7 +52227,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &669 + - &667 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52717,7 +52241,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &670 + - &668 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. @@ -52737,7 +52261,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &671 + - &669 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. @@ -52757,7 +52281,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &672 + - &670 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. @@ -52777,7 +52301,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &673 + - &671 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. @@ -52797,7 +52321,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &674 + - &672 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 request. @@ -53316,7 +52840,7 @@ paths: application/json: schema: type: array - items: &678 + items: &676 description: A repository security advisory. type: object properties: @@ -53607,7 +53131,7 @@ paths: - private_fork additionalProperties: false examples: - default: &679 + default: &677 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54718,75 +54242,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: - - *78 - - *80 - - 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: *350 - examples: - default: *351 - '500': *55 - '403': *29 - '404': *6 - '422': *352 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -54917,7 +54372,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &350 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55244,7 +54699,7 @@ paths: - repos_count - organization examples: - default: &354 + default: &351 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55321,9 +54776,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '404': *6 x-github: githubCloudOnly: false @@ -55407,16 +54862,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '201': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '404': *6 '422': *15 '403': *29 @@ -55446,7 +54901,7 @@ paths: responses: '204': description: Response - '422': &355 + '422': &352 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -55485,7 +54940,7 @@ paths: default: *252 headers: Link: *70 - '422': *355 + '422': *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55567,7 +55022,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &353 title: Team Membership description: Team Membership type: object @@ -55594,7 +55049,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &694 + response-if-user-is-a-team-maintainer: &692 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55657,9 +55112,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *353 examples: - response-if-users-membership-with-team-is-now-pending: &695 + response-if-users-membership-with-team-is-now-pending: &693 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55766,14 +55221,14 @@ paths: parameters: - *78 - *80 - - *357 - - *358 + - *354 + - *355 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &696 + schema: &694 title: Team Repository description: A team's access to a repository. type: object @@ -56344,8 +55799,8 @@ paths: parameters: - *78 - *80 - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -56392,8 +55847,8 @@ paths: parameters: - *78 - *80 - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -56430,7 +55885,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: &697 + response-if-child-teams-exist: &695 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -56558,7 +56013,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)." @@ -56584,7 +56038,7 @@ paths: resources: type: object properties: - core: &359 + core: &356 title: Rate Limit type: object properties: @@ -56601,21 +56055,21 @@ paths: - remaining - reset - used - graphql: *359 - search: *359 - code_search: *359 - source_import: *359 - integration_manifest: *359 - code_scanning_upload: *359 - actions_runner_registration: *359 - scim: *359 - dependency_snapshots: *359 - dependency_sbom: *359 - code_scanning_autofix: *359 + graphql: *356 + search: *356 + code_search: *356 + source_import: *356 + integration_manifest: *356 + actions_runner_registration: *356 + scim: *356 + dependency_snapshots: *356 + dependency_sbom: *356 + code_scanning_autofix: *356 + copilot_usage_records: *356 required: - core - search - rate: *359 + rate: *356 required: - rate - resources @@ -56648,11 +56102,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 @@ -56720,14 +56169,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *360 + schema: *357 examples: default-response: summary: Default response @@ -57232,7 +56681,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *361 + '301': *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57250,8 +56699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -57561,10 +57010,10 @@ paths: description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *362 - '307': &363 + default: *359 + '307': &360 description: Temporary Redirect content: application/json: @@ -57593,8 +57042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -57616,7 +57065,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *363 + '307': *360 '404': *6 '409': *54 x-github: @@ -57640,11 +57089,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 - - &395 + - &392 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -57667,7 +57116,7 @@ paths: type: integer artifacts: type: array - items: &364 + items: &361 title: Artifact description: An artifact type: object @@ -57745,7 +57194,7 @@ paths: - expires_at - updated_at examples: - default: &396 + default: &393 value: total_count: 2 artifacts: @@ -57806,9 +57255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *357 - - *358 - - &365 + - *354 + - *355 + - &362 name: artifact_id description: The unique identifier of the artifact. in: path @@ -57820,7 +57269,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *361 examples: default: value: @@ -57858,9 +57307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *357 - - *358 - - *365 + - *354 + - *355 + - *362 responses: '204': description: Response @@ -57884,9 +57333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *357 - - *358 - - *365 + - *354 + - *355 + - *362 - name: archive_format in: path required: true @@ -57896,11 +57345,11 @@ paths: '302': description: Response headers: - Location: &518 + Location: &515 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': &558 + '410': &556 description: Gone content: application/json: @@ -57925,14 +57374,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &366 + schema: &363 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -57965,13 +57414,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: application/json: - schema: *366 + schema: *363 examples: selected_actions: *42 responses: @@ -58000,14 +57449,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &367 + schema: &364 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -58040,13 +57489,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: application/json: - schema: *367 + schema: *364 examples: selected_actions: *44 responses: @@ -58077,14 +57526,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *368 + schema: *365 examples: default: value: @@ -58110,11 +57559,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 - - &369 + - &366 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 @@ -58148,7 +57597,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &367 title: Repository actions caches description: Repository actions caches type: object @@ -58190,7 +57639,7 @@ paths: - total_count - actions_caches examples: - default: &371 + default: &368 value: total_count: 1 actions_caches: @@ -58222,23 +57671,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: - - *357 - - *358 + - *354 + - *355 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *369 + - *366 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *371 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58258,8 +57707,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: - - *357 - - *358 + - *354 + - *355 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -58288,8 +57737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *48 responses: @@ -58371,8 +57820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -58524,9 +57973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *357 - - *358 - - &372 + - *354 + - *355 + - &369 name: job_id description: The unique identifier of the job. in: path @@ -58538,7 +57987,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &396 title: Job description: Information of a job execution in a workflow run type: object @@ -58845,9 +58294,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *357 - - *358 - - *372 + - *354 + - *355 + - *369 responses: '302': description: Response @@ -58875,9 +58324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *357 - - *358 - - *372 + - *354 + - *355 + - *369 requestBody: required: false content: @@ -58927,8 +58376,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Status response @@ -58987,8 +58436,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -59056,8 +58505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -59075,7 +58524,7 @@ paths: type: integer secrets: type: array - items: &401 + items: &398 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59095,7 +58544,7 @@ paths: - created_at - updated_at examples: - default: &402 + default: &399 value: total_count: 2 secrets: @@ -59128,8 +58577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *357 - - *358 + - *354 + - *355 - *180 - *19 responses: @@ -59147,7 +58596,7 @@ paths: type: integer variables: type: array - items: &403 + items: &400 title: Actions Variable type: object properties: @@ -59177,7 +58626,7 @@ paths: - created_at - updated_at examples: - default: &404 + default: &401 value: total_count: 2 variables: @@ -59210,8 +58659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -59220,11 +58669,11 @@ paths: schema: type: object properties: - enabled: &374 + enabled: &371 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *148 - selected_actions_url: *373 + selected_actions_url: *370 sha_pinning_required: *149 required: - enabled @@ -59253,8 +58702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -59265,7 +58714,7 @@ paths: schema: type: object properties: - enabled: *374 + enabled: *371 allowed_actions: *148 sha_pinning_required: *149 required: @@ -59297,14 +58746,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &375 + schema: &372 type: object properties: access_level: @@ -59321,7 +58770,7 @@ paths: required: - access_level examples: - default: &376 + default: &373 value: access_level: organization x-github: @@ -59345,15 +58794,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: application/json: - schema: *375 + schema: *372 examples: - default: *376 + default: *373 responses: '204': description: Response @@ -59377,14 +58826,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *377 + schema: *374 examples: default: value: @@ -59408,8 +58857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Empty response for successful settings update @@ -59419,7 +58868,7 @@ paths: required: true content: application/json: - schema: *378 + schema: *375 examples: default: summary: Set retention days @@ -59443,8 +58892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -59452,7 +58901,7 @@ paths: application/json: schema: *150 examples: - default: *379 + default: *376 '404': *6 x-github: enabledForGitHubApps: true @@ -59471,8 +58920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -59506,14 +58955,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: default: *151 '403': *29 @@ -59535,13 +58984,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: application/json: - schema: *381 + schema: *378 examples: default: *151 responses: @@ -59567,8 +59016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -59595,8 +59044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -59628,14 +59077,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *382 + schema: *379 examples: default: *158 x-github: @@ -59658,8 +59107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Success response @@ -59670,7 +59119,7 @@ paths: required: true content: application/json: - schema: *383 + schema: *380 examples: default: *158 x-github: @@ -59699,8 +59148,8 @@ paths: in: query schema: type: string - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -59744,8 +59193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -59753,9 +59202,9 @@ paths: application/json: schema: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59777,8 +59226,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -59821,7 +59270,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *386 + '201': *383 '404': *6 '422': *7 '409': *54 @@ -59852,8 +59301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '201': description: Response @@ -59861,7 +59310,7 @@ paths: application/json: schema: *167 examples: - default: *387 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59889,8 +59338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '201': description: Response @@ -59898,7 +59347,7 @@ paths: application/json: schema: *167 examples: - default: *388 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59920,8 +59369,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: - - *357 - - *358 + - *354 + - *355 - *164 responses: '200': @@ -59930,7 +59379,7 @@ paths: application/json: schema: *165 examples: - default: *389 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59951,8 +59400,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: - - *357 - - *358 + - *354 + - *355 - *164 responses: '204': @@ -59979,8 +59428,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: - - *357 - - *358 + - *354 + - *355 - *164 responses: '200': *169 @@ -60005,8 +59454,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: - - *357 - - *358 + - *354 + - *355 - *164 requestBody: required: true @@ -60055,8 +59504,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: - - *357 - - *358 + - *354 + - *355 - *164 requestBody: required: true @@ -60106,11 +59555,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: - - *357 - - *358 + - *354 + - *355 - *164 responses: - '200': *390 + '200': *387 '404': *6 x-github: githubCloudOnly: false @@ -60137,10 +59586,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: - - *357 - - *358 + - *354 + - *355 - *164 - - *391 + - *388 responses: '200': *169 '404': *6 @@ -60168,9 +59617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *357 - - *358 - - &407 + - *354 + - *355 + - &404 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. @@ -60178,7 +59627,7 @@ paths: required: false schema: type: string - - &408 + - &405 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -60186,7 +59635,7 @@ paths: required: false schema: type: string - - &409 + - &406 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -60195,7 +59644,7 @@ paths: required: false schema: type: string - - &410 + - &407 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 @@ -60222,7 +59671,7 @@ paths: - pending - *17 - *19 - - &411 + - &408 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)." @@ -60231,7 +59680,7 @@ paths: schema: type: string format: date-time - - &392 + - &389 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -60240,13 +59689,13 @@ paths: schema: type: boolean default: false - - &412 + - &409 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &413 + - &410 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -60269,7 +59718,7 @@ paths: type: integer workflow_runs: type: array - items: &393 + items: &390 title: Workflow Run description: An invocation of a workflow type: object @@ -60417,7 +59866,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &437 + properties: &434 id: type: string description: SHA for the commit @@ -60468,7 +59917,7 @@ paths: - name - email nullable: true - required: &438 + required: &435 - id - tree_id - message @@ -60515,7 +59964,7 @@ paths: - workflow_url - pull_requests examples: - default: &414 + default: &411 value: total_count: 1 workflow_runs: @@ -60751,24 +60200,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *357 - - *358 - - &394 + - *354 + - *355 + - &391 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *392 + - *389 responses: '200': description: Response content: application/json: - schema: *393 + schema: *390 examples: - default: &397 + default: &394 value: id: 30433642 name: Build @@ -61009,9 +60458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '204': description: Response @@ -61034,9 +60483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '200': description: Response @@ -61155,9 +60604,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: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '201': description: Response @@ -61190,12 +60639,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 - *17 - *19 - - *395 + - *392 - *62 responses: '200': @@ -61212,9 +60661,9 @@ paths: type: integer artifacts: type: array - items: *364 + items: *361 examples: - default: *396 + default: *393 headers: Link: *70 x-github: @@ -61238,25 +60687,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *357 - - *358 - - *394 - - &398 + - *354 + - *355 + - *391 + - &395 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *392 + - *389 responses: '200': description: Response content: application/json: - schema: *393 + schema: *390 examples: - default: *397 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61279,10 +60728,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *357 - - *358 - - *394 - - *398 + - *354 + - *355 + - *391 + - *395 - *17 - *19 responses: @@ -61300,9 +60749,9 @@ paths: type: integer jobs: type: array - items: *399 + items: *396 examples: - default: &400 + default: &397 value: total_count: 1 jobs: @@ -61415,10 +60864,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *357 - - *358 - - *394 - - *398 + - *354 + - *355 + - *391 + - *395 responses: '302': description: Response @@ -61446,9 +60895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '202': description: Response @@ -61494,9 +60943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 - *17 - *47 - *48 @@ -61667,9 +61116,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: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 requestBody: required: true content: @@ -61736,9 +61185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '202': description: Response @@ -61771,9 +61220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 - 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 @@ -61803,9 +61252,9 @@ paths: type: integer jobs: type: array - items: *399 + items: *396 examples: - default: *400 + default: *397 headers: Link: *70 x-github: @@ -61830,9 +61279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '302': description: Response @@ -61859,9 +61308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '204': description: Response @@ -61888,9 +61337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '200': description: Response @@ -61950,7 +61399,7 @@ paths: items: type: object properties: - type: &525 + type: &522 type: string description: The type of reviewer. enum: @@ -62035,9 +61484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 requestBody: required: true content: @@ -62084,12 +61533,12 @@ paths: application/json: schema: type: array - items: &520 + items: &517 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &767 + properties: &765 url: type: string format: uri @@ -62174,7 +61623,7 @@ paths: nullable: true properties: *83 required: *84 - required: &768 + required: &766 - id - node_id - sha @@ -62190,7 +61639,7 @@ paths: - created_at - updated_at examples: - default: &521 + default: &518 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -62246,9 +61695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 requestBody: required: false content: @@ -62292,9 +61741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 requestBody: required: false content: @@ -62347,9 +61796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '200': description: Response @@ -62486,8 +61935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -62505,9 +61954,9 @@ paths: type: integer secrets: type: array - items: *401 + items: *398 examples: - default: *402 + default: *399 headers: Link: *70 x-github: @@ -62532,8 +61981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -62563,17 +62012,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '200': description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: &415 + default: &412 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -62599,8 +62048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 requestBody: required: true @@ -62658,8 +62107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '204': @@ -62685,8 +62134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *357 - - *358 + - *354 + - *355 - *180 - *19 responses: @@ -62704,9 +62153,9 @@ paths: type: integer variables: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -62729,8 +62178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -62782,17 +62231,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 responses: '200': description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: &416 + default: &413 value: name: USERNAME value: octocat @@ -62818,8 +62267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 requestBody: required: true @@ -62862,8 +62311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 responses: '204': @@ -62889,8 +62338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -62908,7 +62357,7 @@ paths: type: integer workflows: type: array - items: &405 + items: &402 title: Workflow description: A GitHub Actions workflow type: object @@ -63015,9 +62464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *357 - - *358 - - &406 + - *354 + - *355 + - &403 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -63032,7 +62481,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *402 examples: default: value: @@ -63065,9 +62514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *357 - - *358 - - *406 + - *354 + - *355 + - *403 responses: '204': description: Response @@ -63092,9 +62541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *357 - - *358 - - *406 + - *354 + - *355 + - *403 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -63181,9 +62630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *357 - - *358 - - *406 + - *354 + - *355 + - *403 responses: '204': description: Response @@ -63210,19 +62659,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *357 - - *358 + - *354 + - *355 + - *403 + - *404 + - *405 - *406 - *407 + - *17 + - *19 - *408 + - *389 - *409 - *410 - - *17 - - *19 - - *411 - - *392 - - *412 - - *413 responses: '200': description: Response @@ -63238,9 +62687,9 @@ paths: type: integer workflow_runs: type: array - items: *393 + items: *390 examples: - default: *414 + default: *411 headers: Link: *70 x-github: @@ -63272,9 +62721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *357 - - *358 - - *406 + - *354 + - *355 + - *403 responses: '200': description: Response @@ -63335,8 +62784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *357 - - *358 + - *354 + - *355 - *62 - *17 - *47 @@ -63505,8 +62954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -63524,9 +62973,9 @@ paths: type: integer secrets: type: array - items: *401 + items: *398 examples: - default: *402 + default: *399 headers: Link: *70 x-github: @@ -63550,8 +62999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *357 - - *358 + - *354 + - *355 - *180 - *19 responses: @@ -63569,9 +63018,9 @@ paths: type: integer variables: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -63596,8 +63045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -63615,9 +63064,9 @@ paths: type: integer secrets: type: array - items: *401 + items: *398 examples: - default: *402 + default: *399 headers: Link: *70 x-github: @@ -63642,8 +63091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -63673,17 +63122,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '200': description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: *415 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63705,8 +63154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 requestBody: required: true @@ -63764,8 +63213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '204': @@ -63791,8 +63240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *357 - - *358 + - *354 + - *355 - *180 - *19 responses: @@ -63810,9 +63259,9 @@ paths: type: integer variables: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -63835,8 +63284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -63888,17 +63337,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 responses: '200': description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: *416 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63919,8 +63368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 requestBody: required: true @@ -63963,8 +63412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 responses: '204': @@ -63986,8 +63435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -64024,8 +63473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *357 - - *358 + - *354 + - *355 - name: assignee in: path required: true @@ -64061,8 +63510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -64172,8 +63621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *47 - *48 @@ -64230,7 +63679,7 @@ paths: initiator: type: string examples: - default: *417 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64250,8 +63699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -64259,7 +63708,7 @@ paths: application/json: schema: type: array - items: &418 + items: &415 title: Autolink reference description: An autolink reference. type: object @@ -64313,8 +63762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -64353,9 +63802,9 @@ paths: description: response content: application/json: - schema: *418 + schema: *415 examples: - default: &419 + default: &416 value: id: 1 key_prefix: TICKET- @@ -64386,9 +63835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *357 - - *358 - - &420 + - *354 + - *355 + - &417 name: autolink_id description: The unique identifier of the autolink. in: path @@ -64400,9 +63849,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *415 examples: - default: *419 + default: *416 '404': *6 x-github: githubCloudOnly: false @@ -64422,9 +63871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *357 - - *358 - - *420 + - *354 + - *355 + - *417 responses: '204': description: Response @@ -64448,8 +63897,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response if Dependabot is enabled @@ -64497,8 +63946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -64519,8 +63968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -64540,8 +63989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *357 - - *358 + - *354 + - *355 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -64579,7 +64028,7 @@ paths: - url protected: type: boolean - protection: &422 + protection: &419 title: Branch Protection description: Branch Protection type: object @@ -64621,7 +64070,7 @@ paths: required: - contexts - checks - enforce_admins: &425 + enforce_admins: &422 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -64636,7 +64085,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &427 + required_pull_request_reviews: &424 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -64712,7 +64161,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &424 + restrictions: &421 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -64989,9 +64438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *357 - - *358 - - &423 + - *354 + - *355 + - &420 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). @@ -65005,14 +64454,14 @@ paths: description: Response content: application/json: - schema: &433 + schema: &430 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &490 + commit: &487 title: Commit description: Commit type: object @@ -65046,7 +64495,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &421 + properties: &418 name: type: string example: '"Chris Wanstrath"' @@ -65062,7 +64511,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *421 + properties: *418 nullable: true message: type: string @@ -65083,7 +64532,7 @@ paths: required: - sha - url - verification: &543 + verification: &540 title: Verification type: object properties: @@ -65153,7 +64602,7 @@ paths: type: integer files: type: array - items: &503 + items: &500 title: Diff Entry description: Diff Entry type: object @@ -65237,7 +64686,7 @@ paths: - self protected: type: boolean - protection: *422 + protection: *419 protection_url: type: string format: uri @@ -65344,7 +64793,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *361 + '301': *358 '404': *6 x-github: githubCloudOnly: false @@ -65366,15 +64815,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *422 + schema: *419 examples: default: value: @@ -65568,9 +65017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -65825,7 +65274,7 @@ paths: url: type: string format: uri - required_status_checks: &430 + required_status_checks: &427 title: Status Check Policy description: Status Check Policy type: object @@ -65977,7 +65426,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *424 + restrictions: *421 required_conversation_resolution: type: object properties: @@ -66089,9 +65538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -66116,17 +65565,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: &426 + default: &423 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -66148,17 +65597,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: *426 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66177,9 +65626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -66204,17 +65653,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: &428 + default: &425 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -66310,9 +65759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -66410,9 +65859,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: *428 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -66433,9 +65882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -66462,17 +65911,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: &429 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -66495,17 +65944,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: *429 + default: *426 '404': *6 x-github: githubCloudOnly: false @@ -66525,9 +65974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -66552,17 +66001,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *430 + schema: *427 examples: - default: &431 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -66588,9 +66037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -66642,9 +66091,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *427 examples: - default: *431 + default: *428 '404': *6 '422': *15 x-github: @@ -66666,9 +66115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -66692,9 +66141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response @@ -66728,9 +66177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -66797,9 +66246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -66863,9 +66312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: content: application/json: @@ -66931,15 +66380,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *424 + schema: *421 examples: default: value: @@ -67030,9 +66479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -67055,9 +66504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response @@ -67067,7 +66516,7 @@ paths: type: array items: *5 examples: - default: &432 + default: &429 value: - id: 1 slug: octoapp @@ -67124,9 +66573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67160,7 +66609,7 @@ paths: type: array items: *5 examples: - default: *432 + default: *429 '422': *15 x-github: githubCloudOnly: false @@ -67181,9 +66630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67217,7 +66666,7 @@ paths: type: array items: *5 examples: - default: *432 + default: *429 '422': *15 x-github: githubCloudOnly: false @@ -67238,9 +66687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67274,7 +66723,7 @@ paths: type: array items: *5 examples: - default: *432 + default: *429 '422': *15 x-github: githubCloudOnly: false @@ -67296,9 +66745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response @@ -67328,9 +66777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -67389,9 +66838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -67450,9 +66899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: content: application/json: @@ -67511,9 +66960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response @@ -67547,9 +66996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67607,9 +67056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67667,9 +67116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67729,9 +67178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67753,7 +67202,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *430 examples: default: value: @@ -67869,8 +67318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -68149,7 +67598,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &431 title: CheckRun description: A check performed on the code of a given code change type: object @@ -68269,7 +67718,7 @@ paths: check. type: array items: *93 - deployment: &760 + deployment: &758 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -68549,9 +67998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *357 - - *358 - - &435 + - *354 + - *355 + - &432 name: check_run_id description: The unique identifier of the check run. in: path @@ -68563,9 +68012,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *431 examples: - default: &436 + default: &433 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -68665,9 +68114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *357 - - *358 - - *435 + - *354 + - *355 + - *432 requestBody: required: true content: @@ -68907,9 +68356,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *431 examples: - default: *436 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68929,9 +68378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *357 - - *358 - - *435 + - *354 + - *355 + - *432 - *17 - *19 responses: @@ -69026,9 +68475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *357 - - *358 - - *435 + - *354 + - *355 + - *432 responses: '201': description: Response @@ -69072,8 +68521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -69095,7 +68544,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &439 + schema: &436 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -69181,12 +68630,12 @@ paths: type: string format: date-time nullable: true - head_commit: &788 + head_commit: &786 title: Simple Commit description: A commit. type: object - properties: *437 - required: *438 + properties: *434 + required: *435 latest_check_runs_count: type: integer check_runs_url: @@ -69214,7 +68663,7 @@ paths: - check_runs_url - pull_requests examples: - default: &440 + default: &437 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -69505,9 +68954,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *439 + schema: *436 examples: - default: *440 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69526,8 +68975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -69836,9 +69285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *357 - - *358 - - &441 + - *354 + - *355 + - &438 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -69850,9 +69299,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *436 examples: - default: *440 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69875,17 +69324,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *357 - - *358 - - *441 - - &496 + - *354 + - *355 + - *438 + - &493 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &497 + - &494 name: status description: Returns check runs with the specified `status`. in: query @@ -69924,9 +69373,9 @@ paths: type: integer check_runs: type: array - items: *434 + items: *431 examples: - default: &498 + default: &495 value: total_count: 1 check_runs: @@ -70028,9 +69477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *357 - - *358 - - *441 + - *354 + - *355 + - *438 responses: '201': description: Response @@ -70059,8 +69508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -70150,8 +69599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -70279,21 +69728,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *357 - - *358 - - *442 - - *443 + - *354 + - *355 + - *439 + - *440 - *19 - *17 - - &460 + - &457 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: *444 - - &461 + schema: *441 + - &458 name: pr description: The number of the pull request for the results you want to list. in: query @@ -70318,13 +69767,13 @@ paths: be returned. in: query required: false - schema: *445 + schema: *442 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *446 + schema: *443 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -70348,7 +69797,7 @@ paths: updated_at: *190 url: *191 html_url: *192 - instances_url: *447 + instances_url: *444 state: *197 fixed_at: *193 dismissed_by: @@ -70359,11 +69808,11 @@ paths: required: *21 nullable: true dismissed_at: *194 - dismissed_reason: *448 - dismissed_comment: *449 - rule: *450 - tool: *451 - most_recent_instance: *452 + dismissed_reason: *445 + dismissed_comment: *446 + rule: *447 + tool: *448 + most_recent_instance: *449 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70489,7 +69938,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &453 + '403': &450 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -70516,9 +69965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *357 - - *358 - - &454 + - *354 + - *355 + - &451 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -70532,7 +69981,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &452 type: object properties: number: *188 @@ -70540,7 +69989,7 @@ paths: updated_at: *190 url: *191 html_url: *192 - instances_url: *447 + instances_url: *444 state: *197 fixed_at: *193 dismissed_by: @@ -70551,8 +70000,8 @@ paths: required: *21 nullable: true dismissed_at: *194 - dismissed_reason: *448 - dismissed_comment: *449 + dismissed_reason: *445 + dismissed_comment: *446 rule: type: object properties: @@ -70606,8 +70055,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *451 - most_recent_instance: *452 + tool: *448 + most_recent_instance: *449 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70706,7 +70155,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -70726,9 +70175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 requestBody: required: true content: @@ -70743,8 +70192,8 @@ paths: enum: - open - dismissed - dismissed_reason: *448 - dismissed_comment: *449 + dismissed_reason: *445 + dismissed_comment: *446 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -70772,7 +70221,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *452 examples: default: value: @@ -70848,7 +70297,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &459 + '403': &456 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -70875,15 +70324,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: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 responses: '200': description: Response content: application/json: - schema: &456 + schema: &453 type: object properties: status: @@ -70909,13 +70358,13 @@ paths: - description - started_at examples: - default: &457 + default: &454 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &458 + '400': &455 description: Bad Request content: application/json: @@ -70926,7 +70375,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': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -70951,29 +70400,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: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 responses: '200': description: OK content: application/json: - schema: *456 + schema: *453 examples: - default: *457 + default: *454 '202': description: Accepted content: application/json: - schema: *456 + schema: *453 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *458 + '400': *455 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -71005,9 +70454,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: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 requestBody: required: false content: @@ -71052,8 +70501,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *458 - '403': *459 + '400': *455 + '403': *456 '404': *6 '422': description: Unprocessable Entity @@ -71077,13 +70526,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 - *19 - *17 - - *460 - - *461 + - *457 + - *458 responses: '200': description: Response @@ -71094,10 +70543,10 @@ paths: items: type: object properties: - ref: *444 - analysis_key: *462 - environment: *463 - category: *464 + ref: *441 + analysis_key: *459 + environment: *460 + category: *461 state: type: string description: State of a code scanning alert instance. @@ -71112,7 +70561,7 @@ paths: properties: text: type: string - location: *465 + location: *462 html_url: type: string classifications: @@ -71120,7 +70569,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: *466 + items: *463 examples: default: value: @@ -71157,7 +70606,7 @@ paths: end_column: 50 classifications: - source - '403': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -71191,25 +70640,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *357 - - *358 - - *442 - - *443 + - *354 + - *355 + - *439 + - *440 - *19 - *17 - - *461 + - *458 - 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: *444 + schema: *441 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &467 + schema: &464 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -71230,23 +70679,23 @@ paths: application/json: schema: type: array - items: &468 + items: &465 type: object properties: - ref: *444 - commit_sha: &476 + ref: *441 + commit_sha: &473 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: *462 + analysis_key: *459 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *464 + category: *461 error: type: string example: error reading field xyz @@ -71270,8 +70719,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *467 - tool: *451 + sarif_id: *464 + tool: *448 deletable: type: boolean warning: @@ -71332,7 +70781,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -71368,8 +70817,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: - - *357 - - *358 + - *354 + - *355 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71382,7 +70831,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *465 examples: response: summary: application/json response @@ -71436,7 +70885,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *453 + '403': *450 '404': *6 '422': description: Response if analysis could not be processed @@ -71523,8 +70972,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: - - *357 - - *358 + - *354 + - *355 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71577,7 +71026,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': *459 + '403': *456 '404': *6 '503': *122 x-github: @@ -71599,8 +71048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -71608,7 +71057,7 @@ paths: application/json: schema: type: array - items: &469 + items: &466 title: CodeQL Database description: A CodeQL database. type: object @@ -71719,7 +71168,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': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -71748,8 +71197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - name: language in: path description: The language of the CodeQL database. @@ -71761,7 +71210,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *466 examples: default: value: @@ -71793,9 +71242,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': &507 + '302': &504 description: Found - '403': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -71817,8 +71266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *357 - - *358 + - *354 + - *355 - name: language in: path description: The language of the CodeQL database. @@ -71828,7 +71277,7 @@ paths: responses: '204': description: Response - '403': *459 + '403': *456 '404': *6 '503': *122 x-github: @@ -71856,8 +71305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -71866,7 +71315,7 @@ paths: type: object additionalProperties: false properties: - language: &470 + language: &467 type: string description: The language targeted by the CodeQL query enum: @@ -71946,7 +71395,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &474 + schema: &471 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -71956,7 +71405,7 @@ paths: description: The ID of the variant analysis. controller_repo: *67 actor: *4 - query_language: *470 + query_language: *467 query_pack_url: type: string description: The download url for the query pack. @@ -72003,7 +71452,7 @@ paths: items: type: object properties: - repository: &471 + repository: &468 title: Repository Identifier description: Repository Identifier type: object @@ -72039,7 +71488,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &475 + analysis_status: &472 type: string description: The new status of the CodeQL variant analysis repository task. @@ -72071,7 +71520,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &472 + access_mismatch_repos: &469 type: object properties: repository_count: @@ -72085,7 +71534,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: *471 + items: *468 required: - repository_count - repositories @@ -72107,8 +71556,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *472 - over_limit_repos: *472 + no_codeql_db_repos: *469 + over_limit_repos: *469 required: - access_mismatch_repos - not_found_repos @@ -72124,7 +71573,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &473 + value: &470 summary: Default response value: id: 1 @@ -72270,10 +71719,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *473 + value: *470 repository_lists: summary: Response for a successful variant analysis submission - value: *473 + value: *470 '404': *6 '422': description: Unable to process variant analysis submission @@ -72301,8 +71750,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: - - *357 - - *358 + - *354 + - *355 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -72314,9 +71763,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: - default: *473 + default: *470 '404': *6 '503': *122 x-github: @@ -72339,7 +71788,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: - - *357 + - *354 - name: repo in: path description: The name of the controller repository. @@ -72374,7 +71823,7 @@ paths: type: object properties: repository: *67 - analysis_status: *475 + analysis_status: *472 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -72499,8 +71948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -72585,7 +72034,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -72606,8 +72055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -72699,7 +72148,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *459 + '403': *456 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -72770,8 +72219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -72779,7 +72228,7 @@ paths: schema: type: object properties: - commit_sha: *476 + commit_sha: *473 ref: type: string description: |- @@ -72837,7 +72286,7 @@ paths: schema: type: object properties: - id: *467 + id: *464 url: type: string description: The REST API URL for checking the status of the upload. @@ -72851,7 +72300,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': *459 + '403': *456 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -72874,8 +72323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *357 - - *358 + - *354 + - *355 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -72921,7 +72370,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': *453 + '403': *450 '404': description: Not Found if the sarif id does not match any upload '503': *122 @@ -72946,8 +72395,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -73028,8 +72477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *357 - - *358 + - *354 + - *355 - 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 @@ -73149,8 +72598,8 @@ paths: parameters: - *17 - *19 - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -73464,8 +72913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -73530,7 +72979,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -73538,7 +72987,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '400': *14 '401': *25 '403': *29 @@ -73567,8 +73016,8 @@ paths: parameters: - *17 - *19 - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -73632,8 +73081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -73668,14 +73117,14 @@ paths: type: integer machines: type: array - items: &703 + items: &701 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *478 - required: *479 + properties: *475 + required: *476 examples: - default: &704 + default: &702 value: total_count: 2 machines: @@ -73715,8 +73164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *357 - - *358 + - *354 + - *355 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -73800,8 +73249,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: - - *357 - - *358 + - *354 + - *355 - 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 @@ -73867,8 +73316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -73886,7 +73335,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &480 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -73906,7 +73355,7 @@ paths: - created_at - updated_at examples: - default: *480 + default: *477 headers: Link: *70 x-github: @@ -73929,16 +73378,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *481 + schema: *478 examples: - default: *482 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -73958,17 +73407,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '200': description: Response content: application/json: - schema: *483 + schema: *480 examples: - default: *484 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73988,8 +73437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 requestBody: required: true @@ -74042,8 +73491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '204': @@ -74072,8 +73521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *357 - - *358 + - *354 + - *355 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -74115,7 +73564,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &485 + properties: &482 login: type: string example: octocat @@ -74208,7 +73657,7 @@ paths: user_view_type: type: string example: public - required: &486 + required: &483 - avatar_url - events_url - followers_url @@ -74282,8 +73731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *357 - - *358 + - *354 + - *355 - *74 responses: '204': @@ -74330,8 +73779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *357 - - *358 + - *354 + - *355 - *74 requestBody: required: false @@ -74358,7 +73807,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &556 + schema: &554 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -74587,8 +74036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *357 - - *358 + - *354 + - *355 - *74 responses: '204': @@ -74620,8 +74069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *357 - - *358 + - *354 + - *355 - *74 responses: '200': @@ -74642,8 +74091,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *485 - required: *486 + properties: *482 + required: *483 nullable: true required: - permission @@ -74698,8 +74147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -74709,7 +74158,7 @@ paths: application/json: schema: type: array - items: &487 + items: &484 title: Commit Comment description: Commit Comment type: object @@ -74767,7 +74216,7 @@ paths: - created_at - updated_at examples: - default: &492 + default: &489 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74826,17 +74275,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '200': description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: &493 + default: &490 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74893,8 +74342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -74917,7 +74366,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *484 examples: default: value: @@ -74968,8 +74417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '204': @@ -74991,8 +74440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75019,7 +74468,7 @@ paths: application/json: schema: type: array - items: &488 + items: &485 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -75062,7 +74511,7 @@ paths: - content - created_at examples: - default: &561 + default: &559 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -75107,8 +74556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -75141,9 +74590,9 @@ paths: description: Reaction exists content: application/json: - schema: *488 + schema: *485 examples: - default: &489 + default: &486 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -75172,9 +74621,9 @@ paths: description: Reaction created content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '422': *15 x-github: githubCloudOnly: false @@ -75196,10 +74645,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *357 - - *358 + - *354 + - *355 - *104 - - &562 + - &560 name: reaction_id description: The unique identifier of the reaction. in: path @@ -75254,8 +74703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *357 - - *358 + - *354 + - *355 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -75311,9 +74760,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: &613 + default: &611 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75407,9 +74856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *357 - - *358 - - &491 + - *354 + - *355 + - &488 name: commit_sha description: The SHA of the commit. in: path @@ -75481,9 +74930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *357 - - *358 - - *491 + - *354 + - *355 + - *488 - *17 - *19 responses: @@ -75493,9 +74942,9 @@ paths: application/json: schema: type: array - items: *487 + items: *484 examples: - default: *492 + default: *489 headers: Link: *70 x-github: @@ -75523,9 +74972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *357 - - *358 - - *491 + - *354 + - *355 + - *488 requestBody: required: true content: @@ -75560,9 +75009,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: *493 + default: *490 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75590,9 +75039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *357 - - *358 - - *491 + - *354 + - *355 + - *488 - *17 - *19 responses: @@ -75602,9 +75051,9 @@ paths: application/json: schema: type: array - items: *494 + items: *491 examples: - default: &605 + default: &603 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76141,11 +75590,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *357 - - *358 + - *354 + - *355 - *19 - *17 - - &495 + - &492 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)" @@ -76160,9 +75609,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *487 examples: - default: &592 + default: &590 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76250,7 +75699,7 @@ paths: schema: type: string examples: - default: &504 + default: &501 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -76263,7 +75712,7 @@ paths: schema: type: string examples: - default: &505 + default: &502 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -76316,11 +75765,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *357 - - *358 - - *495 - - *496 - - *497 + - *354 + - *355 + - *492 + - *493 + - *494 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -76354,9 +75803,9 @@ paths: type: integer check_runs: type: array - items: *434 + items: *431 examples: - default: *498 + default: *495 headers: Link: *70 x-github: @@ -76381,9 +75830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *357 - - *358 - - *495 + - *354 + - *355 + - *492 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -76391,7 +75840,7 @@ paths: schema: type: integer example: 1 - - *496 + - *493 - *17 - *19 responses: @@ -76409,7 +75858,7 @@ paths: type: integer check_suites: type: array - items: *439 + items: *436 examples: default: value: @@ -76609,9 +76058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *357 - - *358 - - *495 + - *354 + - *355 + - *492 - *17 - *19 responses: @@ -76809,9 +76258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *357 - - *358 - - *495 + - *354 + - *355 + - *492 - *17 - *19 responses: @@ -76821,7 +76270,7 @@ paths: application/json: schema: type: array - items: &683 + items: &681 title: Status description: The status of a commit. type: object @@ -76902,7 +76351,7 @@ paths: site_admin: false headers: Link: *70 - '301': *361 + '301': *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76930,8 +76379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -76960,20 +76409,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *499 - required: *500 + properties: *496 + required: *497 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &501 + properties: &498 url: type: string format: uri html_url: type: string format: uri - required: &502 + required: &499 - url - html_url nullable: true @@ -76987,26 +76436,26 @@ paths: contributing: title: Community Health File type: object - properties: *501 - required: *502 + properties: *498 + required: *499 nullable: true readme: title: Community Health File type: object - properties: *501 - required: *502 + properties: *498 + required: *499 nullable: true issue_template: title: Community Health File type: object - properties: *501 - required: *502 + properties: *498 + required: *499 nullable: true pull_request_template: title: Community Health File type: object - properties: *501 - required: *502 + properties: *498 + required: *499 nullable: true required: - code_of_conduct @@ -77133,8 +76582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *357 - - *358 + - *354 + - *355 - *19 - *17 - name: basehead @@ -77177,8 +76626,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *490 - merge_base_commit: *490 + base_commit: *487 + merge_base_commit: *487 status: type: string enum: @@ -77198,10 +76647,10 @@ paths: example: 6 commits: type: array - items: *490 + items: *487 files: type: array - items: *503 + items: *500 required: - url - html_url @@ -77447,12 +76896,12 @@ paths: schema: type: string examples: - default: *504 + default: *501 application/vnd.github.patch: schema: type: string examples: - default: *505 + default: *502 '404': *6 '500': *55 '503': *122 @@ -77497,8 +76946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *357 - - *358 + - *354 + - *355 - name: path description: path parameter in: path @@ -77658,7 +77107,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &506 + response-if-content-is-a-file-github-object: &503 summary: Response if content is a file value: type: file @@ -77790,7 +77239,7 @@ paths: - size - type - url - - &618 + - &616 title: Content File description: Content File type: object @@ -77991,7 +77440,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *506 + response-if-content-is-a-file: *503 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -78060,7 +77509,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *507 + '302': *504 '304': *37 x-github: githubCloudOnly: false @@ -78083,8 +77532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *357 - - *358 + - *354 + - *355 - name: path description: path parameter in: path @@ -78177,7 +77626,7 @@ paths: description: Response content: application/json: - schema: &508 + schema: &505 title: File Commit description: File Commit type: object @@ -78329,7 +77778,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *505 examples: example-for-creating-a-file: value: @@ -78383,7 +77832,7 @@ paths: schema: oneOf: - *3 - - &538 + - &535 description: Repository rule violation was detected type: object properties: @@ -78404,7 +77853,7 @@ paths: items: type: object properties: - placeholder_id: &675 + placeholder_id: &673 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -78436,8 +77885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *357 - - *358 + - *354 + - *355 - name: path description: path parameter in: path @@ -78498,7 +77947,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *505 examples: default: value: @@ -78553,8 +78002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *357 - - *358 + - *354 + - *355 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -78683,8 +78132,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -78816,8 +78265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *212 - *213 - *214 @@ -78830,7 +78279,7 @@ paths: schema: type: string - *217 - - *509 + - *506 - *218 - *219 - *220 @@ -78845,7 +78294,7 @@ paths: application/json: schema: type: array - items: &513 + items: &510 type: object description: A Dependabot alert. properties: @@ -78892,7 +78341,7 @@ paths: - direct - transitive - inconclusive - security_advisory: *510 + security_advisory: *507 security_vulnerability: *66 url: *191 html_url: *192 @@ -78923,8 +78372,8 @@ paths: nullable: true maxLength: 280 fixed_at: *193 - auto_dismissed_at: *511 - dismissal_request: *512 + auto_dismissed_at: *508 + dismissal_request: *509 assignees: type: array description: The users assigned to this alert. @@ -79179,9 +78628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *357 - - *358 - - &514 + - *354 + - *355 + - &511 name: alert_number in: path description: |- @@ -79196,7 +78645,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *510 examples: default: value: @@ -79328,9 +78777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *357 - - *358 - - *514 + - *354 + - *355 + - *511 requestBody: required: true content: @@ -79367,6 +78816,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: @@ -79386,7 +78836,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *510 examples: default: value: @@ -79516,8 +78966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -79535,7 +78985,7 @@ paths: type: integer secrets: type: array - items: &517 + items: &514 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -79588,16 +79038,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *515 + schema: *512 examples: - default: *516 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79617,15 +79067,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '200': description: Response content: application/json: - schema: *517 + schema: *514 examples: default: value: @@ -79651,8 +79101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 requestBody: required: true @@ -79705,8 +79155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '204': @@ -79729,8 +79179,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: - - *357 - - *358 + - *354 + - *355 - 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 @@ -79893,8 +79343,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -80132,8 +79582,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: - - *357 - - *358 + - *354 + - *355 - name: sbom_uuid in: path required: true @@ -80144,7 +79594,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *518 + Location: *515 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -80165,8 +79615,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: - - *357 - - *358 + - *354 + - *355 responses: '201': description: Response @@ -80204,8 +79654,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -80280,7 +79730,7 @@ paths: - version - url additionalProperties: false - metadata: &519 + metadata: &516 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80313,7 +79763,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *519 + metadata: *516 resolved: type: object description: A collection of resolved package dependencies. @@ -80326,7 +79776,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *519 + metadata: *516 relationship: type: string description: A notation of whether a dependency is requested @@ -80455,8 +79905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *357 - - *358 + - *354 + - *355 - name: sha description: The SHA recorded at creation time. in: query @@ -80496,9 +79946,9 @@ paths: application/json: schema: type: array - items: *520 + items: *517 examples: - default: *521 + default: *518 headers: Link: *70 x-github: @@ -80564,8 +80014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -80646,7 +80096,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *517 examples: simple-example: summary: Simple example @@ -80719,9 +80169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *357 - - *358 - - &522 + - *354 + - *355 + - &519 name: deployment_id description: deployment_id parameter in: path @@ -80733,7 +80183,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *517 examples: default: value: @@ -80798,9 +80248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *357 - - *358 - - *522 + - *354 + - *355 + - *519 responses: '204': description: Response @@ -80822,9 +80272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *357 - - *358 - - *522 + - *354 + - *355 + - *519 - *17 - *19 responses: @@ -80834,7 +80284,7 @@ paths: application/json: schema: type: array - items: &523 + items: &520 title: Deployment Status description: The status of a deployment. type: object @@ -80995,9 +80445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *357 - - *358 - - *522 + - *354 + - *355 + - *519 requestBody: required: true content: @@ -81072,9 +80522,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *520 examples: - default: &524 + default: &521 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81130,9 +80580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *357 - - *358 - - *522 + - *354 + - *355 + - *519 - name: status_id in: path required: true @@ -81143,9 +80593,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *520 examples: - default: *524 + default: *521 '404': *6 x-github: githubCloudOnly: false @@ -81170,8 +80620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -81228,8 +80678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -81246,7 +80696,7 @@ paths: type: integer environments: type: array - items: &526 + items: &523 title: Environment description: Details of a deployment environment type: object @@ -81298,7 +80748,7 @@ paths: type: type: string example: wait_timer - wait_timer: &528 + wait_timer: &525 type: integer example: 30 description: The amount of time to delay a job after @@ -81335,7 +80785,7 @@ paths: items: type: object properties: - type: *525 + type: *522 reviewer: anyOf: - *4 @@ -81359,7 +80809,7 @@ paths: - id - node_id - type - deployment_branch_policy: &529 + deployment_branch_policy: &526 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -81475,9 +80925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *357 - - *358 - - &527 + - *354 + - *355 + - &524 name: environment_name in: path required: true @@ -81490,9 +80940,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: &530 + default: &527 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -81576,9 +81026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 requestBody: required: false content: @@ -81587,7 +81037,7 @@ paths: type: object nullable: true properties: - wait_timer: *528 + wait_timer: *525 prevent_self_review: type: boolean example: false @@ -81604,13 +81054,13 @@ paths: items: type: object properties: - type: *525 + type: *522 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *529 + deployment_branch_policy: *526 additionalProperties: false examples: default: @@ -81630,9 +81080,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: *530 + default: *527 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -81656,9 +81106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 responses: '204': description: Default response @@ -81683,9 +81133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *17 - *19 responses: @@ -81703,7 +81153,7 @@ paths: example: 2 branch_policies: type: array - items: &531 + items: &528 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -81760,9 +81210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 requestBody: required: true content: @@ -81808,9 +81258,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *528 examples: - example-wildcard: &532 + example-wildcard: &529 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -81852,10 +81302,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *357 - - *358 - - *527 - - &533 + - *354 + - *355 + - *524 + - &530 name: branch_policy_id in: path required: true @@ -81867,9 +81317,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *528 examples: - default: *532 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81888,10 +81338,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *357 - - *358 - - *527 - - *533 + - *354 + - *355 + - *524 + - *530 requestBody: required: true content: @@ -81919,9 +81369,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *528 examples: - default: *532 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81940,10 +81390,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *357 - - *358 - - *527 - - *533 + - *354 + - *355 + - *524 + - *530 responses: '204': description: Response @@ -81968,9 +81418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *527 - - *358 - - *357 + - *524 + - *355 + - *354 responses: '200': description: List of deployment protection rules @@ -81986,7 +81436,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &534 + items: &531 title: Deployment protection rule description: Deployment protection rule type: object @@ -82005,7 +81455,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &535 + app: &532 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -82104,9 +81554,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: - - *527 - - *358 - - *357 + - *524 + - *355 + - *354 requestBody: content: application/json: @@ -82127,9 +81577,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *534 + schema: *531 examples: - default: &536 + default: &533 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -82164,9 +81614,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: - - *527 - - *358 - - *357 + - *524 + - *355 + - *354 - *19 - *17 responses: @@ -82185,7 +81635,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *535 + items: *532 examples: default: value: @@ -82220,10 +81670,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *357 - - *358 - - *527 - - &537 + - *354 + - *355 + - *524 + - &534 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -82235,9 +81685,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *531 examples: - default: *536 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82258,10 +81708,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *527 - - *358 - - *357 - - *537 + - *524 + - *355 + - *354 + - *534 responses: '204': description: Response @@ -82287,9 +81737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *17 - *19 responses: @@ -82307,9 +81757,9 @@ paths: type: integer secrets: type: array - items: *401 + items: *398 examples: - default: *402 + default: *399 headers: Link: *70 x-github: @@ -82334,9 +81784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 responses: '200': description: Response @@ -82366,18 +81816,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *171 responses: '200': description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: *415 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82399,9 +81849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *171 requestBody: required: true @@ -82459,9 +81909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *171 responses: '204': @@ -82487,9 +81937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *180 - *19 responses: @@ -82507,9 +81957,9 @@ paths: type: integer variables: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -82532,9 +81982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 requestBody: required: true content: @@ -82586,18 +82036,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *174 responses: '200': description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: *416 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82618,10 +82068,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 - - *527 + - *524 requestBody: required: true content: @@ -82663,10 +82113,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 - - *527 + - *524 responses: '204': description: Response @@ -82688,8 +82138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -82757,8 +82207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *357 - - *358 + - *354 + - *355 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -82917,8 +82367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -82950,9 +82400,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *362 + default: *359 '400': *14 '422': *15 '403': *29 @@ -82973,8 +82423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -83034,7 +82484,7 @@ paths: schema: oneOf: - *132 - - *538 + - *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83059,8 +82509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *357 - - *358 + - *354 + - *355 - name: file_sha in: path required: true @@ -83159,8 +82609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -83269,7 +82719,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &536 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -83483,15 +82933,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *357 - - *358 - - *491 + - *354 + - *355 + - *488 responses: '200': description: Response content: application/json: - schema: *539 + schema: *536 examples: default: value: @@ -83547,9 +82997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *357 - - *358 - - &540 + - *354 + - *355 + - &537 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. @@ -83566,7 +83016,7 @@ paths: application/json: schema: type: array - items: &541 + items: &538 title: Git Reference description: Git references within a repository type: object @@ -83641,17 +83091,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *357 - - *358 - - *540 + - *354 + - *355 + - *537 responses: '200': description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: &542 + default: &539 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -83680,8 +83130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -83710,9 +83160,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: *542 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -83738,9 +83188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *357 - - *358 - - *540 + - *354 + - *355 + - *537 requestBody: required: true content: @@ -83769,9 +83219,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: *542 + default: *539 '422': *15 '409': *54 x-github: @@ -83789,9 +83239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *357 - - *358 - - *540 + - *354 + - *355 + - *537 responses: '204': description: Response @@ -83846,8 +83296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -83914,7 +83364,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &541 title: Git Tag description: Metadata for a Git tag type: object @@ -83965,7 +83415,7 @@ paths: - sha - type - url - verification: *543 + verification: *540 required: - sha - url @@ -83975,7 +83425,7 @@ paths: - tag - message examples: - default: &545 + default: &542 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -84048,8 +83498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *357 - - *358 + - *354 + - *355 - name: tag_sha in: path required: true @@ -84060,9 +83510,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *541 examples: - default: *545 + default: *542 '404': *6 '409': *54 x-github: @@ -84086,8 +83536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -84160,7 +83610,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &543 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -84256,8 +83706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *357 - - *358 + - *354 + - *355 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -84280,7 +83730,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *543 examples: default-response: summary: Default response @@ -84338,8 +83788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -84382,8 +83832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -84393,7 +83843,7 @@ paths: application/json: schema: type: array - items: &547 + items: &544 title: Webhook description: Webhooks for repositories. type: object @@ -84447,7 +83897,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &796 + last_response: &794 title: Hook Response type: object properties: @@ -84521,8 +83971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -84574,9 +84024,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *544 examples: - default: &548 + default: &545 value: type: Repository id: 12345678 @@ -84624,17 +84074,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 responses: '200': description: Response content: application/json: - schema: *547 + schema: *544 examples: - default: *548 + default: *545 '404': *6 x-github: githubCloudOnly: false @@ -84654,8 +84104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 requestBody: required: true @@ -84701,9 +84151,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *544 examples: - default: *548 + default: *545 '422': *15 '404': *6 x-github: @@ -84724,8 +84174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 responses: '204': @@ -84750,8 +84200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *230 responses: '200': @@ -84779,8 +84229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *230 requestBody: required: false @@ -84825,8 +84275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 - *17 - *231 @@ -84859,8 +84309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 - *16 responses: @@ -84889,8 +84339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 - *16 responses: @@ -84914,8 +84364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 responses: '204': @@ -84941,8 +84391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 responses: '204': @@ -84966,8 +84416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response if immutable releases are enabled @@ -85013,8 +84463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': *61 '409': *54 @@ -85034,8 +84484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': *61 '409': *54 @@ -85092,14 +84542,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &549 + schema: &546 title: Import description: A repository import from an external source. type: object @@ -85198,7 +84648,7 @@ paths: - html_url - authors_url examples: - default: &552 + default: &549 value: vcs: subversion use_lfs: true @@ -85214,7 +84664,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': &550 + '503': &547 description: Unavailable due to service under maintenance. content: application/json: @@ -85243,8 +84693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -85292,7 +84742,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *546 examples: default: value: @@ -85317,7 +84767,7 @@ paths: type: string '422': *15 '404': *6 - '503': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85345,8 +84795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -85395,7 +84845,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *546 examples: example-1: summary: Example 1 @@ -85443,7 +84893,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': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85466,12 +84916,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response - '503': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85497,9 +84947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *357 - - *358 - - &725 + - *354 + - *355 + - &723 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -85513,7 +84963,7 @@ paths: application/json: schema: type: array - items: &551 + items: &548 title: Porter Author description: Porter Author type: object @@ -85567,7 +85017,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': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85592,8 +85042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *357 - - *358 + - *354 + - *355 - name: author_id in: path required: true @@ -85623,7 +85073,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *548 examples: default: value: @@ -85636,7 +85086,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85660,8 +85110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -85702,7 +85152,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85730,8 +85180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -85758,11 +85208,11 @@ paths: description: Response content: application/json: - schema: *549 + schema: *546 examples: - default: *552 + default: *549 '422': *15 - '503': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85785,8 +85235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -85794,8 +85244,8 @@ paths: application/json: schema: *22 examples: - default: *553 - '301': *361 + default: *550 + '301': *358 '404': *6 x-github: githubCloudOnly: false @@ -85815,8 +85265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -85829,7 +85279,7 @@ paths: properties: {} additionalProperties: false examples: - default: &555 + default: &552 value: limit: collaborators_only origin: repository @@ -85854,13 +85304,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: application/json: - schema: *554 + schema: *551 examples: default: summary: Example request body @@ -85874,7 +85324,7 @@ paths: application/json: schema: *249 examples: - default: *555 + default: *552 '409': description: Response x-github: @@ -85896,8 +85346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -85908,6 +85358,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: + - *354 + - *355 + 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': *29 + '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: + - *354 + - *355 + requestBody: + required: true + content: + application/json: + schema: &553 + 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 + example: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *29 + '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: + - *354 + - *355 + requestBody: + required: true + content: + application/json: + schema: *553 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *29 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -85920,8 +85521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -85931,9 +85532,9 @@ paths: application/json: schema: type: array - items: *556 + items: *554 examples: - default: &718 + default: &716 value: - id: 1 repository: @@ -86064,8 +85665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *357 - - *358 + - *354 + - *355 - *253 requestBody: required: false @@ -86095,7 +85696,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *554 examples: default: value: @@ -86226,8 +85827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *357 - - *358 + - *354 + - *355 - *253 responses: '204': @@ -86251,8 +85852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -86262,7 +85863,7 @@ paths: type: array items: *257 examples: - default: *557 + default: *555 '404': *6 x-github: githubCloudOnly: false @@ -86291,8 +85892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *357 - - *358 + - *354 + - *355 - 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 @@ -86379,7 +85980,7 @@ paths: type: array items: *88 examples: - default: &569 + default: &567 value: - id: 1 node_id: MDU6SXNzdWUx @@ -86528,7 +86129,7 @@ paths: state_reason: completed headers: Link: *70 - '301': *361 + '301': *358 '422': *15 '404': *6 x-github: @@ -86557,8 +86158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -86667,7 +86268,7 @@ paths: application/json: schema: *88 examples: - default: &566 + default: &564 value: id: 1 node_id: MDU6SXNzdWUx @@ -86824,7 +86425,7 @@ paths: '422': *15 '503': *122 '404': *6 - '410': *558 + '410': *556 x-github: triggersNotification: true githubCloudOnly: false @@ -86852,8 +86453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *112 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -86874,9 +86475,9 @@ paths: application/json: schema: type: array - items: *559 + items: *557 examples: - default: &568 + default: &566 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86934,17 +86535,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '200': description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: &560 + default: &558 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86999,8 +86600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -87023,9 +86624,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: *560 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -87043,8 +86644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '204': @@ -87073,15 +86674,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '200': description: Response content: application/json: - schema: *559 + schema: *557 examples: default: value: @@ -87137,7 +86738,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *558 + '410': *556 '422': *15 x-github: githubCloudOnly: false @@ -87154,8 +86755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '204': @@ -87163,7 +86764,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *558 + '410': *556 '503': *122 x-github: githubCloudOnly: false @@ -87181,8 +86782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87209,9 +86810,9 @@ paths: application/json: schema: type: array - items: *488 + items: *485 examples: - default: *561 + default: *559 headers: Link: *70 '404': *6 @@ -87232,8 +86833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -87266,16 +86867,16 @@ paths: description: Reaction exists content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '201': description: Reaction created content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '422': *15 x-github: githubCloudOnly: false @@ -87297,10 +86898,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *357 - - *358 + - *354 + - *355 - *104 - - *562 + - *560 responses: '204': description: Response @@ -87320,8 +86921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -87331,7 +86932,7 @@ paths: application/json: schema: type: array - items: &565 + items: &563 title: Issue Event description: Issue Event type: object @@ -87374,8 +86975,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *563 - required: *564 + properties: *561 + required: *562 nullable: true label: title: Issue Event Label @@ -87683,8 +87284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *357 - - *358 + - *354 + - *355 - name: event_id in: path required: true @@ -87695,7 +87296,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *563 examples: default: value: @@ -87888,7 +87489,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *558 + '410': *556 '403': *29 x-github: githubCloudOnly: false @@ -87922,9 +87523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *357 - - *358 - - &567 + - *354 + - *355 + - &565 name: issue_number description: The number that identifies the issue. in: path @@ -87940,7 +87541,7 @@ paths: examples: default: summary: Issue - value: *566 + value: *564 pinned_comment: summary: Issue with pinned comment value: @@ -88139,9 +87740,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 '304': *37 x-github: githubCloudOnly: false @@ -88166,9 +87767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: false content: @@ -88298,13 +87899,13 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 '422': *15 '503': *122 '403': *29 - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88322,9 +87923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: false content: @@ -88352,7 +87953,7 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88368,9 +87969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: content: application/json: @@ -88397,7 +87998,7 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88419,9 +88020,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: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - name: assignee in: path required: true @@ -88461,9 +88062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *95 - *17 - *19 @@ -88474,13 +88075,13 @@ paths: application/json: schema: type: array - items: *559 + items: *557 examples: - default: *568 + default: *566 headers: Link: *70 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88509,9 +88110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -88533,16 +88134,16 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: *560 + default: *558 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *558 + '410': *556 '422': *15 '404': *6 x-github: @@ -88570,9 +88171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -88584,12 +88185,12 @@ paths: type: array items: *88 examples: - default: *569 + default: *567 headers: Link: *70 - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88617,9 +88218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -88643,15 +88244,15 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *361 + '301': *358 '403': *29 - '410': *558 + '410': *556 '422': *15 '404': *6 x-github: @@ -88682,9 +88283,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -88698,13 +88299,13 @@ paths: application/json: schema: *88 examples: - default: *566 - '301': *361 + default: *564 + '301': *358 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *558 + '410': *556 x-github: triggersNotification: true githubCloudOnly: false @@ -88730,9 +88331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -88744,12 +88345,12 @@ paths: type: array items: *88 examples: - default: *569 + default: *567 headers: Link: *70 - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88766,9 +88367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -88782,7 +88383,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &573 + - &571 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -88836,7 +88437,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &572 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -88972,7 +88573,7 @@ paths: - performed_via_github_app - assignee - assigner - - &575 + - &573 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89023,7 +88624,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &574 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89074,7 +88675,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &575 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89128,7 +88729,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &576 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89175,7 +88776,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &577 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -89222,7 +88823,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &578 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -89282,7 +88883,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &579 title: Locked Issue Event description: Locked Issue Event type: object @@ -89330,7 +88931,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &580 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -89396,7 +88997,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &581 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -89462,7 +89063,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &582 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -89528,7 +89129,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &583 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -89619,7 +89220,7 @@ paths: color: red headers: Link: *70 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89636,9 +89237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -89648,9 +89249,9 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: - default: &571 + default: &569 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -89685,9 +89286,9 @@ paths: color: green headers: Link: *70 - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89716,9 +89317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -89788,9 +89389,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *570 + items: *568 examples: - default: *571 + default: *569 '400': *14 '403': *29 '404': *6 @@ -89826,9 +89427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -89893,9 +89494,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *570 + items: *568 examples: - default: *571 + default: *569 '400': *14 '403': *29 '404': *6 @@ -89926,9 +89527,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: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *256 responses: '204': @@ -89954,9 +89555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -89968,7 +89569,7 @@ paths: type: array items: *87 examples: - default: &572 + default: &570 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89986,9 +89587,9 @@ paths: default: false headers: Link: *70 - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90004,9 +89605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: false content: @@ -90051,10 +89652,10 @@ paths: type: array items: *87 examples: - default: *572 - '301': *361 + default: *570 + '301': *358 '404': *6 - '410': *558 + '410': *556 '422': *15 x-github: githubCloudOnly: false @@ -90071,9 +89672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: false content: @@ -90135,10 +89736,10 @@ paths: type: array items: *87 examples: - default: *572 - '301': *361 + default: *570 + '301': *358 '404': *6 - '410': *558 + '410': *556 '422': *15 x-github: githubCloudOnly: false @@ -90155,15 +89756,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 responses: '204': description: Response - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90182,9 +89783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - name: name in: path required: true @@ -90208,9 +89809,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90230,9 +89831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: false content: @@ -90260,7 +89861,7 @@ paths: '204': description: Response '403': *29 - '410': *558 + '410': *556 '404': *6 '422': *15 x-github: @@ -90278,9 +89879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 responses: '204': description: Response @@ -90310,9 +89911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 responses: '200': description: Response @@ -90320,10 +89921,10 @@ paths: application/json: schema: *88 examples: - default: *566 - '301': *361 + default: *564 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90340,9 +89941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - 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. @@ -90368,13 +89969,13 @@ paths: application/json: schema: type: array - items: *488 + items: *485 examples: - default: *561 + default: *559 headers: Link: *70 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90392,9 +89993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -90426,16 +90027,16 @@ paths: description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '201': description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '422': *15 x-github: githubCloudOnly: false @@ -90457,10 +90058,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *357 - - *358 - - *567 - - *562 + - *354 + - *355 + - *565 + - *560 responses: '204': description: Response @@ -90489,9 +90090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -90515,7 +90116,7 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90548,9 +90149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -90562,11 +90163,11 @@ paths: type: array items: *88 examples: - default: *569 + default: *567 headers: Link: *70 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90594,9 +90195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -90625,14 +90226,14 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *558 + '410': *556 '422': *15 '404': *6 x-github: @@ -90652,9 +90253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -90687,7 +90288,7 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 '403': *29 '404': *6 '422': *7 @@ -90709,9 +90310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -90726,6 +90327,8 @@ paths: description: Timeline Event type: object anyOf: + - *571 + - *572 - *573 - *574 - *575 @@ -90737,8 +90340,6 @@ paths: - *581 - *582 - *583 - - *584 - - *585 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -90799,8 +90400,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *586 - required: *587 + properties: *584 + required: *585 nullable: true required: - event @@ -91055,7 +90656,7 @@ paths: type: string comments: type: array - items: &607 + items: &605 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91270,7 +90871,7 @@ paths: type: string comments: type: array - items: *487 + items: *484 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -91559,7 +91160,7 @@ paths: headers: Link: *70 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91576,8 +91177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -91587,7 +91188,7 @@ paths: application/json: schema: type: array - items: &588 + items: &586 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91653,8 +91254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -91690,9 +91291,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: - default: &589 + default: &587 value: id: 1 key: ssh-rsa AAA... @@ -91726,9 +91327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *357 - - *358 - - &590 + - *354 + - *355 + - &588 name: key_id description: The unique identifier of the key. in: path @@ -91740,9 +91341,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: - default: *589 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -91760,9 +91361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *357 - - *358 - - *590 + - *354 + - *355 + - *588 responses: '204': description: Response @@ -91782,8 +91383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -91795,7 +91396,7 @@ paths: type: array items: *87 examples: - default: *572 + default: *570 headers: Link: *70 '404': *6 @@ -91816,8 +91417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -91855,7 +91456,7 @@ paths: application/json: schema: *87 examples: - default: &591 + default: &589 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91887,8 +91488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *357 - - *358 + - *354 + - *355 - name: name in: path required: true @@ -91901,7 +91502,7 @@ paths: application/json: schema: *87 examples: - default: *591 + default: *589 '404': *6 x-github: githubCloudOnly: false @@ -91918,8 +91519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *357 - - *358 + - *354 + - *355 - name: name in: path required: true @@ -91984,8 +91585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *357 - - *358 + - *354 + - *355 - name: name in: path required: true @@ -92011,8 +91612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -92051,9 +91652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *357 - - *358 - - *460 + - *354 + - *355 + - *457 responses: '200': description: Response @@ -92198,8 +91799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -92264,8 +91865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -92299,9 +91900,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *490 + schema: *487 examples: - default: *592 + default: *590 '204': description: Response when already merged '404': @@ -92326,8 +91927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *357 - - *358 + - *354 + - *355 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -92368,7 +91969,7 @@ paths: application/json: schema: type: array - items: &593 + items: &591 title: Milestone description: A collection of related issues and pull requests. type: object @@ -92429,8 +92030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -92470,9 +92071,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: &594 + default: &592 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92531,9 +92132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *357 - - *358 - - &595 + - *354 + - *355 + - &593 name: milestone_number description: The number that identifies the milestone. in: path @@ -92545,9 +92146,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *594 + default: *592 '404': *6 x-github: githubCloudOnly: false @@ -92564,9 +92165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *357 - - *358 - - *595 + - *354 + - *355 + - *593 requestBody: required: false content: @@ -92604,9 +92205,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *594 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92622,9 +92223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *357 - - *358 - - *595 + - *354 + - *355 + - *593 responses: '204': description: Response @@ -92645,9 +92246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *357 - - *358 - - *595 + - *354 + - *355 + - *593 - *17 - *19 responses: @@ -92659,7 +92260,7 @@ paths: type: array items: *87 examples: - default: *572 + default: *570 headers: Link: *70 x-github: @@ -92678,12 +92279,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *357 - - *358 - - *596 - - *597 + - *354 + - *355 + - *594 + - *595 - *95 - - *598 + - *596 - *17 - *19 responses: @@ -92695,7 +92296,7 @@ paths: type: array items: *115 examples: - default: *599 + default: *597 headers: Link: *70 x-github: @@ -92719,8 +92320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -92778,14 +92379,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &600 + schema: &598 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -92910,7 +92511,7 @@ paths: - custom_404 - public examples: - default: &601 + default: &599 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -92951,8 +92552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -93006,9 +92607,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *598 examples: - default: *601 + default: *599 '422': *15 '409': *54 x-github: @@ -93031,8 +92632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -93131,8 +92732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -93158,8 +92759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -93169,7 +92770,7 @@ paths: application/json: schema: type: array - items: &602 + items: &600 title: Page Build description: Page Build type: object @@ -93263,8 +92864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *357 - - *358 + - *354 + - *355 responses: '201': description: Response @@ -93309,16 +92910,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *602 + schema: *600 examples: - default: &603 + default: &601 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -93366,8 +92967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *357 - - *358 + - *354 + - *355 - name: build_id in: path required: true @@ -93378,9 +92979,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *600 examples: - default: *603 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93400,8 +93001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -93506,9 +93107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *357 - - *358 - - &604 + - *354 + - *355 + - &602 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93566,9 +93167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *357 - - *358 - - *604 + - *354 + - *355 + - *602 responses: '204': *61 '404': *6 @@ -93595,8 +93196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -93854,8 +93455,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Private vulnerability reporting status @@ -93892,8 +93493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': *61 '422': *14 @@ -93914,8 +93515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': *61 '422': *14 @@ -93937,8 +93538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -93977,8 +93578,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -94040,8 +93641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *357 - - *358 + - *354 + - *355 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94101,9 +93702,9 @@ paths: application/json: schema: type: array - items: *494 + items: *491 examples: - default: *605 + default: *603 headers: Link: *70 '304': *37 @@ -94135,8 +93736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -94201,7 +93802,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &607 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -94412,7 +94013,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *606 + auto_merge: *604 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -94504,7 +94105,7 @@ paths: - merged_by - review_comments examples: - default: &610 + default: &608 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95031,8 +94632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - name: sort in: query required: false @@ -95061,9 +94662,9 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: - default: &612 + default: &610 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95140,17 +94741,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '200': description: Response content: application/json: - schema: *607 + schema: *605 examples: - default: &608 + default: &606 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95225,8 +94826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -95249,9 +94850,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *605 examples: - default: *608 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95267,8 +94868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '204': @@ -95290,8 +94891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -95318,9 +94919,9 @@ paths: application/json: schema: type: array - items: *488 + items: *485 examples: - default: *561 + default: *559 headers: Link: *70 '404': *6 @@ -95341,8 +94942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -95375,16 +94976,16 @@ paths: description: Reaction exists content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '201': description: Reaction created content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '422': *15 x-github: githubCloudOnly: false @@ -95406,10 +95007,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *357 - - *358 + - *354 + - *355 - *104 - - *562 + - *560 responses: '204': description: Response @@ -95452,9 +95053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *357 - - *358 - - &611 + - *354 + - *355 + - &609 name: pull_number description: The number that identifies the pull request. in: path @@ -95467,9 +95068,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *609 + schema: *607 examples: - default: *610 + default: *608 '304': *37 '404': *6 '406': @@ -95504,9 +95105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: false content: @@ -95548,9 +95149,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *610 + default: *608 '422': *15 '403': *29 x-github: @@ -95572,9 +95173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: true content: @@ -95636,7 +95237,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -95644,7 +95245,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '401': *25 '403': *29 '404': *6 @@ -95674,9 +95275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -95697,9 +95298,9 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: - default: *612 + default: *610 headers: Link: *70 x-github: @@ -95732,9 +95333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: true content: @@ -95839,7 +95440,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *605 examples: example-for-a-multi-line-comment: value: @@ -95927,9 +95528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 - *104 requestBody: required: true @@ -95952,7 +95553,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *605 examples: default: value: @@ -96038,9 +95639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 - *17 - *19 responses: @@ -96050,9 +95651,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: *613 + default: *611 headers: Link: *70 x-github: @@ -96082,9 +95683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 - *17 - *19 responses: @@ -96094,7 +95695,7 @@ paths: application/json: schema: type: array - items: *503 + items: *500 examples: default: value: @@ -96132,9 +95733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 responses: '204': description: Response if pull request has been merged @@ -96157,9 +95758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: false content: @@ -96270,9 +95871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 responses: '200': description: Response @@ -96347,9 +95948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: false content: @@ -96386,7 +95987,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *491 examples: default: value: @@ -96922,9 +96523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: true content: @@ -96958,7 +96559,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *491 examples: default: value: @@ -97463,9 +97064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 - *17 - *19 responses: @@ -97475,7 +97076,7 @@ paths: application/json: schema: type: array - items: &614 + items: &612 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -97626,9 +97227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: false content: @@ -97714,9 +97315,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: - default: &616 + default: &614 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97779,10 +97380,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 - - &615 + - *354 + - *355 + - *609 + - &613 name: review_id description: The unique identifier of the review. in: path @@ -97794,9 +97395,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: - default: &617 + default: &615 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97855,10 +97456,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 - - *615 + - *354 + - *355 + - *609 + - *613 requestBody: required: true content: @@ -97881,7 +97482,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: default: value: @@ -97943,18 +97544,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 - - *615 + - *354 + - *355 + - *609 + - *613 responses: '200': description: Response content: application/json: - schema: *614 + schema: *612 examples: - default: *616 + default: *614 '422': *7 '404': *6 x-github: @@ -97981,10 +97582,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *357 - - *358 - - *611 - - *615 + - *354 + - *355 + - *609 + - *613 - *17 - *19 responses: @@ -98219,10 +97820,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 - - *615 + - *354 + - *355 + - *609 + - *613 requestBody: required: true content: @@ -98250,7 +97851,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: default: value: @@ -98313,10 +97914,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 - - *615 + - *354 + - *355 + - *609 + - *613 requestBody: required: true content: @@ -98351,9 +97952,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: - default: *617 + default: *615 '404': *6 '422': *7 '403': *29 @@ -98375,9 +97976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: false content: @@ -98440,8 +98041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *357 - - *358 + - *354 + - *355 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -98454,9 +98055,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: &619 + default: &617 value: type: file encoding: base64 @@ -98498,8 +98099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *357 - - *358 + - *354 + - *355 - name: dir description: The alternate path to look for a README file in: path @@ -98519,9 +98120,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: *619 + default: *617 '404': *6 '422': *15 x-github: @@ -98543,8 +98144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -98554,7 +98155,7 @@ paths: application/json: schema: type: array - items: *620 + items: *618 examples: default: value: @@ -98648,8 +98249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -98725,9 +98326,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: &624 + default: &622 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -98832,9 +98433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *357 - - *358 - - &622 + - *354 + - *355 + - &620 name: asset_id description: The unique identifier of the asset. in: path @@ -98846,9 +98447,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *619 examples: - default: &623 + default: &621 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 @@ -98883,7 +98484,7 @@ paths: type: User site_admin: false '404': *6 - '302': *507 + '302': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98899,9 +98500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *357 - - *358 - - *622 + - *354 + - *355 + - *620 requestBody: required: false content: @@ -98929,9 +98530,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *619 examples: - default: *623 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98947,9 +98548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *357 - - *358 - - *622 + - *354 + - *355 + - *620 responses: '204': description: Response @@ -98974,8 +98575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -99060,16 +98661,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: *624 + default: *622 '404': *6 x-github: githubCloudOnly: false @@ -99087,8 +98688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *357 - - *358 + - *354 + - *355 - name: tag description: tag parameter in: path @@ -99101,9 +98702,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: *624 + default: *622 '404': *6 x-github: githubCloudOnly: false @@ -99125,9 +98726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *357 - - *358 - - &625 + - *354 + - *355 + - &623 name: release_id description: The unique identifier of the release. in: path @@ -99141,9 +98742,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: *620 + schema: *618 examples: - default: *624 + default: *622 '401': description: Unauthorized x-github: @@ -99161,9 +98762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 requestBody: required: false content: @@ -99227,9 +98828,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: *624 + default: *622 '404': description: Not Found if the discussion category name is invalid content: @@ -99250,9 +98851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 responses: '204': description: Response @@ -99273,9 +98874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 - *17 - *19 responses: @@ -99285,7 +98886,7 @@ paths: application/json: schema: type: array - items: *621 + items: *619 examples: default: value: @@ -99366,9 +98967,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: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 - name: name in: query required: true @@ -99394,7 +98995,7 @@ paths: description: Response for successful upload content: application/json: - schema: *621 + schema: *619 examples: response-for-successful-upload: value: @@ -99449,9 +99050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 - 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. @@ -99475,9 +99076,9 @@ paths: application/json: schema: type: array - items: *488 + items: *485 examples: - default: *561 + default: *559 headers: Link: *70 '404': *6 @@ -99498,9 +99099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 requestBody: required: true content: @@ -99530,16 +99131,16 @@ paths: description: Reaction exists content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '201': description: Reaction created content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '422': *15 x-github: githubCloudOnly: false @@ -99561,10 +99162,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *357 - - *358 - - *625 - - *562 + - *354 + - *355 + - *623 + - *560 responses: '204': description: Response @@ -99588,9 +99189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 - *17 - *19 responses: @@ -99607,7 +99208,7 @@ paths: oneOf: - allOf: - *318 - - &626 + - &624 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -99628,67 +99229,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *319 - - *626 + - *624 - allOf: - *320 - - *626 + - *624 - allOf: - *321 - - *626 + - *624 - allOf: - - *627 - - *626 + - *625 + - *624 - allOf: - *322 - - *626 + - *624 - allOf: - *323 - - *626 + - *624 - allOf: - *324 - - *626 + - *624 - allOf: - *325 - - *626 + - *624 - allOf: - *326 - - *626 + - *624 - allOf: - *327 - - *626 + - *624 - allOf: - *328 - - *626 + - *624 - allOf: - *329 - - *626 + - *624 - allOf: - *330 - - *626 + - *624 - allOf: - *331 - - *626 + - *624 - allOf: - *336 - - *626 + - *624 - allOf: - *337 - - *626 + - *624 - allOf: - *338 - - *626 + - *624 - allOf: - *332 - - *626 + - *624 - allOf: - *333 - - *626 + - *624 - allOf: - *334 - - *626 + - *624 - allOf: - *335 - - *626 + - *624 examples: default: value: @@ -99727,8 +99328,8 @@ paths: category: repos subcategory: rules parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 - name: includes_parents @@ -99739,7 +99340,7 @@ paths: schema: type: boolean default: true - - *628 + - *626 responses: '200': description: Response @@ -99794,8 +99395,8 @@ paths: category: repos subcategory: rules parameters: - - *357 - - *358 + - *354 + - *355 requestBody: description: Request body required: true @@ -99824,7 +99425,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *629 + items: *627 required: - name - enforcement @@ -99857,7 +99458,7 @@ paths: application/json: schema: *339 examples: - default: &640 + default: &638 value: id: 42 name: super cool ruleset @@ -99905,13 +99506,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *357 - - *358 + - *354 + - *355 + - *628 + - *629 - *630 - *631 - *632 - - *633 - - *634 - *17 - *19 responses: @@ -99919,9 +99520,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '404': *6 '500': *55 x-github: @@ -99942,17 +99543,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *357 - - *358 - - *637 + - *354 + - *355 + - *635 responses: '200': description: Response content: application/json: - schema: *638 + schema: *636 examples: - default: *639 + default: *637 '404': *6 '500': *55 x-github: @@ -99980,8 +99581,8 @@ paths: category: repos subcategory: rules parameters: - - *357 - - *358 + - *354 + - *355 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100003,7 +99604,7 @@ paths: application/json: schema: *339 examples: - default: *640 + default: *638 '404': *6 '500': *55 put: @@ -100021,8 +99622,8 @@ paths: category: repos subcategory: rules parameters: - - *357 - - *358 + - *354 + - *355 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100056,7 +99657,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *629 + items: *627 examples: default: value: @@ -100086,7 +99687,7 @@ paths: application/json: schema: *339 examples: - default: *640 + default: *638 '404': *6 '422': *15 '500': *55 @@ -100105,8 +99706,8 @@ paths: category: repos subcategory: rules parameters: - - *357 - - *358 + - *354 + - *355 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100129,8 +99730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 - name: ruleset_id @@ -100148,7 +99749,7 @@ paths: type: array items: *342 examples: - default: *641 + default: *639 '404': *6 '500': *55 x-github: @@ -100167,8 +99768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *357 - - *358 + - *354 + - *355 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100186,7 +99787,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *640 examples: default: value: @@ -100241,26 +99842,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 + - *641 + - *642 - *643 - *644 - *645 - *646 - *647 - *648 - - *649 - - *650 - *62 - *19 - *17 + - *649 + - *650 - *651 - *652 - *653 - *654 - *655 - - *656 - - *657 responses: '200': description: Response @@ -100268,7 +99869,7 @@ paths: application/json: schema: type: array - items: &661 + items: &659 type: object properties: number: *188 @@ -100287,8 +99888,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *658 - resolution: *659 + state: *656 + resolution: *657 resolved_at: type: string format: date-time @@ -100394,7 +99995,7 @@ paths: pull request. ' - oneOf: *660 + oneOf: *658 nullable: true has_more_locations: type: boolean @@ -100558,16 +100159,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *357 - - *358 - - *454 - - *656 + - *354 + - *355 + - *451 + - *654 responses: '200': description: Response content: application/json: - schema: *661 + schema: *659 examples: default: value: @@ -100621,9 +100222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 requestBody: required: true content: @@ -100631,8 +100232,8 @@ paths: schema: type: object properties: - state: *658 - resolution: *659 + state: *656 + resolution: *657 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -100676,7 +100277,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *659 examples: default: value: @@ -100775,9 +100376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 - *19 - *17 responses: @@ -100788,7 +100389,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &818 + items: &816 type: object properties: type: @@ -100814,6 +100415,8 @@ paths: example: commit details: oneOf: + - *660 + - *661 - *662 - *663 - *664 @@ -100825,8 +100428,6 @@ paths: - *670 - *671 - *672 - - *673 - - *674 examples: default: value: @@ -100912,8 +100513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -100921,14 +100522,14 @@ paths: schema: type: object properties: - reason: &676 + reason: &674 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *675 + placeholder_id: *673 required: - reason - placeholder_id @@ -100945,7 +100546,7 @@ paths: schema: type: object properties: - reason: *676 + reason: *674 expire_at: type: string format: date-time @@ -100991,8 +100592,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: - - *357 - - *358 + - *354 + - *355 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -101007,7 +100608,7 @@ paths: properties: incremental_scans: type: array - items: &677 + items: &675 description: Information on a single scan performed by secret scanning on the repository type: object @@ -101038,15 +100639,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *677 + items: *675 backfill_scans: type: array - items: *677 + items: *675 custom_pattern_backfill_scans: type: array items: allOf: - - *677 + - *675 - type: object properties: pattern_name: @@ -101059,7 +100660,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *677 + items: *675 examples: default: value: @@ -101124,8 +100725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *357 - - *358 + - *354 + - *355 - *62 - name: sort description: The property to sort the results by. @@ -101169,9 +100770,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: *679 + default: *677 '400': *14 '404': *6 x-github: @@ -101194,8 +100795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -101355,9 +100956,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: &681 + default: &679 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -101590,8 +101191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -101695,7 +101296,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: default: value: @@ -101842,17 +101443,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *357 - - *358 - - *680 + - *354 + - *355 + - *678 responses: '200': description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: *681 + default: *679 '403': *29 '404': *6 x-github: @@ -101876,9 +101477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *357 - - *358 - - *680 + - *354 + - *355 + - *678 requestBody: required: true content: @@ -102037,10 +101638,10 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: *681 - add_credit: *681 + default: *679 + add_credit: *679 '403': *29 '404': *6 '422': @@ -102078,9 +101679,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: - - *357 - - *358 - - *680 + - *354 + - *355 + - *678 responses: '202': *39 '400': *14 @@ -102107,17 +101708,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *357 - - *358 - - *680 + - *354 + - *355 + - *678 responses: '202': description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *362 + default: *359 '400': *14 '422': *15 '403': *29 @@ -102143,8 +101744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -102243,8 +101844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -102253,7 +101854,7 @@ paths: application/json: schema: type: array - items: &682 + items: &680 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -102286,8 +101887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -102363,8 +101964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -102460,8 +102061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -102615,8 +102216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -102626,7 +102227,7 @@ paths: application/json: schema: type: array - items: *682 + items: *680 examples: default: value: @@ -102659,8 +102260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *357 - - *358 + - *354 + - *355 - name: sha in: path required: true @@ -102714,7 +102315,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *681 examples: default: value: @@ -102768,8 +102369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -102801,14 +102402,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &684 + schema: &682 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -102876,8 +102477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -102903,7 +102504,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *682 examples: default: value: @@ -102930,8 +102531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -102951,8 +102552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -103031,8 +102632,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *357 - - *358 + - *354 + - *355 - name: ref in: path required: true @@ -103068,8 +102669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -103101,8 +102702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *357 - - *358 + - *354 + - *355 - *19 - *17 responses: @@ -103110,7 +102711,7 @@ paths: description: Response content: application/json: - schema: &685 + schema: &683 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -103122,7 +102723,7 @@ paths: required: - names examples: - default: &686 + default: &684 value: names: - octocat @@ -103145,8 +102746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -103177,9 +102778,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: *686 + default: *684 '404': *6 '422': *7 x-github: @@ -103200,9 +102801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *357 - - *358 - - &687 + - *354 + - *355 + - &685 name: per description: The time frame to display results for. in: query @@ -103231,7 +102832,7 @@ paths: example: 128 clones: type: array - items: &688 + items: &686 title: Traffic type: object properties: @@ -103318,8 +102919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -103409,8 +103010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -103470,9 +103071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *357 - - *358 - - *687 + - *354 + - *355 + - *685 responses: '200': description: Response @@ -103491,7 +103092,7 @@ paths: example: 3782 views: type: array - items: *688 + items: *686 required: - uniques - count @@ -103568,8 +103169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -103843,8 +103444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -103867,8 +103468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -103890,8 +103491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -103917,8 +103518,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *357 - - *358 + - *354 + - *355 - name: ref in: path required: true @@ -104010,9 +103611,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *362 + default: *359 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104263,7 +103864,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &689 + text_matches: &687 title: Search Result Text Matches type: array items: @@ -104425,7 +104026,7 @@ paths: enum: - author-date - committer-date - - &690 + - &688 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 @@ -104496,7 +104097,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *421 + properties: *418 nullable: true comment_count: type: integer @@ -104516,7 +104117,7 @@ paths: url: type: string format: uri - verification: *543 + verification: *540 required: - author - committer @@ -104535,7 +104136,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *421 + properties: *418 nullable: true parents: type: array @@ -104553,7 +104154,7 @@ paths: type: number node_id: type: string - text_matches: *689 + text_matches: *687 required: - sha - node_id @@ -104745,7 +104346,7 @@ paths: - interactions - created - updated - - *690 + - *688 - *17 - *19 - name: advanced_search @@ -104859,11 +104460,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: type: string state_reason: @@ -104895,7 +104496,7 @@ paths: type: string format: date-time nullable: true - text_matches: *689 + text_matches: *687 pull_request: type: object properties: @@ -105177,7 +104778,7 @@ paths: enum: - created - updated - - *690 + - *688 - *17 - *19 responses: @@ -105221,7 +104822,7 @@ paths: nullable: true score: type: number - text_matches: *689 + text_matches: *687 required: - id - node_id @@ -105306,7 +104907,7 @@ paths: - forks - help-wanted-issues - updated - - *690 + - *688 - *17 - *19 responses: @@ -105554,7 +105155,7 @@ paths: - admin - pull - push - text_matches: *689 + text_matches: *687 temp_clone_token: type: string allow_merge_commit: @@ -105854,7 +105455,7 @@ paths: type: string format: uri nullable: true - text_matches: *689 + text_matches: *687 related: type: array nullable: true @@ -106045,7 +105646,7 @@ paths: - followers - repositories - joined - - *690 + - *688 - *17 - *19 responses: @@ -106149,7 +105750,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *689 + text_matches: *687 blog: type: string nullable: true @@ -106228,7 +105829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &693 + - &691 name: team_id description: The unique identifier of the team. in: path @@ -106240,9 +105841,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '404': *6 x-github: githubCloudOnly: false @@ -106269,7 +105870,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *693 + - *691 requestBody: required: true content: @@ -106332,16 +105933,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '201': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '404': *6 '422': *15 '403': *29 @@ -106369,7 +105970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *693 + - *691 responses: '204': description: Response @@ -106398,7 +105999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *693 + - *691 - *17 - *19 responses: @@ -106436,7 +106037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *693 + - *691 - name: role description: Filters members returned by their role in the team. in: query @@ -106487,7 +106088,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *693 + - *691 - *74 responses: '204': @@ -106524,7 +106125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *693 + - *691 - *74 responses: '204': @@ -106564,7 +106165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *693 + - *691 - *74 responses: '204': @@ -106601,16 +106202,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *693 + - *691 - *74 responses: '200': description: Response content: application/json: - schema: *356 + schema: *353 examples: - response-if-user-is-a-team-maintainer: *694 + response-if-user-is-a-team-maintainer: *692 '404': *6 x-github: githubCloudOnly: false @@ -106643,7 +106244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *693 + - *691 - *74 requestBody: required: false @@ -106669,9 +106270,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *353 examples: - response-if-users-membership-with-team-is-now-pending: *695 + response-if-users-membership-with-team-is-now-pending: *693 '403': description: Forbidden if team synchronization is set up '422': @@ -106705,7 +106306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *693 + - *691 - *74 responses: '204': @@ -106733,7 +106334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *693 + - *691 - *17 - *19 responses: @@ -106775,15 +106376,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *693 - - *357 - - *358 + - *691 + - *354 + - *355 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *696 + schema: *694 examples: alternative-response-with-extra-repository-information: value: @@ -106934,9 +106535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *693 - - *357 - - *358 + - *691 + - *354 + - *355 requestBody: required: false content: @@ -106986,9 +106587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *693 - - *357 - - *358 + - *691 + - *354 + - *355 responses: '204': description: Response @@ -107013,7 +106614,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *693 + - *691 - *17 - *19 responses: @@ -107025,7 +106626,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: *697 + response-if-child-teams-exist: *695 headers: Link: *70 '404': *6 @@ -107058,7 +106659,7 @@ paths: application/json: schema: oneOf: - - &699 + - &697 title: Private User description: Private User type: object @@ -107261,7 +106862,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *698 + - *696 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -107414,7 +107015,7 @@ paths: description: Response content: application/json: - schema: *699 + schema: *697 examples: default: value: @@ -107760,7 +107361,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -107768,7 +107369,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '401': *25 '403': *29 '404': *6 @@ -107812,7 +107413,7 @@ paths: type: integer secrets: type: array - items: &700 + items: &698 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -107852,7 +107453,7 @@ paths: - visibility - selected_repositories_url examples: - default: *480 + default: *477 headers: Link: *70 x-github: @@ -107928,7 +107529,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *698 examples: default: value: @@ -108226,7 +107827,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '304': *37 '500': *55 '401': *25 @@ -108284,7 +107885,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '401': *25 '403': *29 '404': *6 @@ -108341,7 +107942,7 @@ paths: description: Response content: application/json: - schema: &701 + schema: &699 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -108382,7 +107983,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &702 + default: &700 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -108427,9 +108028,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *699 examples: - default: *702 + default: *700 '404': *6 x-github: githubCloudOnly: false @@ -108466,9 +108067,9 @@ paths: type: integer machines: type: array - items: *703 + items: *701 examples: - default: *704 + default: *702 '304': *37 '500': *55 '401': *25 @@ -108547,13 +108148,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *360 + repository: *357 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *478 - required: *479 + properties: *475 + required: *476 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -109335,7 +108936,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '304': *37 '500': *55 '400': *14 @@ -109375,7 +108976,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '500': *55 '401': *25 '403': *29 @@ -109407,7 +109008,7 @@ paths: type: array items: *275 examples: - default: &715 + default: &713 value: - id: 197 name: hello_docker @@ -109508,7 +109109,7 @@ paths: application/json: schema: type: array - items: &705 + items: &703 title: Email description: Email type: object @@ -109573,9 +109174,9 @@ paths: application/json: schema: type: array - items: *705 + items: *703 examples: - default: &717 + default: &715 value: - email: octocat@github.com verified: true @@ -109650,7 +109251,7 @@ paths: application/json: schema: type: array - items: *705 + items: *703 examples: default: value: @@ -109906,7 +109507,7 @@ paths: application/json: schema: type: array - items: &706 + items: &704 title: GPG Key description: A unique encryption key type: object @@ -110037,7 +109638,7 @@ paths: - subkeys - revoked examples: - default: &734 + default: &732 value: - id: 3 name: Octocat's GPG Key @@ -110122,9 +109723,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *704 examples: - default: &707 + default: &705 value: id: 3 name: Octocat's GPG Key @@ -110181,7 +109782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &708 + - &706 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -110193,9 +109794,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *704 examples: - default: *707 + default: *705 '404': *6 '304': *37 '403': *29 @@ -110218,7 +109819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *708 + - *706 responses: '204': description: Response @@ -110535,7 +110136,7 @@ paths: required: true content: application/json: - schema: *554 + schema: *551 examples: default: value: @@ -110685,7 +110286,7 @@ paths: application/json: schema: type: array - items: &709 + items: &707 title: Key description: Key type: object @@ -110786,9 +110387,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *707 examples: - default: &710 + default: &708 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110821,15 +110422,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *590 + - *588 responses: '200': description: Response content: application/json: - schema: *709 + schema: *707 examples: - default: *710 + default: *708 '404': *6 '304': *37 '403': *29 @@ -110852,7 +110453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *590 + - *588 responses: '204': description: Response @@ -110885,7 +110486,7 @@ paths: application/json: schema: type: array - items: &711 + items: &709 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -110953,7 +110554,7 @@ paths: - account - plan examples: - default: &712 + default: &710 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -111015,9 +110616,9 @@ paths: application/json: schema: type: array - items: *711 + items: *709 examples: - default: *712 + default: *710 headers: Link: *70 '304': *37 @@ -112026,7 +111627,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *269 - - *713 + - *711 responses: '204': description: Response @@ -112141,7 +111742,7 @@ paths: - docker - nuget - container - - *714 + - *712 - *19 - *17 responses: @@ -112153,8 +111754,8 @@ paths: type: array items: *275 examples: - default: *715 - '400': *716 + default: *713 + '400': *714 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112183,7 +111784,7 @@ paths: application/json: schema: *275 examples: - default: &735 + default: &733 value: id: 40201 name: octo-name @@ -112545,9 +112146,9 @@ paths: application/json: schema: type: array - items: *705 + items: *703 examples: - default: *717 + default: *715 headers: Link: *70 '304': *37 @@ -112660,7 +112261,7 @@ paths: type: array items: *82 examples: - default: &724 + default: &722 summary: Default response value: - id: 1296269 @@ -112964,9 +112565,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *362 + default: *359 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -113004,9 +112605,9 @@ paths: application/json: schema: type: array - items: *556 + items: *554 examples: - default: *718 + default: *716 headers: Link: *70 '304': *37 @@ -113085,7 +112686,7 @@ paths: application/json: schema: type: array - items: &719 + items: &717 title: Social account description: Social media account type: object @@ -113100,7 +112701,7 @@ paths: - provider - url examples: - default: &720 + default: &718 value: - provider: twitter url: https://twitter.com/github @@ -113162,9 +112763,9 @@ paths: application/json: schema: type: array - items: *719 + items: *717 examples: - default: *720 + default: *718 '422': *15 '304': *37 '404': *6 @@ -113251,7 +112852,7 @@ paths: application/json: schema: type: array - items: &721 + items: &719 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -113271,7 +112872,7 @@ paths: - title - created_at examples: - default: &752 + default: &750 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -113335,9 +112936,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *719 examples: - default: &722 + default: &720 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -113367,7 +112968,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: - - &723 + - &721 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -113379,9 +112980,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *719 examples: - default: *722 + default: *720 '404': *6 '304': *37 '403': *29 @@ -113404,7 +113005,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: - - *723 + - *721 responses: '204': description: Response @@ -113433,7 +113034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &753 + - &751 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 @@ -113458,11 +113059,11 @@ paths: type: array items: *82 examples: - default-response: *724 + default-response: *722 application/vnd.github.v3.star+json: schema: type: array - items: &754 + items: &752 title: Starred Repository description: Starred Repository type: object @@ -113618,8 +113219,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: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response if this repository is starred by you @@ -113647,8 +113248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -113672,8 +113273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -113745,7 +113346,7 @@ paths: application/json: schema: type: array - items: *353 + items: *350 examples: default: value: @@ -113831,10 +113432,10 @@ paths: application/json: schema: oneOf: - - *699 - - *698 + - *697 + - *696 examples: - default-response: &728 + default-response: &726 summary: Default response value: login: octocat @@ -113869,7 +113470,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &729 + response-with-git-hub-plan-information: &727 summary: Response with GitHub plan information value: login: octocat @@ -113926,7 +113527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &726 + - &724 name: user_id description: The unique identifier of the user. in: path @@ -113992,7 +113593,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *725 + - *723 - *17 responses: '200': @@ -114027,7 +113628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *726 + - *724 - *293 requestBody: required: true @@ -114099,7 +113700,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *727 + schema: *725 examples: table_view: summary: Response for creating a table view @@ -114151,11 +113752,11 @@ paths: application/json: schema: oneOf: - - *699 - - *698 + - *697 + - *696 examples: - default-response: *728 - response-with-git-hub-plan-information: *729 + default-response: *726 + response-with-git-hub-plan-information: *727 '404': *6 x-github: githubCloudOnly: false @@ -114205,8 +113806,8 @@ paths: required: - subject_digests examples: - default: *730 - withPredicateType: *731 + default: *728 + withPredicateType: *729 responses: '200': description: Response @@ -114259,7 +113860,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *732 + default: *730 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114464,7 +114065,7 @@ paths: initiator: type: string examples: - default: *417 + default: *414 '201': description: Response content: @@ -114745,7 +114346,7 @@ paths: application/json: schema: *204 examples: - default: &733 + default: &731 summary: Example response for a user copilot space value: id: 42 @@ -114846,7 +114447,7 @@ paths: application/json: schema: *204 examples: - default: *733 + default: *731 '403': *29 '404': *6 x-github: @@ -114969,7 +114570,7 @@ paths: application/json: schema: *204 examples: - default: *733 + default: *731 '403': *29 '404': *6 '422': *15 @@ -115737,7 +115338,7 @@ paths: type: array items: *275 examples: - default: *715 + default: *713 '403': *29 '401': *25 x-github: @@ -116121,9 +115722,9 @@ paths: application/json: schema: type: array - items: *706 + items: *704 examples: - default: *734 + default: *732 headers: Link: *70 x-github: @@ -116227,7 +115828,7 @@ paths: application/json: schema: *22 examples: - default: *553 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116351,7 +115952,7 @@ paths: - docker - nuget - container - - *714 + - *712 - *74 - *19 - *17 @@ -116364,10 +115965,10 @@ paths: type: array items: *275 examples: - default: *715 + default: *713 '403': *29 '401': *25 - '400': *716 + '400': *714 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116397,7 +115998,7 @@ paths: application/json: schema: *275 examples: - default: *735 + default: *733 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116746,7 +116347,7 @@ paths: type: array items: *297 examples: - default: *736 + default: *734 headers: Link: *70 '304': *37 @@ -116806,7 +116407,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *737 + items: *735 required: - name - data_type @@ -116822,7 +116423,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *738 + iteration_configuration: *736 required: - name - data_type @@ -116844,8 +116445,8 @@ paths: value: name: Due date data_type: date - single_select_field: *739 - iteration_field: *740 + single_select_field: *737 + iteration_field: *738 responses: '201': description: Response @@ -116853,11 +116454,11 @@ paths: application/json: schema: *297 examples: - text_field: *741 - number_field: *742 - date_field: *743 - single_select_field: *744 - iteration_field: *745 + text_field: *739 + number_field: *740 + date_field: *741 + single_select_field: *742 + iteration_field: *743 '304': *37 '403': *29 '401': *25 @@ -116879,7 +116480,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *293 - - *746 + - *744 - *74 responses: '200': @@ -116888,7 +116489,7 @@ paths: application/json: schema: *297 examples: - default: *747 + default: *745 headers: Link: *70 '304': *37 @@ -117242,7 +116843,7 @@ paths: parameters: - *293 - *74 - - *748 + - *746 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -117781,7 +117382,7 @@ paths: parameters: - *74 - *124 - - *749 + - *747 - *126 responses: '200': @@ -117880,9 +117481,9 @@ paths: - *124 - *125 - *126 - - *750 + - *748 - *129 - - *751 + - *749 responses: '200': description: Response when getting a billing usage summary @@ -118016,9 +117617,9 @@ paths: application/json: schema: type: array - items: *719 + items: *717 examples: - default: *720 + default: *718 headers: Link: *70 x-github: @@ -118048,9 +117649,9 @@ paths: application/json: schema: type: array - items: *721 + items: *719 examples: - default: *752 + default: *750 headers: Link: *70 x-github: @@ -118075,7 +117676,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *74 - - *753 + - *751 - *62 - *17 - *19 @@ -118087,11 +117688,11 @@ paths: schema: anyOf: - type: array - items: *754 + items: *752 - type: array items: *82 examples: - default-response: *724 + default-response: *722 headers: Link: *70 x-github: @@ -118250,7 +117851,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &755 + enterprise: &753 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -118308,7 +117909,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &756 + installation: &754 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -118327,7 +117928,7 @@ x-webhooks: required: - id - node_id - organization: &757 + organization: &755 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -118387,13 +117988,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &758 + repository: &756 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &790 + properties: &788 id: description: Unique identifier of the repository example: 42 @@ -119088,7 +118689,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &791 + required: &789 - archive_url - assignees_url - blobs_url @@ -119239,10 +118840,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -119318,11 +118919,11 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: &759 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + rule: &757 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) @@ -119545,11 +119146,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: *759 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + rule: *757 sender: *4 required: - action @@ -119732,11 +119333,11 @@ x-webhooks: - everyone required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: *759 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + rule: *757 sender: *4 required: - action @@ -119820,7 +119421,7 @@ x-webhooks: type: string enum: - completed - check_run: &761 + check_run: &759 title: CheckRun description: A check performed on the code of a given code change type: object @@ -119911,7 +119512,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *760 + deployment: *758 details_url: example: https://example.com type: string @@ -119996,10 +119597,10 @@ x-webhooks: - output - app - pull_requests - installation: *756 - enterprise: *755 - organization: *757 - repository: *758 + installation: *754 + enterprise: *753 + organization: *755 + repository: *756 sender: *4 required: - check_run @@ -120390,11 +119991,11 @@ x-webhooks: type: string enum: - created - check_run: *761 - installation: *756 - enterprise: *755 - organization: *757 - repository: *758 + check_run: *759 + installation: *754 + enterprise: *753 + organization: *755 + repository: *756 sender: *4 required: - check_run @@ -120788,11 +120389,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *761 - installation: *756 - enterprise: *755 - organization: *757 - repository: *758 + check_run: *759 + installation: *754 + enterprise: *753 + organization: *755 + repository: *756 requested_action: description: The action requested by the user. type: object @@ -121195,11 +120796,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *761 - installation: *756 - enterprise: *755 - organization: *757 - repository: *758 + check_run: *759 + installation: *754 + enterprise: *753 + organization: *755 + repository: *756 sender: *4 required: - check_run @@ -122169,10 +121770,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -122871,10 +122472,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -123567,10 +123168,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -123736,7 +123337,7 @@ x-webhooks: required: - login - id - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -123881,20 +123482,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &762 + commit_oid: &760 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: *755 - installation: *756 - organization: *757 - ref: &763 + enterprise: *753 + installation: *754 + organization: *755 + ref: &761 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: *758 + repository: *756 sender: *4 required: - action @@ -124059,7 +123660,7 @@ x-webhooks: required: - login - id - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124289,12 +123890,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *762 - enterprise: *755 - installation: *756 - organization: *757 - ref: *763 - repository: *758 + commit_oid: *760 + enterprise: *753 + installation: *754 + organization: *755 + ref: *761 + repository: *756 sender: *4 required: - action @@ -124389,7 +123990,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124560,12 +124161,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *762 - enterprise: *755 - installation: *756 - organization: *757 - ref: *763 - repository: *758 + commit_oid: *760 + enterprise: *753 + installation: *754 + organization: *755 + ref: *761 + repository: *756 sender: *4 required: - action @@ -124731,7 +124332,7 @@ x-webhooks: required: - login - id - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124897,12 +124498,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *762 - enterprise: *755 - installation: *756 - organization: *757 - ref: *763 - repository: *758 + commit_oid: *760 + enterprise: *753 + installation: *754 + organization: *755 + ref: *761 + repository: *756 sender: *4 required: - action @@ -125001,7 +124602,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125176,16 +124777,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *758 + repository: *756 sender: *4 required: - action @@ -125282,7 +124883,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125422,12 +125023,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *762 - enterprise: *755 - installation: *756 - organization: *757 - ref: *763 - repository: *758 + commit_oid: *760 + enterprise: *753 + installation: *754 + organization: *755 + ref: *761 + repository: *756 sender: *4 required: - action @@ -125593,7 +125194,7 @@ x-webhooks: required: - login - id - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125738,10 +125339,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -125996,10 +125597,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -126079,18 +125680,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *757 - pusher_type: &764 + organization: *755 + pusher_type: &762 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &765 + ref: &763 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -126100,7 +125701,7 @@ x-webhooks: enum: - tag - branch - repository: *758 + repository: *756 sender: *4 required: - ref @@ -126183,9 +125784,9 @@ x-webhooks: enum: - created definition: *305 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 sender: *4 required: - action @@ -126270,9 +125871,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 sender: *4 required: - action @@ -126350,9 +125951,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *305 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 sender: *4 required: - action @@ -126430,9 +126031,9 @@ x-webhooks: enum: - updated definition: *305 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 sender: *4 required: - action @@ -126509,10 +126110,10 @@ x-webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - repository: *758 - organization: *757 + enterprise: *753 + installation: *754 + repository: *756 + organization: *755 sender: *4 new_property_values: type: array @@ -126597,18 +126198,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - pusher_type: *764 - ref: *765 + enterprise: *753 + installation: *754 + organization: *755 + pusher_type: *762 + ref: *763 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *758 + repository: *756 sender: *4 required: - ref @@ -126688,11 +126289,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126772,11 +126373,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126857,11 +126458,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126942,11 +126543,11 @@ x-webhooks: type: string enum: - created - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -127025,11 +126626,11 @@ x-webhooks: type: string enum: - dismissed - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -127108,11 +126709,11 @@ x-webhooks: type: string enum: - fixed - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -127192,11 +126793,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -127275,11 +126876,11 @@ x-webhooks: type: string enum: - reopened - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -127356,9 +126957,9 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - key: &766 + enterprise: *753 + installation: *754 + key: &764 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -127394,8 +126995,8 @@ x-webhooks: - verified - created_at - read_only - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -127472,11 +127073,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - key: *766 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + key: *764 + organization: *755 + repository: *756 sender: *4 required: - action @@ -128032,12 +127633,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - workflow: &772 + workflow: &770 title: Workflow type: object nullable: true @@ -128778,15 +128379,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *767 - required: *768 + properties: *765 + required: *766 nullable: true pull_requests: type: array - items: *609 - repository: *758 - organization: *757 - installation: *756 + items: *607 + repository: *756 + organization: *755 + installation: *754 sender: *4 responses: '200': @@ -128857,7 +128458,7 @@ x-webhooks: type: string enum: - approved - approver: &769 + approver: &767 type: object properties: avatar_url: @@ -128900,11 +128501,11 @@ x-webhooks: type: string comment: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - reviewers: &770 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + reviewers: &768 type: array items: type: object @@ -128983,7 +128584,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &771 + workflow_job_run: &769 type: object properties: conclusion: @@ -129714,18 +129315,18 @@ x-webhooks: type: string enum: - rejected - approver: *769 + approver: *767 comment: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - reviewers: *770 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + reviewers: *768 sender: *4 since: type: string - workflow_job_run: *771 + workflow_job_run: *769 workflow_job_runs: type: array items: @@ -130429,13 +130030,13 @@ x-webhooks: type: string enum: - requested - enterprise: *755 + enterprise: *753 environment: type: string - installation: *756 - organization: *757 - repository: *758 - requestor: &777 + installation: *754 + organization: *755 + repository: *756 + requestor: &775 title: User type: object nullable: true @@ -132324,12 +131925,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - workflow: *772 + workflow: *770 workflow_run: title: Deployment Workflow Run type: object @@ -133009,7 +132610,7 @@ x-webhooks: type: string enum: - answered - answer: &775 + answer: &773 type: object properties: author_association: @@ -133166,11 +132767,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133297,11 +132898,11 @@ x-webhooks: - from required: - category - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133384,11 +132985,11 @@ x-webhooks: type: string enum: - closed - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133470,7 +133071,7 @@ x-webhooks: type: string enum: - created - comment: &774 + comment: &772 type: object properties: author_association: @@ -133627,11 +133228,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133714,12 +133315,12 @@ x-webhooks: type: string enum: - deleted - comment: *774 - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + comment: *772 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133814,12 +133415,12 @@ x-webhooks: - from required: - body - comment: *774 - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + comment: *772 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133903,11 +133504,11 @@ x-webhooks: type: string enum: - created - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133989,11 +133590,11 @@ x-webhooks: type: string enum: - deleted - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134093,11 +133694,11 @@ x-webhooks: type: string required: - from - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134179,10 +133780,10 @@ x-webhooks: type: string enum: - labeled - discussion: *773 - enterprise: *755 - installation: *756 - label: &776 + discussion: *771 + enterprise: *753 + installation: *754 + label: &774 title: Label type: object properties: @@ -134214,8 +133815,8 @@ x-webhooks: - color - default - description - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134298,11 +133899,11 @@ x-webhooks: type: string enum: - locked - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134384,11 +133985,11 @@ x-webhooks: type: string enum: - pinned - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134470,11 +134071,11 @@ x-webhooks: type: string enum: - reopened - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134559,16 +134160,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *773 - new_repository: *758 + new_discussion: *771 + new_repository: *756 required: - new_discussion - new_repository - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134651,10 +134252,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *773 - old_answer: *775 - organization: *757 - repository: *758 + discussion: *771 + old_answer: *773 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134736,12 +134337,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *773 - enterprise: *755 - installation: *756 - label: *776 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134824,11 +134425,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134910,11 +134511,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134987,7 +134588,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *755 + enterprise: *753 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -135647,9 +135248,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - forkee @@ -135795,9 +135396,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pages: description: The pages that were updated. type: array @@ -135834,7 +135435,7 @@ x-webhooks: - action - sha - html_url - repository: *758 + repository: *756 sender: *4 required: - pages @@ -135910,10 +135511,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories: &778 + organization: *755 + repositories: &776 description: An array of repository objects that the installation can access. type: array @@ -135939,8 +135540,8 @@ x-webhooks: - name - full_name - private - repository: *758 - requester: *777 + repository: *756 + requester: *775 sender: *4 required: - action @@ -136015,11 +135616,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories: *778 - repository: *758 + organization: *755 + repositories: *776 + repository: *756 requester: nullable: true sender: *4 @@ -136095,11 +135696,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories: *778 - repository: *758 + organization: *755 + repositories: *776 + repository: *756 requester: nullable: true sender: *4 @@ -136175,10 +135776,10 @@ x-webhooks: type: string enum: - added - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories_added: &779 + organization: *755 + repositories_added: &777 description: An array of repository objects, which were added to the installation. type: array @@ -136224,15 +135825,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *758 - repository_selection: &780 + repository: *756 + repository_selection: &778 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *777 + requester: *775 sender: *4 required: - action @@ -136311,10 +135912,10 @@ x-webhooks: type: string enum: - removed - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories_added: *779 + organization: *755 + repositories_added: *777 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -136341,9 +135942,9 @@ x-webhooks: - name - full_name - private - repository: *758 - repository_selection: *780 - requester: *777 + repository: *756 + repository_selection: *778 + requester: *775 sender: *4 required: - action @@ -136422,11 +136023,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories: *778 - repository: *758 + organization: *755 + repositories: *776 + repository: *756 requester: nullable: true sender: *4 @@ -136604,10 +136205,10 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 target_type: type: string @@ -136686,11 +136287,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories: *778 - repository: *758 + organization: *755 + repositories: *776 + repository: *756 requester: nullable: true sender: *4 @@ -136864,8 +136465,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *586 - required: *587 + properties: *584 + required: *585 nullable: true user: title: User @@ -136950,8 +136551,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -137740,8 +137341,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138090,8 +137691,8 @@ x-webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -138171,7 +137772,7 @@ x-webhooks: type: string enum: - deleted - comment: &781 + comment: &779 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -138328,8 +137929,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *586 - required: *587 + properties: *584 + required: *585 nullable: true required: - url @@ -138344,8 +137945,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139130,8 +138731,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139482,8 +139083,8 @@ x-webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -139563,7 +139164,7 @@ x-webhooks: type: string enum: - edited - changes: &810 + changes: &808 description: The changes to the comment. type: object properties: @@ -139575,9 +139176,9 @@ x-webhooks: type: string required: - from - comment: *781 - enterprise: *755 - installation: *756 + comment: *779 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140365,8 +139966,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140715,8 +140316,8 @@ x-webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -140797,9 +140398,9 @@ x-webhooks: type: string enum: - pinned - comment: *781 - enterprise: *755 - installation: *756 + comment: *779 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141589,8 +141190,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141941,8 +141542,8 @@ x-webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -142022,9 +141623,9 @@ x-webhooks: type: string enum: - unpinned - comment: *781 - enterprise: *755 - installation: *756 + comment: *779 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142814,8 +142415,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143166,8 +142767,8 @@ x-webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -143256,9 +142857,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -143347,9 +142948,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -143437,9 +143038,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -143528,9 +143129,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -143610,10 +143211,10 @@ x-webhooks: type: string enum: - assigned - assignee: *777 - enterprise: *755 - installation: *756 - issue: &782 + assignee: *775 + enterprise: *753 + installation: *754 + issue: &780 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144405,11 +144006,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144526,8 +144127,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -144607,8 +144208,8 @@ x-webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145405,11 +145006,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145661,8 +145262,8 @@ x-webhooks: required: - state - closed_at - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -145741,8 +145342,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146530,11 +146131,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146650,8 +146251,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -146730,8 +146331,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147541,11 +147142,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147640,7 +147241,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &783 + milestone: &781 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147778,8 +147379,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -147878,8 +147479,8 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148671,11 +148272,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148792,9 +148393,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *776 - organization: *757 - repository: *758 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -148874,9 +148475,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *755 - installation: *756 - issue: *782 + enterprise: *753 + installation: *754 + issue: *780 issue_field: type: object description: The issue field whose value was set or updated on the @@ -149030,8 +148631,8 @@ x-webhooks: - id required: - from - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -149111,9 +148712,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *755 - installation: *756 - issue: *782 + enterprise: *753 + installation: *754 + issue: *780 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -149194,8 +148795,8 @@ x-webhooks: nullable: true required: - id - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -149275,8 +148876,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150067,11 +149668,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150188,9 +149789,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *776 - organization: *757 - repository: *758 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -150270,8 +149871,8 @@ x-webhooks: type: string enum: - locked - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151086,11 +150687,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151184,8 +150785,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -151264,8 +150865,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152074,11 +151675,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152172,9 +151773,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *783 - organization: *757 - repository: *758 + milestone: *781 + organization: *755 + repository: *756 sender: *4 required: - action @@ -153037,11 +152638,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153622,8 +153223,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154407,11 +154008,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154535,8 +154136,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -154616,9 +154217,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *755 - installation: *756 - issue: &784 + enterprise: *753 + installation: *754 + issue: &782 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -155404,11 +155005,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155524,8 +155125,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -155604,8 +155205,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156418,11 +156019,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156517,8 +156118,8 @@ x-webhooks: user_view_type: type: string type: *257 - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -157387,11 +156988,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157986,11 +157587,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *755 - installation: *756 - issue: *784 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + issue: *782 + organization: *755 + repository: *756 sender: *4 required: - action @@ -158070,12 +157671,12 @@ x-webhooks: type: string enum: - typed - enterprise: *755 - installation: *756 - issue: *782 + enterprise: *753 + installation: *754 + issue: *780 type: *257 - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -158156,7 +157757,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &813 + assignee: &811 title: User type: object nullable: true @@ -158226,11 +157827,11 @@ x-webhooks: required: - login - id - enterprise: *755 - installation: *756 - issue: *782 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + issue: *780 + organization: *755 + repository: *756 sender: *4 required: - action @@ -158309,12 +157910,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *755 - installation: *756 - issue: *782 - label: *776 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + issue: *780 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -158394,8 +157995,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159208,11 +158809,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159306,8 +158907,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159387,11 +158988,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *755 - installation: *756 - issue: *784 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + issue: *782 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159470,12 +159071,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *755 - installation: *756 - issue: *782 + enterprise: *753 + installation: *754 + issue: *780 type: *257 - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159555,11 +159156,11 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - label: *776 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159637,11 +159238,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - label: *776 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159751,11 +159352,11 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - label: *776 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159837,9 +159438,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: &785 + enterprise: *753 + installation: *754 + marketplace_purchase: &783 title: Marketplace Purchase type: object required: @@ -159922,8 +159523,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *757 - previous_marketplace_purchase: &786 + organization: *755 + previous_marketplace_purchase: &784 title: Marketplace Purchase type: object properties: @@ -160003,7 +159604,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *756 sender: *4 required: - action @@ -160083,10 +159684,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *785 - organization: *757 + enterprise: *753 + installation: *754 + marketplace_purchase: *783 + organization: *755 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160169,7 +159770,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *756 sender: *4 required: - action @@ -160251,10 +159852,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *785 - organization: *757 + enterprise: *753 + installation: *754 + marketplace_purchase: *783 + organization: *755 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160336,7 +159937,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *756 sender: *4 required: - action @@ -160417,8 +160018,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 marketplace_purchase: title: Marketplace Purchase type: object @@ -160500,9 +160101,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *757 - previous_marketplace_purchase: *786 - repository: *758 + organization: *755 + previous_marketplace_purchase: *784 + repository: *756 sender: *4 required: - action @@ -160582,12 +160183,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *785 - organization: *757 - previous_marketplace_purchase: *786 - repository: *758 + enterprise: *753 + installation: *754 + marketplace_purchase: *783 + organization: *755 + previous_marketplace_purchase: *784 + repository: *756 sender: *4 required: - action @@ -160689,11 +160290,11 @@ x-webhooks: type: string required: - to - enterprise: *755 - installation: *756 - member: *777 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + member: *775 + organization: *755 + repository: *756 sender: *4 required: - action @@ -160793,11 +160394,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *755 - installation: *756 - member: *777 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + member: *775 + organization: *755 + repository: *756 sender: *4 required: - action @@ -160876,11 +160477,11 @@ x-webhooks: type: string enum: - removed - enterprise: *755 - installation: *756 - member: *777 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + member: *775 + organization: *755 + repository: *756 sender: *4 required: - action @@ -160958,11 +160559,11 @@ x-webhooks: type: string enum: - added - enterprise: *755 - installation: *756 - member: *777 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + member: *775 + organization: *755 + repository: *756 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161038,7 +160639,7 @@ x-webhooks: required: - login - id - team: &787 + team: &785 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -161261,11 +160862,11 @@ x-webhooks: type: string enum: - removed - enterprise: *755 - installation: *756 - member: *777 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + member: *775 + organization: *755 + repository: *756 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161342,7 +160943,7 @@ x-webhooks: required: - login - id - team: *787 + team: *785 required: - action - scope @@ -161424,8 +161025,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *756 - merge_group: &789 + installation: *754 + merge_group: &787 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -161444,15 +161045,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *788 + head_commit: *786 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -161538,10 +161139,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *756 - merge_group: *789 - organization: *757 - repository: *758 + installation: *754 + merge_group: *787 + organization: *755 + repository: *756 sender: *4 required: - action @@ -161614,7 +161215,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 + enterprise: *753 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -161723,16 +161324,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *756 - organization: *757 + installation: *754 + organization: *755 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *790 - required: *791 + properties: *788 + required: *789 nullable: true sender: *4 required: @@ -161813,11 +161414,11 @@ x-webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - milestone: *783 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + milestone: *781 + organization: *755 + repository: *756 sender: *4 required: - action @@ -161896,9 +161497,9 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - milestone: &792 + enterprise: *753 + installation: *754 + milestone: &790 title: Milestone description: A collection of related issues and pull requests. type: object @@ -162035,8 +161636,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162115,11 +161716,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - milestone: *783 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + milestone: *781 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162229,11 +161830,11 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - milestone: *783 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + milestone: *781 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162313,11 +161914,11 @@ x-webhooks: type: string enum: - opened - enterprise: *755 - installation: *756 - milestone: *792 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + milestone: *790 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162396,11 +161997,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *777 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + blocked_user: *775 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162479,11 +162080,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *777 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + blocked_user: *775 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162562,9 +162163,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - membership: &793 + enterprise: *753 + installation: *754 + membership: &791 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -162671,8 +162272,8 @@ x-webhooks: - role - organization_url - user - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162750,11 +162351,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *755 - installation: *756 - membership: *793 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + membership: *791 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162833,8 +162434,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -162950,10 +162551,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 - user: *777 + user: *775 required: - action - invitation @@ -163031,11 +162632,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *755 - installation: *756 - membership: *793 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + membership: *791 + organization: *755 + repository: *756 sender: *4 required: - action @@ -163122,11 +162723,11 @@ x-webhooks: properties: from: type: string - enterprise: *755 - installation: *756 - membership: *793 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + membership: *791 + organization: *755 + repository: *756 sender: *4 required: - action @@ -163203,9 +162804,9 @@ x-webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 package: description: Information about the package. type: object @@ -163704,7 +163305,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &794 + items: &792 title: Ruby Gems metadata type: object properties: @@ -163799,7 +163400,7 @@ x-webhooks: - owner - package_version - registry - repository: *758 + repository: *756 sender: *4 required: - action @@ -163875,9 +163476,9 @@ x-webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 package: description: Information about the package. type: object @@ -164230,7 +163831,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *794 + items: *792 source_url: type: string format: uri @@ -164300,7 +163901,7 @@ x-webhooks: - owner - package_version - registry - repository: *758 + repository: *756 sender: *4 required: - action @@ -164476,12 +164077,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *755 + enterprise: *753 id: type: integer - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - id @@ -164558,7 +164159,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &795 + personal_access_token_request: &793 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -164704,10 +164305,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *755 - organization: *757 + enterprise: *753 + organization: *755 sender: *4 - installation: *756 + installation: *754 required: - action - personal_access_token_request @@ -164784,11 +164385,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *795 - enterprise: *755 - organization: *757 + personal_access_token_request: *793 + enterprise: *753 + organization: *755 sender: *4 - installation: *756 + installation: *754 required: - action - personal_access_token_request @@ -164864,11 +164465,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *795 - enterprise: *755 - organization: *757 + personal_access_token_request: *793 + enterprise: *753 + organization: *755 sender: *4 - installation: *756 + installation: *754 required: - action - personal_access_token_request @@ -164943,11 +164544,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *795 - organization: *757 - enterprise: *755 + personal_access_token_request: *793 + organization: *755 + enterprise: *753 sender: *4 - installation: *756 + installation: *754 required: - action - personal_access_token_request @@ -165052,7 +164653,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *796 + last_response: *794 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -165084,8 +164685,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 zen: description: Random string of GitHub zen. @@ -165330,10 +164931,10 @@ x-webhooks: - from required: - note - enterprise: *755 - installation: *756 - organization: *757 - project_card: &797 + enterprise: *753 + installation: *754 + organization: *755 + project_card: &795 title: Project Card type: object properties: @@ -165452,7 +165053,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *758 + repository: *756 sender: *4 required: - action @@ -165533,11 +165134,11 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project_card: *797 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project_card: *795 + repository: *756 sender: *4 required: - action @@ -165617,9 +165218,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 project_card: title: Project Card type: object @@ -165747,8 +165348,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *790 - required: *791 + properties: *788 + required: *789 nullable: true sender: *4 required: @@ -165842,11 +165443,11 @@ x-webhooks: - from required: - note - enterprise: *755 - installation: *756 - organization: *757 - project_card: *797 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project_card: *795 + repository: *756 sender: *4 required: - action @@ -165940,9 +165541,9 @@ x-webhooks: - from required: - column_id - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 project_card: allOf: - title: Project Card @@ -166132,7 +165733,7 @@ x-webhooks: type: string required: - after_id - repository: *758 + repository: *756 sender: *4 required: - action @@ -166212,10 +165813,10 @@ x-webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - organization: *757 - project: &799 + enterprise: *753 + installation: *754 + organization: *755 + project: &797 title: Project type: object properties: @@ -166339,7 +165940,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *758 + repository: *756 sender: *4 required: - action @@ -166419,10 +166020,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project_column: &798 + enterprise: *753 + installation: *754 + organization: *755 + project_column: &796 title: Project Column type: object properties: @@ -166461,7 +166062,7 @@ x-webhooks: - name - created_at - updated_at - repository: *758 + repository: *756 sender: *4 required: - action @@ -166540,18 +166141,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - project_column: *798 + enterprise: *753 + installation: *754 + organization: *755 + project_column: *796 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *790 - required: *791 + properties: *788 + required: *789 nullable: true sender: *4 required: @@ -166641,11 +166242,11 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - project_column: *798 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project_column: *796 + repository: *756 sender: *4 required: - action @@ -166725,11 +166326,11 @@ x-webhooks: type: string enum: - moved - enterprise: *755 - installation: *756 - organization: *757 - project_column: *798 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project_column: *796 + repository: *756 sender: *4 required: - action @@ -166809,11 +166410,11 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project: *799 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project: *797 + repository: *756 sender: *4 required: - action @@ -166893,18 +166494,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - project: *799 + enterprise: *753 + installation: *754 + organization: *755 + project: *797 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *790 - required: *791 + properties: *788 + required: *789 nullable: true sender: *4 required: @@ -167006,11 +166607,11 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - project: *799 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project: *797 + repository: *756 sender: *4 required: - action @@ -167089,11 +166690,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 - organization: *757 - project: *799 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project: *797 + repository: *756 sender: *4 required: - action @@ -167174,8 +166775,8 @@ x-webhooks: type: string enum: - closed - installation: *756 - organization: *757 + installation: *754 + organization: *755 projects_v2: *291 sender: *4 required: @@ -167257,8 +166858,8 @@ x-webhooks: type: string enum: - created - installation: *756 - organization: *757 + installation: *754 + organization: *755 projects_v2: *291 sender: *4 required: @@ -167340,8 +166941,8 @@ x-webhooks: type: string enum: - deleted - installation: *756 - organization: *757 + installation: *754 + organization: *755 projects_v2: *291 sender: *4 required: @@ -167459,8 +167060,8 @@ x-webhooks: type: string to: type: string - installation: *756 - organization: *757 + installation: *754 + organization: *755 projects_v2: *291 sender: *4 required: @@ -167544,7 +167145,7 @@ x-webhooks: type: string enum: - archived - changes: &803 + changes: &801 type: object properties: archived_at: @@ -167558,9 +167159,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *756 - organization: *757 - projects_v2_item: &800 + installation: *754 + organization: *755 + projects_v2_item: &798 title: Projects v2 Item description: An item belonging to a project type: object @@ -167695,9 +167296,9 @@ x-webhooks: nullable: true to: type: string - installation: *756 - organization: *757 - projects_v2_item: *800 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -167779,9 +167380,9 @@ x-webhooks: type: string enum: - created - installation: *756 - organization: *757 - projects_v2_item: *800 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -167862,9 +167463,9 @@ x-webhooks: type: string enum: - deleted - installation: *756 - organization: *757 - projects_v2_item: *800 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -167970,7 +167571,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &801 + - &799 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -167992,7 +167593,7 @@ x-webhooks: required: - id - name - - &802 + - &800 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -168026,8 +167627,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *801 - - *802 + - *799 + - *800 required: - field_value - type: object @@ -168043,9 +167644,9 @@ x-webhooks: nullable: true required: - body - installation: *756 - organization: *757 - projects_v2_item: *800 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -168140,9 +167741,9 @@ x-webhooks: to: type: string nullable: true - installation: *756 - organization: *757 - projects_v2_item: *800 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -168225,10 +167826,10 @@ x-webhooks: type: string enum: - restored - changes: *803 - installation: *756 - organization: *757 - projects_v2_item: *800 + changes: *801 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -168310,8 +167911,8 @@ x-webhooks: type: string enum: - reopened - installation: *756 - organization: *757 + installation: *754 + organization: *755 projects_v2: *291 sender: *4 required: @@ -168393,14 +167994,14 @@ x-webhooks: type: string enum: - created - installation: *756 - organization: *757 - projects_v2_status_update: &806 + installation: *754 + organization: *755 + projects_v2_status_update: &804 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *804 - required: *805 + properties: *802 + required: *803 sender: *4 required: - action @@ -168481,9 +168082,9 @@ x-webhooks: type: string enum: - deleted - installation: *756 - organization: *757 - projects_v2_status_update: *806 + installation: *754 + organization: *755 + projects_v2_status_update: *804 sender: *4 required: - action @@ -168619,9 +168220,9 @@ x-webhooks: type: string format: date nullable: true - installation: *756 - organization: *757 - projects_v2_status_update: *806 + installation: *754 + organization: *755 + projects_v2_status_update: *804 sender: *4 required: - action @@ -168692,10 +168293,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - repository @@ -168772,13 +168373,13 @@ x-webhooks: type: string enum: - assigned - assignee: *777 - enterprise: *755 - installation: *756 - number: &807 + assignee: *775 + enterprise: *753 + installation: *754 + number: &805 description: The pull request number. type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -171083,7 +170684,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -171165,11 +170766,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -173469,7 +173070,7 @@ x-webhooks: - draft reason: type: string - repository: *758 + repository: *756 sender: *4 required: - action @@ -173551,11 +173152,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -175855,7 +175456,7 @@ x-webhooks: - draft reason: type: string - repository: *758 + repository: *756 sender: *4 required: - action @@ -175937,13 +175538,13 @@ x-webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: &808 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: &806 allOf: - - *609 + - *607 - type: object properties: allow_auto_merge: @@ -176005,7 +175606,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *758 + repository: *756 sender: *4 required: - action @@ -176086,12 +175687,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: *808 - repository: *758 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: *806 + repository: *756 sender: *4 required: - action @@ -176171,11 +175772,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *755 - milestone: *593 - number: *807 - organization: *757 - pull_request: &809 + enterprise: *753 + milestone: *591 + number: *805 + organization: *755 + pull_request: &807 title: Pull Request type: object properties: @@ -178460,7 +178061,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -178539,11 +178140,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -180847,7 +180448,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *758 + repository: *756 sender: *4 required: - action @@ -180971,12 +180572,12 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: *808 - repository: *758 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: *806 + repository: *756 sender: *4 required: - action @@ -181056,11 +180657,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -183349,7 +182950,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -183429,11 +183030,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *755 - installation: *756 - label: *776 - number: *807 - organization: *757 + enterprise: *753 + installation: *754 + label: *774 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -185737,7 +185338,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -185818,10 +185419,10 @@ x-webhooks: type: string enum: - locked - enterprise: *755 - installation: *756 - number: *807 - organization: *757 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -188123,7 +187724,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -188203,12 +187804,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *755 - milestone: *593 - number: *807 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *753 + milestone: *591 + number: *805 + organization: *755 + pull_request: *807 + repository: *756 sender: *4 required: - action @@ -188287,12 +187888,12 @@ x-webhooks: type: string enum: - opened - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: *808 - repository: *758 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: *806 + repository: *756 sender: *4 required: - action @@ -188373,12 +187974,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: *808 - repository: *758 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: *806 + repository: *756 sender: *4 required: - action @@ -188458,12 +188059,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: *808 - repository: *758 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: *806 + repository: *756 sender: *4 required: - action @@ -188829,9 +188430,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: type: object properties: @@ -191023,7 +190624,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *756 sender: *4 required: - action @@ -191103,7 +190704,7 @@ x-webhooks: type: string enum: - deleted - comment: &811 + comment: &809 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -191388,9 +190989,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: type: object properties: @@ -193570,7 +193171,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *756 sender: *4 required: - action @@ -193650,11 +193251,11 @@ x-webhooks: type: string enum: - edited - changes: *810 - comment: *811 - enterprise: *755 - installation: *756 - organization: *757 + changes: *808 + comment: *809 + enterprise: *753 + installation: *754 + organization: *755 pull_request: type: object properties: @@ -195837,7 +195438,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *756 sender: *4 required: - action @@ -195918,9 +195519,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: title: Simple Pull Request type: object @@ -198115,7 +197716,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *756 review: description: The review that was affected. type: object @@ -198362,9 +197963,9 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: title: Simple Pull Request type: object @@ -200418,8 +200019,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 - review: &812 + repository: *756 + review: &810 description: The review that was affected. type: object properties: @@ -200652,12 +200253,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: description: The pull request number. type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -202962,7 +202563,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 requested_reviewer: title: User type: object @@ -203046,12 +202647,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: description: The pull request number. type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -205363,7 +204964,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205555,12 +205156,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: description: The pull request number. type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -207867,7 +207468,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 requested_reviewer: title: User type: object @@ -207952,12 +207553,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: description: The pull request number. type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -210255,7 +209856,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 requested_team: title: Team description: Groups of organization members that gives permissions @@ -210436,9 +210037,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: title: Simple Pull Request type: object @@ -212635,8 +212236,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 - review: *812 + repository: *756 + review: *810 sender: *4 required: - action @@ -212716,9 +212317,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: title: Simple Pull Request type: object @@ -214810,7 +214411,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *756 sender: *4 thread: type: object @@ -215197,9 +214798,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: title: Simple Pull Request type: object @@ -217277,7 +216878,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *756 sender: *4 thread: type: object @@ -217667,10 +217268,10 @@ x-webhooks: type: string before: type: string - enterprise: *755 - installation: *756 - number: *807 - organization: *757 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -219963,7 +219564,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -220045,11 +219646,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *813 - enterprise: *755 - installation: *756 - number: *807 - organization: *757 + assignee: *811 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -222354,7 +221955,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -222433,11 +222034,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *755 - installation: *756 - label: *776 - number: *807 - organization: *757 + enterprise: *753 + installation: *754 + label: *774 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -224732,7 +224333,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -224813,10 +224414,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *755 - installation: *756 - number: *807 - organization: *757 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -227103,7 +226704,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -227303,7 +226904,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *755 + enterprise: *753 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -227395,8 +226996,8 @@ x-webhooks: - url - author - committer - installation: *756 - organization: *757 + installation: *754 + organization: *755 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -227982,9 +227583,9 @@ x-webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 registry_package: type: object properties: @@ -228430,7 +228031,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *794 + items: *792 summary: type: string tag_name: @@ -228484,7 +228085,7 @@ x-webhooks: - owner - package_version - registry - repository: *758 + repository: *756 sender: *4 required: - action @@ -228562,9 +228163,9 @@ x-webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 registry_package: type: object properties: @@ -228872,7 +228473,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *794 + items: *792 summary: type: string tag_name: @@ -228921,7 +228522,7 @@ x-webhooks: - owner - package_version - registry - repository: *758 + repository: *756 sender: *4 required: - action @@ -228998,10 +228599,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - release: &814 + enterprise: *753 + installation: *754 + organization: *755 + release: &812 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -229319,7 +228920,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *758 + repository: *756 sender: *4 required: - action @@ -229396,11 +228997,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - release: *814 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + release: *812 + repository: *756 sender: *4 required: - action @@ -229517,11 +229118,11 @@ x-webhooks: type: boolean required: - to - enterprise: *755 - installation: *756 - organization: *757 - release: *814 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + release: *812 + repository: *756 sender: *4 required: - action @@ -229599,9 +229200,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -229923,7 +229524,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *758 + repository: *756 sender: *4 required: - action @@ -229999,10 +229600,10 @@ x-webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - release: &815 + enterprise: *753 + installation: *754 + organization: *755 + release: &813 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -230321,7 +229922,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *758 + repository: *756 sender: *4 required: - action @@ -230397,11 +229998,11 @@ x-webhooks: type: string enum: - released - enterprise: *755 - installation: *756 - organization: *757 - release: *814 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + release: *812 + repository: *756 sender: *4 required: - action @@ -230477,11 +230078,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *755 - installation: *756 - organization: *757 - release: *815 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + release: *813 + repository: *756 sender: *4 required: - action @@ -230557,11 +230158,11 @@ x-webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - repository_advisory: *678 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + repository_advisory: *676 sender: *4 required: - action @@ -230637,11 +230238,11 @@ x-webhooks: type: string enum: - reported - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - repository_advisory: *678 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + repository_advisory: *676 sender: *4 required: - action @@ -230717,10 +230318,10 @@ x-webhooks: type: string enum: - archived - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230797,10 +230398,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230878,10 +230479,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230965,10 +230566,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -231080,10 +230681,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -231155,10 +230756,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 status: type: string @@ -231239,10 +230840,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -231319,10 +230920,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -231416,10 +231017,10 @@ x-webhooks: - name required: - repository - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -231499,10 +231100,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 repository_ruleset: *339 sender: *4 required: @@ -231581,10 +231182,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 repository_ruleset: *339 sender: *4 required: @@ -231663,10 +231264,10 @@ x-webhooks: type: string enum: - edited - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 repository_ruleset: *339 changes: type: object @@ -231728,16 +231329,16 @@ x-webhooks: properties: added: type: array - items: *629 + items: *627 deleted: type: array - items: *629 + items: *627 updated: type: array items: type: object properties: - rule: *629 + rule: *627 changes: type: object properties: @@ -231971,10 +231572,10 @@ x-webhooks: - from required: - owner - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232052,10 +231653,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232133,7 +231734,7 @@ x-webhooks: type: string enum: - create - alert: &816 + alert: &814 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -232255,10 +231856,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232464,10 +232065,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232545,11 +232146,11 @@ x-webhooks: type: string enum: - reopen - alert: *816 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *814 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232748,10 +232349,10 @@ x-webhooks: enum: - fixed - open - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232829,7 +232430,7 @@ x-webhooks: type: string enum: - assigned - alert: &817 + alert: &815 type: object properties: number: *188 @@ -232972,10 +232573,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -233053,11 +232654,11 @@ x-webhooks: type: string enum: - created - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *815 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -233138,11 +232739,11 @@ x-webhooks: type: string enum: - created - alert: *817 - installation: *756 - location: *818 - organization: *757 - repository: *758 + alert: *815 + installation: *754 + location: *816 + organization: *755 + repository: *756 sender: *4 required: - location @@ -233380,11 +232981,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *815 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -233462,11 +233063,11 @@ x-webhooks: type: string enum: - reopened - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *815 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -233544,11 +233145,11 @@ x-webhooks: type: string enum: - resolved - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *815 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -233626,12 +233227,12 @@ x-webhooks: type: string enum: - unassigned - alert: *817 + alert: *815 assignee: *4 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -233709,11 +233310,11 @@ x-webhooks: type: string enum: - validated - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *815 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -233839,10 +233440,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *758 - enterprise: *755 - installation: *756 - organization: *757 + repository: *756 + enterprise: *753 + installation: *754 + organization: *755 sender: *4 required: - action @@ -233920,11 +233521,11 @@ x-webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - security_advisory: &819 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + security_advisory: &817 description: The details of the security advisory, including summary, description, and severity. type: object @@ -234107,11 +233708,11 @@ x-webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - security_advisory: *819 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + security_advisory: *817 sender: *4 required: - action @@ -234184,10 +233785,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -234372,10 +233973,10 @@ x-webhooks: type: object properties: security_and_analysis: *312 - enterprise: *755 - installation: *756 - organization: *757 - repository: *360 + enterprise: *753 + installation: *754 + organization: *755 + repository: *357 sender: *4 required: - changes @@ -234453,12 +234054,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: &820 + sponsorship: &818 type: object properties: created_at: @@ -234759,12 +234360,12 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: *820 + sponsorship: *818 required: - action - sponsorship @@ -234852,12 +234453,12 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: *820 + sponsorship: *818 required: - action - changes @@ -234934,17 +234535,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &821 + effective_date: &819 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: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: *820 + sponsorship: *818 required: - action - sponsorship @@ -235018,7 +234619,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &822 + changes: &820 type: object properties: tier: @@ -235062,13 +234663,13 @@ x-webhooks: - from required: - tier - effective_date: *821 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + effective_date: *819 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: *820 + sponsorship: *818 required: - action - changes @@ -235145,13 +234746,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *822 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + changes: *820 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: *820 + sponsorship: *818 required: - action - changes @@ -235225,10 +234826,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -235311,10 +234912,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -235734,15 +235335,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *755 + enterprise: *753 id: description: The unique identifier of the status. type: integer - installation: *756 + installation: *754 name: type: string - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 sha: description: The Commit SHA. @@ -235857,9 +235458,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -235948,9 +235549,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -236039,9 +235640,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -236130,9 +235731,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -236208,12 +235809,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - team: &823 + team: &821 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -236436,9 +236037,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 repository: title: Repository description: A git repository @@ -236896,7 +236497,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *823 + team: *821 required: - action - team @@ -236972,9 +236573,9 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 repository: title: Repository description: A git repository @@ -237432,7 +237033,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *823 + team: *821 required: - action - team @@ -237509,9 +237110,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 repository: title: Repository description: A git repository @@ -237969,7 +237570,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *823 + team: *821 required: - action - team @@ -238113,9 +237714,9 @@ x-webhooks: - from required: - permissions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 repository: title: Repository description: A git repository @@ -238573,7 +238174,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *823 + team: *821 required: - action - changes @@ -238651,9 +238252,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 repository: title: Repository description: A git repository @@ -239111,7 +238712,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *823 + team: *821 required: - action - team @@ -239187,10 +238788,10 @@ x-webhooks: type: string enum: - started - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -239263,16 +238864,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *755 + enterprise: *753 inputs: type: object nullable: true additionalProperties: true - installation: *756 - organization: *757 + installation: *754 + organization: *755 ref: type: string - repository: *758 + repository: *756 sender: *4 workflow: type: string @@ -239354,10 +238955,10 @@ x-webhooks: type: string enum: - completed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 workflow_job: allOf: @@ -239594,7 +239195,7 @@ x-webhooks: type: string required: - conclusion - deployment: *520 + deployment: *517 required: - action - repository @@ -239673,10 +239274,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 workflow_job: allOf: @@ -239936,7 +239537,7 @@ x-webhooks: required: - status - steps - deployment: *520 + deployment: *517 required: - action - repository @@ -240015,10 +239616,10 @@ x-webhooks: type: string enum: - queued - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 workflow_job: type: object @@ -240153,7 +239754,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *520 + deployment: *517 required: - action - repository @@ -240232,10 +239833,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 workflow_job: type: object @@ -240371,7 +239972,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *520 + deployment: *517 required: - action - repository @@ -240451,12 +240052,12 @@ x-webhooks: type: string enum: - completed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - workflow: *772 + workflow: *770 workflow_run: title: Workflow Run type: object @@ -241455,12 +241056,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - workflow: *772 + workflow: *770 workflow_run: title: Workflow Run type: object @@ -242444,12 +242045,12 @@ x-webhooks: type: string enum: - requested - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - workflow: *772 + workflow: *770 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 47c7b0eb8a..256fb22055 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -98066,7 +98066,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" ], @@ -123439,646 +123439,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -222680,655 +222040,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -229677,7 +228388,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" ], @@ -229844,7 +228555,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -229868,7 +228579,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -229892,7 +228603,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -229916,7 +228627,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -229940,7 +228651,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -229964,7 +228675,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -230033,12 +228744,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -341511,7 +340216,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" } @@ -378641,6 +377346,665 @@ } } }, + "/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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 98cecb0a0c..470ba612f0 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -1001,7 +1001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &680 + - &678 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -11960,7 +11960,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 - - &509 + - &506 name: has in: query description: |- @@ -12086,7 +12086,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &510 + security_advisory: &507 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12333,14 +12333,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &511 + auto_dismissed_at: &508 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &512 + dismissal_request: &509 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -14028,7 +14028,7 @@ paths: properties: action: type: string - discussion: &773 + discussion: &771 title: Discussion description: A Discussion in a repository. type: object @@ -14395,7 +14395,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &563 + properties: &561 id: type: integer format: int64 @@ -14766,7 +14766,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &691 + sub_issues_summary: &689 title: Sub-issues Summary type: object properties: @@ -14853,7 +14853,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &586 + properties: &584 pinned_at: type: string format: date-time @@ -14865,7 +14865,7 @@ paths: properties: *20 required: *21 nullable: true - required: &587 + required: &585 - pinned_at - pinned_by nullable: true @@ -14879,7 +14879,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &692 + issue_dependencies_summary: &690 title: Issue Dependencies Summary type: object properties: @@ -14898,7 +14898,7 @@ paths: - total_blocking issue_field_values: type: array - items: &570 + items: &568 title: Issue Field Value description: A value assigned to an issue field type: object @@ -14985,7 +14985,7 @@ paths: - node_id - data_type - value - required: &564 + required: &562 - closed_at - comments - comments_url @@ -15022,7 +15022,7 @@ paths: action: type: string issue: *88 - comment: &559 + comment: &557 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15686,7 +15686,7 @@ paths: type: string release: allOf: - - &620 + - &618 title: Release description: A release. type: object @@ -15757,7 +15757,7 @@ paths: author: *4 assets: type: array - items: &621 + items: &619 title: Release Asset description: Data related to a release. type: object @@ -19435,14 +19435,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &357 + - &354 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &358 + - &355 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19504,7 +19504,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &361 + '301': &358 description: Moved permanently content: application/json: @@ -19526,7 +19526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &596 + - &594 name: all description: If `true`, show notifications marked as read. in: query @@ -19534,7 +19534,7 @@ paths: schema: type: boolean default: false - - &597 + - &595 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19544,7 +19544,7 @@ paths: type: boolean default: false - *95 - - &598 + - &596 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: @@ -20072,7 +20072,7 @@ paths: - url - subscription_url examples: - default: &599 + default: &597 value: - id: '1' repository: @@ -21953,7 +21953,7 @@ paths: parameters: - *78 - *124 - - &749 + - &747 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 @@ -22065,7 +22065,7 @@ paths: - *124 - *125 - *126 - - &750 + - &748 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22073,7 +22073,7 @@ paths: schema: type: string - *129 - - &751 + - &749 name: sku description: The SKU to query for usage. in: query @@ -22966,7 +22966,7 @@ paths: type: integer repository_cache_usages: type: array - items: &368 + items: &365 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24308,7 +24308,7 @@ paths: - all - local_only - selected - selected_actions_url: &373 + selected_actions_url: &370 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` @@ -24391,7 +24391,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &374 type: object properties: days: @@ -24433,7 +24433,7 @@ paths: required: true content: application/json: - schema: &378 + schema: &375 type: object properties: days: @@ -24490,7 +24490,7 @@ paths: required: - approval_policy examples: - default: &379 + default: &376 value: approval_policy: first_time_contributors '404': *6 @@ -24549,7 +24549,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &377 type: object required: - run_workflows_from_fork_pull_requests @@ -24603,7 +24603,7 @@ paths: required: true content: application/json: - schema: &381 + schema: &378 type: object required: - run_workflows_from_fork_pull_requests @@ -25238,7 +25238,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &379 type: object properties: default_workflow_permissions: &156 @@ -25289,7 +25289,7 @@ paths: required: false content: application/json: - schema: &383 + schema: &380 type: object properties: default_workflow_permissions: *156 @@ -26429,7 +26429,7 @@ paths: application/json: schema: type: array - items: &384 + items: &381 title: Runner Application description: Runner Application type: object @@ -26454,7 +26454,7 @@ paths: - download_url - filename examples: - default: &385 + default: &382 value: - os: osx architecture: x64 @@ -26540,7 +26540,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &386 + '201': &383 description: Response content: application/json: @@ -26651,7 +26651,7 @@ paths: - token - expires_at examples: - default: &387 + default: &384 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -26690,7 +26690,7 @@ paths: application/json: schema: *167 examples: - default: &388 + default: &385 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -26724,7 +26724,7 @@ paths: application/json: schema: *165 examples: - default: &389 + default: &386 value: id: 23 name: MBP @@ -26951,7 +26951,7 @@ paths: - *78 - *164 responses: - '200': &390 + '200': &387 description: Response content: application/json: @@ -27008,7 +27008,7 @@ paths: parameters: - *78 - *164 - - &391 + - &388 name: name description: The name of a self-hosted runner's custom label. in: path @@ -29458,9 +29458,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 @@ -29577,12 +29577,12 @@ paths: required: - subject_digests examples: - default: &730 + default: &728 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &731 + withPredicateType: &729 value: subject_digests: - sha256:abc123 @@ -29626,7 +29626,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &732 + default: &730 value: attestations_subject_digests: - sha256:abc: @@ -29959,7 +29959,7 @@ paths: initiator: type: string examples: - default: &417 + default: &414 value: attestations: - bundle: @@ -30888,7 +30888,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *78 - - &442 + - &439 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`, @@ -30898,7 +30898,7 @@ paths: schema: &195 type: string description: The name of the tool used to generate the code scanning analysis. - - &443 + - &440 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 @@ -30921,7 +30921,7 @@ paths: be returned. in: query required: false - schema: &445 + schema: &442 type: string description: State of a code scanning alert. enum: @@ -30944,7 +30944,7 @@ paths: be returned. in: query required: false - schema: &446 + schema: &443 type: string description: Severity of a code scanning alert. enum: @@ -30978,7 +30978,7 @@ paths: updated_at: *190 url: *191 html_url: *192 - instances_url: &447 + instances_url: &444 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -31001,7 +31001,7 @@ paths: required: *21 nullable: true dismissed_at: *194 - dismissed_reason: &448 + dismissed_reason: &445 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -31010,13 +31010,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &449 + dismissed_comment: &446 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &450 + rule: &447 type: object properties: id: @@ -31069,7 +31069,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &451 + tool: &448 type: object properties: name: *195 @@ -31079,26 +31079,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *196 - most_recent_instance: &452 + most_recent_instance: &449 type: object properties: - ref: &444 + ref: &441 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &462 + analysis_key: &459 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: &463 + environment: &460 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: &464 + category: &461 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -31118,7 +31118,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: &465 + location: &462 type: object description: Describe a region within a file for the alert. properties: @@ -31139,7 +31139,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: &466 + items: &463 type: string description: A classification of the file. For example to identify it as generated. @@ -32470,7 +32470,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &478 + properties: &475 name: type: string description: The name of the machine. @@ -32512,7 +32512,7 @@ paths: - ready - in_progress nullable: true - required: &479 + required: &476 - name - display_name - operating_system @@ -33380,7 +33380,7 @@ paths: - updated_at - visibility examples: - default: &480 + default: &477 value: total_count: 2 secrets: @@ -33418,7 +33418,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &478 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -33447,7 +33447,7 @@ paths: - key_id - key examples: - default: &482 + default: &479 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33479,7 +33479,7 @@ paths: application/json: schema: *203 examples: - default: &484 + default: &481 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -36458,482 +36458,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: - - *78 - - 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: &350 - 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 - description: Usage metrics for Copilot editor code completions - in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model - (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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: &351 - 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': *55 - '403': *29 - '404': *6 - '422': &352 - 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 @@ -37492,7 +37016,7 @@ paths: description: Response content: application/json: - schema: &515 + schema: &512 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37509,7 +37033,7 @@ paths: - key_id - key examples: - default: &516 + default: &513 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39305,7 +38829,7 @@ paths: application/json: schema: *22 examples: - default: &553 + default: &550 value: id: 1 account: @@ -39530,7 +39054,7 @@ paths: required: true content: application/json: - schema: &554 + schema: &551 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -40336,7 +39860,7 @@ paths: type: array items: *257 examples: - default: &557 + default: &555 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -40860,7 +40384,7 @@ paths: application/json: schema: *262 examples: - default: &477 + default: &474 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42110,7 +41634,7 @@ paths: parameters: - *78 - *269 - - &712 + - &710 name: repo_name description: repo_name parameter in: path @@ -43038,7 +42562,7 @@ paths: - nuget - container - *78 - - &713 + - &711 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43079,7 +42603,7 @@ paths: default: *276 '403': *29 '401': *25 - '400': &715 + '400': &713 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45287,7 +44811,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &804 + properties: &802 id: type: number description: The unique identifier of the status update. @@ -45335,7 +44859,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &805 + required: &803 - id - node_id - created_at @@ -45549,7 +45073,7 @@ paths: content: oneOf: - *88 - - &494 + - &491 title: Pull Request Simple description: Pull Request Simple type: object @@ -45764,7 +45288,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &606 + auto_merge: &604 title: Auto merge description: The status of auto merging a pull request. type: object @@ -46140,7 +45664,7 @@ paths: - updated_at - project_url examples: - default: &736 + default: &734 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46317,7 +45841,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &737 + items: &735 type: object properties: name: @@ -46354,7 +45878,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &738 + iteration_configuration: &736 type: object description: The configuration for iteration fields. properties: @@ -46404,7 +45928,7 @@ paths: value: name: Due date data_type: date - single_select_field: &739 + single_select_field: &737 summary: Create a single select field value: name: Priority @@ -46431,7 +45955,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &740 + iteration_field: &738 summary: Create an iteration field value: name: Sprint @@ -46457,7 +45981,7 @@ paths: application/json: schema: *297 examples: - text_field: &741 + text_field: &739 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46466,7 +45990,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: &742 + number_field: &740 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46475,7 +45999,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: &743 + date_field: &741 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46484,7 +46008,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: &744 + single_select_field: &742 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46518,7 +46042,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &745 + iteration_field: &743 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46564,7 +46088,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *293 - - &746 + - &744 name: field_id description: The unique identifier of the field. in: path @@ -46579,7 +46103,7 @@ paths: application/json: schema: *297 examples: - default: &747 + default: &745 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47776,7 +47300,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &727 + schema: &725 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -47953,7 +47477,7 @@ paths: parameters: - *293 - *78 - - &748 + - &746 name: view_number description: The number that identifies the project view. in: path @@ -48890,7 +48414,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &357 title: Full Repository description: Full Repository type: object @@ -49288,7 +48812,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &499 + properties: &496 url: type: string format: uri @@ -49304,7 +48828,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &500 + required: &497 - url - key - name @@ -49393,7 +48917,7 @@ paths: - network_count - subscribers_count examples: - default: &362 + default: &359 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49914,7 +49438,7 @@ paths: - *78 - *17 - *19 - - &628 + - &626 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50196,7 +49720,7 @@ paths: - repository_property rules: type: array - items: &629 + items: &627 title: Repository Rule type: object description: A repository rule. @@ -50258,7 +49782,7 @@ paths: type: string enum: - required_linear_history - - &627 + - &625 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51160,7 +50684,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &630 + - &628 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 @@ -51175,7 +50699,7 @@ paths: in: query schema: type: string - - &631 + - &629 name: time_period description: |- The time period to filter by. @@ -51191,14 +50715,14 @@ paths: - week - month default: day - - &632 + - &630 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 - - &633 + - &631 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51211,7 +50735,7 @@ paths: - bypass - all default: all - - &634 + - &632 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. @@ -51234,7 +50758,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &633 title: Rule Suites description: Response type: array @@ -51289,7 +50813,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &636 + default: &634 value: - id: 21 actor_id: 12 @@ -51333,7 +50857,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &637 + - &635 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51349,7 +50873,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &636 title: Rule Suite description: Response type: object @@ -51448,7 +50972,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &639 + default: &637 value: id: 21 actor_id: 12 @@ -51695,7 +51219,7 @@ paths: type: string format: date-time examples: - default: &641 + default: &639 value: - version_id: 3 actor: @@ -51748,7 +51272,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &640 allOf: - *342 - type: object @@ -51820,7 +51344,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - &643 + - &641 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -51831,7 +51355,7 @@ paths: enum: - open - resolved - - &644 + - &642 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -51841,7 +51365,7 @@ paths: required: false schema: type: string - - &645 + - &643 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -51852,7 +51376,7 @@ paths: required: false schema: type: string - - &646 + - &644 name: exclude_providers in: query description: |- @@ -51863,7 +51387,7 @@ paths: required: false schema: type: string - - &647 + - &645 name: providers in: query description: |- @@ -51874,7 +51398,7 @@ paths: required: false schema: type: string - - &648 + - &646 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -51883,7 +51407,7 @@ paths: required: false schema: type: string - - &649 + - &647 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -51902,7 +51426,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &650 + - &648 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. @@ -51917,7 +51441,7 @@ paths: - *62 - *19 - *17 - - &651 + - &649 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 @@ -51927,7 +51451,7 @@ paths: required: false schema: type: string - - &652 + - &650 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 @@ -51937,7 +51461,7 @@ paths: required: false schema: type: string - - &653 + - &651 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -51946,7 +51470,7 @@ paths: required: false schema: type: string - - &654 + - &652 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -51955,7 +51479,7 @@ paths: schema: type: boolean default: false - - &655 + - &653 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -51964,7 +51488,7 @@ paths: schema: type: boolean default: false - - &656 + - &654 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -51973,7 +51497,7 @@ paths: schema: type: boolean default: false - - &657 + - &655 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52010,14 +51534,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &658 + state: &656 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: &659 + resolution: &657 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -52134,8 +51658,8 @@ paths: pull request. ' - oneOf: &660 - - &662 + oneOf: &658 + - &660 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52193,7 +51717,7 @@ paths: - blob_url - commit_sha - commit_url - - &663 + - &661 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. @@ -52248,7 +51772,7 @@ paths: - page_url - commit_sha - commit_url - - &664 + - &662 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52268,7 +51792,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &665 + - &663 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52288,7 +51812,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &666 + - &664 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52308,7 +51832,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &667 + - &665 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52322,7 +51846,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &668 + - &666 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52336,7 +51860,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &669 + - &667 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52350,7 +51874,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &670 + - &668 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. @@ -52370,7 +51894,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &671 + - &669 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. @@ -52390,7 +51914,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &672 + - &670 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. @@ -52410,7 +51934,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &673 + - &671 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. @@ -52430,7 +51954,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &674 + - &672 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 request. @@ -52949,7 +52473,7 @@ paths: application/json: schema: type: array - items: &678 + items: &676 description: A repository security advisory. type: object properties: @@ -53221,7 +52745,7 @@ paths: - private_fork additionalProperties: false examples: - default: &679 + default: &677 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54332,75 +53856,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: - - *78 - - *80 - - 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: *350 - examples: - default: *351 - '500': *55 - '403': *29 - '404': *6 - '422': *352 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -54523,7 +53978,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &350 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -54850,7 +54305,7 @@ paths: - repos_count - organization examples: - default: &354 + default: &351 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54927,9 +54382,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '404': *6 x-github: githubCloudOnly: false @@ -55013,16 +54468,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '201': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '404': *6 '422': *15 '403': *29 @@ -55052,7 +54507,7 @@ paths: responses: '204': description: Response - '422': &355 + '422': &352 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -55091,7 +54546,7 @@ paths: default: *252 headers: Link: *70 - '422': *355 + '422': *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55173,7 +54628,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &353 title: Team Membership description: Team Membership type: object @@ -55200,7 +54655,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &694 + response-if-user-is-a-team-maintainer: &692 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55263,9 +54718,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *353 examples: - response-if-users-membership-with-team-is-now-pending: &695 + response-if-users-membership-with-team-is-now-pending: &693 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55372,14 +54827,14 @@ paths: parameters: - *78 - *80 - - *357 - - *358 + - *354 + - *355 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &696 + schema: &694 title: Team Repository description: A team's access to a repository. type: object @@ -55943,8 +55398,8 @@ paths: parameters: - *78 - *80 - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -55991,8 +55446,8 @@ paths: parameters: - *78 - *80 - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -56029,7 +55484,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: &697 + response-if-child-teams-exist: &695 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -56157,7 +55612,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)." @@ -56183,7 +55637,7 @@ paths: resources: type: object properties: - core: &359 + core: &356 title: Rate Limit type: object properties: @@ -56200,17 +55654,17 @@ paths: - remaining - reset - used - graphql: *359 - search: *359 - code_search: *359 - source_import: *359 - integration_manifest: *359 - code_scanning_upload: *359 - actions_runner_registration: *359 - scim: *359 - dependency_snapshots: *359 - dependency_sbom: *359 - code_scanning_autofix: *359 + graphql: *356 + search: *356 + code_search: *356 + source_import: *356 + integration_manifest: *356 + actions_runner_registration: *356 + scim: *356 + dependency_snapshots: *356 + dependency_sbom: *356 + code_scanning_autofix: *356 + copilot_usage_records: *356 required: - core - search @@ -56245,11 +55699,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 @@ -56312,14 +55761,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *360 + schema: *357 examples: default-response: summary: Default response @@ -56823,7 +56272,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *361 + '301': *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56841,8 +56290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -57152,10 +56601,10 @@ paths: description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *362 - '307': &363 + default: *359 + '307': &360 description: Temporary Redirect content: application/json: @@ -57184,8 +56633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -57207,7 +56656,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *363 + '307': *360 '404': *6 '409': *54 x-github: @@ -57231,11 +56680,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 - - &395 + - &392 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -57258,7 +56707,7 @@ paths: type: integer artifacts: type: array - items: &364 + items: &361 title: Artifact description: An artifact type: object @@ -57336,7 +56785,7 @@ paths: - expires_at - updated_at examples: - default: &396 + default: &393 value: total_count: 2 artifacts: @@ -57397,9 +56846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *357 - - *358 - - &365 + - *354 + - *355 + - &362 name: artifact_id description: The unique identifier of the artifact. in: path @@ -57411,7 +56860,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *361 examples: default: value: @@ -57449,9 +56898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *357 - - *358 - - *365 + - *354 + - *355 + - *362 responses: '204': description: Response @@ -57475,9 +56924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *357 - - *358 - - *365 + - *354 + - *355 + - *362 - name: archive_format in: path required: true @@ -57487,11 +56936,11 @@ paths: '302': description: Response headers: - Location: &518 + Location: &515 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': &558 + '410': &556 description: Gone content: application/json: @@ -57516,14 +56965,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &366 + schema: &363 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -57556,13 +57005,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: application/json: - schema: *366 + schema: *363 examples: selected_actions: *42 responses: @@ -57591,14 +57040,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &367 + schema: &364 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -57631,13 +57080,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: application/json: - schema: *367 + schema: *364 examples: selected_actions: *44 responses: @@ -57668,14 +57117,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *368 + schema: *365 examples: default: value: @@ -57701,11 +57150,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 - - &369 + - &366 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 @@ -57739,7 +57188,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &367 title: Repository actions caches description: Repository actions caches type: object @@ -57781,7 +57230,7 @@ paths: - total_count - actions_caches examples: - default: &371 + default: &368 value: total_count: 1 actions_caches: @@ -57813,23 +57262,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: - - *357 - - *358 + - *354 + - *355 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *369 + - *366 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *371 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57849,8 +57298,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: - - *357 - - *358 + - *354 + - *355 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -57879,8 +57328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *48 responses: @@ -57962,8 +57411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -58115,9 +57564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *357 - - *358 - - &372 + - *354 + - *355 + - &369 name: job_id description: The unique identifier of the job. in: path @@ -58129,7 +57578,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &396 title: Job description: Information of a job execution in a workflow run type: object @@ -58436,9 +57885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *357 - - *358 - - *372 + - *354 + - *355 + - *369 responses: '302': description: Response @@ -58466,9 +57915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *357 - - *358 - - *372 + - *354 + - *355 + - *369 requestBody: required: false content: @@ -58518,8 +57967,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Status response @@ -58578,8 +58027,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -58647,8 +58096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -58666,7 +58115,7 @@ paths: type: integer secrets: type: array - items: &401 + items: &398 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -58686,7 +58135,7 @@ paths: - created_at - updated_at examples: - default: &402 + default: &399 value: total_count: 2 secrets: @@ -58719,8 +58168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *357 - - *358 + - *354 + - *355 - *180 - *19 responses: @@ -58738,7 +58187,7 @@ paths: type: integer variables: type: array - items: &403 + items: &400 title: Actions Variable type: object properties: @@ -58768,7 +58217,7 @@ paths: - created_at - updated_at examples: - default: &404 + default: &401 value: total_count: 2 variables: @@ -58801,8 +58250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -58811,11 +58260,11 @@ paths: schema: type: object properties: - enabled: &374 + enabled: &371 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *148 - selected_actions_url: *373 + selected_actions_url: *370 sha_pinning_required: *149 required: - enabled @@ -58844,8 +58293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -58856,7 +58305,7 @@ paths: schema: type: object properties: - enabled: *374 + enabled: *371 allowed_actions: *148 sha_pinning_required: *149 required: @@ -58888,14 +58337,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &375 + schema: &372 type: object properties: access_level: @@ -58912,7 +58361,7 @@ paths: required: - access_level examples: - default: &376 + default: &373 value: access_level: organization x-github: @@ -58936,15 +58385,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: application/json: - schema: *375 + schema: *372 examples: - default: *376 + default: *373 responses: '204': description: Response @@ -58968,14 +58417,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *377 + schema: *374 examples: default: value: @@ -58999,8 +58448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Empty response for successful settings update @@ -59010,7 +58459,7 @@ paths: required: true content: application/json: - schema: *378 + schema: *375 examples: default: summary: Set retention days @@ -59034,8 +58483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -59043,7 +58492,7 @@ paths: application/json: schema: *150 examples: - default: *379 + default: *376 '404': *6 x-github: enabledForGitHubApps: true @@ -59062,8 +58511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -59097,14 +58546,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: default: *151 '403': *29 @@ -59126,13 +58575,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: application/json: - schema: *381 + schema: *378 examples: default: *151 responses: @@ -59158,8 +58607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -59186,8 +58635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -59219,14 +58668,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *382 + schema: *379 examples: default: *158 x-github: @@ -59249,8 +58698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Success response @@ -59261,7 +58710,7 @@ paths: required: true content: application/json: - schema: *383 + schema: *380 examples: default: *158 x-github: @@ -59290,8 +58739,8 @@ paths: in: query schema: type: string - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -59335,8 +58784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -59344,9 +58793,9 @@ paths: application/json: schema: type: array - items: *384 + items: *381 examples: - default: *385 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59368,8 +58817,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -59412,7 +58861,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *386 + '201': *383 '404': *6 '422': *7 '409': *54 @@ -59443,8 +58892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '201': description: Response @@ -59452,7 +58901,7 @@ paths: application/json: schema: *167 examples: - default: *387 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59480,8 +58929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '201': description: Response @@ -59489,7 +58938,7 @@ paths: application/json: schema: *167 examples: - default: *388 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59511,8 +58960,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: - - *357 - - *358 + - *354 + - *355 - *164 responses: '200': @@ -59521,7 +58970,7 @@ paths: application/json: schema: *165 examples: - default: *389 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59542,8 +58991,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: - - *357 - - *358 + - *354 + - *355 - *164 responses: '204': @@ -59570,8 +59019,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: - - *357 - - *358 + - *354 + - *355 - *164 responses: '200': *169 @@ -59596,8 +59045,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: - - *357 - - *358 + - *354 + - *355 - *164 requestBody: required: true @@ -59646,8 +59095,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: - - *357 - - *358 + - *354 + - *355 - *164 requestBody: required: true @@ -59697,11 +59146,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: - - *357 - - *358 + - *354 + - *355 - *164 responses: - '200': *390 + '200': *387 '404': *6 x-github: githubCloudOnly: false @@ -59728,10 +59177,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: - - *357 - - *358 + - *354 + - *355 - *164 - - *391 + - *388 responses: '200': *169 '404': *6 @@ -59759,9 +59208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *357 - - *358 - - &407 + - *354 + - *355 + - &404 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. @@ -59769,7 +59218,7 @@ paths: required: false schema: type: string - - &408 + - &405 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -59777,7 +59226,7 @@ paths: required: false schema: type: string - - &409 + - &406 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -59786,7 +59235,7 @@ paths: required: false schema: type: string - - &410 + - &407 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 @@ -59813,7 +59262,7 @@ paths: - pending - *17 - *19 - - &411 + - &408 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)." @@ -59822,7 +59271,7 @@ paths: schema: type: string format: date-time - - &392 + - &389 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -59831,13 +59280,13 @@ paths: schema: type: boolean default: false - - &412 + - &409 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &413 + - &410 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -59860,7 +59309,7 @@ paths: type: integer workflow_runs: type: array - items: &393 + items: &390 title: Workflow Run description: An invocation of a workflow type: object @@ -60008,7 +59457,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &437 + properties: &434 id: type: string description: SHA for the commit @@ -60059,7 +59508,7 @@ paths: - name - email nullable: true - required: &438 + required: &435 - id - tree_id - message @@ -60106,7 +59555,7 @@ paths: - workflow_url - pull_requests examples: - default: &414 + default: &411 value: total_count: 1 workflow_runs: @@ -60342,24 +59791,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *357 - - *358 - - &394 + - *354 + - *355 + - &391 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *392 + - *389 responses: '200': description: Response content: application/json: - schema: *393 + schema: *390 examples: - default: &397 + default: &394 value: id: 30433642 name: Build @@ -60600,9 +60049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '204': description: Response @@ -60625,9 +60074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '200': description: Response @@ -60746,9 +60195,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: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '201': description: Response @@ -60781,12 +60230,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 - *17 - *19 - - *395 + - *392 - *62 responses: '200': @@ -60803,9 +60252,9 @@ paths: type: integer artifacts: type: array - items: *364 + items: *361 examples: - default: *396 + default: *393 headers: Link: *70 x-github: @@ -60829,25 +60278,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *357 - - *358 - - *394 - - &398 + - *354 + - *355 + - *391 + - &395 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *392 + - *389 responses: '200': description: Response content: application/json: - schema: *393 + schema: *390 examples: - default: *397 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60870,10 +60319,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *357 - - *358 - - *394 - - *398 + - *354 + - *355 + - *391 + - *395 - *17 - *19 responses: @@ -60891,9 +60340,9 @@ paths: type: integer jobs: type: array - items: *399 + items: *396 examples: - default: &400 + default: &397 value: total_count: 1 jobs: @@ -61006,10 +60455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *357 - - *358 - - *394 - - *398 + - *354 + - *355 + - *391 + - *395 responses: '302': description: Response @@ -61037,9 +60486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '202': description: Response @@ -61085,9 +60534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 - *17 - *47 - *48 @@ -61258,9 +60707,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: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 requestBody: required: true content: @@ -61327,9 +60776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '202': description: Response @@ -61362,9 +60811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 - 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 @@ -61394,9 +60843,9 @@ paths: type: integer jobs: type: array - items: *399 + items: *396 examples: - default: *400 + default: *397 headers: Link: *70 x-github: @@ -61421,9 +60870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '302': description: Response @@ -61450,9 +60899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '204': description: Response @@ -61479,9 +60928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '200': description: Response @@ -61541,7 +60990,7 @@ paths: items: type: object properties: - type: &525 + type: &522 type: string description: The type of reviewer. enum: @@ -61626,9 +61075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 requestBody: required: true content: @@ -61675,12 +61124,12 @@ paths: application/json: schema: type: array - items: &520 + items: &517 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &767 + properties: &765 url: type: string format: uri @@ -61765,7 +61214,7 @@ paths: nullable: true properties: *83 required: *84 - required: &768 + required: &766 - id - node_id - sha @@ -61781,7 +61230,7 @@ paths: - created_at - updated_at examples: - default: &521 + default: &518 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -61837,9 +61286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 requestBody: required: false content: @@ -61883,9 +61332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 requestBody: required: false content: @@ -61938,9 +61387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *357 - - *358 - - *394 + - *354 + - *355 + - *391 responses: '200': description: Response @@ -62077,8 +61526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -62096,9 +61545,9 @@ paths: type: integer secrets: type: array - items: *401 + items: *398 examples: - default: *402 + default: *399 headers: Link: *70 x-github: @@ -62123,8 +61572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -62154,17 +61603,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '200': description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: &415 + default: &412 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -62190,8 +61639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 requestBody: required: true @@ -62249,8 +61698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '204': @@ -62276,8 +61725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *357 - - *358 + - *354 + - *355 - *180 - *19 responses: @@ -62295,9 +61744,9 @@ paths: type: integer variables: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -62320,8 +61769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -62373,17 +61822,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 responses: '200': description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: &416 + default: &413 value: name: USERNAME value: octocat @@ -62409,8 +61858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 requestBody: required: true @@ -62453,8 +61902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 responses: '204': @@ -62480,8 +61929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -62499,7 +61948,7 @@ paths: type: integer workflows: type: array - items: &405 + items: &402 title: Workflow description: A GitHub Actions workflow type: object @@ -62606,9 +62055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *357 - - *358 - - &406 + - *354 + - *355 + - &403 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -62623,7 +62072,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *402 examples: default: value: @@ -62656,9 +62105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *357 - - *358 - - *406 + - *354 + - *355 + - *403 responses: '204': description: Response @@ -62683,9 +62132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *357 - - *358 - - *406 + - *354 + - *355 + - *403 responses: '200': description: Response including the workflow run ID and URLs. @@ -62765,9 +62214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *357 - - *358 - - *406 + - *354 + - *355 + - *403 responses: '204': description: Response @@ -62794,19 +62243,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *357 - - *358 + - *354 + - *355 + - *403 + - *404 + - *405 - *406 - *407 + - *17 + - *19 - *408 + - *389 - *409 - *410 - - *17 - - *19 - - *411 - - *392 - - *412 - - *413 responses: '200': description: Response @@ -62822,9 +62271,9 @@ paths: type: integer workflow_runs: type: array - items: *393 + items: *390 examples: - default: *414 + default: *411 headers: Link: *70 x-github: @@ -62856,9 +62305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *357 - - *358 - - *406 + - *354 + - *355 + - *403 responses: '200': description: Response @@ -62919,8 +62368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *357 - - *358 + - *354 + - *355 - *62 - *17 - *47 @@ -63089,8 +62538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -63108,9 +62557,9 @@ paths: type: integer secrets: type: array - items: *401 + items: *398 examples: - default: *402 + default: *399 headers: Link: *70 x-github: @@ -63134,8 +62583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *357 - - *358 + - *354 + - *355 - *180 - *19 responses: @@ -63153,9 +62602,9 @@ paths: type: integer variables: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -63180,8 +62629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -63199,9 +62648,9 @@ paths: type: integer secrets: type: array - items: *401 + items: *398 examples: - default: *402 + default: *399 headers: Link: *70 x-github: @@ -63226,8 +62675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -63257,17 +62706,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '200': description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: *415 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63289,8 +62738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 requestBody: required: true @@ -63348,8 +62797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '204': @@ -63375,8 +62824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *357 - - *358 + - *354 + - *355 - *180 - *19 responses: @@ -63394,9 +62843,9 @@ paths: type: integer variables: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -63419,8 +62868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -63472,17 +62921,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 responses: '200': description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: *416 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63503,8 +62952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 requestBody: required: true @@ -63547,8 +62996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 responses: '204': @@ -63570,8 +63019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -63608,8 +63057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *357 - - *358 + - *354 + - *355 - name: assignee in: path required: true @@ -63645,8 +63094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -63756,8 +63205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *47 - *48 @@ -63798,7 +63247,7 @@ paths: initiator: type: string examples: - default: *417 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63818,8 +63267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -63827,7 +63276,7 @@ paths: application/json: schema: type: array - items: &418 + items: &415 title: Autolink reference description: An autolink reference. type: object @@ -63881,8 +63330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -63921,9 +63370,9 @@ paths: description: response content: application/json: - schema: *418 + schema: *415 examples: - default: &419 + default: &416 value: id: 1 key_prefix: TICKET- @@ -63954,9 +63403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *357 - - *358 - - &420 + - *354 + - *355 + - &417 name: autolink_id description: The unique identifier of the autolink. in: path @@ -63968,9 +63417,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *415 examples: - default: *419 + default: *416 '404': *6 x-github: githubCloudOnly: false @@ -63990,9 +63439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *357 - - *358 - - *420 + - *354 + - *355 + - *417 responses: '204': description: Response @@ -64016,8 +63465,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response if Dependabot is enabled @@ -64065,8 +63514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -64087,8 +63536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -64108,8 +63557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *357 - - *358 + - *354 + - *355 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -64147,7 +63596,7 @@ paths: - url protected: type: boolean - protection: &422 + protection: &419 title: Branch Protection description: Branch Protection type: object @@ -64189,7 +63638,7 @@ paths: required: - contexts - checks - enforce_admins: &425 + enforce_admins: &422 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -64204,7 +63653,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &427 + required_pull_request_reviews: &424 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -64280,7 +63729,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &424 + restrictions: &421 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -64557,9 +64006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *357 - - *358 - - &423 + - *354 + - *355 + - &420 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). @@ -64573,14 +64022,14 @@ paths: description: Response content: application/json: - schema: &433 + schema: &430 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &490 + commit: &487 title: Commit description: Commit type: object @@ -64614,7 +64063,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &421 + properties: &418 name: type: string example: '"Chris Wanstrath"' @@ -64630,7 +64079,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *421 + properties: *418 nullable: true message: type: string @@ -64651,7 +64100,7 @@ paths: required: - sha - url - verification: &543 + verification: &540 title: Verification type: object properties: @@ -64721,7 +64170,7 @@ paths: type: integer files: type: array - items: &503 + items: &500 title: Diff Entry description: Diff Entry type: object @@ -64805,7 +64254,7 @@ paths: - self protected: type: boolean - protection: *422 + protection: *419 protection_url: type: string format: uri @@ -64912,7 +64361,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *361 + '301': *358 '404': *6 x-github: githubCloudOnly: false @@ -64934,15 +64383,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *422 + schema: *419 examples: default: value: @@ -65136,9 +64585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -65393,7 +64842,7 @@ paths: url: type: string format: uri - required_status_checks: &430 + required_status_checks: &427 title: Status Check Policy description: Status Check Policy type: object @@ -65545,7 +64994,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *424 + restrictions: *421 required_conversation_resolution: type: object properties: @@ -65657,9 +65106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -65684,17 +65133,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: &426 + default: &423 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -65716,17 +65165,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: *426 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65745,9 +65194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -65772,17 +65221,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: &428 + default: &425 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -65878,9 +65327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -65978,9 +65427,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: *428 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -66001,9 +65450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -66030,17 +65479,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: &429 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -66063,17 +65512,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *425 + schema: *422 examples: - default: *429 + default: *426 '404': *6 x-github: githubCloudOnly: false @@ -66093,9 +65542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -66120,17 +65569,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *430 + schema: *427 examples: - default: &431 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -66156,9 +65605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -66210,9 +65659,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *427 examples: - default: *431 + default: *428 '404': *6 '422': *15 x-github: @@ -66234,9 +65683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -66260,9 +65709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response @@ -66296,9 +65745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -66365,9 +65814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -66431,9 +65880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: content: application/json: @@ -66499,15 +65948,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response content: application/json: - schema: *424 + schema: *421 examples: default: value: @@ -66598,9 +66047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '204': description: Response @@ -66623,9 +66072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response @@ -66635,7 +66084,7 @@ paths: type: array items: *5 examples: - default: &432 + default: &429 value: - id: 1 slug: octoapp @@ -66692,9 +66141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -66728,7 +66177,7 @@ paths: type: array items: *5 examples: - default: *432 + default: *429 '422': *15 x-github: githubCloudOnly: false @@ -66749,9 +66198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -66785,7 +66234,7 @@ paths: type: array items: *5 examples: - default: *432 + default: *429 '422': *15 x-github: githubCloudOnly: false @@ -66806,9 +66255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -66842,7 +66291,7 @@ paths: type: array items: *5 examples: - default: *432 + default: *429 '422': *15 x-github: githubCloudOnly: false @@ -66864,9 +66313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response @@ -66896,9 +66345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -66957,9 +66406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: false content: @@ -67018,9 +66467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: content: application/json: @@ -67079,9 +66528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 responses: '200': description: Response @@ -67115,9 +66564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67175,9 +66624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67235,9 +66684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67297,9 +66746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 requestBody: required: true content: @@ -67321,7 +66770,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *430 examples: default: value: @@ -67437,8 +66886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -67717,7 +67166,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &431 title: CheckRun description: A check performed on the code of a given code change type: object @@ -67837,7 +67286,7 @@ paths: check. type: array items: *93 - deployment: &760 + deployment: &758 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -68117,9 +67566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *357 - - *358 - - &435 + - *354 + - *355 + - &432 name: check_run_id description: The unique identifier of the check run. in: path @@ -68131,9 +67580,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *431 examples: - default: &436 + default: &433 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -68233,9 +67682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *357 - - *358 - - *435 + - *354 + - *355 + - *432 requestBody: required: true content: @@ -68475,9 +67924,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *431 examples: - default: *436 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68497,9 +67946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *357 - - *358 - - *435 + - *354 + - *355 + - *432 - *17 - *19 responses: @@ -68594,9 +68043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *357 - - *358 - - *435 + - *354 + - *355 + - *432 responses: '201': description: Response @@ -68640,8 +68089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -68663,7 +68112,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &439 + schema: &436 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -68749,12 +68198,12 @@ paths: type: string format: date-time nullable: true - head_commit: &788 + head_commit: &786 title: Simple Commit description: A commit. type: object - properties: *437 - required: *438 + properties: *434 + required: *435 latest_check_runs_count: type: integer check_runs_url: @@ -68782,7 +68231,7 @@ paths: - check_runs_url - pull_requests examples: - default: &440 + default: &437 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -69073,9 +68522,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *439 + schema: *436 examples: - default: *440 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69094,8 +68543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -69404,9 +68853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *357 - - *358 - - &441 + - *354 + - *355 + - &438 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -69418,9 +68867,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *436 examples: - default: *440 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69443,17 +68892,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *357 - - *358 - - *441 - - &496 + - *354 + - *355 + - *438 + - &493 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &497 + - &494 name: status description: Returns check runs with the specified `status`. in: query @@ -69492,9 +68941,9 @@ paths: type: integer check_runs: type: array - items: *434 + items: *431 examples: - default: &498 + default: &495 value: total_count: 1 check_runs: @@ -69596,9 +69045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *357 - - *358 - - *441 + - *354 + - *355 + - *438 responses: '201': description: Response @@ -69627,8 +69076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -69718,8 +69167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -69847,21 +69296,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *357 - - *358 - - *442 - - *443 + - *354 + - *355 + - *439 + - *440 - *19 - *17 - - &460 + - &457 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: *444 - - &461 + schema: *441 + - &458 name: pr description: The number of the pull request for the results you want to list. in: query @@ -69886,13 +69335,13 @@ paths: be returned. in: query required: false - schema: *445 + schema: *442 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *446 + schema: *443 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -69916,7 +69365,7 @@ paths: updated_at: *190 url: *191 html_url: *192 - instances_url: *447 + instances_url: *444 state: *197 fixed_at: *193 dismissed_by: @@ -69927,11 +69376,11 @@ paths: required: *21 nullable: true dismissed_at: *194 - dismissed_reason: *448 - dismissed_comment: *449 - rule: *450 - tool: *451 - most_recent_instance: *452 + dismissed_reason: *445 + dismissed_comment: *446 + rule: *447 + tool: *448 + most_recent_instance: *449 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70057,7 +69506,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &453 + '403': &450 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -70084,9 +69533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *357 - - *358 - - &454 + - *354 + - *355 + - &451 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -70100,7 +69549,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &452 type: object properties: number: *188 @@ -70108,7 +69557,7 @@ paths: updated_at: *190 url: *191 html_url: *192 - instances_url: *447 + instances_url: *444 state: *197 fixed_at: *193 dismissed_by: @@ -70119,8 +69568,8 @@ paths: required: *21 nullable: true dismissed_at: *194 - dismissed_reason: *448 - dismissed_comment: *449 + dismissed_reason: *445 + dismissed_comment: *446 rule: type: object properties: @@ -70174,8 +69623,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *451 - most_recent_instance: *452 + tool: *448 + most_recent_instance: *449 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70274,7 +69723,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -70294,9 +69743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 requestBody: required: true content: @@ -70311,8 +69760,8 @@ paths: enum: - open - dismissed - dismissed_reason: *448 - dismissed_comment: *449 + dismissed_reason: *445 + dismissed_comment: *446 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -70340,7 +69789,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *452 examples: default: value: @@ -70416,7 +69865,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &459 + '403': &456 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -70443,15 +69892,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: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 responses: '200': description: Response content: application/json: - schema: &456 + schema: &453 type: object properties: status: @@ -70477,13 +69926,13 @@ paths: - description - started_at examples: - default: &457 + default: &454 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &458 + '400': &455 description: Bad Request content: application/json: @@ -70494,7 +69943,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': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -70519,29 +69968,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: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 responses: '200': description: OK content: application/json: - schema: *456 + schema: *453 examples: - default: *457 + default: *454 '202': description: Accepted content: application/json: - schema: *456 + schema: *453 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *458 + '400': *455 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -70573,9 +70022,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: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 requestBody: required: false content: @@ -70620,8 +70069,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *458 - '403': *459 + '400': *455 + '403': *456 '404': *6 '422': description: Unprocessable Entity @@ -70645,13 +70094,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 - *19 - *17 - - *460 - - *461 + - *457 + - *458 responses: '200': description: Response @@ -70662,10 +70111,10 @@ paths: items: type: object properties: - ref: *444 - analysis_key: *462 - environment: *463 - category: *464 + ref: *441 + analysis_key: *459 + environment: *460 + category: *461 state: type: string description: State of a code scanning alert instance. @@ -70680,7 +70129,7 @@ paths: properties: text: type: string - location: *465 + location: *462 html_url: type: string classifications: @@ -70688,7 +70137,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: *466 + items: *463 examples: default: value: @@ -70725,7 +70174,7 @@ paths: end_column: 50 classifications: - source - '403': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -70759,25 +70208,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *357 - - *358 - - *442 - - *443 + - *354 + - *355 + - *439 + - *440 - *19 - *17 - - *461 + - *458 - 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: *444 + schema: *441 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &467 + schema: &464 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -70798,23 +70247,23 @@ paths: application/json: schema: type: array - items: &468 + items: &465 type: object properties: - ref: *444 - commit_sha: &476 + ref: *441 + commit_sha: &473 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: *462 + analysis_key: *459 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *464 + category: *461 error: type: string example: error reading field xyz @@ -70838,8 +70287,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *467 - tool: *451 + sarif_id: *464 + tool: *448 deletable: type: boolean warning: @@ -70900,7 +70349,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -70936,8 +70385,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: - - *357 - - *358 + - *354 + - *355 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70950,7 +70399,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *465 examples: response: summary: application/json response @@ -71004,7 +70453,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *453 + '403': *450 '404': *6 '422': description: Response if analysis could not be processed @@ -71091,8 +70540,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: - - *357 - - *358 + - *354 + - *355 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71145,7 +70594,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': *459 + '403': *456 '404': *6 '503': *122 x-github: @@ -71167,8 +70616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -71176,7 +70625,7 @@ paths: application/json: schema: type: array - items: &469 + items: &466 title: CodeQL Database description: A CodeQL database. type: object @@ -71287,7 +70736,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': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -71316,8 +70765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - name: language in: path description: The language of the CodeQL database. @@ -71329,7 +70778,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *466 examples: default: value: @@ -71361,9 +70810,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': &507 + '302': &504 description: Found - '403': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -71385,8 +70834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *357 - - *358 + - *354 + - *355 - name: language in: path description: The language of the CodeQL database. @@ -71396,7 +70845,7 @@ paths: responses: '204': description: Response - '403': *459 + '403': *456 '404': *6 '503': *122 x-github: @@ -71424,8 +70873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -71434,7 +70883,7 @@ paths: type: object additionalProperties: false properties: - language: &470 + language: &467 type: string description: The language targeted by the CodeQL query enum: @@ -71514,7 +70963,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &474 + schema: &471 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -71524,7 +70973,7 @@ paths: description: The ID of the variant analysis. controller_repo: *67 actor: *4 - query_language: *470 + query_language: *467 query_pack_url: type: string description: The download url for the query pack. @@ -71571,7 +71020,7 @@ paths: items: type: object properties: - repository: &471 + repository: &468 title: Repository Identifier description: Repository Identifier type: object @@ -71607,7 +71056,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &475 + analysis_status: &472 type: string description: The new status of the CodeQL variant analysis repository task. @@ -71639,7 +71088,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &472 + access_mismatch_repos: &469 type: object properties: repository_count: @@ -71653,7 +71102,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: *471 + items: *468 required: - repository_count - repositories @@ -71675,8 +71124,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *472 - over_limit_repos: *472 + no_codeql_db_repos: *469 + over_limit_repos: *469 required: - access_mismatch_repos - not_found_repos @@ -71692,7 +71141,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &473 + value: &470 summary: Default response value: id: 1 @@ -71838,10 +71287,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *473 + value: *470 repository_lists: summary: Response for a successful variant analysis submission - value: *473 + value: *470 '404': *6 '422': description: Unable to process variant analysis submission @@ -71869,8 +71318,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: - - *357 - - *358 + - *354 + - *355 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -71882,9 +71331,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *471 examples: - default: *473 + default: *470 '404': *6 '503': *122 x-github: @@ -71907,7 +71356,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: - - *357 + - *354 - name: repo in: path description: The name of the controller repository. @@ -71942,7 +71391,7 @@ paths: type: object properties: repository: *67 - analysis_status: *475 + analysis_status: *472 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -72067,8 +71516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -72151,7 +71600,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *453 + '403': *450 '404': *6 '503': *122 x-github: @@ -72172,8 +71621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -72265,7 +71714,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *459 + '403': *456 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -72336,8 +71785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -72345,7 +71794,7 @@ paths: schema: type: object properties: - commit_sha: *476 + commit_sha: *473 ref: type: string description: |- @@ -72403,7 +71852,7 @@ paths: schema: type: object properties: - id: *467 + id: *464 url: type: string description: The REST API URL for checking the status of the upload. @@ -72417,7 +71866,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': *459 + '403': *456 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -72440,8 +71889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *357 - - *358 + - *354 + - *355 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -72487,7 +71936,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': *453 + '403': *450 '404': description: Not Found if the sarif id does not match any upload '503': *122 @@ -72512,8 +71961,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -72594,8 +72043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *357 - - *358 + - *354 + - *355 - 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 @@ -72715,8 +72164,8 @@ paths: parameters: - *17 - *19 - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -73030,8 +72479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -73096,7 +72545,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -73104,7 +72553,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '400': *14 '401': *25 '403': *29 @@ -73133,8 +72582,8 @@ paths: parameters: - *17 - *19 - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -73198,8 +72647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -73234,14 +72683,14 @@ paths: type: integer machines: type: array - items: &702 + items: &700 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *478 - required: *479 + properties: *475 + required: *476 examples: - default: &703 + default: &701 value: total_count: 2 machines: @@ -73281,8 +72730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *357 - - *358 + - *354 + - *355 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -73366,8 +72815,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: - - *357 - - *358 + - *354 + - *355 - 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 @@ -73433,8 +72882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -73452,7 +72901,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &480 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -73472,7 +72921,7 @@ paths: - created_at - updated_at examples: - default: *480 + default: *477 headers: Link: *70 x-github: @@ -73495,16 +72944,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *481 + schema: *478 examples: - default: *482 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -73524,17 +72973,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '200': description: Response content: application/json: - schema: *483 + schema: *480 examples: - default: *484 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73554,8 +73003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 requestBody: required: true @@ -73608,8 +73057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '204': @@ -73638,8 +73087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *357 - - *358 + - *354 + - *355 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -73681,7 +73130,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &485 + properties: &482 login: type: string example: octocat @@ -73774,7 +73223,7 @@ paths: user_view_type: type: string example: public - required: &486 + required: &483 - avatar_url - events_url - followers_url @@ -73848,8 +73297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *357 - - *358 + - *354 + - *355 - *74 responses: '204': @@ -73896,8 +73345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *357 - - *358 + - *354 + - *355 - *74 requestBody: required: false @@ -73924,7 +73373,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &556 + schema: &554 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -74153,8 +73602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *357 - - *358 + - *354 + - *355 - *74 responses: '204': @@ -74186,8 +73635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *357 - - *358 + - *354 + - *355 - *74 responses: '200': @@ -74208,8 +73657,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *485 - required: *486 + properties: *482 + required: *483 nullable: true required: - permission @@ -74264,8 +73713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -74275,7 +73724,7 @@ paths: application/json: schema: type: array - items: &487 + items: &484 title: Commit Comment description: Commit Comment type: object @@ -74333,7 +73782,7 @@ paths: - created_at - updated_at examples: - default: &492 + default: &489 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74392,17 +73841,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '200': description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: &493 + default: &490 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74459,8 +73908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -74483,7 +73932,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *484 examples: default: value: @@ -74534,8 +73983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '204': @@ -74557,8 +74006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -74585,7 +74034,7 @@ paths: application/json: schema: type: array - items: &488 + items: &485 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -74628,7 +74077,7 @@ paths: - content - created_at examples: - default: &561 + default: &559 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -74673,8 +74122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -74707,9 +74156,9 @@ paths: description: Reaction exists content: application/json: - schema: *488 + schema: *485 examples: - default: &489 + default: &486 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -74738,9 +74187,9 @@ paths: description: Reaction created content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '422': *15 x-github: githubCloudOnly: false @@ -74762,10 +74211,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *357 - - *358 + - *354 + - *355 - *104 - - &562 + - &560 name: reaction_id description: The unique identifier of the reaction. in: path @@ -74820,8 +74269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *357 - - *358 + - *354 + - *355 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -74877,9 +74326,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: &613 + default: &611 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74973,9 +74422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *357 - - *358 - - &491 + - *354 + - *355 + - &488 name: commit_sha description: The SHA of the commit. in: path @@ -75047,9 +74496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *357 - - *358 - - *491 + - *354 + - *355 + - *488 - *17 - *19 responses: @@ -75059,9 +74508,9 @@ paths: application/json: schema: type: array - items: *487 + items: *484 examples: - default: *492 + default: *489 headers: Link: *70 x-github: @@ -75089,9 +74538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *357 - - *358 - - *491 + - *354 + - *355 + - *488 requestBody: required: true content: @@ -75126,9 +74575,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: *493 + default: *490 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75156,9 +74605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *357 - - *358 - - *491 + - *354 + - *355 + - *488 - *17 - *19 responses: @@ -75168,9 +74617,9 @@ paths: application/json: schema: type: array - items: *494 + items: *491 examples: - default: &605 + default: &603 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75707,11 +75156,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *357 - - *358 + - *354 + - *355 - *19 - *17 - - &495 + - &492 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)" @@ -75726,9 +75175,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *487 examples: - default: &592 + default: &590 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75816,7 +75265,7 @@ paths: schema: type: string examples: - default: &504 + default: &501 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -75829,7 +75278,7 @@ paths: schema: type: string examples: - default: &505 + default: &502 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -75882,11 +75331,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *357 - - *358 - - *495 - - *496 - - *497 + - *354 + - *355 + - *492 + - *493 + - *494 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -75920,9 +75369,9 @@ paths: type: integer check_runs: type: array - items: *434 + items: *431 examples: - default: *498 + default: *495 headers: Link: *70 x-github: @@ -75947,9 +75396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *357 - - *358 - - *495 + - *354 + - *355 + - *492 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -75957,7 +75406,7 @@ paths: schema: type: integer example: 1 - - *496 + - *493 - *17 - *19 responses: @@ -75975,7 +75424,7 @@ paths: type: integer check_suites: type: array - items: *439 + items: *436 examples: default: value: @@ -76175,9 +75624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *357 - - *358 - - *495 + - *354 + - *355 + - *492 - *17 - *19 responses: @@ -76375,9 +75824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *357 - - *358 - - *495 + - *354 + - *355 + - *492 - *17 - *19 responses: @@ -76387,7 +75836,7 @@ paths: application/json: schema: type: array - items: &683 + items: &681 title: Status description: The status of a commit. type: object @@ -76468,7 +75917,7 @@ paths: site_admin: false headers: Link: *70 - '301': *361 + '301': *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76496,8 +75945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -76526,20 +75975,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *499 - required: *500 + properties: *496 + required: *497 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &501 + properties: &498 url: type: string format: uri html_url: type: string format: uri - required: &502 + required: &499 - url - html_url nullable: true @@ -76553,26 +76002,26 @@ paths: contributing: title: Community Health File type: object - properties: *501 - required: *502 + properties: *498 + required: *499 nullable: true readme: title: Community Health File type: object - properties: *501 - required: *502 + properties: *498 + required: *499 nullable: true issue_template: title: Community Health File type: object - properties: *501 - required: *502 + properties: *498 + required: *499 nullable: true pull_request_template: title: Community Health File type: object - properties: *501 - required: *502 + properties: *498 + required: *499 nullable: true required: - code_of_conduct @@ -76699,8 +76148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *357 - - *358 + - *354 + - *355 - *19 - *17 - name: basehead @@ -76743,8 +76192,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *490 - merge_base_commit: *490 + base_commit: *487 + merge_base_commit: *487 status: type: string enum: @@ -76764,10 +76213,10 @@ paths: example: 6 commits: type: array - items: *490 + items: *487 files: type: array - items: *503 + items: *500 required: - url - html_url @@ -77013,12 +76462,12 @@ paths: schema: type: string examples: - default: *504 + default: *501 application/vnd.github.patch: schema: type: string examples: - default: *505 + default: *502 '404': *6 '500': *55 '503': *122 @@ -77063,8 +76512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *357 - - *358 + - *354 + - *355 - name: path description: path parameter in: path @@ -77224,7 +76673,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &506 + response-if-content-is-a-file-github-object: &503 summary: Response if content is a file value: type: file @@ -77356,7 +76805,7 @@ paths: - size - type - url - - &618 + - &616 title: Content File description: Content File type: object @@ -77557,7 +77006,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *506 + response-if-content-is-a-file: *503 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -77626,7 +77075,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *507 + '302': *504 '304': *37 x-github: githubCloudOnly: false @@ -77649,8 +77098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *357 - - *358 + - *354 + - *355 - name: path description: path parameter in: path @@ -77743,7 +77192,7 @@ paths: description: Response content: application/json: - schema: &508 + schema: &505 title: File Commit description: File Commit type: object @@ -77895,7 +77344,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *505 examples: example-for-creating-a-file: value: @@ -77949,7 +77398,7 @@ paths: schema: oneOf: - *3 - - &538 + - &535 description: Repository rule violation was detected type: object properties: @@ -77970,7 +77419,7 @@ paths: items: type: object properties: - placeholder_id: &675 + placeholder_id: &673 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -78002,8 +77451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *357 - - *358 + - *354 + - *355 - name: path description: path parameter in: path @@ -78064,7 +77513,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *505 examples: default: value: @@ -78119,8 +77568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *357 - - *358 + - *354 + - *355 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -78249,8 +77698,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -78382,8 +77831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *212 - *213 - *214 @@ -78396,7 +77845,7 @@ paths: schema: type: string - *217 - - *509 + - *506 - *218 - *219 - *220 @@ -78411,7 +77860,7 @@ paths: application/json: schema: type: array - items: &513 + items: &510 type: object description: A Dependabot alert. properties: @@ -78458,7 +77907,7 @@ paths: - direct - transitive - inconclusive - security_advisory: *510 + security_advisory: *507 security_vulnerability: *66 url: *191 html_url: *192 @@ -78489,8 +77938,8 @@ paths: nullable: true maxLength: 280 fixed_at: *193 - auto_dismissed_at: *511 - dismissal_request: *512 + auto_dismissed_at: *508 + dismissal_request: *509 assignees: type: array description: The users assigned to this alert. @@ -78745,9 +78194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *357 - - *358 - - &514 + - *354 + - *355 + - &511 name: alert_number in: path description: |- @@ -78762,7 +78211,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *510 examples: default: value: @@ -78894,9 +78343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *357 - - *358 - - *514 + - *354 + - *355 + - *511 requestBody: required: true content: @@ -78933,6 +78382,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: @@ -78952,7 +78402,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *510 examples: default: value: @@ -79082,8 +78532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -79101,7 +78551,7 @@ paths: type: integer secrets: type: array - items: &517 + items: &514 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -79154,16 +78604,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *515 + schema: *512 examples: - default: *516 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79183,15 +78633,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '200': description: Response content: application/json: - schema: *517 + schema: *514 examples: default: value: @@ -79217,8 +78667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 requestBody: required: true @@ -79271,8 +78721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *357 - - *358 + - *354 + - *355 - *171 responses: '204': @@ -79295,8 +78745,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: - - *357 - - *358 + - *354 + - *355 - 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 @@ -79459,8 +78909,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -79698,8 +79148,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: - - *357 - - *358 + - *354 + - *355 - name: sbom_uuid in: path required: true @@ -79710,7 +79160,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *518 + Location: *515 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -79731,8 +79181,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: - - *357 - - *358 + - *354 + - *355 responses: '201': description: Response @@ -79770,8 +79220,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -79846,7 +79296,7 @@ paths: - version - url additionalProperties: false - metadata: &519 + metadata: &516 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79879,7 +79329,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *519 + metadata: *516 resolved: type: object description: A collection of resolved package dependencies. @@ -79892,7 +79342,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *519 + metadata: *516 relationship: type: string description: A notation of whether a dependency is requested @@ -80021,8 +79471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *357 - - *358 + - *354 + - *355 - name: sha description: The SHA recorded at creation time. in: query @@ -80062,9 +79512,9 @@ paths: application/json: schema: type: array - items: *520 + items: *517 examples: - default: *521 + default: *518 headers: Link: *70 x-github: @@ -80130,8 +79580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -80212,7 +79662,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *517 examples: simple-example: summary: Simple example @@ -80285,9 +79735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *357 - - *358 - - &522 + - *354 + - *355 + - &519 name: deployment_id description: deployment_id parameter in: path @@ -80299,7 +79749,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *517 examples: default: value: @@ -80364,9 +79814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *357 - - *358 - - *522 + - *354 + - *355 + - *519 responses: '204': description: Response @@ -80388,9 +79838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *357 - - *358 - - *522 + - *354 + - *355 + - *519 - *17 - *19 responses: @@ -80400,7 +79850,7 @@ paths: application/json: schema: type: array - items: &523 + items: &520 title: Deployment Status description: The status of a deployment. type: object @@ -80561,9 +80011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *357 - - *358 - - *522 + - *354 + - *355 + - *519 requestBody: required: true content: @@ -80638,9 +80088,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *520 examples: - default: &524 + default: &521 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -80696,9 +80146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *357 - - *358 - - *522 + - *354 + - *355 + - *519 - name: status_id in: path required: true @@ -80709,9 +80159,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *520 examples: - default: *524 + default: *521 '404': *6 x-github: githubCloudOnly: false @@ -80736,8 +80186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -80794,8 +80244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -80812,7 +80262,7 @@ paths: type: integer environments: type: array - items: &526 + items: &523 title: Environment description: Details of a deployment environment type: object @@ -80864,7 +80314,7 @@ paths: type: type: string example: wait_timer - wait_timer: &528 + wait_timer: &525 type: integer example: 30 description: The amount of time to delay a job after @@ -80901,7 +80351,7 @@ paths: items: type: object properties: - type: *525 + type: *522 reviewer: anyOf: - *4 @@ -80925,7 +80375,7 @@ paths: - id - node_id - type - deployment_branch_policy: &529 + deployment_branch_policy: &526 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -81041,9 +80491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *357 - - *358 - - &527 + - *354 + - *355 + - &524 name: environment_name in: path required: true @@ -81056,9 +80506,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: &530 + default: &527 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -81142,9 +80592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 requestBody: required: false content: @@ -81153,7 +80603,7 @@ paths: type: object nullable: true properties: - wait_timer: *528 + wait_timer: *525 prevent_self_review: type: boolean example: false @@ -81170,13 +80620,13 @@ paths: items: type: object properties: - type: *525 + type: *522 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *529 + deployment_branch_policy: *526 additionalProperties: false examples: default: @@ -81196,9 +80646,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: *530 + default: *527 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -81222,9 +80672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 responses: '204': description: Default response @@ -81249,9 +80699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *17 - *19 responses: @@ -81269,7 +80719,7 @@ paths: example: 2 branch_policies: type: array - items: &531 + items: &528 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -81326,9 +80776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 requestBody: required: true content: @@ -81374,9 +80824,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *528 examples: - example-wildcard: &532 + example-wildcard: &529 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -81418,10 +80868,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *357 - - *358 - - *527 - - &533 + - *354 + - *355 + - *524 + - &530 name: branch_policy_id in: path required: true @@ -81433,9 +80883,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *528 examples: - default: *532 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81454,10 +80904,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *357 - - *358 - - *527 - - *533 + - *354 + - *355 + - *524 + - *530 requestBody: required: true content: @@ -81485,9 +80935,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *528 examples: - default: *532 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81506,10 +80956,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *357 - - *358 - - *527 - - *533 + - *354 + - *355 + - *524 + - *530 responses: '204': description: Response @@ -81534,9 +80984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *527 - - *358 - - *357 + - *524 + - *355 + - *354 responses: '200': description: List of deployment protection rules @@ -81552,7 +81002,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &534 + items: &531 title: Deployment protection rule description: Deployment protection rule type: object @@ -81571,7 +81021,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &535 + app: &532 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -81670,9 +81120,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: - - *527 - - *358 - - *357 + - *524 + - *355 + - *354 requestBody: content: application/json: @@ -81693,9 +81143,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *534 + schema: *531 examples: - default: &536 + default: &533 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -81730,9 +81180,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: - - *527 - - *358 - - *357 + - *524 + - *355 + - *354 - *19 - *17 responses: @@ -81751,7 +81201,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *535 + items: *532 examples: default: value: @@ -81786,10 +81236,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *357 - - *358 - - *527 - - &537 + - *354 + - *355 + - *524 + - &534 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -81801,9 +81251,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *531 examples: - default: *536 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81824,10 +81274,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *527 - - *358 - - *357 - - *537 + - *524 + - *355 + - *354 + - *534 responses: '204': description: Response @@ -81853,9 +81303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *17 - *19 responses: @@ -81873,9 +81323,9 @@ paths: type: integer secrets: type: array - items: *401 + items: *398 examples: - default: *402 + default: *399 headers: Link: *70 x-github: @@ -81900,9 +81350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 responses: '200': description: Response @@ -81932,18 +81382,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *171 responses: '200': description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: *415 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81965,9 +81415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *171 requestBody: required: true @@ -82025,9 +81475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *171 responses: '204': @@ -82053,9 +81503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *180 - *19 responses: @@ -82073,9 +81523,9 @@ paths: type: integer variables: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -82098,9 +81548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 requestBody: required: true content: @@ -82152,18 +81602,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *357 - - *358 - - *527 + - *354 + - *355 + - *524 - *174 responses: '200': description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: *416 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82184,10 +81634,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 - - *527 + - *524 requestBody: required: true content: @@ -82229,10 +81679,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *357 - - *358 + - *354 + - *355 - *174 - - *527 + - *524 responses: '204': description: Response @@ -82254,8 +81704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -82323,8 +81773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *357 - - *358 + - *354 + - *355 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -82483,8 +81933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -82516,9 +81966,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *362 + default: *359 '400': *14 '422': *15 '403': *29 @@ -82539,8 +81989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -82600,7 +82050,7 @@ paths: schema: oneOf: - *132 - - *538 + - *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82625,8 +82075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *357 - - *358 + - *354 + - *355 - name: file_sha in: path required: true @@ -82725,8 +82175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -82835,7 +82285,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &536 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -83049,15 +82499,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *357 - - *358 - - *491 + - *354 + - *355 + - *488 responses: '200': description: Response content: application/json: - schema: *539 + schema: *536 examples: default: value: @@ -83113,9 +82563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *357 - - *358 - - &540 + - *354 + - *355 + - &537 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. @@ -83132,7 +82582,7 @@ paths: application/json: schema: type: array - items: &541 + items: &538 title: Git Reference description: Git references within a repository type: object @@ -83207,17 +82657,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *357 - - *358 - - *540 + - *354 + - *355 + - *537 responses: '200': description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: &542 + default: &539 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -83246,8 +82696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -83276,9 +82726,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: *542 + default: *539 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -83304,9 +82754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *357 - - *358 - - *540 + - *354 + - *355 + - *537 requestBody: required: true content: @@ -83335,9 +82785,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: *542 + default: *539 '422': *15 '409': *54 x-github: @@ -83355,9 +82805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *357 - - *358 - - *540 + - *354 + - *355 + - *537 responses: '204': description: Response @@ -83412,8 +82862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -83480,7 +82930,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &541 title: Git Tag description: Metadata for a Git tag type: object @@ -83531,7 +82981,7 @@ paths: - sha - type - url - verification: *543 + verification: *540 required: - sha - url @@ -83541,7 +82991,7 @@ paths: - tag - message examples: - default: &545 + default: &542 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -83614,8 +83064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *357 - - *358 + - *354 + - *355 - name: tag_sha in: path required: true @@ -83626,9 +83076,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *541 examples: - default: *545 + default: *542 '404': *6 '409': *54 x-github: @@ -83652,8 +83102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -83726,7 +83176,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &543 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -83822,8 +83272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *357 - - *358 + - *354 + - *355 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -83846,7 +83296,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *543 examples: default-response: summary: Default response @@ -83904,8 +83354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -83948,8 +83398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -83959,7 +83409,7 @@ paths: application/json: schema: type: array - items: &547 + items: &544 title: Webhook description: Webhooks for repositories. type: object @@ -84013,7 +83463,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &796 + last_response: &794 title: Hook Response type: object properties: @@ -84087,8 +83537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -84140,9 +83590,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *544 examples: - default: &548 + default: &545 value: type: Repository id: 12345678 @@ -84190,17 +83640,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 responses: '200': description: Response content: application/json: - schema: *547 + schema: *544 examples: - default: *548 + default: *545 '404': *6 x-github: githubCloudOnly: false @@ -84220,8 +83670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 requestBody: required: true @@ -84267,9 +83717,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *544 examples: - default: *548 + default: *545 '422': *15 '404': *6 x-github: @@ -84290,8 +83740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 responses: '204': @@ -84316,8 +83766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *230 responses: '200': @@ -84345,8 +83795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *230 requestBody: required: false @@ -84391,8 +83841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 - *17 - *231 @@ -84425,8 +83875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 - *16 responses: @@ -84455,8 +83905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 - *16 responses: @@ -84480,8 +83930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 responses: '204': @@ -84507,8 +83957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *357 - - *358 + - *354 + - *355 - *230 responses: '204': @@ -84532,8 +83982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response if immutable releases are enabled @@ -84579,8 +84029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': *61 '409': *54 @@ -84600,8 +84050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': *61 '409': *54 @@ -84658,14 +84108,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &549 + schema: &546 title: Import description: A repository import from an external source. type: object @@ -84764,7 +84214,7 @@ paths: - html_url - authors_url examples: - default: &552 + default: &549 value: vcs: subversion use_lfs: true @@ -84780,7 +84230,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': &550 + '503': &547 description: Unavailable due to service under maintenance. content: application/json: @@ -84809,8 +84259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -84858,7 +84308,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *546 examples: default: value: @@ -84883,7 +84333,7 @@ paths: type: string '422': *15 '404': *6 - '503': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84911,8 +84361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -84961,7 +84411,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *546 examples: example-1: summary: Example 1 @@ -85009,7 +84459,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': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85032,12 +84482,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response - '503': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85063,9 +84513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *357 - - *358 - - &725 + - *354 + - *355 + - &723 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -85079,7 +84529,7 @@ paths: application/json: schema: type: array - items: &551 + items: &548 title: Porter Author description: Porter Author type: object @@ -85133,7 +84583,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': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85158,8 +84608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *357 - - *358 + - *354 + - *355 - name: author_id in: path required: true @@ -85189,7 +84639,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *548 examples: default: value: @@ -85202,7 +84652,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85226,8 +84676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -85268,7 +84718,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85296,8 +84746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -85324,11 +84774,11 @@ paths: description: Response content: application/json: - schema: *549 + schema: *546 examples: - default: *552 + default: *549 '422': *15 - '503': *550 + '503': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85351,8 +84801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -85360,8 +84810,8 @@ paths: application/json: schema: *22 examples: - default: *553 - '301': *361 + default: *550 + '301': *358 '404': *6 x-github: githubCloudOnly: false @@ -85381,8 +84831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -85395,7 +84845,7 @@ paths: properties: {} additionalProperties: false examples: - default: &555 + default: &552 value: limit: collaborators_only origin: repository @@ -85420,13 +84870,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: application/json: - schema: *554 + schema: *551 examples: default: summary: Example request body @@ -85440,7 +84890,7 @@ paths: application/json: schema: *249 examples: - default: *555 + default: *552 '409': description: Response x-github: @@ -85462,8 +84912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -85474,6 +84924,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: + - *354 + - *355 + 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': *29 + '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: + - *354 + - *355 + requestBody: + required: true + content: + application/json: + schema: &553 + 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 + example: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *29 + '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: + - *354 + - *355 + requestBody: + required: true + content: + application/json: + schema: *553 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *29 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -85486,8 +85087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -85497,9 +85098,9 @@ paths: application/json: schema: type: array - items: *556 + items: *554 examples: - default: &717 + default: &715 value: - id: 1 repository: @@ -85630,8 +85231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *357 - - *358 + - *354 + - *355 - *253 requestBody: required: false @@ -85661,7 +85262,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *554 examples: default: value: @@ -85792,8 +85393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *357 - - *358 + - *354 + - *355 - *253 responses: '204': @@ -85817,8 +85418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -85828,7 +85429,7 @@ paths: type: array items: *257 examples: - default: *557 + default: *555 '404': *6 x-github: githubCloudOnly: false @@ -85857,8 +85458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *357 - - *358 + - *354 + - *355 - 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 @@ -85945,7 +85546,7 @@ paths: type: array items: *88 examples: - default: &569 + default: &567 value: - id: 1 node_id: MDU6SXNzdWUx @@ -86094,7 +85695,7 @@ paths: state_reason: completed headers: Link: *70 - '301': *361 + '301': *358 '422': *15 '404': *6 x-github: @@ -86123,8 +85724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -86226,7 +85827,7 @@ paths: application/json: schema: *88 examples: - default: &566 + default: &564 value: id: 1 node_id: MDU6SXNzdWUx @@ -86364,7 +85965,7 @@ paths: '422': *15 '503': *122 '404': *6 - '410': *558 + '410': *556 x-github: triggersNotification: true githubCloudOnly: false @@ -86392,8 +85993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *112 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -86414,9 +86015,9 @@ paths: application/json: schema: type: array - items: *559 + items: *557 examples: - default: &568 + default: &566 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86474,17 +86075,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '200': description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: &560 + default: &558 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86539,8 +86140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -86563,9 +86164,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: *560 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -86583,8 +86184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '204': @@ -86613,15 +86214,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '200': description: Response content: application/json: - schema: *559 + schema: *557 examples: default: value: @@ -86677,7 +86278,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *558 + '410': *556 '422': *15 x-github: githubCloudOnly: false @@ -86694,8 +86295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '204': @@ -86703,7 +86304,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *558 + '410': *556 '503': *122 x-github: githubCloudOnly: false @@ -86721,8 +86322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -86749,9 +86350,9 @@ paths: application/json: schema: type: array - items: *488 + items: *485 examples: - default: *561 + default: *559 headers: Link: *70 '404': *6 @@ -86772,8 +86373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -86806,16 +86407,16 @@ paths: description: Reaction exists content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '201': description: Reaction created content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '422': *15 x-github: githubCloudOnly: false @@ -86837,10 +86438,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *357 - - *358 + - *354 + - *355 - *104 - - *562 + - *560 responses: '204': description: Response @@ -86860,8 +86461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -86871,7 +86472,7 @@ paths: application/json: schema: type: array - items: &565 + items: &563 title: Issue Event description: Issue Event type: object @@ -86914,8 +86515,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *563 - required: *564 + properties: *561 + required: *562 nullable: true label: title: Issue Event Label @@ -87223,8 +86824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *357 - - *358 + - *354 + - *355 - name: event_id in: path required: true @@ -87235,7 +86836,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *563 examples: default: value: @@ -87428,7 +87029,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *558 + '410': *556 '403': *29 x-github: githubCloudOnly: false @@ -87462,9 +87063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *357 - - *358 - - &567 + - *354 + - *355 + - &565 name: issue_number description: The number that identifies the issue. in: path @@ -87480,7 +87081,7 @@ paths: examples: default: summary: Issue - value: *566 + value: *564 pinned_comment: summary: Issue with pinned comment value: @@ -87660,9 +87261,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 '304': *37 x-github: githubCloudOnly: false @@ -87687,9 +87288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: false content: @@ -87814,13 +87415,13 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 '422': *15 '503': *122 '403': *29 - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87838,9 +87439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: false content: @@ -87868,7 +87469,7 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87884,9 +87485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: content: application/json: @@ -87913,7 +87514,7 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87935,9 +87536,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: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - name: assignee in: path required: true @@ -87977,9 +87578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *95 - *17 - *19 @@ -87990,13 +87591,13 @@ paths: application/json: schema: type: array - items: *559 + items: *557 examples: - default: *568 + default: *566 headers: Link: *70 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88025,9 +87626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -88049,16 +87650,16 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: *560 + default: *558 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *558 + '410': *556 '422': *15 '404': *6 x-github: @@ -88086,9 +87687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -88100,12 +87701,12 @@ paths: type: array items: *88 examples: - default: *569 + default: *567 headers: Link: *70 - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88133,9 +87734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -88159,15 +87760,15 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *361 + '301': *358 '403': *29 - '410': *558 + '410': *556 '422': *15 '404': *6 x-github: @@ -88198,9 +87799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -88214,13 +87815,13 @@ paths: application/json: schema: *88 examples: - default: *566 - '301': *361 + default: *564 + '301': *358 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *558 + '410': *556 x-github: triggersNotification: true githubCloudOnly: false @@ -88246,9 +87847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -88260,12 +87861,12 @@ paths: type: array items: *88 examples: - default: *569 + default: *567 headers: Link: *70 - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88282,9 +87883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -88298,7 +87899,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &573 + - &571 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -88352,7 +87953,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &572 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -88488,7 +88089,7 @@ paths: - performed_via_github_app - assignee - assigner - - &575 + - &573 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -88539,7 +88140,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &574 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -88590,7 +88191,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &575 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -88644,7 +88245,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &576 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -88691,7 +88292,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &577 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -88738,7 +88339,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &578 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -88798,7 +88399,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &579 title: Locked Issue Event description: Locked Issue Event type: object @@ -88846,7 +88447,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &580 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -88912,7 +88513,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &581 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -88978,7 +88579,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &582 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -89044,7 +88645,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &583 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -89135,7 +88736,7 @@ paths: color: red headers: Link: *70 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89152,9 +88753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -89164,9 +88765,9 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: - default: &571 + default: &569 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -89201,9 +88802,9 @@ paths: color: green headers: Link: *70 - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89232,9 +88833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -89304,9 +88905,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *570 + items: *568 examples: - default: *571 + default: *569 '400': *14 '403': *29 '404': *6 @@ -89342,9 +88943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -89409,9 +89010,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *570 + items: *568 examples: - default: *571 + default: *569 '400': *14 '403': *29 '404': *6 @@ -89442,9 +89043,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: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *256 responses: '204': @@ -89470,9 +89071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -89484,7 +89085,7 @@ paths: type: array items: *87 examples: - default: &572 + default: &570 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89502,9 +89103,9 @@ paths: default: false headers: Link: *70 - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89520,9 +89121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: false content: @@ -89567,10 +89168,10 @@ paths: type: array items: *87 examples: - default: *572 - '301': *361 + default: *570 + '301': *358 '404': *6 - '410': *558 + '410': *556 '422': *15 x-github: githubCloudOnly: false @@ -89587,9 +89188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: false content: @@ -89651,10 +89252,10 @@ paths: type: array items: *87 examples: - default: *572 - '301': *361 + default: *570 + '301': *358 '404': *6 - '410': *558 + '410': *556 '422': *15 x-github: githubCloudOnly: false @@ -89671,15 +89272,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 responses: '204': description: Response - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89698,9 +89299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - name: name in: path required: true @@ -89724,9 +89325,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *361 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89746,9 +89347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: false content: @@ -89776,7 +89377,7 @@ paths: '204': description: Response '403': *29 - '410': *558 + '410': *556 '404': *6 '422': *15 x-github: @@ -89794,9 +89395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 responses: '204': description: Response @@ -89826,9 +89427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 responses: '200': description: Response @@ -89836,10 +89437,10 @@ paths: application/json: schema: *88 examples: - default: *566 - '301': *361 + default: *564 + '301': *358 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89856,9 +89457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - 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. @@ -89884,13 +89485,13 @@ paths: application/json: schema: type: array - items: *488 + items: *485 examples: - default: *561 + default: *559 headers: Link: *70 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89908,9 +89509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -89942,16 +89543,16 @@ paths: description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '201': description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '422': *15 x-github: githubCloudOnly: false @@ -89973,10 +89574,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *357 - - *358 - - *567 - - *562 + - *354 + - *355 + - *565 + - *560 responses: '204': description: Response @@ -90005,9 +89606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -90031,7 +89632,7 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90064,9 +89665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -90078,11 +89679,11 @@ paths: type: array items: *88 examples: - default: *569 + default: *567 headers: Link: *70 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90110,9 +89711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -90141,14 +89742,14 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *558 + '410': *556 '422': *15 '404': *6 x-github: @@ -90168,9 +89769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 requestBody: required: true content: @@ -90203,7 +89804,7 @@ paths: application/json: schema: *88 examples: - default: *566 + default: *564 '403': *29 '404': *6 '422': *7 @@ -90225,9 +89826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *357 - - *358 - - *567 + - *354 + - *355 + - *565 - *17 - *19 responses: @@ -90242,6 +89843,8 @@ paths: description: Timeline Event type: object anyOf: + - *571 + - *572 - *573 - *574 - *575 @@ -90253,8 +89856,6 @@ paths: - *581 - *582 - *583 - - *584 - - *585 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -90315,8 +89916,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *586 - required: *587 + properties: *584 + required: *585 nullable: true required: - event @@ -90571,7 +90172,7 @@ paths: type: string comments: type: array - items: &607 + items: &605 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -90786,7 +90387,7 @@ paths: type: string comments: type: array - items: *487 + items: *484 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -91075,7 +90676,7 @@ paths: headers: Link: *70 '404': *6 - '410': *558 + '410': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91092,8 +90693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -91103,7 +90704,7 @@ paths: application/json: schema: type: array - items: &588 + items: &586 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91169,8 +90770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -91206,9 +90807,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: - default: &589 + default: &587 value: id: 1 key: ssh-rsa AAA... @@ -91242,9 +90843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *357 - - *358 - - &590 + - *354 + - *355 + - &588 name: key_id description: The unique identifier of the key. in: path @@ -91256,9 +90857,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: - default: *589 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -91276,9 +90877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *357 - - *358 - - *590 + - *354 + - *355 + - *588 responses: '204': description: Response @@ -91298,8 +90899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -91311,7 +90912,7 @@ paths: type: array items: *87 examples: - default: *572 + default: *570 headers: Link: *70 '404': *6 @@ -91332,8 +90933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -91371,7 +90972,7 @@ paths: application/json: schema: *87 examples: - default: &591 + default: &589 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91403,8 +91004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *357 - - *358 + - *354 + - *355 - name: name in: path required: true @@ -91417,7 +91018,7 @@ paths: application/json: schema: *87 examples: - default: *591 + default: *589 '404': *6 x-github: githubCloudOnly: false @@ -91434,8 +91035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *357 - - *358 + - *354 + - *355 - name: name in: path required: true @@ -91500,8 +91101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *357 - - *358 + - *354 + - *355 - name: name in: path required: true @@ -91527,8 +91128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -91567,9 +91168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *357 - - *358 - - *460 + - *354 + - *355 + - *457 responses: '200': description: Response @@ -91714,8 +91315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -91780,8 +91381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -91815,9 +91416,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *490 + schema: *487 examples: - default: *592 + default: *590 '204': description: Response when already merged '404': @@ -91842,8 +91443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *357 - - *358 + - *354 + - *355 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -91884,7 +91485,7 @@ paths: application/json: schema: type: array - items: &593 + items: &591 title: Milestone description: A collection of related issues and pull requests. type: object @@ -91945,8 +91546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -91986,9 +91587,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: &594 + default: &592 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92047,9 +91648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *357 - - *358 - - &595 + - *354 + - *355 + - &593 name: milestone_number description: The number that identifies the milestone. in: path @@ -92061,9 +91662,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *594 + default: *592 '404': *6 x-github: githubCloudOnly: false @@ -92080,9 +91681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *357 - - *358 - - *595 + - *354 + - *355 + - *593 requestBody: required: false content: @@ -92120,9 +91721,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *594 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92138,9 +91739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *357 - - *358 - - *595 + - *354 + - *355 + - *593 responses: '204': description: Response @@ -92161,9 +91762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *357 - - *358 - - *595 + - *354 + - *355 + - *593 - *17 - *19 responses: @@ -92175,7 +91776,7 @@ paths: type: array items: *87 examples: - default: *572 + default: *570 headers: Link: *70 x-github: @@ -92194,12 +91795,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *357 - - *358 - - *596 - - *597 + - *354 + - *355 + - *594 + - *595 - *95 - - *598 + - *596 - *17 - *19 responses: @@ -92211,7 +91812,7 @@ paths: type: array items: *115 examples: - default: *599 + default: *597 headers: Link: *70 x-github: @@ -92235,8 +91836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -92294,14 +91895,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &600 + schema: &598 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -92426,7 +92027,7 @@ paths: - custom_404 - public examples: - default: &601 + default: &599 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -92467,8 +92068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -92522,9 +92123,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *598 examples: - default: *601 + default: *599 '422': *15 '409': *54 x-github: @@ -92547,8 +92148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -92647,8 +92248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -92674,8 +92275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -92685,7 +92286,7 @@ paths: application/json: schema: type: array - items: &602 + items: &600 title: Page Build description: Page Build type: object @@ -92779,8 +92380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *357 - - *358 + - *354 + - *355 responses: '201': description: Response @@ -92825,16 +92426,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *602 + schema: *600 examples: - default: &603 + default: &601 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -92882,8 +92483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *357 - - *358 + - *354 + - *355 - name: build_id in: path required: true @@ -92894,9 +92495,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *600 examples: - default: *603 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92916,8 +92517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -93022,9 +92623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *357 - - *358 - - &604 + - *354 + - *355 + - &602 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93082,9 +92683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *357 - - *358 - - *604 + - *354 + - *355 + - *602 responses: '204': *61 '404': *6 @@ -93111,8 +92712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -93370,8 +92971,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: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Private vulnerability reporting status @@ -93408,8 +93009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': *61 '422': *14 @@ -93430,8 +93031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': *61 '422': *14 @@ -93453,8 +93054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -93493,8 +93094,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: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -93556,8 +93157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *357 - - *358 + - *354 + - *355 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -93617,9 +93218,9 @@ paths: application/json: schema: type: array - items: *494 + items: *491 examples: - default: *605 + default: *603 headers: Link: *70 '304': *37 @@ -93651,8 +93252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -93717,7 +93318,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &607 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -93917,7 +93518,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *606 + auto_merge: *604 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -94007,7 +93608,7 @@ paths: - merged_by - review_comments examples: - default: &610 + default: &608 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -94514,8 +94115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *357 - - *358 + - *354 + - *355 - name: sort in: query required: false @@ -94544,9 +94145,9 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: - default: &612 + default: &610 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -94623,17 +94224,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '200': description: Response content: application/json: - schema: *607 + schema: *605 examples: - default: &608 + default: &606 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -94708,8 +94309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -94732,9 +94333,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *605 examples: - default: *608 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94750,8 +94351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *357 - - *358 + - *354 + - *355 - *104 responses: '204': @@ -94773,8 +94374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -94801,9 +94402,9 @@ paths: application/json: schema: type: array - items: *488 + items: *485 examples: - default: *561 + default: *559 headers: Link: *70 '404': *6 @@ -94824,8 +94425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *357 - - *358 + - *354 + - *355 - *104 requestBody: required: true @@ -94858,16 +94459,16 @@ paths: description: Reaction exists content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '201': description: Reaction created content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '422': *15 x-github: githubCloudOnly: false @@ -94889,10 +94490,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *357 - - *358 + - *354 + - *355 - *104 - - *562 + - *560 responses: '204': description: Response @@ -94935,9 +94536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *357 - - *358 - - &611 + - *354 + - *355 + - &609 name: pull_number description: The number that identifies the pull request. in: path @@ -94950,9 +94551,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *609 + schema: *607 examples: - default: *610 + default: *608 '304': *37 '404': *6 '406': @@ -94987,9 +94588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: false content: @@ -95031,9 +94632,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *610 + default: *608 '422': *15 '403': *29 x-github: @@ -95055,9 +94656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: true content: @@ -95119,7 +94720,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -95127,7 +94728,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '401': *25 '403': *29 '404': *6 @@ -95157,9 +94758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -95180,9 +94781,9 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: - default: *612 + default: *610 headers: Link: *70 x-github: @@ -95215,9 +94816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: true content: @@ -95322,7 +94923,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *605 examples: example-for-a-multi-line-comment: value: @@ -95410,9 +95011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 - *104 requestBody: required: true @@ -95435,7 +95036,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *605 examples: default: value: @@ -95521,9 +95122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 - *17 - *19 responses: @@ -95533,9 +95134,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: *613 + default: *611 headers: Link: *70 x-github: @@ -95565,9 +95166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 - *17 - *19 responses: @@ -95577,7 +95178,7 @@ paths: application/json: schema: type: array - items: *503 + items: *500 examples: default: value: @@ -95615,9 +95216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 responses: '204': description: Response if pull request has been merged @@ -95640,9 +95241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: false content: @@ -95753,9 +95354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 responses: '200': description: Response @@ -95830,9 +95431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: false content: @@ -95869,7 +95470,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *491 examples: default: value: @@ -96405,9 +96006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: true content: @@ -96441,7 +96042,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *491 examples: default: value: @@ -96926,9 +96527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 - *17 - *19 responses: @@ -96938,7 +96539,7 @@ paths: application/json: schema: type: array - items: &614 + items: &612 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -97089,9 +96690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: false content: @@ -97177,9 +96778,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: - default: &616 + default: &614 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97242,10 +96843,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 - - &615 + - *354 + - *355 + - *609 + - &613 name: review_id description: The unique identifier of the review. in: path @@ -97257,9 +96858,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: - default: &617 + default: &615 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97318,10 +96919,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 - - *615 + - *354 + - *355 + - *609 + - *613 requestBody: required: true content: @@ -97344,7 +96945,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: default: value: @@ -97406,18 +97007,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 - - *615 + - *354 + - *355 + - *609 + - *613 responses: '200': description: Response content: application/json: - schema: *614 + schema: *612 examples: - default: *616 + default: *614 '422': *7 '404': *6 x-github: @@ -97444,10 +97045,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *357 - - *358 - - *611 - - *615 + - *354 + - *355 + - *609 + - *613 - *17 - *19 responses: @@ -97682,10 +97283,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 - - *615 + - *354 + - *355 + - *609 + - *613 requestBody: required: true content: @@ -97713,7 +97314,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: default: value: @@ -97776,10 +97377,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *357 - - *358 - - *611 - - *615 + - *354 + - *355 + - *609 + - *613 requestBody: required: true content: @@ -97814,9 +97415,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: - default: *617 + default: *615 '404': *6 '422': *7 '403': *29 @@ -97838,9 +97439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *357 - - *358 - - *611 + - *354 + - *355 + - *609 requestBody: required: false content: @@ -97903,8 +97504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *357 - - *358 + - *354 + - *355 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -97917,9 +97518,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: &619 + default: &617 value: type: file encoding: base64 @@ -97961,8 +97562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *357 - - *358 + - *354 + - *355 - name: dir description: The alternate path to look for a README file in: path @@ -97982,9 +97583,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: *619 + default: *617 '404': *6 '422': *15 x-github: @@ -98006,8 +97607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -98017,7 +97618,7 @@ paths: application/json: schema: type: array - items: *620 + items: *618 examples: default: value: @@ -98111,8 +97712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -98188,9 +97789,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: &624 + default: &622 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -98295,9 +97896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *357 - - *358 - - &622 + - *354 + - *355 + - &620 name: asset_id description: The unique identifier of the asset. in: path @@ -98309,9 +97910,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *619 examples: - default: &623 + default: &621 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 @@ -98346,7 +97947,7 @@ paths: type: User site_admin: false '404': *6 - '302': *507 + '302': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98362,9 +97963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *357 - - *358 - - *622 + - *354 + - *355 + - *620 requestBody: required: false content: @@ -98392,9 +97993,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *619 examples: - default: *623 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98410,9 +98011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *357 - - *358 - - *622 + - *354 + - *355 + - *620 responses: '204': description: Response @@ -98437,8 +98038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -98523,16 +98124,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: *624 + default: *622 '404': *6 x-github: githubCloudOnly: false @@ -98550,8 +98151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *357 - - *358 + - *354 + - *355 - name: tag description: tag parameter in: path @@ -98564,9 +98165,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: *624 + default: *622 '404': *6 x-github: githubCloudOnly: false @@ -98588,9 +98189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *357 - - *358 - - &625 + - *354 + - *355 + - &623 name: release_id description: The unique identifier of the release. in: path @@ -98604,9 +98205,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: *620 + schema: *618 examples: - default: *624 + default: *622 '401': description: Unauthorized x-github: @@ -98624,9 +98225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 requestBody: required: false content: @@ -98690,9 +98291,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: *624 + default: *622 '404': description: Not Found if the discussion category name is invalid content: @@ -98713,9 +98314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 responses: '204': description: Response @@ -98736,9 +98337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 - *17 - *19 responses: @@ -98748,7 +98349,7 @@ paths: application/json: schema: type: array - items: *621 + items: *619 examples: default: value: @@ -98829,9 +98430,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: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 - name: name in: query required: true @@ -98857,7 +98458,7 @@ paths: description: Response for successful upload content: application/json: - schema: *621 + schema: *619 examples: response-for-successful-upload: value: @@ -98912,9 +98513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 - 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. @@ -98938,9 +98539,9 @@ paths: application/json: schema: type: array - items: *488 + items: *485 examples: - default: *561 + default: *559 headers: Link: *70 '404': *6 @@ -98961,9 +98562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *357 - - *358 - - *625 + - *354 + - *355 + - *623 requestBody: required: true content: @@ -98993,16 +98594,16 @@ paths: description: Reaction exists content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '201': description: Reaction created content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '422': *15 x-github: githubCloudOnly: false @@ -99024,10 +98625,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *357 - - *358 - - *625 - - *562 + - *354 + - *355 + - *623 + - *560 responses: '204': description: Response @@ -99051,9 +98652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *357 - - *358 - - *423 + - *354 + - *355 + - *420 - *17 - *19 responses: @@ -99070,7 +98671,7 @@ paths: oneOf: - allOf: - *318 - - &626 + - &624 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -99091,67 +98692,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *319 - - *626 + - *624 - allOf: - *320 - - *626 + - *624 - allOf: - *321 - - *626 + - *624 - allOf: - - *627 - - *626 + - *625 + - *624 - allOf: - *322 - - *626 + - *624 - allOf: - *323 - - *626 + - *624 - allOf: - *324 - - *626 + - *624 - allOf: - *325 - - *626 + - *624 - allOf: - *326 - - *626 + - *624 - allOf: - *327 - - *626 + - *624 - allOf: - *328 - - *626 + - *624 - allOf: - *329 - - *626 + - *624 - allOf: - *330 - - *626 + - *624 - allOf: - *331 - - *626 + - *624 - allOf: - *336 - - *626 + - *624 - allOf: - *337 - - *626 + - *624 - allOf: - *338 - - *626 + - *624 - allOf: - *332 - - *626 + - *624 - allOf: - *333 - - *626 + - *624 - allOf: - *334 - - *626 + - *624 - allOf: - *335 - - *626 + - *624 examples: default: value: @@ -99190,8 +98791,8 @@ paths: category: repos subcategory: rules parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 - name: includes_parents @@ -99202,7 +98803,7 @@ paths: schema: type: boolean default: true - - *628 + - *626 responses: '200': description: Response @@ -99257,8 +98858,8 @@ paths: category: repos subcategory: rules parameters: - - *357 - - *358 + - *354 + - *355 requestBody: description: Request body required: true @@ -99287,7 +98888,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *629 + items: *627 required: - name - enforcement @@ -99320,7 +98921,7 @@ paths: application/json: schema: *339 examples: - default: &640 + default: &638 value: id: 42 name: super cool ruleset @@ -99368,13 +98969,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *357 - - *358 + - *354 + - *355 + - *628 + - *629 - *630 - *631 - *632 - - *633 - - *634 - *17 - *19 responses: @@ -99382,9 +98983,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '404': *6 '500': *55 x-github: @@ -99405,17 +99006,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *357 - - *358 - - *637 + - *354 + - *355 + - *635 responses: '200': description: Response content: application/json: - schema: *638 + schema: *636 examples: - default: *639 + default: *637 '404': *6 '500': *55 x-github: @@ -99443,8 +99044,8 @@ paths: category: repos subcategory: rules parameters: - - *357 - - *358 + - *354 + - *355 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99466,7 +99067,7 @@ paths: application/json: schema: *339 examples: - default: *640 + default: *638 '404': *6 '500': *55 put: @@ -99484,8 +99085,8 @@ paths: category: repos subcategory: rules parameters: - - *357 - - *358 + - *354 + - *355 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99519,7 +99120,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *629 + items: *627 examples: default: value: @@ -99549,7 +99150,7 @@ paths: application/json: schema: *339 examples: - default: *640 + default: *638 '404': *6 '422': *15 '500': *55 @@ -99568,8 +99169,8 @@ paths: category: repos subcategory: rules parameters: - - *357 - - *358 + - *354 + - *355 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99592,8 +99193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 - name: ruleset_id @@ -99611,7 +99212,7 @@ paths: type: array items: *342 examples: - default: *641 + default: *639 '404': *6 '500': *55 x-github: @@ -99630,8 +99231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *357 - - *358 + - *354 + - *355 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99649,7 +99250,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *640 examples: default: value: @@ -99704,26 +99305,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 + - *641 + - *642 - *643 - *644 - *645 - *646 - *647 - *648 - - *649 - - *650 - *62 - *19 - *17 + - *649 + - *650 - *651 - *652 - *653 - *654 - *655 - - *656 - - *657 responses: '200': description: Response @@ -99731,7 +99332,7 @@ paths: application/json: schema: type: array - items: &661 + items: &659 type: object properties: number: *188 @@ -99750,8 +99351,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *658 - resolution: *659 + state: *656 + resolution: *657 resolved_at: type: string format: date-time @@ -99857,7 +99458,7 @@ paths: pull request. ' - oneOf: *660 + oneOf: *658 nullable: true has_more_locations: type: boolean @@ -100021,16 +99622,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *357 - - *358 - - *454 - - *656 + - *354 + - *355 + - *451 + - *654 responses: '200': description: Response content: application/json: - schema: *661 + schema: *659 examples: default: value: @@ -100084,9 +99685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 requestBody: required: true content: @@ -100094,8 +99695,8 @@ paths: schema: type: object properties: - state: *658 - resolution: *659 + state: *656 + resolution: *657 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -100139,7 +99740,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *659 examples: default: value: @@ -100238,9 +99839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *357 - - *358 - - *454 + - *354 + - *355 + - *451 - *19 - *17 responses: @@ -100251,7 +99852,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &818 + items: &816 type: object properties: type: @@ -100277,6 +99878,8 @@ paths: example: commit details: oneOf: + - *660 + - *661 - *662 - *663 - *664 @@ -100288,8 +99891,6 @@ paths: - *670 - *671 - *672 - - *673 - - *674 examples: default: value: @@ -100375,8 +99976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -100384,14 +99985,14 @@ paths: schema: type: object properties: - reason: &676 + reason: &674 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *675 + placeholder_id: *673 required: - reason - placeholder_id @@ -100408,7 +100009,7 @@ paths: schema: type: object properties: - reason: *676 + reason: *674 expire_at: type: string format: date-time @@ -100454,8 +100055,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: - - *357 - - *358 + - *354 + - *355 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -100470,7 +100071,7 @@ paths: properties: incremental_scans: type: array - items: &677 + items: &675 description: Information on a single scan performed by secret scanning on the repository type: object @@ -100501,15 +100102,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *677 + items: *675 backfill_scans: type: array - items: *677 + items: *675 custom_pattern_backfill_scans: type: array items: allOf: - - *677 + - *675 - type: object properties: pattern_name: @@ -100522,7 +100123,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *677 + items: *675 examples: default: value: @@ -100587,8 +100188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *357 - - *358 + - *354 + - *355 - *62 - name: sort description: The property to sort the results by. @@ -100632,9 +100233,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: *679 + default: *677 '400': *14 '404': *6 x-github: @@ -100657,8 +100258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -100818,9 +100419,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: &681 + default: &679 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -101050,8 +100651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -101155,7 +100756,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: default: value: @@ -101301,17 +100902,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *357 - - *358 - - *680 + - *354 + - *355 + - *678 responses: '200': description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: *681 + default: *679 '403': *29 '404': *6 x-github: @@ -101335,9 +100936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *357 - - *358 - - *680 + - *354 + - *355 + - *678 requestBody: required: true content: @@ -101496,10 +101097,10 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: *681 - add_credit: *681 + default: *679 + add_credit: *679 '403': *29 '404': *6 '422': @@ -101537,9 +101138,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: - - *357 - - *358 - - *680 + - *354 + - *355 + - *678 responses: '202': *39 '400': *14 @@ -101566,17 +101167,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *357 - - *358 - - *680 + - *354 + - *355 + - *678 responses: '202': description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *362 + default: *359 '400': *14 '422': *15 '403': *29 @@ -101602,8 +101203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -101702,8 +101303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -101712,7 +101313,7 @@ paths: application/json: schema: type: array - items: &682 + items: &680 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -101745,8 +101346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -101822,8 +101423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -101919,8 +101520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -102074,8 +101675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -102085,7 +101686,7 @@ paths: application/json: schema: type: array - items: *682 + items: *680 examples: default: value: @@ -102118,8 +101719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *357 - - *358 + - *354 + - *355 - name: sha in: path required: true @@ -102173,7 +101774,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *681 examples: default: value: @@ -102227,8 +101828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -102260,14 +101861,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &684 + schema: &682 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -102335,8 +101936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: false content: @@ -102362,7 +101963,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *682 examples: default: value: @@ -102389,8 +101990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -102410,8 +102011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -102490,8 +102091,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *357 - - *358 + - *354 + - *355 - name: ref in: path required: true @@ -102527,8 +102128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *357 - - *358 + - *354 + - *355 - *17 - *19 responses: @@ -102560,8 +102161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *357 - - *358 + - *354 + - *355 - *19 - *17 responses: @@ -102569,7 +102170,7 @@ paths: description: Response content: application/json: - schema: &685 + schema: &683 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -102581,7 +102182,7 @@ paths: required: - names examples: - default: &686 + default: &684 value: names: - octocat @@ -102604,8 +102205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -102636,9 +102237,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: *686 + default: *684 '404': *6 '422': *7 x-github: @@ -102659,9 +102260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *357 - - *358 - - &687 + - *354 + - *355 + - &685 name: per description: The time frame to display results for. in: query @@ -102690,7 +102291,7 @@ paths: example: 128 clones: type: array - items: &688 + items: &686 title: Traffic type: object properties: @@ -102777,8 +102378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -102868,8 +102469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *357 - - *358 + - *354 + - *355 responses: '200': description: Response @@ -102929,9 +102530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *357 - - *358 - - *687 + - *354 + - *355 + - *685 responses: '200': description: Response @@ -102950,7 +102551,7 @@ paths: example: 3782 views: type: array - items: *688 + items: *686 required: - uniques - count @@ -103027,8 +102628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *357 - - *358 + - *354 + - *355 requestBody: required: true content: @@ -103301,8 +102902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -103325,8 +102926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -103348,8 +102949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -103375,8 +102976,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *357 - - *358 + - *354 + - *355 - name: ref in: path required: true @@ -103468,9 +103069,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *362 + default: *359 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103721,7 +103322,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &689 + text_matches: &687 title: Search Result Text Matches type: array items: @@ -103883,7 +103484,7 @@ paths: enum: - author-date - committer-date - - &690 + - &688 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 @@ -103954,7 +103555,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *421 + properties: *418 nullable: true comment_count: type: integer @@ -103974,7 +103575,7 @@ paths: url: type: string format: uri - verification: *543 + verification: *540 required: - author - committer @@ -103993,7 +103594,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *421 + properties: *418 nullable: true parents: type: array @@ -104011,7 +103612,7 @@ paths: type: number node_id: type: string - text_matches: *689 + text_matches: *687 required: - sha - node_id @@ -104203,7 +103804,7 @@ paths: - interactions - created - updated - - *690 + - *688 - *17 - *19 - name: advanced_search @@ -104317,11 +103918,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: type: string state_reason: @@ -104346,7 +103947,7 @@ paths: type: string format: date-time nullable: true - text_matches: *689 + text_matches: *687 pull_request: type: object properties: @@ -104626,7 +104227,7 @@ paths: enum: - created - updated - - *690 + - *688 - *17 - *19 responses: @@ -104670,7 +104271,7 @@ paths: nullable: true score: type: number - text_matches: *689 + text_matches: *687 required: - id - node_id @@ -104755,7 +104356,7 @@ paths: - forks - help-wanted-issues - updated - - *690 + - *688 - *17 - *19 responses: @@ -105003,7 +104604,7 @@ paths: - admin - pull - push - text_matches: *689 + text_matches: *687 temp_clone_token: type: string allow_merge_commit: @@ -105303,7 +104904,7 @@ paths: type: string format: uri nullable: true - text_matches: *689 + text_matches: *687 related: type: array nullable: true @@ -105494,7 +105095,7 @@ paths: - followers - repositories - joined - - *690 + - *688 - *17 - *19 responses: @@ -105598,7 +105199,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *689 + text_matches: *687 blog: type: string nullable: true @@ -105677,7 +105278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &693 + - &691 name: team_id description: The unique identifier of the team. in: path @@ -105689,9 +105290,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '404': *6 x-github: githubCloudOnly: false @@ -105718,7 +105319,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *693 + - *691 requestBody: required: true content: @@ -105781,16 +105382,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '201': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *354 + default: *351 '404': *6 '422': *15 '403': *29 @@ -105818,7 +105419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *693 + - *691 responses: '204': description: Response @@ -105847,7 +105448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *693 + - *691 - *17 - *19 responses: @@ -105885,7 +105486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *693 + - *691 - name: role description: Filters members returned by their role in the team. in: query @@ -105936,7 +105537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *693 + - *691 - *74 responses: '204': @@ -105973,7 +105574,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *693 + - *691 - *74 responses: '204': @@ -106013,7 +105614,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *693 + - *691 - *74 responses: '204': @@ -106050,16 +105651,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *693 + - *691 - *74 responses: '200': description: Response content: application/json: - schema: *356 + schema: *353 examples: - response-if-user-is-a-team-maintainer: *694 + response-if-user-is-a-team-maintainer: *692 '404': *6 x-github: githubCloudOnly: false @@ -106092,7 +105693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *693 + - *691 - *74 requestBody: required: false @@ -106118,9 +105719,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *353 examples: - response-if-users-membership-with-team-is-now-pending: *695 + response-if-users-membership-with-team-is-now-pending: *693 '403': description: Forbidden if team synchronization is set up '422': @@ -106154,7 +105755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *693 + - *691 - *74 responses: '204': @@ -106182,7 +105783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *693 + - *691 - *17 - *19 responses: @@ -106224,15 +105825,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *693 - - *357 - - *358 + - *691 + - *354 + - *355 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *696 + schema: *694 examples: alternative-response-with-extra-repository-information: value: @@ -106382,9 +105983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *693 - - *357 - - *358 + - *691 + - *354 + - *355 requestBody: required: false content: @@ -106434,9 +106035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *693 - - *357 - - *358 + - *691 + - *354 + - *355 responses: '204': description: Response @@ -106461,7 +106062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *693 + - *691 - *17 - *19 responses: @@ -106473,7 +106074,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: *697 + response-if-child-teams-exist: *695 headers: Link: *70 '404': *6 @@ -106506,7 +106107,7 @@ paths: application/json: schema: oneOf: - - &698 + - &696 title: Private User description: Private User type: object @@ -106709,7 +106310,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &724 + - &722 title: Public User description: Public User type: object @@ -107021,7 +106622,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *696 examples: default: value: @@ -107367,7 +106968,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -107375,7 +106976,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '401': *25 '403': *29 '404': *6 @@ -107419,7 +107020,7 @@ paths: type: integer secrets: type: array - items: &699 + items: &697 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -107459,7 +107060,7 @@ paths: - visibility - selected_repositories_url examples: - default: *480 + default: *477 headers: Link: *70 x-github: @@ -107535,7 +107136,7 @@ paths: description: Response content: application/json: - schema: *699 + schema: *697 examples: default: value: @@ -107833,7 +107434,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '304': *37 '500': *55 '401': *25 @@ -107891,7 +107492,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '401': *25 '403': *29 '404': *6 @@ -107948,7 +107549,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &698 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -107989,7 +107590,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &701 + default: &699 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -108034,9 +107635,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *698 examples: - default: *701 + default: *699 '404': *6 x-github: githubCloudOnly: false @@ -108073,9 +107674,9 @@ paths: type: integer machines: type: array - items: *702 + items: *700 examples: - default: *703 + default: *701 '304': *37 '500': *55 '401': *25 @@ -108154,13 +107755,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *360 + repository: *357 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *478 - required: *479 + properties: *475 + required: *476 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -108942,7 +108543,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '304': *37 '500': *55 '400': *14 @@ -108982,7 +108583,7 @@ paths: application/json: schema: *262 examples: - default: *477 + default: *474 '500': *55 '401': *25 '403': *29 @@ -109014,7 +108615,7 @@ paths: type: array items: *275 examples: - default: &714 + default: &712 value: - id: 197 name: hello_docker @@ -109115,7 +108716,7 @@ paths: application/json: schema: type: array - items: &704 + items: &702 title: Email description: Email type: object @@ -109180,9 +108781,9 @@ paths: application/json: schema: type: array - items: *704 + items: *702 examples: - default: &716 + default: &714 value: - email: octocat@github.com verified: true @@ -109257,7 +108858,7 @@ paths: application/json: schema: type: array - items: *704 + items: *702 examples: default: value: @@ -109513,7 +109114,7 @@ paths: application/json: schema: type: array - items: &705 + items: &703 title: GPG Key description: A unique encryption key type: object @@ -109644,7 +109245,7 @@ paths: - subkeys - revoked examples: - default: &734 + default: &732 value: - id: 3 name: Octocat's GPG Key @@ -109729,9 +109330,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *703 examples: - default: &706 + default: &704 value: id: 3 name: Octocat's GPG Key @@ -109788,7 +109389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &707 + - &705 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -109800,9 +109401,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *703 examples: - default: *706 + default: *704 '404': *6 '304': *37 '403': *29 @@ -109825,7 +109426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *707 + - *705 responses: '204': description: Response @@ -110142,7 +109743,7 @@ paths: required: true content: application/json: - schema: *554 + schema: *551 examples: default: value: @@ -110292,7 +109893,7 @@ paths: application/json: schema: type: array - items: &708 + items: &706 title: Key description: Key type: object @@ -110393,9 +109994,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *706 examples: - default: &709 + default: &707 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110428,15 +110029,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *590 + - *588 responses: '200': description: Response content: application/json: - schema: *708 + schema: *706 examples: - default: *709 + default: *707 '404': *6 '304': *37 '403': *29 @@ -110459,7 +110060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *590 + - *588 responses: '204': description: Response @@ -110492,7 +110093,7 @@ paths: application/json: schema: type: array - items: &710 + items: &708 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -110560,7 +110161,7 @@ paths: - account - plan examples: - default: &711 + default: &709 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -110622,9 +110223,9 @@ paths: application/json: schema: type: array - items: *710 + items: *708 examples: - default: *711 + default: *709 headers: Link: *70 '304': *37 @@ -111633,7 +111234,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *269 - - *712 + - *710 responses: '204': description: Response @@ -111746,7 +111347,7 @@ paths: - docker - nuget - container - - *713 + - *711 - *19 - *17 responses: @@ -111758,8 +111359,8 @@ paths: type: array items: *275 examples: - default: *714 - '400': *715 + default: *712 + '400': *713 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111788,7 +111389,7 @@ paths: application/json: schema: *275 examples: - default: &735 + default: &733 value: id: 40201 name: octo-name @@ -112150,9 +111751,9 @@ paths: application/json: schema: type: array - items: *704 + items: *702 examples: - default: *716 + default: *714 headers: Link: *70 '304': *37 @@ -112265,7 +111866,7 @@ paths: type: array items: *82 examples: - default: &723 + default: &721 summary: Default response value: - id: 1296269 @@ -112569,9 +112170,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *362 + default: *359 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -112610,9 +112211,9 @@ paths: application/json: schema: type: array - items: *556 + items: *554 examples: - default: *717 + default: *715 headers: Link: *70 '304': *37 @@ -112692,7 +112293,7 @@ paths: application/json: schema: type: array - items: &718 + items: &716 title: Social account description: Social media account type: object @@ -112707,7 +112308,7 @@ paths: - provider - url examples: - default: &719 + default: &717 value: - provider: twitter url: https://twitter.com/github @@ -112769,9 +112370,9 @@ paths: application/json: schema: type: array - items: *718 + items: *716 examples: - default: *719 + default: *717 '422': *15 '304': *37 '404': *6 @@ -112858,7 +112459,7 @@ paths: application/json: schema: type: array - items: &720 + items: &718 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -112878,7 +112479,7 @@ paths: - title - created_at examples: - default: &752 + default: &750 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -112942,9 +112543,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: &721 + default: &719 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -112974,7 +112575,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: - - &722 + - &720 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -112986,9 +112587,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *721 + default: *719 '404': *6 '304': *37 '403': *29 @@ -113011,7 +112612,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: - - *722 + - *720 responses: '204': description: Response @@ -113040,7 +112641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &753 + - &751 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 @@ -113065,11 +112666,11 @@ paths: type: array items: *82 examples: - default-response: *723 + default-response: *721 application/vnd.github.v3.star+json: schema: type: array - items: &754 + items: &752 title: Starred Repository description: Starred Repository type: object @@ -113225,8 +112826,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: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response if this repository is starred by you @@ -113254,8 +112855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -113279,8 +112880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *357 - - *358 + - *354 + - *355 responses: '204': description: Response @@ -113352,7 +112953,7 @@ paths: application/json: schema: type: array - items: *353 + items: *350 examples: default: value: @@ -113438,10 +113039,10 @@ paths: application/json: schema: oneOf: - - *698 - - *724 + - *696 + - *722 examples: - default-response: &728 + default-response: &726 summary: Default response value: login: octocat @@ -113476,7 +113077,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &729 + response-with-git-hub-plan-information: &727 summary: Response with GitHub plan information value: login: octocat @@ -113533,7 +113134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &726 + - &724 name: user_id description: The unique identifier of the user. in: path @@ -113599,7 +113200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *725 + - *723 - *17 responses: '200': @@ -113634,7 +113235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *726 + - *724 - *293 requestBody: required: true @@ -113706,7 +113307,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *727 + schema: *725 examples: table_view: summary: Response for creating a table view @@ -113758,11 +113359,11 @@ paths: application/json: schema: oneOf: - - *698 - - *724 + - *696 + - *722 examples: - default-response: *728 - response-with-git-hub-plan-information: *729 + default-response: *726 + response-with-git-hub-plan-information: *727 '404': *6 x-github: githubCloudOnly: false @@ -113812,8 +113413,8 @@ paths: required: - subject_digests examples: - default: *730 - withPredicateType: *731 + default: *728 + withPredicateType: *729 responses: '200': description: Response @@ -113852,7 +113453,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *732 + default: *730 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114041,7 +113642,7 @@ paths: initiator: type: string examples: - default: *417 + default: *414 '201': description: Response content: @@ -114322,7 +113923,7 @@ paths: application/json: schema: *204 examples: - default: &733 + default: &731 summary: Example response for a user copilot space value: id: 42 @@ -114423,7 +114024,7 @@ paths: application/json: schema: *204 examples: - default: *733 + default: *731 '403': *29 '404': *6 x-github: @@ -114546,7 +114147,7 @@ paths: application/json: schema: *204 examples: - default: *733 + default: *731 '403': *29 '404': *6 '422': *15 @@ -115314,7 +114915,7 @@ paths: type: array items: *275 examples: - default: *714 + default: *712 '403': *29 '401': *25 x-github: @@ -115698,9 +115299,9 @@ paths: application/json: schema: type: array - items: *705 + items: *703 examples: - default: *734 + default: *732 headers: Link: *70 x-github: @@ -115804,7 +115405,7 @@ paths: application/json: schema: *22 examples: - default: *553 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115928,7 +115529,7 @@ paths: - docker - nuget - container - - *713 + - *711 - *74 - *19 - *17 @@ -115941,10 +115542,10 @@ paths: type: array items: *275 examples: - default: *714 + default: *712 '403': *29 '401': *25 - '400': *715 + '400': *713 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115974,7 +115575,7 @@ paths: application/json: schema: *275 examples: - default: *735 + default: *733 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116323,7 +115924,7 @@ paths: type: array items: *297 examples: - default: *736 + default: *734 headers: Link: *70 '304': *37 @@ -116383,7 +115984,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *737 + items: *735 required: - name - data_type @@ -116399,7 +116000,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *738 + iteration_configuration: *736 required: - name - data_type @@ -116421,8 +116022,8 @@ paths: value: name: Due date data_type: date - single_select_field: *739 - iteration_field: *740 + single_select_field: *737 + iteration_field: *738 responses: '201': description: Response @@ -116430,11 +116031,11 @@ paths: application/json: schema: *297 examples: - text_field: *741 - number_field: *742 - date_field: *743 - single_select_field: *744 - iteration_field: *745 + text_field: *739 + number_field: *740 + date_field: *741 + single_select_field: *742 + iteration_field: *743 '304': *37 '403': *29 '401': *25 @@ -116456,7 +116057,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *293 - - *746 + - *744 - *74 responses: '200': @@ -116465,7 +116066,7 @@ paths: application/json: schema: *297 examples: - default: *747 + default: *745 headers: Link: *70 '304': *37 @@ -116819,7 +116420,7 @@ paths: parameters: - *293 - *74 - - *748 + - *746 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -117358,7 +116959,7 @@ paths: parameters: - *74 - *124 - - *749 + - *747 - *126 responses: '200': @@ -117457,9 +117058,9 @@ paths: - *124 - *125 - *126 - - *750 + - *748 - *129 - - *751 + - *749 responses: '200': description: Response when getting a billing usage summary @@ -117593,9 +117194,9 @@ paths: application/json: schema: type: array - items: *718 + items: *716 examples: - default: *719 + default: *717 headers: Link: *70 x-github: @@ -117625,9 +117226,9 @@ paths: application/json: schema: type: array - items: *720 + items: *718 examples: - default: *752 + default: *750 headers: Link: *70 x-github: @@ -117652,7 +117253,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *74 - - *753 + - *751 - *62 - *17 - *19 @@ -117664,11 +117265,11 @@ paths: schema: anyOf: - type: array - items: *754 + items: *752 - type: array items: *82 examples: - default-response: *723 + default-response: *721 headers: Link: *70 x-github: @@ -117827,7 +117428,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &755 + enterprise: &753 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -117885,7 +117486,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &756 + installation: &754 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -117904,7 +117505,7 @@ x-webhooks: required: - id - node_id - organization: &757 + organization: &755 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -117964,13 +117565,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &758 + repository: &756 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &790 + properties: &788 id: description: Unique identifier of the repository example: 42 @@ -118654,7 +118255,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &791 + required: &789 - archive_url - assignees_url - blobs_url @@ -118805,10 +118406,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -118884,11 +118485,11 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: &759 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + rule: &757 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) @@ -119111,11 +118712,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: *759 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + rule: *757 sender: *4 required: - action @@ -119298,11 +118899,11 @@ x-webhooks: - everyone required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: *759 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + rule: *757 sender: *4 required: - action @@ -119386,7 +118987,7 @@ x-webhooks: type: string enum: - completed - check_run: &761 + check_run: &759 title: CheckRun description: A check performed on the code of a given code change type: object @@ -119477,7 +119078,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *760 + deployment: *758 details_url: example: https://example.com type: string @@ -119562,10 +119163,10 @@ x-webhooks: - output - app - pull_requests - installation: *756 - enterprise: *755 - organization: *757 - repository: *758 + installation: *754 + enterprise: *753 + organization: *755 + repository: *756 sender: *4 required: - check_run @@ -119956,11 +119557,11 @@ x-webhooks: type: string enum: - created - check_run: *761 - installation: *756 - enterprise: *755 - organization: *757 - repository: *758 + check_run: *759 + installation: *754 + enterprise: *753 + organization: *755 + repository: *756 sender: *4 required: - check_run @@ -120354,11 +119955,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *761 - installation: *756 - enterprise: *755 - organization: *757 - repository: *758 + check_run: *759 + installation: *754 + enterprise: *753 + organization: *755 + repository: *756 requested_action: description: The action requested by the user. type: object @@ -120761,11 +120362,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *761 - installation: *756 - enterprise: *755 - organization: *757 - repository: *758 + check_run: *759 + installation: *754 + enterprise: *753 + organization: *755 + repository: *756 sender: *4 required: - check_run @@ -121735,10 +121336,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -122437,10 +122038,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -123133,10 +122734,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -123302,7 +122903,7 @@ x-webhooks: required: - login - id - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -123447,20 +123048,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &762 + commit_oid: &760 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: *755 - installation: *756 - organization: *757 - ref: &763 + enterprise: *753 + installation: *754 + organization: *755 + ref: &761 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: *758 + repository: *756 sender: *4 required: - action @@ -123625,7 +123226,7 @@ x-webhooks: required: - login - id - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -123855,12 +123456,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *762 - enterprise: *755 - installation: *756 - organization: *757 - ref: *763 - repository: *758 + commit_oid: *760 + enterprise: *753 + installation: *754 + organization: *755 + ref: *761 + repository: *756 sender: *4 required: - action @@ -123955,7 +123556,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124126,12 +123727,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *762 - enterprise: *755 - installation: *756 - organization: *757 - ref: *763 - repository: *758 + commit_oid: *760 + enterprise: *753 + installation: *754 + organization: *755 + ref: *761 + repository: *756 sender: *4 required: - action @@ -124297,7 +123898,7 @@ x-webhooks: required: - login - id - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124463,12 +124064,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *762 - enterprise: *755 - installation: *756 - organization: *757 - ref: *763 - repository: *758 + commit_oid: *760 + enterprise: *753 + installation: *754 + organization: *755 + ref: *761 + repository: *756 sender: *4 required: - action @@ -124567,7 +124168,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124742,16 +124343,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *758 + repository: *756 sender: *4 required: - action @@ -124848,7 +124449,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124988,12 +124589,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *762 - enterprise: *755 - installation: *756 - organization: *757 - ref: *763 - repository: *758 + commit_oid: *760 + enterprise: *753 + installation: *754 + organization: *755 + ref: *761 + repository: *756 sender: *4 required: - action @@ -125159,7 +124760,7 @@ x-webhooks: required: - login - id - dismissed_comment: *449 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125304,10 +124905,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -125562,10 +125163,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -125645,18 +125246,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *757 - pusher_type: &764 + organization: *755 + pusher_type: &762 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &765 + ref: &763 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -125666,7 +125267,7 @@ x-webhooks: enum: - tag - branch - repository: *758 + repository: *756 sender: *4 required: - ref @@ -125749,9 +125350,9 @@ x-webhooks: enum: - created definition: *305 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 sender: *4 required: - action @@ -125836,9 +125437,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 sender: *4 required: - action @@ -125916,9 +125517,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *305 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 sender: *4 required: - action @@ -125996,9 +125597,9 @@ x-webhooks: enum: - updated definition: *305 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 sender: *4 required: - action @@ -126075,10 +125676,10 @@ x-webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - repository: *758 - organization: *757 + enterprise: *753 + installation: *754 + repository: *756 + organization: *755 sender: *4 new_property_values: type: array @@ -126163,18 +125764,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - pusher_type: *764 - ref: *765 + enterprise: *753 + installation: *754 + organization: *755 + pusher_type: *762 + ref: *763 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *758 + repository: *756 sender: *4 required: - ref @@ -126254,11 +125855,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126338,11 +125939,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126423,11 +126024,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126508,11 +126109,11 @@ x-webhooks: type: string enum: - created - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126591,11 +126192,11 @@ x-webhooks: type: string enum: - dismissed - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126674,11 +126275,11 @@ x-webhooks: type: string enum: - fixed - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126758,11 +126359,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126841,11 +126442,11 @@ x-webhooks: type: string enum: - reopened - alert: *513 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + alert: *510 + installation: *754 + organization: *755 + enterprise: *753 + repository: *756 sender: *4 required: - action @@ -126922,9 +126523,9 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - key: &766 + enterprise: *753 + installation: *754 + key: &764 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -126960,8 +126561,8 @@ x-webhooks: - verified - created_at - read_only - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -127038,11 +126639,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - key: *766 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + key: *764 + organization: *755 + repository: *756 sender: *4 required: - action @@ -127598,12 +127199,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - workflow: &772 + workflow: &770 title: Workflow type: object nullable: true @@ -128344,15 +127945,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *767 - required: *768 + properties: *765 + required: *766 nullable: true pull_requests: type: array - items: *609 - repository: *758 - organization: *757 - installation: *756 + items: *607 + repository: *756 + organization: *755 + installation: *754 sender: *4 responses: '200': @@ -128423,7 +128024,7 @@ x-webhooks: type: string enum: - approved - approver: &769 + approver: &767 type: object properties: avatar_url: @@ -128466,11 +128067,11 @@ x-webhooks: type: string comment: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - reviewers: &770 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + reviewers: &768 type: array items: type: object @@ -128549,7 +128150,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &771 + workflow_job_run: &769 type: object properties: conclusion: @@ -129280,18 +128881,18 @@ x-webhooks: type: string enum: - rejected - approver: *769 + approver: *767 comment: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - reviewers: *770 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + reviewers: *768 sender: *4 since: type: string - workflow_job_run: *771 + workflow_job_run: *769 workflow_job_runs: type: array items: @@ -129995,13 +129596,13 @@ x-webhooks: type: string enum: - requested - enterprise: *755 + enterprise: *753 environment: type: string - installation: *756 - organization: *757 - repository: *758 - requestor: &777 + installation: *754 + organization: *755 + repository: *756 + requestor: &775 title: User type: object nullable: true @@ -131890,12 +131491,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - workflow: *772 + workflow: *770 workflow_run: title: Deployment Workflow Run type: object @@ -132575,7 +132176,7 @@ x-webhooks: type: string enum: - answered - answer: &775 + answer: &773 type: object properties: author_association: @@ -132732,11 +132333,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -132863,11 +132464,11 @@ x-webhooks: - from required: - category - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -132950,11 +132551,11 @@ x-webhooks: type: string enum: - closed - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133036,7 +132637,7 @@ x-webhooks: type: string enum: - created - comment: &774 + comment: &772 type: object properties: author_association: @@ -133193,11 +132794,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133280,12 +132881,12 @@ x-webhooks: type: string enum: - deleted - comment: *774 - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + comment: *772 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133380,12 +132981,12 @@ x-webhooks: - from required: - body - comment: *774 - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + comment: *772 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133469,11 +133070,11 @@ x-webhooks: type: string enum: - created - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133555,11 +133156,11 @@ x-webhooks: type: string enum: - deleted - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133659,11 +133260,11 @@ x-webhooks: type: string required: - from - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133745,10 +133346,10 @@ x-webhooks: type: string enum: - labeled - discussion: *773 - enterprise: *755 - installation: *756 - label: &776 + discussion: *771 + enterprise: *753 + installation: *754 + label: &774 title: Label type: object properties: @@ -133780,8 +133381,8 @@ x-webhooks: - color - default - description - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133864,11 +133465,11 @@ x-webhooks: type: string enum: - locked - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -133950,11 +133551,11 @@ x-webhooks: type: string enum: - pinned - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134036,11 +133637,11 @@ x-webhooks: type: string enum: - reopened - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134125,16 +133726,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *773 - new_repository: *758 + new_discussion: *771 + new_repository: *756 required: - new_discussion - new_repository - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134217,10 +133818,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *773 - old_answer: *775 - organization: *757 - repository: *758 + discussion: *771 + old_answer: *773 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134302,12 +133903,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *773 - enterprise: *755 - installation: *756 - label: *776 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134390,11 +133991,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134476,11 +134077,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *773 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *771 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -134553,7 +134154,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *755 + enterprise: *753 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -135213,9 +134814,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - forkee @@ -135361,9 +134962,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pages: description: The pages that were updated. type: array @@ -135400,7 +135001,7 @@ x-webhooks: - action - sha - html_url - repository: *758 + repository: *756 sender: *4 required: - pages @@ -135476,10 +135077,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories: &778 + organization: *755 + repositories: &776 description: An array of repository objects that the installation can access. type: array @@ -135505,8 +135106,8 @@ x-webhooks: - name - full_name - private - repository: *758 - requester: *777 + repository: *756 + requester: *775 sender: *4 required: - action @@ -135581,11 +135182,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories: *778 - repository: *758 + organization: *755 + repositories: *776 + repository: *756 requester: nullable: true sender: *4 @@ -135661,11 +135262,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories: *778 - repository: *758 + organization: *755 + repositories: *776 + repository: *756 requester: nullable: true sender: *4 @@ -135741,10 +135342,10 @@ x-webhooks: type: string enum: - added - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories_added: &779 + organization: *755 + repositories_added: &777 description: An array of repository objects, which were added to the installation. type: array @@ -135790,15 +135391,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *758 - repository_selection: &780 + repository: *756 + repository_selection: &778 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *777 + requester: *775 sender: *4 required: - action @@ -135877,10 +135478,10 @@ x-webhooks: type: string enum: - removed - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories_added: *779 + organization: *755 + repositories_added: *777 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -135907,9 +135508,9 @@ x-webhooks: - name - full_name - private - repository: *758 - repository_selection: *780 - requester: *777 + repository: *756 + repository_selection: *778 + requester: *775 sender: *4 required: - action @@ -135988,11 +135589,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories: *778 - repository: *758 + organization: *755 + repositories: *776 + repository: *756 requester: nullable: true sender: *4 @@ -136170,10 +135771,10 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 target_type: type: string @@ -136252,11 +135853,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *755 + enterprise: *753 installation: *22 - organization: *757 - repositories: *778 - repository: *758 + organization: *755 + repositories: *776 + repository: *756 requester: nullable: true sender: *4 @@ -136430,8 +136031,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *586 - required: *587 + properties: *584 + required: *585 nullable: true user: title: User @@ -136516,8 +136117,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -137306,8 +136907,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137656,8 +137257,8 @@ x-webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -137737,7 +137338,7 @@ x-webhooks: type: string enum: - deleted - comment: &781 + comment: &779 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -137894,8 +137495,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *586 - required: *587 + properties: *584 + required: *585 nullable: true required: - url @@ -137910,8 +137511,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -138696,8 +138297,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139048,8 +138649,8 @@ x-webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -139129,7 +138730,7 @@ x-webhooks: type: string enum: - edited - changes: &810 + changes: &808 description: The changes to the comment. type: object properties: @@ -139141,9 +138742,9 @@ x-webhooks: type: string required: - from - comment: *781 - enterprise: *755 - installation: *756 + comment: *779 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139931,8 +139532,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140281,8 +139882,8 @@ x-webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -140363,9 +139964,9 @@ x-webhooks: type: string enum: - pinned - comment: *781 - enterprise: *755 - installation: *756 + comment: *779 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141155,8 +140756,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141507,8 +141108,8 @@ x-webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -141588,9 +141189,9 @@ x-webhooks: type: string enum: - unpinned - comment: *781 - enterprise: *755 - installation: *756 + comment: *779 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142380,8 +141981,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142732,8 +142333,8 @@ x-webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -142822,9 +142423,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -142913,9 +142514,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -143003,9 +142604,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -143094,9 +142695,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -143176,10 +142777,10 @@ x-webhooks: type: string enum: - assigned - assignee: *777 - enterprise: *755 - installation: *756 - issue: &782 + assignee: *775 + enterprise: *753 + installation: *754 + issue: &780 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143971,11 +143572,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144092,8 +143693,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -144173,8 +143774,8 @@ x-webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144971,11 +144572,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145227,8 +144828,8 @@ x-webhooks: required: - state - closed_at - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -145307,8 +144908,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146096,11 +145697,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146216,8 +145817,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -146296,8 +145897,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147107,11 +146708,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147206,7 +146807,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &783 + milestone: &781 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147344,8 +146945,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -147444,8 +147045,8 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148237,11 +147838,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148358,9 +147959,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *776 - organization: *757 - repository: *758 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -148440,9 +148041,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *755 - installation: *756 - issue: *782 + enterprise: *753 + installation: *754 + issue: *780 issue_field: type: object description: The issue field whose value was set or updated on the @@ -148596,8 +148197,8 @@ x-webhooks: - id required: - from - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -148677,9 +148278,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *755 - installation: *756 - issue: *782 + enterprise: *753 + installation: *754 + issue: *780 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -148760,8 +148361,8 @@ x-webhooks: nullable: true required: - id - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -148841,8 +148442,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149633,11 +149234,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149754,9 +149355,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *776 - organization: *757 - repository: *758 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -149836,8 +149437,8 @@ x-webhooks: type: string enum: - locked - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150652,11 +150253,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150750,8 +150351,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -150830,8 +150431,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151640,11 +151241,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151738,9 +151339,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *783 - organization: *757 - repository: *758 + milestone: *781 + organization: *755 + repository: *756 sender: *4 required: - action @@ -152603,11 +152204,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153188,8 +152789,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153973,11 +153574,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154101,8 +153702,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -154182,9 +153783,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *755 - installation: *756 - issue: &784 + enterprise: *753 + installation: *754 + issue: &782 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -154970,11 +154571,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155090,8 +154691,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -155170,8 +154771,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155984,11 +155585,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156083,8 +155684,8 @@ x-webhooks: user_view_type: type: string type: *257 - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -156953,11 +156554,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157552,11 +157153,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *755 - installation: *756 - issue: *784 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + issue: *782 + organization: *755 + repository: *756 sender: *4 required: - action @@ -157636,12 +157237,12 @@ x-webhooks: type: string enum: - typed - enterprise: *755 - installation: *756 - issue: *782 + enterprise: *753 + installation: *754 + issue: *780 type: *257 - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -157722,7 +157323,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &813 + assignee: &811 title: User type: object nullable: true @@ -157792,11 +157393,11 @@ x-webhooks: required: - login - id - enterprise: *755 - installation: *756 - issue: *782 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + issue: *780 + organization: *755 + repository: *756 sender: *4 required: - action @@ -157875,12 +157476,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *755 - installation: *756 - issue: *782 - label: *776 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + issue: *780 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -157960,8 +157561,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158774,11 +158375,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *691 - issue_dependencies_summary: *692 + sub_issues_summary: *689 + issue_dependencies_summary: *690 issue_field_values: type: array - items: *570 + items: *568 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158872,8 +158473,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -158953,11 +158554,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *755 - installation: *756 - issue: *784 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + issue: *782 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159036,12 +158637,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *755 - installation: *756 - issue: *782 + enterprise: *753 + installation: *754 + issue: *780 type: *257 - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159121,11 +158722,11 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - label: *776 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159203,11 +158804,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - label: *776 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159317,11 +158918,11 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - label: *776 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + label: *774 + organization: *755 + repository: *756 sender: *4 required: - action @@ -159403,9 +159004,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: &785 + enterprise: *753 + installation: *754 + marketplace_purchase: &783 title: Marketplace Purchase type: object required: @@ -159488,8 +159089,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *757 - previous_marketplace_purchase: &786 + organization: *755 + previous_marketplace_purchase: &784 title: Marketplace Purchase type: object properties: @@ -159569,7 +159170,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *756 sender: *4 required: - action @@ -159649,10 +159250,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *785 - organization: *757 + enterprise: *753 + installation: *754 + marketplace_purchase: *783 + organization: *755 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -159735,7 +159336,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *756 sender: *4 required: - action @@ -159817,10 +159418,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *785 - organization: *757 + enterprise: *753 + installation: *754 + marketplace_purchase: *783 + organization: *755 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -159902,7 +159503,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *756 sender: *4 required: - action @@ -159983,8 +159584,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 marketplace_purchase: title: Marketplace Purchase type: object @@ -160066,9 +159667,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *757 - previous_marketplace_purchase: *786 - repository: *758 + organization: *755 + previous_marketplace_purchase: *784 + repository: *756 sender: *4 required: - action @@ -160148,12 +159749,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *785 - organization: *757 - previous_marketplace_purchase: *786 - repository: *758 + enterprise: *753 + installation: *754 + marketplace_purchase: *783 + organization: *755 + previous_marketplace_purchase: *784 + repository: *756 sender: *4 required: - action @@ -160255,11 +159856,11 @@ x-webhooks: type: string required: - to - enterprise: *755 - installation: *756 - member: *777 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + member: *775 + organization: *755 + repository: *756 sender: *4 required: - action @@ -160359,11 +159960,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *755 - installation: *756 - member: *777 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + member: *775 + organization: *755 + repository: *756 sender: *4 required: - action @@ -160442,11 +160043,11 @@ x-webhooks: type: string enum: - removed - enterprise: *755 - installation: *756 - member: *777 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + member: *775 + organization: *755 + repository: *756 sender: *4 required: - action @@ -160524,11 +160125,11 @@ x-webhooks: type: string enum: - added - enterprise: *755 - installation: *756 - member: *777 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + member: *775 + organization: *755 + repository: *756 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160604,7 +160205,7 @@ x-webhooks: required: - login - id - team: &787 + team: &785 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -160827,11 +160428,11 @@ x-webhooks: type: string enum: - removed - enterprise: *755 - installation: *756 - member: *777 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + member: *775 + organization: *755 + repository: *756 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160908,7 +160509,7 @@ x-webhooks: required: - login - id - team: *787 + team: *785 required: - action - scope @@ -160990,8 +160591,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *756 - merge_group: &789 + installation: *754 + merge_group: &787 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -161010,15 +160611,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *788 + head_commit: *786 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -161104,10 +160705,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *756 - merge_group: *789 - organization: *757 - repository: *758 + installation: *754 + merge_group: *787 + organization: *755 + repository: *756 sender: *4 required: - action @@ -161180,7 +160781,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 + enterprise: *753 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -161289,16 +160890,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *756 - organization: *757 + installation: *754 + organization: *755 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *790 - required: *791 + properties: *788 + required: *789 nullable: true sender: *4 required: @@ -161379,11 +160980,11 @@ x-webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - milestone: *783 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + milestone: *781 + organization: *755 + repository: *756 sender: *4 required: - action @@ -161462,9 +161063,9 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - milestone: &792 + enterprise: *753 + installation: *754 + milestone: &790 title: Milestone description: A collection of related issues and pull requests. type: object @@ -161601,8 +161202,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -161681,11 +161282,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - milestone: *783 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + milestone: *781 + organization: *755 + repository: *756 sender: *4 required: - action @@ -161795,11 +161396,11 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - milestone: *783 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + milestone: *781 + organization: *755 + repository: *756 sender: *4 required: - action @@ -161879,11 +161480,11 @@ x-webhooks: type: string enum: - opened - enterprise: *755 - installation: *756 - milestone: *792 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + milestone: *790 + organization: *755 + repository: *756 sender: *4 required: - action @@ -161962,11 +161563,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *777 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + blocked_user: *775 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162045,11 +161646,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *777 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + blocked_user: *775 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162128,9 +161729,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - membership: &793 + enterprise: *753 + installation: *754 + membership: &791 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -162237,8 +161838,8 @@ x-webhooks: - role - organization_url - user - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162316,11 +161917,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *755 - installation: *756 - membership: *793 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + membership: *791 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162399,8 +162000,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -162516,10 +162117,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 - user: *777 + user: *775 required: - action - invitation @@ -162597,11 +162198,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *755 - installation: *756 - membership: *793 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + membership: *791 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162688,11 +162289,11 @@ x-webhooks: properties: from: type: string - enterprise: *755 - installation: *756 - membership: *793 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + membership: *791 + organization: *755 + repository: *756 sender: *4 required: - action @@ -162769,9 +162370,9 @@ x-webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 package: description: Information about the package. type: object @@ -163270,7 +162871,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &794 + items: &792 title: Ruby Gems metadata type: object properties: @@ -163365,7 +162966,7 @@ x-webhooks: - owner - package_version - registry - repository: *758 + repository: *756 sender: *4 required: - action @@ -163441,9 +163042,9 @@ x-webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 package: description: Information about the package. type: object @@ -163796,7 +163397,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *794 + items: *792 source_url: type: string format: uri @@ -163866,7 +163467,7 @@ x-webhooks: - owner - package_version - registry - repository: *758 + repository: *756 sender: *4 required: - action @@ -164042,12 +163643,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *755 + enterprise: *753 id: type: integer - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - id @@ -164124,7 +163725,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &795 + personal_access_token_request: &793 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -164270,10 +163871,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *755 - organization: *757 + enterprise: *753 + organization: *755 sender: *4 - installation: *756 + installation: *754 required: - action - personal_access_token_request @@ -164350,11 +163951,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *795 - enterprise: *755 - organization: *757 + personal_access_token_request: *793 + enterprise: *753 + organization: *755 sender: *4 - installation: *756 + installation: *754 required: - action - personal_access_token_request @@ -164430,11 +164031,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *795 - enterprise: *755 - organization: *757 + personal_access_token_request: *793 + enterprise: *753 + organization: *755 sender: *4 - installation: *756 + installation: *754 required: - action - personal_access_token_request @@ -164509,11 +164110,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *795 - organization: *757 - enterprise: *755 + personal_access_token_request: *793 + organization: *755 + enterprise: *753 sender: *4 - installation: *756 + installation: *754 required: - action - personal_access_token_request @@ -164618,7 +164219,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *796 + last_response: *794 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -164650,8 +164251,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 zen: description: Random string of GitHub zen. @@ -164896,10 +164497,10 @@ x-webhooks: - from required: - note - enterprise: *755 - installation: *756 - organization: *757 - project_card: &797 + enterprise: *753 + installation: *754 + organization: *755 + project_card: &795 title: Project Card type: object properties: @@ -165018,7 +164619,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *758 + repository: *756 sender: *4 required: - action @@ -165099,11 +164700,11 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project_card: *797 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project_card: *795 + repository: *756 sender: *4 required: - action @@ -165183,9 +164784,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 project_card: title: Project Card type: object @@ -165313,8 +164914,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *790 - required: *791 + properties: *788 + required: *789 nullable: true sender: *4 required: @@ -165408,11 +165009,11 @@ x-webhooks: - from required: - note - enterprise: *755 - installation: *756 - organization: *757 - project_card: *797 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project_card: *795 + repository: *756 sender: *4 required: - action @@ -165506,9 +165107,9 @@ x-webhooks: - from required: - column_id - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 project_card: allOf: - title: Project Card @@ -165698,7 +165299,7 @@ x-webhooks: type: string required: - after_id - repository: *758 + repository: *756 sender: *4 required: - action @@ -165778,10 +165379,10 @@ x-webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - organization: *757 - project: &799 + enterprise: *753 + installation: *754 + organization: *755 + project: &797 title: Project type: object properties: @@ -165905,7 +165506,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *758 + repository: *756 sender: *4 required: - action @@ -165985,10 +165586,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project_column: &798 + enterprise: *753 + installation: *754 + organization: *755 + project_column: &796 title: Project Column type: object properties: @@ -166027,7 +165628,7 @@ x-webhooks: - name - created_at - updated_at - repository: *758 + repository: *756 sender: *4 required: - action @@ -166106,18 +165707,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - project_column: *798 + enterprise: *753 + installation: *754 + organization: *755 + project_column: *796 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *790 - required: *791 + properties: *788 + required: *789 nullable: true sender: *4 required: @@ -166207,11 +165808,11 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - project_column: *798 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project_column: *796 + repository: *756 sender: *4 required: - action @@ -166291,11 +165892,11 @@ x-webhooks: type: string enum: - moved - enterprise: *755 - installation: *756 - organization: *757 - project_column: *798 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project_column: *796 + repository: *756 sender: *4 required: - action @@ -166375,11 +165976,11 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project: *799 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project: *797 + repository: *756 sender: *4 required: - action @@ -166459,18 +166060,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - project: *799 + enterprise: *753 + installation: *754 + organization: *755 + project: *797 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *790 - required: *791 + properties: *788 + required: *789 nullable: true sender: *4 required: @@ -166572,11 +166173,11 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - project: *799 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project: *797 + repository: *756 sender: *4 required: - action @@ -166655,11 +166256,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 - organization: *757 - project: *799 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + project: *797 + repository: *756 sender: *4 required: - action @@ -166740,8 +166341,8 @@ x-webhooks: type: string enum: - closed - installation: *756 - organization: *757 + installation: *754 + organization: *755 projects_v2: *291 sender: *4 required: @@ -166823,8 +166424,8 @@ x-webhooks: type: string enum: - created - installation: *756 - organization: *757 + installation: *754 + organization: *755 projects_v2: *291 sender: *4 required: @@ -166906,8 +166507,8 @@ x-webhooks: type: string enum: - deleted - installation: *756 - organization: *757 + installation: *754 + organization: *755 projects_v2: *291 sender: *4 required: @@ -167025,8 +166626,8 @@ x-webhooks: type: string to: type: string - installation: *756 - organization: *757 + installation: *754 + organization: *755 projects_v2: *291 sender: *4 required: @@ -167110,7 +166711,7 @@ x-webhooks: type: string enum: - archived - changes: &803 + changes: &801 type: object properties: archived_at: @@ -167124,9 +166725,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *756 - organization: *757 - projects_v2_item: &800 + installation: *754 + organization: *755 + projects_v2_item: &798 title: Projects v2 Item description: An item belonging to a project type: object @@ -167261,9 +166862,9 @@ x-webhooks: nullable: true to: type: string - installation: *756 - organization: *757 - projects_v2_item: *800 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -167345,9 +166946,9 @@ x-webhooks: type: string enum: - created - installation: *756 - organization: *757 - projects_v2_item: *800 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -167428,9 +167029,9 @@ x-webhooks: type: string enum: - deleted - installation: *756 - organization: *757 - projects_v2_item: *800 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -167536,7 +167137,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &801 + - &799 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -167558,7 +167159,7 @@ x-webhooks: required: - id - name - - &802 + - &800 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -167592,8 +167193,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *801 - - *802 + - *799 + - *800 required: - field_value - type: object @@ -167609,9 +167210,9 @@ x-webhooks: nullable: true required: - body - installation: *756 - organization: *757 - projects_v2_item: *800 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -167706,9 +167307,9 @@ x-webhooks: to: type: string nullable: true - installation: *756 - organization: *757 - projects_v2_item: *800 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -167791,10 +167392,10 @@ x-webhooks: type: string enum: - restored - changes: *803 - installation: *756 - organization: *757 - projects_v2_item: *800 + changes: *801 + installation: *754 + organization: *755 + projects_v2_item: *798 sender: *4 required: - action @@ -167876,8 +167477,8 @@ x-webhooks: type: string enum: - reopened - installation: *756 - organization: *757 + installation: *754 + organization: *755 projects_v2: *291 sender: *4 required: @@ -167959,14 +167560,14 @@ x-webhooks: type: string enum: - created - installation: *756 - organization: *757 - projects_v2_status_update: &806 + installation: *754 + organization: *755 + projects_v2_status_update: &804 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *804 - required: *805 + properties: *802 + required: *803 sender: *4 required: - action @@ -168047,9 +167648,9 @@ x-webhooks: type: string enum: - deleted - installation: *756 - organization: *757 - projects_v2_status_update: *806 + installation: *754 + organization: *755 + projects_v2_status_update: *804 sender: *4 required: - action @@ -168185,9 +167786,9 @@ x-webhooks: type: string format: date nullable: true - installation: *756 - organization: *757 - projects_v2_status_update: *806 + installation: *754 + organization: *755 + projects_v2_status_update: *804 sender: *4 required: - action @@ -168258,10 +167859,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - repository @@ -168338,13 +167939,13 @@ x-webhooks: type: string enum: - assigned - assignee: *777 - enterprise: *755 - installation: *756 - number: &807 + assignee: *775 + enterprise: *753 + installation: *754 + number: &805 description: The pull request number. type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -170631,7 +170232,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -170713,11 +170314,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -172999,7 +172600,7 @@ x-webhooks: - draft reason: type: string - repository: *758 + repository: *756 sender: *4 required: - action @@ -173081,11 +172682,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -175367,7 +174968,7 @@ x-webhooks: - draft reason: type: string - repository: *758 + repository: *756 sender: *4 required: - action @@ -175449,13 +175050,13 @@ x-webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: &808 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: &806 allOf: - - *609 + - *607 - type: object properties: allow_auto_merge: @@ -175517,7 +175118,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *758 + repository: *756 sender: *4 required: - action @@ -175598,12 +175199,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: *808 - repository: *758 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: *806 + repository: *756 sender: *4 required: - action @@ -175683,11 +175284,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *755 - milestone: *593 - number: *807 - organization: *757 - pull_request: &809 + enterprise: *753 + milestone: *591 + number: *805 + organization: *755 + pull_request: &807 title: Pull Request type: object properties: @@ -177968,7 +177569,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -178047,11 +177648,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -180351,7 +179952,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *758 + repository: *756 sender: *4 required: - action @@ -180475,12 +180076,12 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: *808 - repository: *758 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: *806 + repository: *756 sender: *4 required: - action @@ -180560,11 +180161,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -182849,7 +182450,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -182929,11 +182530,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *755 - installation: *756 - label: *776 - number: *807 - organization: *757 + enterprise: *753 + installation: *754 + label: *774 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -185219,7 +184820,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -185300,10 +184901,10 @@ x-webhooks: type: string enum: - locked - enterprise: *755 - installation: *756 - number: *807 - organization: *757 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -187587,7 +187188,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -187667,12 +187268,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *755 - milestone: *593 - number: *807 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *753 + milestone: *591 + number: *805 + organization: *755 + pull_request: *807 + repository: *756 sender: *4 required: - action @@ -187751,12 +187352,12 @@ x-webhooks: type: string enum: - opened - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: *808 - repository: *758 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: *806 + repository: *756 sender: *4 required: - action @@ -187837,12 +187438,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: *808 - repository: *758 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: *806 + repository: *756 sender: *4 required: - action @@ -187922,12 +187523,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 - number: *807 - organization: *757 - pull_request: *808 - repository: *758 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 + pull_request: *806 + repository: *756 sender: *4 required: - action @@ -188293,9 +187894,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: type: object properties: @@ -190469,7 +190070,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *756 sender: *4 required: - action @@ -190549,7 +190150,7 @@ x-webhooks: type: string enum: - deleted - comment: &811 + comment: &809 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -190834,9 +190435,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: type: object properties: @@ -192998,7 +192599,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *756 sender: *4 required: - action @@ -193078,11 +192679,11 @@ x-webhooks: type: string enum: - edited - changes: *810 - comment: *811 - enterprise: *755 - installation: *756 - organization: *757 + changes: *808 + comment: *809 + enterprise: *753 + installation: *754 + organization: *755 pull_request: type: object properties: @@ -195247,7 +194848,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *756 sender: *4 required: - action @@ -195328,9 +194929,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: title: Simple Pull Request type: object @@ -197507,7 +197108,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *756 review: description: The review that was affected. type: object @@ -197754,9 +197355,9 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: title: Simple Pull Request type: object @@ -199806,8 +199407,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 - review: &812 + repository: *756 + review: &810 description: The review that was affected. type: object properties: @@ -200040,12 +199641,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: description: The pull request number. type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -202332,7 +201933,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 requested_reviewer: title: User type: object @@ -202416,12 +202017,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: description: The pull request number. type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -204715,7 +204316,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 requested_team: title: Team description: Groups of organization members that gives permissions @@ -204907,12 +204508,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: description: The pull request number. type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -207201,7 +206802,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 requested_reviewer: title: User type: object @@ -207286,12 +206887,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *755 - installation: *756 + enterprise: *753 + installation: *754 number: description: The pull request number. type: integer - organization: *757 + organization: *755 pull_request: title: Pull Request type: object @@ -209571,7 +209172,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209752,9 +209353,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: title: Simple Pull Request type: object @@ -211933,8 +211534,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 - review: *812 + repository: *756 + review: *810 sender: *4 required: - action @@ -212014,9 +211615,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: title: Simple Pull Request type: object @@ -214104,7 +213705,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *756 sender: *4 thread: type: object @@ -214491,9 +214092,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 pull_request: title: Simple Pull Request type: object @@ -216567,7 +216168,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *756 sender: *4 thread: type: object @@ -216957,10 +216558,10 @@ x-webhooks: type: string before: type: string - enterprise: *755 - installation: *756 - number: *807 - organization: *757 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -219235,7 +218836,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -219317,11 +218918,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *813 - enterprise: *755 - installation: *756 - number: *807 - organization: *757 + assignee: *811 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -221608,7 +221209,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -221687,11 +221288,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *755 - installation: *756 - label: *776 - number: *807 - organization: *757 + enterprise: *753 + installation: *754 + label: *774 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -223968,7 +223569,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -224049,10 +223650,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *755 - installation: *756 - number: *807 - organization: *757 + enterprise: *753 + installation: *754 + number: *805 + organization: *755 pull_request: title: Pull Request type: object @@ -226321,7 +225922,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *756 sender: *4 required: - action @@ -226521,7 +226122,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *755 + enterprise: *753 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -226613,8 +226214,8 @@ x-webhooks: - url - author - committer - installation: *756 - organization: *757 + installation: *754 + organization: *755 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -227200,9 +226801,9 @@ x-webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 registry_package: type: object properties: @@ -227648,7 +227249,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *794 + items: *792 summary: type: string tag_name: @@ -227702,7 +227303,7 @@ x-webhooks: - owner - package_version - registry - repository: *758 + repository: *756 sender: *4 required: - action @@ -227780,9 +227381,9 @@ x-webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 registry_package: type: object properties: @@ -228090,7 +227691,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *794 + items: *792 summary: type: string tag_name: @@ -228139,7 +227740,7 @@ x-webhooks: - owner - package_version - registry - repository: *758 + repository: *756 sender: *4 required: - action @@ -228216,10 +227817,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - release: &814 + enterprise: *753 + installation: *754 + organization: *755 + release: &812 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -228537,7 +228138,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *758 + repository: *756 sender: *4 required: - action @@ -228614,11 +228215,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - release: *814 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + release: *812 + repository: *756 sender: *4 required: - action @@ -228735,11 +228336,11 @@ x-webhooks: type: boolean required: - to - enterprise: *755 - installation: *756 - organization: *757 - release: *814 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + release: *812 + repository: *756 sender: *4 required: - action @@ -228817,9 +228418,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -229141,7 +228742,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *758 + repository: *756 sender: *4 required: - action @@ -229217,10 +228818,10 @@ x-webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - release: &815 + enterprise: *753 + installation: *754 + organization: *755 + release: &813 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -229539,7 +229140,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *758 + repository: *756 sender: *4 required: - action @@ -229615,11 +229216,11 @@ x-webhooks: type: string enum: - released - enterprise: *755 - installation: *756 - organization: *757 - release: *814 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + release: *812 + repository: *756 sender: *4 required: - action @@ -229695,11 +229296,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *755 - installation: *756 - organization: *757 - release: *815 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + release: *813 + repository: *756 sender: *4 required: - action @@ -229775,11 +229376,11 @@ x-webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - repository_advisory: *678 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + repository_advisory: *676 sender: *4 required: - action @@ -229855,11 +229456,11 @@ x-webhooks: type: string enum: - reported - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - repository_advisory: *678 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + repository_advisory: *676 sender: *4 required: - action @@ -229935,10 +229536,10 @@ x-webhooks: type: string enum: - archived - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230015,10 +229616,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230096,10 +229697,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230183,10 +229784,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230298,10 +229899,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230373,10 +229974,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 status: type: string @@ -230457,10 +230058,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230537,10 +230138,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230634,10 +230235,10 @@ x-webhooks: - name required: - repository - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -230717,10 +230318,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 repository_ruleset: *339 sender: *4 required: @@ -230799,10 +230400,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 repository_ruleset: *339 sender: *4 required: @@ -230881,10 +230482,10 @@ x-webhooks: type: string enum: - edited - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 repository_ruleset: *339 changes: type: object @@ -230946,16 +230547,16 @@ x-webhooks: properties: added: type: array - items: *629 + items: *627 deleted: type: array - items: *629 + items: *627 updated: type: array items: type: object properties: - rule: *629 + rule: *627 changes: type: object properties: @@ -231189,10 +230790,10 @@ x-webhooks: - from required: - owner - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -231270,10 +230871,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -231351,7 +230952,7 @@ x-webhooks: type: string enum: - create - alert: &816 + alert: &814 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -231473,10 +231074,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -231682,10 +231283,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -231763,11 +231364,11 @@ x-webhooks: type: string enum: - reopen - alert: *816 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *814 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -231966,10 +231567,10 @@ x-webhooks: enum: - fixed - open - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232047,7 +231648,7 @@ x-webhooks: type: string enum: - assigned - alert: &817 + alert: &815 type: object properties: number: *188 @@ -232190,10 +231791,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232271,11 +231872,11 @@ x-webhooks: type: string enum: - created - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *815 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232356,11 +231957,11 @@ x-webhooks: type: string enum: - created - alert: *817 - installation: *756 - location: *818 - organization: *757 - repository: *758 + alert: *815 + installation: *754 + location: *816 + organization: *755 + repository: *756 sender: *4 required: - location @@ -232598,11 +232199,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *815 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232680,11 +232281,11 @@ x-webhooks: type: string enum: - reopened - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *815 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232762,11 +232363,11 @@ x-webhooks: type: string enum: - resolved - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *815 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232844,12 +232445,12 @@ x-webhooks: type: string enum: - unassigned - alert: *817 + alert: *815 assignee: *4 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -232927,11 +232528,11 @@ x-webhooks: type: string enum: - validated - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *815 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -233057,10 +232658,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *758 - enterprise: *755 - installation: *756 - organization: *757 + repository: *756 + enterprise: *753 + installation: *754 + organization: *755 sender: *4 required: - action @@ -233138,11 +232739,11 @@ x-webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - security_advisory: &819 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + security_advisory: &817 description: The details of the security advisory, including summary, description, and severity. type: object @@ -233313,11 +232914,11 @@ x-webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - security_advisory: *819 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 + security_advisory: *817 sender: *4 required: - action @@ -233390,10 +232991,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -233566,10 +233167,10 @@ x-webhooks: type: object properties: security_and_analysis: *312 - enterprise: *755 - installation: *756 - organization: *757 - repository: *360 + enterprise: *753 + installation: *754 + organization: *755 + repository: *357 sender: *4 required: - changes @@ -233647,12 +233248,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: &820 + sponsorship: &818 type: object properties: created_at: @@ -233953,12 +233554,12 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: *820 + sponsorship: *818 required: - action - sponsorship @@ -234046,12 +233647,12 @@ x-webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: *820 + sponsorship: *818 required: - action - changes @@ -234128,17 +233729,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &821 + effective_date: &819 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: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: *820 + sponsorship: *818 required: - action - sponsorship @@ -234212,7 +233813,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &822 + changes: &820 type: object properties: tier: @@ -234256,13 +233857,13 @@ x-webhooks: - from required: - tier - effective_date: *821 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + effective_date: *819 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: *820 + sponsorship: *818 required: - action - changes @@ -234339,13 +233940,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *822 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + changes: *820 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - sponsorship: *820 + sponsorship: *818 required: - action - changes @@ -234419,10 +234020,10 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234505,10 +234106,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234928,15 +234529,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *755 + enterprise: *753 id: description: The unique identifier of the status. type: integer - installation: *756 + installation: *754 name: type: string - organization: *757 - repository: *758 + organization: *755 + repository: *756 sender: *4 sha: description: The Commit SHA. @@ -235051,9 +234652,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -235142,9 +234743,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -235233,9 +234834,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -235324,9 +234925,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *756 - organization: *757 - repository: *758 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -235402,12 +235003,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - team: &823 + team: &821 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -235630,9 +235231,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 repository: title: Repository description: A git repository @@ -236090,7 +235691,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *823 + team: *821 required: - action - team @@ -236166,9 +235767,9 @@ x-webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 repository: title: Repository description: A git repository @@ -236626,7 +236227,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *823 + team: *821 required: - action - team @@ -236703,9 +236304,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 repository: title: Repository description: A git repository @@ -237163,7 +236764,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *823 + team: *821 required: - action - team @@ -237307,9 +236908,9 @@ x-webhooks: - from required: - permissions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 repository: title: Repository description: A git repository @@ -237767,7 +237368,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *823 + team: *821 required: - action - changes @@ -237845,9 +237446,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *753 + installation: *754 + organization: *755 repository: title: Repository description: A git repository @@ -238305,7 +237906,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *823 + team: *821 required: - action - team @@ -238381,10 +237982,10 @@ x-webhooks: type: string enum: - started - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 required: - action @@ -238457,16 +238058,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *755 + enterprise: *753 inputs: type: object nullable: true additionalProperties: true - installation: *756 - organization: *757 + installation: *754 + organization: *755 ref: type: string - repository: *758 + repository: *756 sender: *4 workflow: type: string @@ -238548,10 +238149,10 @@ x-webhooks: type: string enum: - completed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 workflow_job: allOf: @@ -238788,7 +238389,7 @@ x-webhooks: type: string required: - conclusion - deployment: *520 + deployment: *517 required: - action - repository @@ -238867,10 +238468,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 workflow_job: allOf: @@ -239130,7 +238731,7 @@ x-webhooks: required: - status - steps - deployment: *520 + deployment: *517 required: - action - repository @@ -239209,10 +238810,10 @@ x-webhooks: type: string enum: - queued - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 workflow_job: type: object @@ -239347,7 +238948,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *520 + deployment: *517 required: - action - repository @@ -239426,10 +239027,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 workflow_job: type: object @@ -239565,7 +239166,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *520 + deployment: *517 required: - action - repository @@ -239645,12 +239246,12 @@ x-webhooks: type: string enum: - completed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - workflow: *772 + workflow: *770 workflow_run: title: Workflow Run type: object @@ -240649,12 +240250,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - workflow: *772 + workflow: *770 workflow_run: title: Workflow Run type: object @@ -241638,12 +241239,12 @@ x-webhooks: type: string enum: - requested - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *753 + installation: *754 + organization: *755 + repository: *756 sender: *4 - workflow: *772 + workflow: *770 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 41b229c88a..5e0a21ef8d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -103536,7 +103536,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" ], @@ -129046,646 +129046,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -234948,655 +234308,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -242093,7 +240804,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" ], @@ -242260,7 +240971,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -242284,7 +240995,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -242308,7 +241019,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -242332,7 +241043,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -242356,7 +241067,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -242380,7 +241091,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -242488,12 +241199,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -355945,7 +354650,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" } @@ -394153,6 +392858,665 @@ } } }, + "/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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index b796001580..e3bb723403 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1081,7 +1081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &683 + - &681 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -12162,7 +12162,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 - - &511 + - &508 name: has in: query description: |- @@ -12288,7 +12288,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &512 + security_advisory: &509 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12576,14 +12576,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &513 + auto_dismissed_at: &510 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &514 + dismissal_request: &511 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -14271,7 +14271,7 @@ paths: properties: action: type: string - discussion: &776 + discussion: &774 title: Discussion description: A Discussion in a repository. type: object @@ -14638,7 +14638,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &565 + properties: &563 id: type: integer format: int64 @@ -15016,7 +15016,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &694 + sub_issues_summary: &692 title: Sub-issues Summary type: object properties: @@ -15103,7 +15103,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &589 + properties: &587 pinned_at: type: string format: date-time @@ -15115,7 +15115,7 @@ paths: properties: *20 required: *21 nullable: true - required: &590 + required: &588 - pinned_at - pinned_by nullable: true @@ -15129,7 +15129,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &695 + issue_dependencies_summary: &693 title: Issue Dependencies Summary type: object properties: @@ -15148,7 +15148,7 @@ paths: - total_blocking issue_field_values: type: array - items: &573 + items: &571 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15235,7 +15235,7 @@ paths: - node_id - data_type - value - required: &566 + required: &564 - assignee - closed_at - comments @@ -15256,7 +15256,7 @@ paths: - user - created_at - updated_at - x-github-breaking-changes: &567 + x-github-breaking-changes: &565 - changeset: deprecate_beta_media_type patch: properties: @@ -15316,7 +15316,7 @@ paths: action: type: string issue: *88 - comment: &561 + comment: &559 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15980,7 +15980,7 @@ paths: type: string release: allOf: - - &623 + - &621 title: Release description: A release. type: object @@ -16051,7 +16051,7 @@ paths: author: *4 assets: type: array - items: &624 + items: &622 title: Release Asset description: Data related to a release. type: object @@ -16671,7 +16671,7 @@ paths: url: type: string format: uri - user: &701 + user: &699 title: Public User description: Public User type: object @@ -19998,14 +19998,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &359 + - &356 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &360 + - &357 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20067,7 +20067,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &363 + '301': &360 description: Moved permanently content: application/json: @@ -20089,7 +20089,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &599 + - &597 name: all description: If `true`, show notifications marked as read. in: query @@ -20097,7 +20097,7 @@ paths: schema: type: boolean default: false - - &600 + - &598 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20107,7 +20107,7 @@ paths: type: boolean default: false - *95 - - &601 + - &599 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: @@ -20643,7 +20643,7 @@ paths: - url - subscription_url examples: - default: &602 + default: &600 value: - id: '1' repository: @@ -22524,7 +22524,7 @@ paths: parameters: - *78 - *124 - - &752 + - &750 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 @@ -22636,7 +22636,7 @@ paths: - *124 - *125 - *126 - - &753 + - &751 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22644,7 +22644,7 @@ paths: schema: type: string - *129 - - &754 + - &752 name: sku description: The SKU to query for usage. in: query @@ -23574,7 +23574,7 @@ paths: type: integer repository_cache_usages: type: array - items: &370 + items: &367 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24916,7 +24916,7 @@ paths: - all - local_only - selected - selected_actions_url: &375 + selected_actions_url: &372 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` @@ -24999,7 +24999,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &376 type: object properties: days: @@ -25041,7 +25041,7 @@ paths: required: true content: application/json: - schema: &380 + schema: &377 type: object properties: days: @@ -25098,7 +25098,7 @@ paths: required: - approval_policy examples: - default: &381 + default: &378 value: approval_policy: first_time_contributors '404': *6 @@ -25157,7 +25157,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &379 type: object required: - run_workflows_from_fork_pull_requests @@ -25211,7 +25211,7 @@ paths: required: true content: application/json: - schema: &383 + schema: &380 type: object required: - run_workflows_from_fork_pull_requests @@ -25846,7 +25846,7 @@ paths: description: Response content: application/json: - schema: &384 + schema: &381 type: object properties: default_workflow_permissions: &156 @@ -25897,7 +25897,7 @@ paths: required: false content: application/json: - schema: &385 + schema: &382 type: object properties: default_workflow_permissions: *156 @@ -27037,7 +27037,7 @@ paths: application/json: schema: type: array - items: &386 + items: &383 title: Runner Application description: Runner Application type: object @@ -27062,7 +27062,7 @@ paths: - download_url - filename examples: - default: &387 + default: &384 value: - os: osx architecture: x64 @@ -27148,7 +27148,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &388 + '201': &385 description: Response content: application/json: @@ -27259,7 +27259,7 @@ paths: - token - expires_at examples: - default: &389 + default: &386 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27298,7 +27298,7 @@ paths: application/json: schema: *167 examples: - default: &390 + default: &387 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27332,7 +27332,7 @@ paths: application/json: schema: *165 examples: - default: &391 + default: &388 value: id: 23 name: MBP @@ -27559,7 +27559,7 @@ paths: - *78 - *164 responses: - '200': &392 + '200': &389 description: Response content: application/json: @@ -27616,7 +27616,7 @@ paths: parameters: - *78 - *164 - - &393 + - &390 name: name description: The name of a self-hosted runner's custom label. in: path @@ -30066,9 +30066,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 @@ -30185,12 +30185,12 @@ paths: required: - subject_digests examples: - default: &733 + default: &731 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &734 + withPredicateType: &732 value: subject_digests: - sha256:abc123 @@ -30248,7 +30248,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &735 + default: &733 value: attestations_subject_digests: - sha256:abc: @@ -30613,7 +30613,7 @@ paths: initiator: type: string examples: - default: &419 + default: &416 value: attestations: - bundle: @@ -31556,7 +31556,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *78 - - &444 + - &441 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`, @@ -31566,7 +31566,7 @@ paths: schema: &195 type: string description: The name of the tool used to generate the code scanning analysis. - - &445 + - &442 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 @@ -31589,7 +31589,7 @@ paths: be returned. in: query required: false - schema: &447 + schema: &444 type: string description: State of a code scanning alert. enum: @@ -31612,7 +31612,7 @@ paths: be returned. in: query required: false - schema: &448 + schema: &445 type: string description: Severity of a code scanning alert. enum: @@ -31646,7 +31646,7 @@ paths: updated_at: *190 url: *191 html_url: *192 - instances_url: &449 + instances_url: &446 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -31669,7 +31669,7 @@ paths: required: *21 nullable: true dismissed_at: *194 - dismissed_reason: &450 + dismissed_reason: &447 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -31678,13 +31678,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &451 + dismissed_comment: &448 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &452 + rule: &449 type: object properties: id: @@ -31737,7 +31737,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &453 + tool: &450 type: object properties: name: *195 @@ -31747,26 +31747,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *196 - most_recent_instance: &454 + most_recent_instance: &451 type: object properties: - ref: &446 + ref: &443 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &464 + analysis_key: &461 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: &465 + environment: &462 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: &466 + category: &463 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -31786,7 +31786,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: &467 + location: &464 type: object description: Describe a region within a file for the alert. properties: @@ -31807,7 +31807,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: &468 + items: &465 type: string description: A classification of the file. For example to identify it as generated. @@ -33138,7 +33138,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &480 + properties: &477 name: type: string description: The name of the machine. @@ -33180,7 +33180,7 @@ paths: - ready - in_progress nullable: true - required: &481 + required: &478 - name - display_name - operating_system @@ -34048,7 +34048,7 @@ paths: - updated_at - visibility examples: - default: &482 + default: &479 value: total_count: 2 secrets: @@ -34086,7 +34086,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &480 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -34115,7 +34115,7 @@ paths: - key_id - key examples: - default: &484 + default: &481 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34147,7 +34147,7 @@ paths: application/json: schema: *203 examples: - default: &486 + default: &483 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -37126,482 +37126,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: - - *78 - - 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: &352 - 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 - description: Usage metrics for Copilot editor code completions - in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model - (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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: &353 - 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': *55 - '403': *29 - '404': *6 - '422': &354 - 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 @@ -38160,7 +37684,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &514 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38177,7 +37701,7 @@ paths: - key_id - key examples: - default: &518 + default: &515 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39984,7 +39508,7 @@ paths: application/json: schema: *22 examples: - default: &555 + default: &552 value: id: 1 account: @@ -40209,7 +39733,7 @@ paths: required: true content: application/json: - schema: &556 + schema: &553 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -41015,7 +40539,7 @@ paths: type: array items: *258 examples: - default: &559 + default: &557 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -41544,7 +41068,7 @@ paths: application/json: schema: *263 examples: - default: &479 + default: &476 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42810,7 +42334,7 @@ paths: parameters: - *78 - *270 - - &716 + - &714 name: repo_name description: repo_name parameter in: path @@ -43869,7 +43393,7 @@ paths: - nuget - container - *78 - - &717 + - &715 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43910,7 +43434,7 @@ paths: default: *277 '403': *29 '401': *25 - '400': &719 + '400': &717 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46007,7 +45531,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &808 + properties: &806 id: type: number description: The unique identifier of the status update. @@ -46055,7 +45579,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &809 + required: &807 - id - node_id - created_at @@ -46269,7 +45793,7 @@ paths: content: oneOf: - *88 - - &496 + - &493 title: Pull Request Simple description: Pull Request Simple type: object @@ -46495,7 +46019,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &609 + auto_merge: &607 title: Auto merge description: The status of auto merging a pull request. type: object @@ -46945,7 +46469,7 @@ paths: - updated_at - project_url examples: - default: &739 + default: &737 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47122,7 +46646,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &740 + items: &738 type: object properties: name: @@ -47159,7 +46683,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &741 + iteration_configuration: &739 type: object description: The configuration for iteration fields. properties: @@ -47209,7 +46733,7 @@ paths: value: name: Due date data_type: date - single_select_field: &742 + single_select_field: &740 summary: Create a single select field value: name: Priority @@ -47236,7 +46760,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &743 + iteration_field: &741 summary: Create an iteration field value: name: Sprint @@ -47262,7 +46786,7 @@ paths: application/json: schema: *298 examples: - text_field: &744 + text_field: &742 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47271,7 +46795,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: &745 + number_field: &743 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47280,7 +46804,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: &746 + date_field: &744 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47289,7 +46813,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: &747 + single_select_field: &745 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47323,7 +46847,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &748 + iteration_field: &746 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47369,7 +46893,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *294 - - &749 + - &747 name: field_id description: The unique identifier of the field. in: path @@ -47384,7 +46908,7 @@ paths: application/json: schema: *298 examples: - default: &750 + default: &748 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48581,7 +48105,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &730 + schema: &728 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48758,7 +48282,7 @@ paths: parameters: - *294 - *78 - - &751 + - &749 name: view_number description: The number that identifies the project view. in: path @@ -49695,7 +49219,7 @@ paths: description: Response content: application/json: - schema: &362 + schema: &359 title: Full Repository description: Full Repository type: object @@ -50100,7 +49624,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &501 + properties: &498 url: type: string format: uri @@ -50116,7 +49640,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &502 + required: &499 - url - key - name @@ -50216,7 +49740,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &364 + default: &361 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50749,7 +50273,7 @@ paths: - *78 - *17 - *19 - - &631 + - &629 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51031,7 +50555,7 @@ paths: - repository_property rules: type: array - items: &632 + items: &630 title: Repository Rule type: object description: A repository rule. @@ -51093,7 +50617,7 @@ paths: type: string enum: - required_linear_history - - &630 + - &628 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51995,7 +51519,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &633 + - &631 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 @@ -52010,7 +51534,7 @@ paths: in: query schema: type: string - - &634 + - &632 name: time_period description: |- The time period to filter by. @@ -52026,14 +51550,14 @@ paths: - week - month default: day - - &635 + - &633 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 - - &636 + - &634 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52046,7 +51570,7 @@ paths: - bypass - all default: all - - &637 + - &635 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. @@ -52069,7 +51593,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &636 title: Rule Suites description: Response type: array @@ -52124,7 +51648,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &639 + default: &637 value: - id: 21 actor_id: 12 @@ -52168,7 +51692,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &640 + - &638 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52184,7 +51708,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &639 title: Rule Suite description: Response type: object @@ -52283,7 +51807,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &642 + default: &640 value: id: 21 actor_id: 12 @@ -52530,7 +52054,7 @@ paths: type: string format: date-time examples: - default: &644 + default: &642 value: - version_id: 3 actor: @@ -52583,7 +52107,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &643 allOf: - *344 - type: object @@ -52655,7 +52179,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - &646 + - &644 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52666,7 +52190,7 @@ paths: enum: - open - resolved - - &647 + - &645 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52676,7 +52200,7 @@ paths: required: false schema: type: string - - &648 + - &646 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52687,7 +52211,7 @@ paths: required: false schema: type: string - - &649 + - &647 name: exclude_providers in: query description: |- @@ -52698,7 +52222,7 @@ paths: required: false schema: type: string - - &650 + - &648 name: providers in: query description: |- @@ -52709,7 +52233,7 @@ paths: required: false schema: type: string - - &651 + - &649 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -52718,7 +52242,7 @@ paths: required: false schema: type: string - - &652 + - &650 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52737,7 +52261,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &653 + - &651 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. @@ -52752,7 +52276,7 @@ paths: - *62 - *19 - *17 - - &654 + - &652 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 @@ -52762,7 +52286,7 @@ paths: required: false schema: type: string - - &655 + - &653 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 @@ -52772,7 +52296,7 @@ paths: required: false schema: type: string - - &656 + - &654 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -52781,7 +52305,7 @@ paths: required: false schema: type: string - - &657 + - &655 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -52790,7 +52314,7 @@ paths: schema: type: boolean default: false - - &658 + - &656 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52799,7 +52323,7 @@ paths: schema: type: boolean default: false - - &659 + - &657 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52808,7 +52332,7 @@ paths: schema: type: boolean default: false - - &660 + - &658 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52845,14 +52369,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &661 + state: &659 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: &662 + resolution: &660 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -52969,8 +52493,8 @@ paths: pull request. ' - oneOf: &663 - - &665 + oneOf: &661 + - &663 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53028,7 +52552,7 @@ paths: - blob_url - commit_sha - commit_url - - &666 + - &664 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. @@ -53083,7 +52607,7 @@ paths: - page_url - commit_sha - commit_url - - &667 + - &665 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53103,7 +52627,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &668 + - &666 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53123,7 +52647,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &669 + - &667 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53143,7 +52667,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &670 + - &668 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53157,7 +52681,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &671 + - &669 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53171,7 +52695,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &672 + - &670 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53185,7 +52709,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &673 + - &671 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. @@ -53205,7 +52729,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &674 + - &672 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. @@ -53225,7 +52749,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &675 + - &673 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. @@ -53245,7 +52769,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &676 + - &674 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. @@ -53265,7 +52789,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &677 + - &675 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 request. @@ -53784,7 +53308,7 @@ paths: application/json: schema: type: array - items: &681 + items: &679 description: A repository security advisory. type: object properties: @@ -54107,7 +53631,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &682 + default: &680 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55218,75 +54742,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: - - *78 - - *80 - - 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: *352 - examples: - default: *353 - '500': *55 - '403': *29 - '404': *6 - '422': *354 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -55417,7 +54872,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &352 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55744,7 +55199,7 @@ paths: - repos_count - organization examples: - default: &356 + default: &353 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55832,9 +55287,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *352 examples: - default: *356 + default: *353 '404': *6 x-github: githubCloudOnly: false @@ -55918,16 +55373,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *355 + schema: *352 examples: - default: *356 + default: *353 '201': description: Response content: application/json: - schema: *355 + schema: *352 examples: - default: *356 + default: *353 '404': *6 '422': *15 '403': *29 @@ -55957,7 +55412,7 @@ paths: responses: '204': description: Response - '422': &357 + '422': &354 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -55996,7 +55451,7 @@ paths: default: *253 headers: Link: *70 - '422': *357 + '422': *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56078,7 +55533,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &355 title: Team Membership description: Team Membership type: object @@ -56105,7 +55560,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &697 + response-if-user-is-a-team-maintainer: &695 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56168,9 +55623,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *355 examples: - response-if-users-membership-with-team-is-now-pending: &698 + response-if-users-membership-with-team-is-now-pending: &696 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56277,14 +55732,14 @@ paths: parameters: - *78 - *80 - - *359 - - *360 + - *356 + - *357 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &699 + schema: &697 title: Team Repository description: A team's access to a repository. type: object @@ -56940,8 +56395,8 @@ paths: parameters: - *78 - *80 - - *359 - - *360 + - *356 + - *357 requestBody: required: false content: @@ -56988,8 +56443,8 @@ paths: parameters: - *78 - *80 - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -57026,7 +56481,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: &700 + response-if-child-teams-exist: &698 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57154,7 +56609,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)." @@ -57180,7 +56634,7 @@ paths: resources: type: object properties: - core: &361 + core: &358 title: Rate Limit type: object properties: @@ -57197,21 +56651,21 @@ paths: - remaining - reset - used - graphql: *361 - search: *361 - code_search: *361 - source_import: *361 - integration_manifest: *361 - code_scanning_upload: *361 - actions_runner_registration: *361 - scim: *361 - dependency_snapshots: *361 - dependency_sbom: *361 - code_scanning_autofix: *361 + graphql: *358 + search: *358 + code_search: *358 + source_import: *358 + integration_manifest: *358 + actions_runner_registration: *358 + scim: *358 + dependency_snapshots: *358 + dependency_sbom: *358 + code_scanning_autofix: *358 + copilot_usage_records: *358 required: - core - search - rate: *361 + rate: *358 required: - rate - resources @@ -57252,11 +56706,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 @@ -57330,14 +56779,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: *362 + schema: *359 examples: default-response: summary: Default response @@ -57848,7 +57297,7 @@ paths: version: '2026-03-10' '403': *29 '404': *6 - '301': *363 + '301': *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57866,8 +57315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: false content: @@ -58177,10 +57626,10 @@ paths: description: Response content: application/json: - schema: *362 + schema: *359 examples: - default: *364 - '307': &365 + default: *361 + '307': &362 description: Temporary Redirect content: application/json: @@ -58209,8 +57658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -58232,7 +57681,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *365 + '307': *362 '404': *6 '409': *54 x-github: @@ -58256,11 +57705,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 - - &397 + - &394 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -58283,7 +57732,7 @@ paths: type: integer artifacts: type: array - items: &366 + items: &363 title: Artifact description: An artifact type: object @@ -58361,7 +57810,7 @@ paths: - expires_at - updated_at examples: - default: &398 + default: &395 value: total_count: 2 artifacts: @@ -58422,9 +57871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *359 - - *360 - - &367 + - *356 + - *357 + - &364 name: artifact_id description: The unique identifier of the artifact. in: path @@ -58436,7 +57885,7 @@ paths: description: Response content: application/json: - schema: *366 + schema: *363 examples: default: value: @@ -58474,9 +57923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *359 - - *360 - - *367 + - *356 + - *357 + - *364 responses: '204': description: Response @@ -58500,9 +57949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *359 - - *360 - - *367 + - *356 + - *357 + - *364 - name: archive_format in: path required: true @@ -58512,11 +57961,11 @@ paths: '302': description: Response headers: - Location: &520 + Location: &517 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': &560 + '410': &558 description: Gone content: application/json: @@ -58541,14 +57990,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: &368 + schema: &365 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -58581,13 +58030,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: application/json: - schema: *368 + schema: *365 examples: selected_actions: *42 responses: @@ -58616,14 +58065,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: &369 + schema: &366 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -58656,13 +58105,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: application/json: - schema: *369 + schema: *366 examples: selected_actions: *44 responses: @@ -58693,14 +58142,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: default: value: @@ -58726,11 +58175,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 - - &371 + - &368 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 @@ -58764,7 +58213,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &369 title: Repository actions caches description: Repository actions caches type: object @@ -58806,7 +58255,7 @@ paths: - total_count - actions_caches examples: - default: &373 + default: &370 value: total_count: 1 actions_caches: @@ -58838,23 +58287,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: - - *359 - - *360 + - *356 + - *357 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *371 + - *368 responses: '200': description: Response content: application/json: - schema: *372 + schema: *369 examples: - default: *373 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58874,8 +58323,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: - - *359 - - *360 + - *356 + - *357 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -58904,8 +58353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *48 responses: @@ -58987,8 +58436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -59140,9 +58589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *359 - - *360 - - &374 + - *356 + - *357 + - &371 name: job_id description: The unique identifier of the job. in: path @@ -59154,7 +58603,7 @@ paths: description: Response content: application/json: - schema: &401 + schema: &398 title: Job description: Information of a job execution in a workflow run type: object @@ -59461,9 +58910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *359 - - *360 - - *374 + - *356 + - *357 + - *371 responses: '302': description: Response @@ -59491,9 +58940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *359 - - *360 - - *374 + - *356 + - *357 + - *371 requestBody: required: false content: @@ -59543,8 +58992,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: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Status response @@ -59603,8 +59052,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: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -59672,8 +59121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -59691,7 +59140,7 @@ paths: type: integer secrets: type: array - items: &403 + items: &400 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59711,7 +59160,7 @@ paths: - created_at - updated_at examples: - default: &404 + default: &401 value: total_count: 2 secrets: @@ -59744,8 +59193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *359 - - *360 + - *356 + - *357 - *180 - *19 responses: @@ -59763,7 +59212,7 @@ paths: type: integer variables: type: array - items: &405 + items: &402 title: Actions Variable type: object properties: @@ -59793,7 +59242,7 @@ paths: - created_at - updated_at examples: - default: &406 + default: &403 value: total_count: 2 variables: @@ -59826,8 +59275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -59836,11 +59285,11 @@ paths: schema: type: object properties: - enabled: &376 + enabled: &373 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *148 - selected_actions_url: *375 + selected_actions_url: *372 sha_pinning_required: *149 required: - enabled @@ -59869,8 +59318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -59881,7 +59330,7 @@ paths: schema: type: object properties: - enabled: *376 + enabled: *373 allowed_actions: *148 sha_pinning_required: *149 required: @@ -59913,14 +59362,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: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: &377 + schema: &374 type: object properties: access_level: @@ -59937,7 +59386,7 @@ paths: required: - access_level examples: - default: &378 + default: &375 value: access_level: organization x-github: @@ -59961,15 +59410,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: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: application/json: - schema: *377 + schema: *374 examples: - default: *378 + default: *375 responses: '204': description: Response @@ -59993,14 +59442,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: *379 + schema: *376 examples: default: value: @@ -60024,8 +59473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Empty response for successful settings update @@ -60035,7 +59484,7 @@ paths: required: true content: application/json: - schema: *380 + schema: *377 examples: default: summary: Set retention days @@ -60059,8 +59508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -60068,7 +59517,7 @@ paths: application/json: schema: *150 examples: - default: *381 + default: *378 '404': *6 x-github: enabledForGitHubApps: true @@ -60087,8 +59536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -60122,14 +59571,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: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: *382 + schema: *379 examples: default: *151 '403': *29 @@ -60151,13 +59600,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: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: application/json: - schema: *383 + schema: *380 examples: default: *151 responses: @@ -60183,8 +59632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -60211,8 +59660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -60244,14 +59693,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: default: *158 x-github: @@ -60274,8 +59723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Success response @@ -60286,7 +59735,7 @@ paths: required: true content: application/json: - schema: *385 + schema: *382 examples: default: *158 x-github: @@ -60315,8 +59764,8 @@ paths: in: query schema: type: string - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -60360,8 +59809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -60369,9 +59818,9 @@ paths: application/json: schema: type: array - items: *386 + items: *383 examples: - default: *387 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60393,8 +59842,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: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -60437,7 +59886,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *388 + '201': *385 '404': *6 '422': *7 '409': *54 @@ -60468,8 +59917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '201': description: Response @@ -60477,7 +59926,7 @@ paths: application/json: schema: *167 examples: - default: *389 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60505,8 +59954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '201': description: Response @@ -60514,7 +59963,7 @@ paths: application/json: schema: *167 examples: - default: *390 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60536,8 +59985,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: - - *359 - - *360 + - *356 + - *357 - *164 responses: '200': @@ -60546,7 +59995,7 @@ paths: application/json: schema: *165 examples: - default: *391 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60567,8 +60016,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: - - *359 - - *360 + - *356 + - *357 - *164 responses: '204': @@ -60595,8 +60044,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: - - *359 - - *360 + - *356 + - *357 - *164 responses: '200': *169 @@ -60621,8 +60070,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: - - *359 - - *360 + - *356 + - *357 - *164 requestBody: required: true @@ -60671,8 +60120,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: - - *359 - - *360 + - *356 + - *357 - *164 requestBody: required: true @@ -60722,11 +60171,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: - - *359 - - *360 + - *356 + - *357 - *164 responses: - '200': *392 + '200': *389 '404': *6 x-github: githubCloudOnly: false @@ -60753,10 +60202,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: - - *359 - - *360 + - *356 + - *357 - *164 - - *393 + - *390 responses: '200': *169 '404': *6 @@ -60784,9 +60233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *359 - - *360 - - &409 + - *356 + - *357 + - &406 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. @@ -60794,7 +60243,7 @@ paths: required: false schema: type: string - - &410 + - &407 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -60802,7 +60251,7 @@ paths: required: false schema: type: string - - &411 + - &408 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -60811,7 +60260,7 @@ paths: required: false schema: type: string - - &412 + - &409 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 @@ -60838,7 +60287,7 @@ paths: - pending - *17 - *19 - - &413 + - &410 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)." @@ -60847,7 +60296,7 @@ paths: schema: type: string format: date-time - - &394 + - &391 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -60856,13 +60305,13 @@ paths: schema: type: boolean default: false - - &414 + - &411 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &415 + - &412 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -60885,7 +60334,7 @@ paths: type: integer workflow_runs: type: array - items: &395 + items: &392 title: Workflow Run description: An invocation of a workflow type: object @@ -61033,7 +60482,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &439 + properties: &436 id: type: string description: SHA for the commit @@ -61084,7 +60533,7 @@ paths: - name - email nullable: true - required: &440 + required: &437 - id - tree_id - message @@ -61131,7 +60580,7 @@ paths: - workflow_url - pull_requests examples: - default: &416 + default: &413 value: total_count: 1 workflow_runs: @@ -61367,24 +60816,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *359 - - *360 - - &396 + - *356 + - *357 + - &393 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *395 + schema: *392 examples: - default: &399 + default: &396 value: id: 30433642 name: Build @@ -61625,9 +61074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 responses: '204': description: Response @@ -61650,9 +61099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 responses: '200': description: Response @@ -61771,9 +61220,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: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 responses: '201': description: Response @@ -61806,12 +61255,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 - *17 - *19 - - *397 + - *394 - *62 responses: '200': @@ -61828,9 +61277,9 @@ paths: type: integer artifacts: type: array - items: *366 + items: *363 examples: - default: *398 + default: *395 headers: Link: *70 x-github: @@ -61854,25 +61303,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *359 - - *360 - - *396 - - &400 + - *356 + - *357 + - *393 + - &397 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *395 + schema: *392 examples: - default: *399 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61895,10 +61344,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *359 - - *360 - - *396 - - *400 + - *356 + - *357 + - *393 + - *397 - *17 - *19 responses: @@ -61916,9 +61365,9 @@ paths: type: integer jobs: type: array - items: *401 + items: *398 examples: - default: &402 + default: &399 value: total_count: 1 jobs: @@ -62031,10 +61480,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *359 - - *360 - - *396 - - *400 + - *356 + - *357 + - *393 + - *397 responses: '302': description: Response @@ -62062,9 +61511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 responses: '202': description: Response @@ -62110,9 +61559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 - *17 - *47 - *48 @@ -62283,9 +61732,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: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 requestBody: required: true content: @@ -62352,9 +61801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 responses: '202': description: Response @@ -62387,9 +61836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 - 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 @@ -62419,9 +61868,9 @@ paths: type: integer jobs: type: array - items: *401 + items: *398 examples: - default: *402 + default: *399 headers: Link: *70 x-github: @@ -62446,9 +61895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 responses: '302': description: Response @@ -62475,9 +61924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 responses: '204': description: Response @@ -62504,9 +61953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 responses: '200': description: Response @@ -62566,7 +62015,7 @@ paths: items: type: object properties: - type: &527 + type: &524 type: string description: The type of reviewer. enum: @@ -62651,9 +62100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 requestBody: required: true content: @@ -62700,12 +62149,12 @@ paths: application/json: schema: type: array - items: &522 + items: &519 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &770 + properties: &768 url: type: string format: uri @@ -62790,7 +62239,7 @@ paths: nullable: true properties: *83 required: *84 - required: &771 + required: &769 - id - node_id - sha @@ -62806,7 +62255,7 @@ paths: - created_at - updated_at examples: - default: &523 + default: &520 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -62862,9 +62311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 requestBody: required: false content: @@ -62908,9 +62357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 requestBody: required: false content: @@ -62963,9 +62412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *359 - - *360 - - *396 + - *356 + - *357 + - *393 responses: '200': description: Response @@ -63102,8 +62551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -63121,9 +62570,9 @@ paths: type: integer secrets: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -63148,8 +62597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -63179,17 +62628,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 responses: '200': description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: &417 + default: &414 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -63215,8 +62664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 requestBody: required: true @@ -63274,8 +62723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 responses: '204': @@ -63301,8 +62750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *359 - - *360 + - *356 + - *357 - *180 - *19 responses: @@ -63320,9 +62769,9 @@ paths: type: integer variables: type: array - items: *405 + items: *402 examples: - default: *406 + default: *403 headers: Link: *70 x-github: @@ -63345,8 +62794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -63398,17 +62847,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *359 - - *360 + - *356 + - *357 - *174 responses: '200': description: Response content: application/json: - schema: *405 + schema: *402 examples: - default: &418 + default: &415 value: name: USERNAME value: octocat @@ -63434,8 +62883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *359 - - *360 + - *356 + - *357 - *174 requestBody: required: true @@ -63478,8 +62927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *359 - - *360 + - *356 + - *357 - *174 responses: '204': @@ -63505,8 +62954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -63524,7 +62973,7 @@ paths: type: integer workflows: type: array - items: &407 + items: &404 title: Workflow description: A GitHub Actions workflow type: object @@ -63631,9 +63080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *359 - - *360 - - &408 + - *356 + - *357 + - &405 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -63648,7 +63097,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *404 examples: default: value: @@ -63681,9 +63130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *359 - - *360 - - *408 + - *356 + - *357 + - *405 responses: '204': description: Response @@ -63708,9 +63157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *359 - - *360 - - *408 + - *356 + - *357 + - *405 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -63808,9 +63257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *359 - - *360 - - *408 + - *356 + - *357 + - *405 responses: '204': description: Response @@ -63837,19 +63286,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *359 - - *360 + - *356 + - *357 + - *405 + - *406 + - *407 - *408 - *409 + - *17 + - *19 - *410 + - *391 - *411 - *412 - - *17 - - *19 - - *413 - - *394 - - *414 - - *415 responses: '200': description: Response @@ -63865,9 +63314,9 @@ paths: type: integer workflow_runs: type: array - items: *395 + items: *392 examples: - default: *416 + default: *413 headers: Link: *70 x-github: @@ -63899,9 +63348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *359 - - *360 - - *408 + - *356 + - *357 + - *405 responses: '200': description: Response @@ -63962,8 +63411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *359 - - *360 + - *356 + - *357 - *62 - *17 - *47 @@ -64132,8 +63581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -64151,9 +63600,9 @@ paths: type: integer secrets: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -64177,8 +63626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *359 - - *360 + - *356 + - *357 - *180 - *19 responses: @@ -64196,9 +63645,9 @@ paths: type: integer variables: type: array - items: *405 + items: *402 examples: - default: *406 + default: *403 headers: Link: *70 x-github: @@ -64223,8 +63672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -64242,9 +63691,9 @@ paths: type: integer secrets: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -64269,8 +63718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -64300,17 +63749,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 responses: '200': description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: *417 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64332,8 +63781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 requestBody: required: true @@ -64391,8 +63840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 responses: '204': @@ -64418,8 +63867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *359 - - *360 + - *356 + - *357 - *180 - *19 responses: @@ -64437,9 +63886,9 @@ paths: type: integer variables: type: array - items: *405 + items: *402 examples: - default: *406 + default: *403 headers: Link: *70 x-github: @@ -64462,8 +63911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -64515,17 +63964,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *359 - - *360 + - *356 + - *357 - *174 responses: '200': description: Response content: application/json: - schema: *405 + schema: *402 examples: - default: *418 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64546,8 +63995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *359 - - *360 + - *356 + - *357 - *174 requestBody: required: true @@ -64590,8 +64039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *359 - - *360 + - *356 + - *357 - *174 responses: '204': @@ -64613,8 +64062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -64651,8 +64100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *359 - - *360 + - *356 + - *357 - name: assignee in: path required: true @@ -64688,8 +64137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -64799,8 +64248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *47 - *48 @@ -64857,7 +64306,7 @@ paths: initiator: type: string examples: - default: *419 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64891,8 +64340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -64900,7 +64349,7 @@ paths: application/json: schema: type: array - items: &420 + items: &417 title: Autolink reference description: An autolink reference. type: object @@ -64954,8 +64403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -64994,9 +64443,9 @@ paths: description: response content: application/json: - schema: *420 + schema: *417 examples: - default: &421 + default: &418 value: id: 1 key_prefix: TICKET- @@ -65027,9 +64476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *359 - - *360 - - &422 + - *356 + - *357 + - &419 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65041,9 +64490,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *417 examples: - default: *421 + default: *418 '404': *6 x-github: githubCloudOnly: false @@ -65063,9 +64512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *359 - - *360 - - *422 + - *356 + - *357 + - *419 responses: '204': description: Response @@ -65089,8 +64538,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: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response if Dependabot is enabled @@ -65138,8 +64587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -65160,8 +64609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -65181,8 +64630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *359 - - *360 + - *356 + - *357 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -65220,7 +64669,7 @@ paths: - url protected: type: boolean - protection: &424 + protection: &421 title: Branch Protection description: Branch Protection type: object @@ -65262,7 +64711,7 @@ paths: required: - contexts - checks - enforce_admins: &427 + enforce_admins: &424 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65277,7 +64726,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &429 + required_pull_request_reviews: &426 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -65353,7 +64802,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &426 + restrictions: &423 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65630,9 +65079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *359 - - *360 - - &425 + - *356 + - *357 + - &422 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). @@ -65646,14 +65095,14 @@ paths: description: Response content: application/json: - schema: &435 + schema: &432 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &492 + commit: &489 title: Commit description: Commit type: object @@ -65687,7 +65136,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &423 + properties: &420 name: type: string example: '"Chris Wanstrath"' @@ -65703,7 +65152,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *423 + properties: *420 nullable: true message: type: string @@ -65724,7 +65173,7 @@ paths: required: - sha - url - verification: &545 + verification: &542 title: Verification type: object properties: @@ -65794,7 +65243,7 @@ paths: type: integer files: type: array - items: &505 + items: &502 title: Diff Entry description: Diff Entry type: object @@ -65878,7 +65327,7 @@ paths: - self protected: type: boolean - protection: *424 + protection: *421 protection_url: type: string format: uri @@ -65985,7 +65434,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *363 + '301': *360 '404': *6 x-github: githubCloudOnly: false @@ -66007,15 +65456,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response content: application/json: - schema: *424 + schema: *421 examples: default: value: @@ -66209,9 +65658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: true content: @@ -66466,7 +65915,7 @@ paths: url: type: string format: uri - required_status_checks: &432 + required_status_checks: &429 title: Status Check Policy description: Status Check Policy type: object @@ -66618,7 +66067,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *426 + restrictions: *423 required_conversation_resolution: type: object properties: @@ -66730,9 +66179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '204': description: Response @@ -66757,17 +66206,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: &428 + default: &425 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -66789,17 +66238,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: *428 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66818,9 +66267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '204': description: Response @@ -66845,17 +66294,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response content: application/json: - schema: *429 + schema: *426 examples: - default: &430 + default: &427 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -66951,9 +66400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: false content: @@ -67051,9 +66500,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *426 examples: - default: *430 + default: *427 '422': *15 x-github: githubCloudOnly: false @@ -67074,9 +66523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '204': description: Response @@ -67103,17 +66552,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: &431 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67136,17 +66585,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: *431 + default: *428 '404': *6 x-github: githubCloudOnly: false @@ -67166,9 +66615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '204': description: Response @@ -67193,17 +66642,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: &433 + default: &430 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67229,9 +66678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: false content: @@ -67283,9 +66732,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: *433 + default: *430 '404': *6 '422': *15 x-github: @@ -67307,9 +66756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '204': description: Response @@ -67333,9 +66782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response @@ -67369,9 +66818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: false content: @@ -67438,9 +66887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: false content: @@ -67504,9 +66953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: content: application/json: @@ -67572,15 +67021,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response content: application/json: - schema: *426 + schema: *423 examples: default: value: @@ -67671,9 +67120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '204': description: Response @@ -67696,9 +67145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response @@ -67708,7 +67157,7 @@ paths: type: array items: *5 examples: - default: &434 + default: &431 value: - id: 1 slug: octoapp @@ -67765,9 +67214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: true content: @@ -67801,7 +67250,7 @@ paths: type: array items: *5 examples: - default: *434 + default: *431 '422': *15 x-github: githubCloudOnly: false @@ -67822,9 +67271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: true content: @@ -67858,7 +67307,7 @@ paths: type: array items: *5 examples: - default: *434 + default: *431 '422': *15 x-github: githubCloudOnly: false @@ -67879,9 +67328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: true content: @@ -67915,7 +67364,7 @@ paths: type: array items: *5 examples: - default: *434 + default: *431 '422': *15 x-github: githubCloudOnly: false @@ -67937,9 +67386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response @@ -67969,9 +67418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: false content: @@ -68030,9 +67479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: false content: @@ -68091,9 +67540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: content: application/json: @@ -68152,9 +67601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 responses: '200': description: Response @@ -68188,9 +67637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: true content: @@ -68248,9 +67697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: true content: @@ -68308,9 +67757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: true content: @@ -68370,9 +67819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 requestBody: required: true content: @@ -68394,7 +67843,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *432 examples: default: value: @@ -68510,8 +67959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -68790,7 +68239,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &433 title: CheckRun description: A check performed on the code of a given code change type: object @@ -68910,7 +68359,7 @@ paths: check. type: array items: *93 - deployment: &763 + deployment: &761 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69190,9 +68639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *359 - - *360 - - &437 + - *356 + - *357 + - &434 name: check_run_id description: The unique identifier of the check run. in: path @@ -69204,9 +68653,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *433 examples: - default: &438 + default: &435 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -69306,9 +68755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *359 - - *360 - - *437 + - *356 + - *357 + - *434 requestBody: required: true content: @@ -69548,9 +68997,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *433 examples: - default: *438 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69570,9 +69019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *359 - - *360 - - *437 + - *356 + - *357 + - *434 - *17 - *19 responses: @@ -69667,9 +69116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *359 - - *360 - - *437 + - *356 + - *357 + - *434 responses: '201': description: Response @@ -69713,8 +69162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -69736,7 +69185,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &441 + schema: &438 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -69822,12 +69271,12 @@ paths: type: string format: date-time nullable: true - head_commit: &791 + head_commit: &789 title: Simple Commit description: A commit. type: object - properties: *439 - required: *440 + properties: *436 + required: *437 latest_check_runs_count: type: integer check_runs_url: @@ -69855,7 +69304,7 @@ paths: - check_runs_url - pull_requests examples: - default: &442 + default: &439 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70146,9 +69595,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *441 + schema: *438 examples: - default: *442 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70167,8 +69616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -70477,9 +69926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *359 - - *360 - - &443 + - *356 + - *357 + - &440 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -70491,9 +69940,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: - default: *442 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70516,17 +69965,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *359 - - *360 - - *443 - - &498 + - *356 + - *357 + - *440 + - &495 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &499 + - &496 name: status description: Returns check runs with the specified `status`. in: query @@ -70565,9 +70014,9 @@ paths: type: integer check_runs: type: array - items: *436 + items: *433 examples: - default: &500 + default: &497 value: total_count: 1 check_runs: @@ -70669,9 +70118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *359 - - *360 - - *443 + - *356 + - *357 + - *440 responses: '201': description: Response @@ -70700,8 +70149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -70791,8 +70240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -70920,21 +70369,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *359 - - *360 - - *444 - - *445 + - *356 + - *357 + - *441 + - *442 - *19 - *17 - - &462 + - &459 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: *446 - - &463 + schema: *443 + - &460 name: pr description: The number of the pull request for the results you want to list. in: query @@ -70959,13 +70408,13 @@ paths: be returned. in: query required: false - schema: *447 + schema: *444 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *448 + schema: *445 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -70989,7 +70438,7 @@ paths: updated_at: *190 url: *191 html_url: *192 - instances_url: *449 + instances_url: *446 state: *197 fixed_at: *193 dismissed_by: @@ -71000,11 +70449,11 @@ paths: required: *21 nullable: true dismissed_at: *194 - dismissed_reason: *450 - dismissed_comment: *451 - rule: *452 - tool: *453 - most_recent_instance: *454 + dismissed_reason: *447 + dismissed_comment: *448 + rule: *449 + tool: *450 + most_recent_instance: *451 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71130,7 +70579,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &455 + '403': &452 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -71157,9 +70606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *359 - - *360 - - &456 + - *356 + - *357 + - &453 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71173,7 +70622,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &454 type: object properties: number: *188 @@ -71181,7 +70630,7 @@ paths: updated_at: *190 url: *191 html_url: *192 - instances_url: *449 + instances_url: *446 state: *197 fixed_at: *193 dismissed_by: @@ -71192,8 +70641,8 @@ paths: required: *21 nullable: true dismissed_at: *194 - dismissed_reason: *450 - dismissed_comment: *451 + dismissed_reason: *447 + dismissed_comment: *448 rule: type: object properties: @@ -71247,8 +70696,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *453 - most_recent_instance: *454 + tool: *450 + most_recent_instance: *451 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71347,7 +70796,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *455 + '403': *452 '404': *6 '503': *122 x-github: @@ -71367,9 +70816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *359 - - *360 - - *456 + - *356 + - *357 + - *453 requestBody: required: true content: @@ -71384,8 +70833,8 @@ paths: enum: - open - dismissed - dismissed_reason: *450 - dismissed_comment: *451 + dismissed_reason: *447 + dismissed_comment: *448 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71413,7 +70862,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *454 examples: default: value: @@ -71489,7 +70938,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &461 + '403': &458 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -71516,15 +70965,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: - - *359 - - *360 - - *456 + - *356 + - *357 + - *453 responses: '200': description: Response content: application/json: - schema: &458 + schema: &455 type: object properties: status: @@ -71550,13 +70999,13 @@ paths: - description - started_at examples: - default: &459 + default: &456 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &460 + '400': &457 description: Bad Request content: application/json: @@ -71567,7 +71016,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': *455 + '403': *452 '404': *6 '503': *122 x-github: @@ -71592,29 +71041,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: - - *359 - - *360 - - *456 + - *356 + - *357 + - *453 responses: '200': description: OK content: application/json: - schema: *458 + schema: *455 examples: - default: *459 + default: *456 '202': description: Accepted content: application/json: - schema: *458 + schema: *455 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *460 + '400': *457 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -71646,9 +71095,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: - - *359 - - *360 - - *456 + - *356 + - *357 + - *453 requestBody: required: false content: @@ -71693,8 +71142,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *460 - '403': *461 + '400': *457 + '403': *458 '404': *6 '422': description: Unprocessable Entity @@ -71718,13 +71167,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *359 - - *360 - - *456 + - *356 + - *357 + - *453 - *19 - *17 - - *462 - - *463 + - *459 + - *460 responses: '200': description: Response @@ -71735,10 +71184,10 @@ paths: items: type: object properties: - ref: *446 - analysis_key: *464 - environment: *465 - category: *466 + ref: *443 + analysis_key: *461 + environment: *462 + category: *463 state: type: string description: State of a code scanning alert instance. @@ -71753,7 +71202,7 @@ paths: properties: text: type: string - location: *467 + location: *464 html_url: type: string classifications: @@ -71761,7 +71210,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: *468 + items: *465 examples: default: value: @@ -71798,7 +71247,7 @@ paths: end_column: 50 classifications: - source - '403': *455 + '403': *452 '404': *6 '503': *122 x-github: @@ -71832,25 +71281,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *359 - - *360 - - *444 - - *445 + - *356 + - *357 + - *441 + - *442 - *19 - *17 - - *463 + - *460 - 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: *446 + schema: *443 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &469 + schema: &466 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -71871,23 +71320,23 @@ paths: application/json: schema: type: array - items: &470 + items: &467 type: object properties: - ref: *446 - commit_sha: &478 + ref: *443 + commit_sha: &475 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: *464 + analysis_key: *461 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *466 + category: *463 error: type: string example: error reading field xyz @@ -71911,8 +71360,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *469 - tool: *453 + sarif_id: *466 + tool: *450 deletable: type: boolean warning: @@ -71973,7 +71422,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *455 + '403': *452 '404': *6 '503': *122 x-github: @@ -72009,8 +71458,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: - - *359 - - *360 + - *356 + - *357 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72023,7 +71472,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *467 examples: response: summary: application/json response @@ -72077,7 +71526,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *455 + '403': *452 '404': *6 '422': description: Response if analysis could not be processed @@ -72164,8 +71613,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: - - *359 - - *360 + - *356 + - *357 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72218,7 +71667,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': *461 + '403': *458 '404': *6 '503': *122 x-github: @@ -72240,8 +71689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -72249,7 +71698,7 @@ paths: application/json: schema: type: array - items: &471 + items: &468 title: CodeQL Database description: A CodeQL database. type: object @@ -72360,7 +71809,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': *455 + '403': *452 '404': *6 '503': *122 x-github: @@ -72389,8 +71838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - name: language in: path description: The language of the CodeQL database. @@ -72402,7 +71851,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *468 examples: default: value: @@ -72434,9 +71883,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': &509 + '302': &506 description: Found - '403': *455 + '403': *452 '404': *6 '503': *122 x-github: @@ -72458,8 +71907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *359 - - *360 + - *356 + - *357 - name: language in: path description: The language of the CodeQL database. @@ -72469,7 +71918,7 @@ paths: responses: '204': description: Response - '403': *461 + '403': *458 '404': *6 '503': *122 x-github: @@ -72497,8 +71946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -72507,7 +71956,7 @@ paths: type: object additionalProperties: false properties: - language: &472 + language: &469 type: string description: The language targeted by the CodeQL query enum: @@ -72587,7 +72036,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &476 + schema: &473 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -72597,7 +72046,7 @@ paths: description: The ID of the variant analysis. controller_repo: *67 actor: *4 - query_language: *472 + query_language: *469 query_pack_url: type: string description: The download url for the query pack. @@ -72644,7 +72093,7 @@ paths: items: type: object properties: - repository: &473 + repository: &470 title: Repository Identifier description: Repository Identifier type: object @@ -72680,7 +72129,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &477 + analysis_status: &474 type: string description: The new status of the CodeQL variant analysis repository task. @@ -72712,7 +72161,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &474 + access_mismatch_repos: &471 type: object properties: repository_count: @@ -72726,7 +72175,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: *473 + items: *470 required: - repository_count - repositories @@ -72748,8 +72197,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *474 - over_limit_repos: *474 + no_codeql_db_repos: *471 + over_limit_repos: *471 required: - access_mismatch_repos - not_found_repos @@ -72765,7 +72214,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &475 + value: &472 summary: Default response value: id: 1 @@ -72911,10 +72360,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *475 + value: *472 repository_lists: summary: Response for a successful variant analysis submission - value: *475 + value: *472 '404': *6 '422': description: Unable to process variant analysis submission @@ -72942,8 +72391,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: - - *359 - - *360 + - *356 + - *357 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -72955,9 +72404,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *473 examples: - default: *475 + default: *472 '404': *6 '503': *122 x-github: @@ -72980,7 +72429,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: - - *359 + - *356 - name: repo in: path description: The name of the controller repository. @@ -73015,7 +72464,7 @@ paths: type: object properties: repository: *67 - analysis_status: *477 + analysis_status: *474 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73140,8 +72589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -73243,7 +72692,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *455 + '403': *452 '404': *6 '503': *122 x-github: @@ -73264,8 +72713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -73357,7 +72806,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *461 + '403': *458 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73428,8 +72877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -73437,7 +72886,7 @@ paths: schema: type: object properties: - commit_sha: *478 + commit_sha: *475 ref: type: string description: |- @@ -73495,7 +72944,7 @@ paths: schema: type: object properties: - id: *469 + id: *466 url: type: string description: The REST API URL for checking the status of the upload. @@ -73509,7 +72958,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': *461 + '403': *458 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -73532,8 +72981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *359 - - *360 + - *356 + - *357 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -73579,7 +73028,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': *455 + '403': *452 '404': description: Not Found if the sarif id does not match any upload '503': *122 @@ -73604,8 +73053,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: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -73686,8 +73135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *359 - - *360 + - *356 + - *357 - 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 @@ -73807,8 +73256,8 @@ paths: parameters: - *17 - *19 - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -74122,8 +73571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -74188,7 +73637,7 @@ paths: application/json: schema: *263 examples: - default: *479 + default: *476 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -74196,7 +73645,7 @@ paths: application/json: schema: *263 examples: - default: *479 + default: *476 '400': *14 '401': *25 '403': *29 @@ -74225,8 +73674,8 @@ paths: parameters: - *17 - *19 - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -74290,8 +73739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74326,14 +73775,14 @@ paths: type: integer machines: type: array - items: &706 + items: &704 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *480 - required: *481 + properties: *477 + required: *478 examples: - default: &707 + default: &705 value: total_count: 2 machines: @@ -74373,8 +73822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *359 - - *360 + - *356 + - *357 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -74458,8 +73907,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: - - *359 - - *360 + - *356 + - *357 - 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 @@ -74525,8 +73974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -74544,7 +73993,7 @@ paths: type: integer secrets: type: array - items: &485 + items: &482 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -74564,7 +74013,7 @@ paths: - created_at - updated_at examples: - default: *482 + default: *479 headers: Link: *70 x-github: @@ -74587,16 +74036,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: *483 + schema: *480 examples: - default: *484 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74616,17 +74065,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 responses: '200': description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: *486 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74646,8 +74095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 requestBody: required: true @@ -74700,8 +74149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 responses: '204': @@ -74730,8 +74179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *359 - - *360 + - *356 + - *357 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -74773,7 +74222,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &487 + properties: &484 login: type: string example: octocat @@ -74866,7 +74315,7 @@ paths: user_view_type: type: string example: public - required: &488 + required: &485 - avatar_url - events_url - followers_url @@ -74940,8 +74389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *359 - - *360 + - *356 + - *357 - *74 responses: '204': @@ -74988,8 +74437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *359 - - *360 + - *356 + - *357 - *74 requestBody: required: false @@ -75016,7 +74465,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &558 + schema: &556 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75245,8 +74694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *359 - - *360 + - *356 + - *357 - *74 responses: '204': @@ -75278,8 +74727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *359 - - *360 + - *356 + - *357 - *74 responses: '200': @@ -75300,8 +74749,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *487 - required: *488 + properties: *484 + required: *485 nullable: true required: - permission @@ -75356,8 +74805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -75367,7 +74816,7 @@ paths: application/json: schema: type: array - items: &489 + items: &486 title: Commit Comment description: Commit Comment type: object @@ -75425,7 +74874,7 @@ paths: - created_at - updated_at examples: - default: &494 + default: &491 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75484,17 +74933,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 responses: '200': description: Response content: application/json: - schema: *489 + schema: *486 examples: - default: &495 + default: &492 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75551,8 +75000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 requestBody: required: true @@ -75575,7 +75024,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *486 examples: default: value: @@ -75626,8 +75075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 responses: '204': @@ -75649,8 +75098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75677,7 +75126,7 @@ paths: application/json: schema: type: array - items: &490 + items: &487 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -75720,7 +75169,7 @@ paths: - content - created_at examples: - default: &563 + default: &561 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -75765,8 +75214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 requestBody: required: true @@ -75799,9 +75248,9 @@ paths: description: Reaction exists content: application/json: - schema: *490 + schema: *487 examples: - default: &491 + default: &488 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -75830,9 +75279,9 @@ paths: description: Reaction created content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 '422': *15 x-github: githubCloudOnly: false @@ -75854,10 +75303,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *359 - - *360 + - *356 + - *357 - *104 - - &564 + - &562 name: reaction_id description: The unique identifier of the reaction. in: path @@ -75912,8 +75361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *359 - - *360 + - *356 + - *357 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -75969,9 +75418,9 @@ paths: application/json: schema: type: array - items: *492 + items: *489 examples: - default: &616 + default: &614 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76065,9 +75514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *359 - - *360 - - &493 + - *356 + - *357 + - &490 name: commit_sha description: The SHA of the commit. in: path @@ -76139,9 +75588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *359 - - *360 - - *493 + - *356 + - *357 + - *490 - *17 - *19 responses: @@ -76151,9 +75600,9 @@ paths: application/json: schema: type: array - items: *489 + items: *486 examples: - default: *494 + default: *491 headers: Link: *70 x-github: @@ -76181,9 +75630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *359 - - *360 - - *493 + - *356 + - *357 + - *490 requestBody: required: true content: @@ -76218,9 +75667,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *486 examples: - default: *495 + default: *492 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76248,9 +75697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *359 - - *360 - - *493 + - *356 + - *357 + - *490 - *17 - *19 responses: @@ -76260,9 +75709,9 @@ paths: application/json: schema: type: array - items: *496 + items: *493 examples: - default: &608 + default: &606 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76799,11 +76248,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *359 - - *360 + - *356 + - *357 - *19 - *17 - - &497 + - &494 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)" @@ -76818,9 +76267,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *489 examples: - default: &595 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76908,7 +76357,7 @@ paths: schema: type: string examples: - default: &506 + default: &503 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -76921,7 +76370,7 @@ paths: schema: type: string examples: - default: &507 + default: &504 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -76974,11 +76423,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *359 - - *360 - - *497 - - *498 - - *499 + - *356 + - *357 + - *494 + - *495 + - *496 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77012,9 +76461,9 @@ paths: type: integer check_runs: type: array - items: *436 + items: *433 examples: - default: *500 + default: *497 headers: Link: *70 x-github: @@ -77039,9 +76488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *359 - - *360 - - *497 + - *356 + - *357 + - *494 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77049,7 +76498,7 @@ paths: schema: type: integer example: 1 - - *498 + - *495 - *17 - *19 responses: @@ -77067,7 +76516,7 @@ paths: type: integer check_suites: type: array - items: *441 + items: *438 examples: default: value: @@ -77267,9 +76716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *359 - - *360 - - *497 + - *356 + - *357 + - *494 - *17 - *19 responses: @@ -77467,9 +76916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *359 - - *360 - - *497 + - *356 + - *357 + - *494 - *17 - *19 responses: @@ -77479,7 +76928,7 @@ paths: application/json: schema: type: array - items: &686 + items: &684 title: Status description: The status of a commit. type: object @@ -77560,7 +77009,7 @@ paths: site_admin: false headers: Link: *70 - '301': *363 + '301': *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77588,8 +77037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -77618,20 +77067,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *501 - required: *502 + properties: *498 + required: *499 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &503 + properties: &500 url: type: string format: uri html_url: type: string format: uri - required: &504 + required: &501 - url - html_url nullable: true @@ -77645,26 +77094,26 @@ paths: contributing: title: Community Health File type: object - properties: *503 - required: *504 + properties: *500 + required: *501 nullable: true readme: title: Community Health File type: object - properties: *503 - required: *504 + properties: *500 + required: *501 nullable: true issue_template: title: Community Health File type: object - properties: *503 - required: *504 + properties: *500 + required: *501 nullable: true pull_request_template: title: Community Health File type: object - properties: *503 - required: *504 + properties: *500 + required: *501 nullable: true required: - code_of_conduct @@ -77791,8 +77240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *359 - - *360 + - *356 + - *357 - *19 - *17 - name: basehead @@ -77835,8 +77284,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *492 - merge_base_commit: *492 + base_commit: *489 + merge_base_commit: *489 status: type: string enum: @@ -77856,10 +77305,10 @@ paths: example: 6 commits: type: array - items: *492 + items: *489 files: type: array - items: *505 + items: *502 required: - url - html_url @@ -78105,12 +77554,12 @@ paths: schema: type: string examples: - default: *506 + default: *503 application/vnd.github.patch: schema: type: string examples: - default: *507 + default: *504 '404': *6 '500': *55 '503': *122 @@ -78155,8 +77604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *359 - - *360 + - *356 + - *357 - name: path description: path parameter in: path @@ -78316,7 +77765,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &508 + response-if-content-is-a-file-github-object: &505 summary: Response if content is a file value: type: file @@ -78448,7 +77897,7 @@ paths: - size - type - url - - &621 + - &619 title: Content File description: Content File type: object @@ -78649,7 +78098,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *508 + response-if-content-is-a-file: *505 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -78718,7 +78167,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *509 + '302': *506 '304': *37 x-github: githubCloudOnly: false @@ -78771,8 +78220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *359 - - *360 + - *356 + - *357 - name: path description: path parameter in: path @@ -78865,7 +78314,7 @@ paths: description: Response content: application/json: - schema: &510 + schema: &507 title: File Commit description: File Commit type: object @@ -79017,7 +78466,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *507 examples: example-for-creating-a-file: value: @@ -79071,7 +78520,7 @@ paths: schema: oneOf: - *3 - - &540 + - &537 description: Repository rule violation was detected type: object properties: @@ -79092,7 +78541,7 @@ paths: items: type: object properties: - placeholder_id: &678 + placeholder_id: &676 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79124,8 +78573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *359 - - *360 + - *356 + - *357 - name: path description: path parameter in: path @@ -79186,7 +78635,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *507 examples: default: value: @@ -79241,8 +78690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *359 - - *360 + - *356 + - *357 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79371,8 +78820,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: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -79504,8 +78953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - *212 - *213 - *214 @@ -79518,7 +78967,7 @@ paths: schema: type: string - *217 - - *511 + - *508 - *218 - *219 - *220 @@ -79533,7 +78982,7 @@ paths: application/json: schema: type: array - items: &515 + items: &512 type: object description: A Dependabot alert. properties: @@ -79580,7 +79029,7 @@ paths: - direct - transitive - inconclusive - security_advisory: *512 + security_advisory: *509 security_vulnerability: *66 url: *191 html_url: *192 @@ -79611,8 +79060,8 @@ paths: nullable: true maxLength: 280 fixed_at: *193 - auto_dismissed_at: *513 - dismissal_request: *514 + auto_dismissed_at: *510 + dismissal_request: *511 assignees: type: array description: The users assigned to this alert. @@ -79867,9 +79316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *359 - - *360 - - &516 + - *356 + - *357 + - &513 name: alert_number in: path description: |- @@ -79884,7 +79333,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *512 examples: default: value: @@ -80016,9 +79465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *359 - - *360 - - *516 + - *356 + - *357 + - *513 requestBody: required: true content: @@ -80055,6 +79504,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: @@ -80074,7 +79524,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *512 examples: default: value: @@ -80204,8 +79654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -80223,7 +79673,7 @@ paths: type: integer secrets: type: array - items: &519 + items: &516 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80276,16 +79726,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: *517 + schema: *514 examples: - default: *518 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80305,15 +79755,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 responses: '200': description: Response content: application/json: - schema: *519 + schema: *516 examples: default: value: @@ -80339,8 +79789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 requestBody: required: true @@ -80393,8 +79843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *359 - - *360 + - *356 + - *357 - *171 responses: '204': @@ -80417,8 +79867,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: - - *359 - - *360 + - *356 + - *357 - 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 @@ -80581,8 +80031,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: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -80820,8 +80270,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: - - *359 - - *360 + - *356 + - *357 - name: sbom_uuid in: path required: true @@ -80832,7 +80282,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *520 + Location: *517 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -80853,8 +80303,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: - - *359 - - *360 + - *356 + - *357 responses: '201': description: Response @@ -80892,8 +80342,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: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -80968,7 +80418,7 @@ paths: - version - url additionalProperties: false - metadata: &521 + metadata: &518 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81001,7 +80451,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *521 + metadata: *518 resolved: type: object description: A collection of resolved package dependencies. @@ -81014,7 +80464,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *521 + metadata: *518 relationship: type: string description: A notation of whether a dependency is requested @@ -81143,8 +80593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *359 - - *360 + - *356 + - *357 - name: sha description: The SHA recorded at creation time. in: query @@ -81184,9 +80634,9 @@ paths: application/json: schema: type: array - items: *522 + items: *519 examples: - default: *523 + default: *520 headers: Link: *70 x-github: @@ -81252,8 +80702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -81334,7 +80784,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *519 examples: simple-example: summary: Simple example @@ -81407,9 +80857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *359 - - *360 - - &524 + - *356 + - *357 + - &521 name: deployment_id description: deployment_id parameter in: path @@ -81421,7 +80871,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *519 examples: default: value: @@ -81486,9 +80936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *359 - - *360 - - *524 + - *356 + - *357 + - *521 responses: '204': description: Response @@ -81510,9 +80960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *359 - - *360 - - *524 + - *356 + - *357 + - *521 - *17 - *19 responses: @@ -81522,7 +80972,7 @@ paths: application/json: schema: type: array - items: &525 + items: &522 title: Deployment Status description: The status of a deployment. type: object @@ -81683,9 +81133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *359 - - *360 - - *524 + - *356 + - *357 + - *521 requestBody: required: true content: @@ -81760,9 +81210,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: &526 + default: &523 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81818,9 +81268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *359 - - *360 - - *524 + - *356 + - *357 + - *521 - name: status_id in: path required: true @@ -81831,9 +81281,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *522 examples: - default: *526 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -81858,8 +81308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -81916,8 +81366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -81934,7 +81384,7 @@ paths: type: integer environments: type: array - items: &528 + items: &525 title: Environment description: Details of a deployment environment type: object @@ -81986,7 +81436,7 @@ paths: type: type: string example: wait_timer - wait_timer: &530 + wait_timer: &527 type: integer example: 30 description: The amount of time to delay a job after @@ -82023,7 +81473,7 @@ paths: items: type: object properties: - type: *527 + type: *524 reviewer: anyOf: - *4 @@ -82047,7 +81497,7 @@ paths: - id - node_id - type - deployment_branch_policy: &531 + deployment_branch_policy: &528 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -82163,9 +81613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *359 - - *360 - - &529 + - *356 + - *357 + - &526 name: environment_name in: path required: true @@ -82178,9 +81628,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *525 examples: - default: &532 + default: &529 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82264,9 +81714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 requestBody: required: false content: @@ -82275,7 +81725,7 @@ paths: type: object nullable: true properties: - wait_timer: *530 + wait_timer: *527 prevent_self_review: type: boolean example: false @@ -82292,13 +81742,13 @@ paths: items: type: object properties: - type: *527 + type: *524 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *531 + deployment_branch_policy: *528 additionalProperties: false examples: default: @@ -82318,9 +81768,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *525 examples: - default: *532 + default: *529 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82344,9 +81794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 responses: '204': description: Default response @@ -82371,9 +81821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 - *17 - *19 responses: @@ -82391,7 +81841,7 @@ paths: example: 2 branch_policies: type: array - items: &533 + items: &530 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82448,9 +81898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 requestBody: required: true content: @@ -82496,9 +81946,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *530 examples: - example-wildcard: &534 + example-wildcard: &531 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -82540,10 +81990,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *359 - - *360 - - *529 - - &535 + - *356 + - *357 + - *526 + - &532 name: branch_policy_id in: path required: true @@ -82555,9 +82005,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *530 examples: - default: *534 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82576,10 +82026,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *359 - - *360 - - *529 - - *535 + - *356 + - *357 + - *526 + - *532 requestBody: required: true content: @@ -82607,9 +82057,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *530 examples: - default: *534 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82628,10 +82078,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *359 - - *360 - - *529 - - *535 + - *356 + - *357 + - *526 + - *532 responses: '204': description: Response @@ -82656,9 +82106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *529 - - *360 - - *359 + - *526 + - *357 + - *356 responses: '200': description: List of deployment protection rules @@ -82674,7 +82124,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &536 + items: &533 title: Deployment protection rule description: Deployment protection rule type: object @@ -82693,7 +82143,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &537 + app: &534 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -82792,9 +82242,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: - - *529 - - *360 - - *359 + - *526 + - *357 + - *356 requestBody: content: application/json: @@ -82815,9 +82265,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *536 + schema: *533 examples: - default: &538 + default: &535 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -82852,9 +82302,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: - - *529 - - *360 - - *359 + - *526 + - *357 + - *356 - *19 - *17 responses: @@ -82873,7 +82323,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *537 + items: *534 examples: default: value: @@ -82908,10 +82358,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *359 - - *360 - - *529 - - &539 + - *356 + - *357 + - *526 + - &536 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -82923,9 +82373,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *533 examples: - default: *538 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82946,10 +82396,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *529 - - *360 - - *359 - - *539 + - *526 + - *357 + - *356 + - *536 responses: '204': description: Response @@ -82975,9 +82425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 - *17 - *19 responses: @@ -82995,9 +82445,9 @@ paths: type: integer secrets: type: array - items: *403 + items: *400 examples: - default: *404 + default: *401 headers: Link: *70 x-github: @@ -83022,9 +82472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 responses: '200': description: Response @@ -83054,18 +82504,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 - *171 responses: '200': description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: *417 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83087,9 +82537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 - *171 requestBody: required: true @@ -83147,9 +82597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 - *171 responses: '204': @@ -83175,9 +82625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 - *180 - *19 responses: @@ -83195,9 +82645,9 @@ paths: type: integer variables: type: array - items: *405 + items: *402 examples: - default: *406 + default: *403 headers: Link: *70 x-github: @@ -83220,9 +82670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 requestBody: required: true content: @@ -83274,18 +82724,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *359 - - *360 - - *529 + - *356 + - *357 + - *526 - *174 responses: '200': description: Response content: application/json: - schema: *405 + schema: *402 examples: - default: *418 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83306,10 +82756,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *359 - - *360 + - *356 + - *357 - *174 - - *529 + - *526 requestBody: required: true content: @@ -83351,10 +82801,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *359 - - *360 + - *356 + - *357 - *174 - - *529 + - *526 responses: '204': description: Response @@ -83376,8 +82826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -83445,8 +82895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *359 - - *360 + - *356 + - *357 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -83605,8 +83055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: false content: @@ -83638,9 +83088,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *359 examples: - default: *364 + default: *361 '400': *14 '422': *15 '403': *29 @@ -83661,8 +83111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -83722,7 +83172,7 @@ paths: schema: oneOf: - *132 - - *540 + - *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83747,8 +83197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *359 - - *360 + - *356 + - *357 - name: file_sha in: path required: true @@ -83847,8 +83297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -83957,7 +83407,7 @@ paths: description: Response content: application/json: - schema: &541 + schema: &538 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84171,15 +83621,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *359 - - *360 - - *493 + - *356 + - *357 + - *490 responses: '200': description: Response content: application/json: - schema: *541 + schema: *538 examples: default: value: @@ -84235,9 +83685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *359 - - *360 - - &542 + - *356 + - *357 + - &539 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. @@ -84254,7 +83704,7 @@ paths: application/json: schema: type: array - items: &543 + items: &540 title: Git Reference description: Git references within a repository type: object @@ -84329,17 +83779,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *359 - - *360 - - *542 + - *356 + - *357 + - *539 responses: '200': description: Response content: application/json: - schema: *543 + schema: *540 examples: - default: &544 + default: &541 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84368,8 +83818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -84398,9 +83848,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *540 examples: - default: *544 + default: *541 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -84426,9 +83876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *359 - - *360 - - *542 + - *356 + - *357 + - *539 requestBody: required: true content: @@ -84457,9 +83907,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *540 examples: - default: *544 + default: *541 '422': *15 '409': *54 x-github: @@ -84477,9 +83927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *359 - - *360 - - *542 + - *356 + - *357 + - *539 responses: '204': description: Response @@ -84534,8 +83984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -84602,7 +84052,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &543 title: Git Tag description: Metadata for a Git tag type: object @@ -84653,7 +84103,7 @@ paths: - sha - type - url - verification: *545 + verification: *542 required: - sha - url @@ -84663,7 +84113,7 @@ paths: - tag - message examples: - default: &547 + default: &544 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -84736,8 +84186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *359 - - *360 + - *356 + - *357 - name: tag_sha in: path required: true @@ -84748,9 +84198,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *543 examples: - default: *547 + default: *544 '404': *6 '409': *54 x-github: @@ -84774,8 +84224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -84848,7 +84298,7 @@ paths: description: Response content: application/json: - schema: &548 + schema: &545 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -84944,8 +84394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *359 - - *360 + - *356 + - *357 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -84968,7 +84418,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *545 examples: default-response: summary: Default response @@ -85026,8 +84476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -85070,8 +84520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -85081,7 +84531,7 @@ paths: application/json: schema: type: array - items: &549 + items: &546 title: Webhook description: Webhooks for repositories. type: object @@ -85135,7 +84585,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &800 + last_response: &798 title: Hook Response type: object properties: @@ -85209,8 +84659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: false content: @@ -85262,9 +84712,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *546 examples: - default: &550 + default: &547 value: type: Repository id: 12345678 @@ -85312,17 +84762,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *359 - - *360 + - *356 + - *357 - *231 responses: '200': description: Response content: application/json: - schema: *549 + schema: *546 examples: - default: *550 + default: *547 '404': *6 x-github: githubCloudOnly: false @@ -85342,8 +84792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *359 - - *360 + - *356 + - *357 - *231 requestBody: required: true @@ -85389,9 +84839,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *546 examples: - default: *550 + default: *547 '422': *15 '404': *6 x-github: @@ -85412,8 +84862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *359 - - *360 + - *356 + - *357 - *231 responses: '204': @@ -85438,8 +84888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - *231 responses: '200': @@ -85467,8 +84917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - *231 requestBody: required: false @@ -85513,8 +84963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *359 - - *360 + - *356 + - *357 - *231 - *17 - *232 @@ -85547,8 +84997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *359 - - *360 + - *356 + - *357 - *231 - *16 responses: @@ -85577,8 +85027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *359 - - *360 + - *356 + - *357 - *231 - *16 responses: @@ -85602,8 +85052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *359 - - *360 + - *356 + - *357 - *231 responses: '204': @@ -85629,8 +85079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *359 - - *360 + - *356 + - *357 - *231 responses: '204': @@ -85654,8 +85104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response if immutable releases are enabled @@ -85701,8 +85151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': *61 '409': *54 @@ -85722,8 +85172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': *61 '409': *54 @@ -85780,14 +85230,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: &551 + schema: &548 title: Import description: A repository import from an external source. type: object @@ -85886,7 +85336,7 @@ paths: - html_url - authors_url examples: - default: &554 + default: &551 value: vcs: subversion use_lfs: true @@ -85902,7 +85352,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': &552 + '503': &549 description: Unavailable due to service under maintenance. content: application/json: @@ -85931,8 +85381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -85980,7 +85430,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *548 examples: default: value: @@ -86005,7 +85455,7 @@ paths: type: string '422': *15 '404': *6 - '503': *552 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86033,8 +85483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: false content: @@ -86083,7 +85533,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *548 examples: example-1: summary: Example 1 @@ -86131,7 +85581,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': *552 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86154,12 +85604,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response - '503': *552 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86185,9 +85635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *359 - - *360 - - &728 + - *356 + - *357 + - &726 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86201,7 +85651,7 @@ paths: application/json: schema: type: array - items: &553 + items: &550 title: Porter Author description: Porter Author type: object @@ -86255,7 +85705,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': *552 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86280,8 +85730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *359 - - *360 + - *356 + - *357 - name: author_id in: path required: true @@ -86311,7 +85761,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *550 examples: default: value: @@ -86324,7 +85774,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *552 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86348,8 +85798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -86390,7 +85840,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *552 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86418,8 +85868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -86446,11 +85896,11 @@ paths: description: Response content: application/json: - schema: *551 + schema: *548 examples: - default: *554 + default: *551 '422': *15 - '503': *552 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86473,8 +85923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -86482,8 +85932,8 @@ paths: application/json: schema: *22 examples: - default: *555 - '301': *363 + default: *552 + '301': *360 '404': *6 x-github: githubCloudOnly: false @@ -86503,8 +85953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -86517,7 +85967,7 @@ paths: properties: {} additionalProperties: false examples: - default: &557 + default: &554 value: limit: collaborators_only origin: repository @@ -86542,13 +85992,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: application/json: - schema: *556 + schema: *553 examples: default: summary: Example request body @@ -86562,7 +86012,7 @@ paths: application/json: schema: *250 examples: - default: *557 + default: *554 '409': description: Response x-github: @@ -86584,8 +86034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -86596,6 +86046,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: + - *356 + - *357 + 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': *29 + '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: + - *356 + - *357 + requestBody: + required: true + content: + application/json: + schema: &555 + 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 + example: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *29 + '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: + - *356 + - *357 + requestBody: + required: true + content: + application/json: + schema: *555 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *29 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -86608,8 +86209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -86619,9 +86220,9 @@ paths: application/json: schema: type: array - items: *558 + items: *556 examples: - default: &721 + default: &719 value: - id: 1 repository: @@ -86752,8 +86353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *359 - - *360 + - *356 + - *357 - *254 requestBody: required: false @@ -86783,7 +86384,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *556 examples: default: value: @@ -86914,8 +86515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *359 - - *360 + - *356 + - *357 - *254 responses: '204': @@ -86939,8 +86540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -86950,7 +86551,7 @@ paths: type: array items: *258 examples: - default: *559 + default: *557 '404': *6 x-github: githubCloudOnly: false @@ -86979,8 +86580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *359 - - *360 + - *356 + - *357 - 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 @@ -87067,7 +86668,7 @@ paths: type: array items: *88 examples: - default: &572 + default: &570 value: - id: 1 node_id: MDU6SXNzdWUx @@ -87216,7 +86817,7 @@ paths: state_reason: completed headers: Link: *70 - '301': *363 + '301': *360 '422': *15 '404': *6 x-github: @@ -87245,8 +86846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -87355,7 +86956,7 @@ paths: application/json: schema: *88 examples: - default: &569 + default: &567 value: id: 1 node_id: MDU6SXNzdWUx @@ -87518,7 +87119,7 @@ paths: '422': *15 '503': *122 '404': *6 - '410': *560 + '410': *558 x-github: triggersNotification: true githubCloudOnly: false @@ -87556,8 +87157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - *112 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -87578,9 +87179,9 @@ paths: application/json: schema: type: array - items: *561 + items: *559 examples: - default: &571 + default: &569 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87638,17 +87239,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 responses: '200': description: Response content: application/json: - schema: *561 + schema: *559 examples: - default: &562 + default: &560 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87703,8 +87304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 requestBody: required: true @@ -87727,9 +87328,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *559 examples: - default: *562 + default: *560 '422': *15 x-github: githubCloudOnly: false @@ -87747,8 +87348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 responses: '204': @@ -87777,15 +87378,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 responses: '200': description: Response content: application/json: - schema: *561 + schema: *559 examples: default: value: @@ -87841,7 +87442,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *560 + '410': *558 '422': *15 x-github: githubCloudOnly: false @@ -87858,8 +87459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 responses: '204': @@ -87867,7 +87468,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *560 + '410': *558 '503': *122 x-github: githubCloudOnly: false @@ -87885,8 +87486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87913,9 +87514,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: *563 + default: *561 headers: Link: *70 '404': *6 @@ -87936,8 +87537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 requestBody: required: true @@ -87970,16 +87571,16 @@ paths: description: Reaction exists content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 '201': description: Reaction created content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 '422': *15 x-github: githubCloudOnly: false @@ -88001,10 +87602,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *359 - - *360 + - *356 + - *357 - *104 - - *564 + - *562 responses: '204': description: Response @@ -88024,8 +87625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -88035,7 +87636,7 @@ paths: application/json: schema: type: array - items: &568 + items: &566 title: Issue Event description: Issue Event type: object @@ -88078,9 +87679,9 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *565 - required: *566 - x-github-breaking-changes: *567 + properties: *563 + required: *564 + x-github-breaking-changes: *565 nullable: true label: title: Issue Event Label @@ -88388,8 +87989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *359 - - *360 + - *356 + - *357 - name: event_id in: path required: true @@ -88400,7 +88001,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *566 examples: default: value: @@ -88593,7 +88194,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *560 + '410': *558 '403': *29 x-github: githubCloudOnly: false @@ -88627,9 +88228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *359 - - *360 - - &570 + - *356 + - *357 + - &568 name: issue_number description: The number that identifies the issue. in: path @@ -88645,7 +88246,7 @@ paths: examples: default: summary: Issue - value: *569 + value: *567 pinned_comment: summary: Issue with pinned comment value: @@ -88850,9 +88451,9 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *363 + '301': *360 '404': *6 - '410': *560 + '410': *558 '304': *37 x-github: githubCloudOnly: false @@ -88877,9 +88478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: false content: @@ -89009,13 +88610,13 @@ paths: application/json: schema: *88 examples: - default: *569 + default: *567 '422': *15 '503': *122 '403': *29 - '301': *363 + '301': *360 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89043,9 +88644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: false content: @@ -89073,7 +88674,7 @@ paths: application/json: schema: *88 examples: - default: *569 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89089,9 +88690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: content: application/json: @@ -89118,7 +88719,7 @@ paths: application/json: schema: *88 examples: - default: *569 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89140,9 +88741,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: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - name: assignee in: path required: true @@ -89182,9 +88783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - *95 - *17 - *19 @@ -89195,13 +88796,13 @@ paths: application/json: schema: type: array - items: *561 + items: *559 examples: - default: *571 + default: *569 headers: Link: *70 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89230,9 +88831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: true content: @@ -89254,16 +88855,16 @@ paths: description: Response content: application/json: - schema: *561 + schema: *559 examples: - default: *562 + default: *560 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *560 + '410': *558 '422': *15 '404': *6 x-github: @@ -89291,9 +88892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - *17 - *19 responses: @@ -89305,12 +88906,12 @@ paths: type: array items: *88 examples: - default: *572 + default: *570 headers: Link: *70 - '301': *363 + '301': *360 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89338,9 +88939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: true content: @@ -89364,15 +88965,15 @@ paths: application/json: schema: *88 examples: - default: *569 + default: *567 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *363 + '301': *360 '403': *29 - '410': *560 + '410': *558 '422': *15 '404': *6 x-github: @@ -89403,9 +89004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -89419,13 +89020,13 @@ paths: application/json: schema: *88 examples: - default: *569 - '301': *363 + default: *567 + '301': *360 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *560 + '410': *558 x-github: triggersNotification: true githubCloudOnly: false @@ -89451,9 +89052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - *17 - *19 responses: @@ -89465,12 +89066,12 @@ paths: type: array items: *88 examples: - default: *572 + default: *570 headers: Link: *70 - '301': *363 + '301': *360 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89487,9 +89088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - *17 - *19 responses: @@ -89503,7 +89104,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &576 + - &574 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89557,7 +89158,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &575 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89693,7 +89294,7 @@ paths: - performed_via_github_app - assignee - assigner - - &578 + - &576 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89744,7 +89345,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &577 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89795,7 +89396,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &578 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89849,7 +89450,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &579 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89896,7 +89497,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &580 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -89943,7 +89544,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &581 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -90003,7 +89604,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &582 title: Locked Issue Event description: Locked Issue Event type: object @@ -90051,7 +89652,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &583 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90117,7 +89718,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &586 + - &584 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -90183,7 +89784,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &587 + - &585 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -90249,7 +89850,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &588 + - &586 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -90340,7 +89941,7 @@ paths: color: red headers: Link: *70 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90357,9 +89958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - *17 - *19 responses: @@ -90369,9 +89970,9 @@ paths: application/json: schema: type: array - items: *573 + items: *571 examples: - default: &574 + default: &572 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -90406,9 +90007,9 @@ paths: color: green headers: Link: *70 - '301': *363 + '301': *360 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90437,9 +90038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: true content: @@ -90509,9 +90110,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *573 + items: *571 examples: - default: *574 + default: *572 '400': *14 '403': *29 '404': *6 @@ -90547,9 +90148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: true content: @@ -90614,9 +90215,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *573 + items: *571 examples: - default: *574 + default: *572 '400': *14 '403': *29 '404': *6 @@ -90647,9 +90248,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: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - *257 responses: '204': @@ -90675,9 +90276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - *17 - *19 responses: @@ -90689,7 +90290,7 @@ paths: type: array items: *87 examples: - default: &575 + default: &573 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90707,9 +90308,9 @@ paths: default: false headers: Link: *70 - '301': *363 + '301': *360 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90725,9 +90326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: false content: @@ -90772,10 +90373,10 @@ paths: type: array items: *87 examples: - default: *575 - '301': *363 + default: *573 + '301': *360 '404': *6 - '410': *560 + '410': *558 '422': *15 x-github: githubCloudOnly: false @@ -90792,9 +90393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: false content: @@ -90856,10 +90457,10 @@ paths: type: array items: *87 examples: - default: *575 - '301': *363 + default: *573 + '301': *360 '404': *6 - '410': *560 + '410': *558 '422': *15 x-github: githubCloudOnly: false @@ -90876,15 +90477,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 responses: '204': description: Response - '301': *363 + '301': *360 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90903,9 +90504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - name: name in: path required: true @@ -90929,9 +90530,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *363 + '301': *360 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90951,9 +90552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: false content: @@ -90981,7 +90582,7 @@ paths: '204': description: Response '403': *29 - '410': *560 + '410': *558 '404': *6 '422': *15 x-github: @@ -90999,9 +90600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 responses: '204': description: Response @@ -91031,9 +90632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 responses: '200': description: Response @@ -91041,10 +90642,10 @@ paths: application/json: schema: *88 examples: - default: *569 - '301': *363 + default: *567 + '301': *360 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91061,9 +90662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - 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. @@ -91089,13 +90690,13 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: *563 + default: *561 headers: Link: *70 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91113,9 +90714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: true content: @@ -91147,16 +90748,16 @@ paths: description: Response content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 '201': description: Response content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 '422': *15 x-github: githubCloudOnly: false @@ -91178,10 +90779,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *359 - - *360 - - *570 - - *564 + - *356 + - *357 + - *568 + - *562 responses: '204': description: Response @@ -91210,9 +90811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: true content: @@ -91236,7 +90837,7 @@ paths: application/json: schema: *88 examples: - default: *569 + default: *567 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -91269,9 +90870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - *17 - *19 responses: @@ -91283,11 +90884,11 @@ paths: type: array items: *88 examples: - default: *572 + default: *570 headers: Link: *70 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91315,9 +90916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: true content: @@ -91346,14 +90947,14 @@ paths: application/json: schema: *88 examples: - default: *569 + default: *567 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *560 + '410': *558 '422': *15 '404': *6 x-github: @@ -91373,9 +90974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 requestBody: required: true content: @@ -91408,7 +91009,7 @@ paths: application/json: schema: *88 examples: - default: *569 + default: *567 '403': *29 '404': *6 '422': *7 @@ -91430,9 +91031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *359 - - *360 - - *570 + - *356 + - *357 + - *568 - *17 - *19 responses: @@ -91447,6 +91048,8 @@ paths: description: Timeline Event type: object anyOf: + - *574 + - *575 - *576 - *577 - *578 @@ -91458,8 +91061,6 @@ paths: - *584 - *585 - *586 - - *587 - - *588 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -91520,8 +91121,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *589 - required: *590 + properties: *587 + required: *588 nullable: true required: - event @@ -91776,7 +91377,7 @@ paths: type: string comments: type: array - items: &610 + items: &608 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91991,7 +91592,7 @@ paths: type: string comments: type: array - items: *489 + items: *486 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92280,7 +91881,7 @@ paths: headers: Link: *70 '404': *6 - '410': *560 + '410': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92297,8 +91898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -92308,7 +91909,7 @@ paths: application/json: schema: type: array - items: &591 + items: &589 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -92374,8 +91975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -92411,9 +92012,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: &592 + default: &590 value: id: 1 key: ssh-rsa AAA... @@ -92447,9 +92048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *359 - - *360 - - &593 + - *356 + - *357 + - &591 name: key_id description: The unique identifier of the key. in: path @@ -92461,9 +92062,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *592 + default: *590 '404': *6 x-github: githubCloudOnly: false @@ -92481,9 +92082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *359 - - *360 - - *593 + - *356 + - *357 + - *591 responses: '204': description: Response @@ -92503,8 +92104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -92516,7 +92117,7 @@ paths: type: array items: *87 examples: - default: *575 + default: *573 headers: Link: *70 '404': *6 @@ -92537,8 +92138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -92576,7 +92177,7 @@ paths: application/json: schema: *87 examples: - default: &594 + default: &592 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92608,8 +92209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *359 - - *360 + - *356 + - *357 - name: name in: path required: true @@ -92622,7 +92223,7 @@ paths: application/json: schema: *87 examples: - default: *594 + default: *592 '404': *6 x-github: githubCloudOnly: false @@ -92639,8 +92240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *359 - - *360 + - *356 + - *357 - name: name in: path required: true @@ -92705,8 +92306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *359 - - *360 + - *356 + - *357 - name: name in: path required: true @@ -92732,8 +92333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -92772,9 +92373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *359 - - *360 - - *462 + - *356 + - *357 + - *459 responses: '200': description: Response @@ -92919,8 +92520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -92985,8 +92586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -93020,9 +92621,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *492 + schema: *489 examples: - default: *595 + default: *593 '204': description: Response when already merged '404': @@ -93047,8 +92648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *359 - - *360 + - *356 + - *357 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -93089,7 +92690,7 @@ paths: application/json: schema: type: array - items: &596 + items: &594 title: Milestone description: A collection of related issues and pull requests. type: object @@ -93150,8 +92751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -93191,9 +92792,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *594 examples: - default: &597 + default: &595 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -93252,9 +92853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *359 - - *360 - - &598 + - *356 + - *357 + - &596 name: milestone_number description: The number that identifies the milestone. in: path @@ -93266,9 +92867,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *594 examples: - default: *597 + default: *595 '404': *6 x-github: githubCloudOnly: false @@ -93285,9 +92886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *359 - - *360 - - *598 + - *356 + - *357 + - *596 requestBody: required: false content: @@ -93325,9 +92926,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *594 examples: - default: *597 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93343,9 +92944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *359 - - *360 - - *598 + - *356 + - *357 + - *596 responses: '204': description: Response @@ -93366,9 +92967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *359 - - *360 - - *598 + - *356 + - *357 + - *596 - *17 - *19 responses: @@ -93380,7 +92981,7 @@ paths: type: array items: *87 examples: - default: *575 + default: *573 headers: Link: *70 x-github: @@ -93399,12 +93000,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *359 - - *360 - - *599 - - *600 + - *356 + - *357 + - *597 + - *598 - *95 - - *601 + - *599 - *17 - *19 responses: @@ -93416,7 +93017,7 @@ paths: type: array items: *115 examples: - default: *602 + default: *600 headers: Link: *70 x-github: @@ -93440,8 +93041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: false content: @@ -93499,14 +93100,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: &603 + schema: &601 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -93631,7 +93232,7 @@ paths: - custom_404 - public examples: - default: &604 + default: &602 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -93672,8 +93273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -93727,9 +93328,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: *604 + default: *602 '422': *15 '409': *54 x-github: @@ -93752,8 +93353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -93852,8 +93453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -93879,8 +93480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -93890,7 +93491,7 @@ paths: application/json: schema: type: array - items: &605 + items: &603 title: Page Build description: Page Build type: object @@ -93984,8 +93585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *359 - - *360 + - *356 + - *357 responses: '201': description: Response @@ -94030,16 +93631,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: *605 + schema: *603 examples: - default: &606 + default: &604 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -94087,8 +93688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *359 - - *360 + - *356 + - *357 - name: build_id in: path required: true @@ -94099,9 +93700,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *603 examples: - default: *606 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94121,8 +93722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -94227,9 +93828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *359 - - *360 - - &607 + - *356 + - *357 + - &605 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -94287,9 +93888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *359 - - *360 - - *607 + - *356 + - *357 + - *605 responses: '204': *61 '404': *6 @@ -94316,8 +93917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -94575,8 +94176,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: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Private vulnerability reporting status @@ -94613,8 +94214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': *61 '422': *14 @@ -94635,8 +94236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': *61 '422': *14 @@ -94658,8 +94259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -94698,8 +94299,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: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -94761,8 +94362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *359 - - *360 + - *356 + - *357 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94822,9 +94423,9 @@ paths: application/json: schema: type: array - items: *496 + items: *493 examples: - default: *608 + default: *606 headers: Link: *70 '304': *37 @@ -94856,8 +94457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -94922,7 +94523,7 @@ paths: description: Response content: application/json: - schema: &612 + schema: &610 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -95133,7 +94734,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *609 + auto_merge: *607 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -95319,7 +94920,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &613 + default: &611 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95857,8 +95458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *359 - - *360 + - *356 + - *357 - name: sort in: query required: false @@ -95887,9 +95488,9 @@ paths: application/json: schema: type: array - items: *610 + items: *608 examples: - default: &615 + default: &613 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95966,17 +95567,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *359 - - *360 + - *356 + - *357 - *104 responses: '200': description: Response content: application/json: - schema: *610 + schema: *608 examples: - default: &611 + default: &609 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96051,8 +95652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *359 - - *360 + - *356 + - *357 - *104 requestBody: required: true @@ -96075,9 +95676,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: - default: *611 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96093,8 +95694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *359 - - *360 + - *356 + - *357 - *104 responses: '204': @@ -96116,8 +95717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -96144,9 +95745,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: *563 + default: *561 headers: Link: *70 '404': *6 @@ -96167,8 +95768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *359 - - *360 + - *356 + - *357 - *104 requestBody: required: true @@ -96201,16 +95802,16 @@ paths: description: Reaction exists content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 '201': description: Reaction created content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 '422': *15 x-github: githubCloudOnly: false @@ -96232,10 +95833,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *359 - - *360 + - *356 + - *357 - *104 - - *564 + - *562 responses: '204': description: Response @@ -96278,9 +95879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *359 - - *360 - - &614 + - *356 + - *357 + - &612 name: pull_number description: The number that identifies the pull request. in: path @@ -96293,9 +95894,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *612 + schema: *610 examples: - default: *613 + default: *611 '304': *37 '404': *6 '406': @@ -96330,9 +95931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 requestBody: required: false content: @@ -96374,9 +95975,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *610 examples: - default: *613 + default: *611 '422': *15 '403': *29 x-github: @@ -96398,9 +95999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 requestBody: required: true content: @@ -96462,7 +96063,7 @@ paths: application/json: schema: *263 examples: - default: *479 + default: *476 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -96470,7 +96071,7 @@ paths: application/json: schema: *263 examples: - default: *479 + default: *476 '401': *25 '403': *29 '404': *6 @@ -96500,9 +96101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -96523,9 +96124,9 @@ paths: application/json: schema: type: array - items: *610 + items: *608 examples: - default: *615 + default: *613 headers: Link: *70 x-github: @@ -96558,9 +96159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 requestBody: required: true content: @@ -96665,7 +96266,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: example-for-a-multi-line-comment: value: @@ -96753,9 +96354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 - *104 requestBody: required: true @@ -96778,7 +96379,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -96864,9 +96465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 - *17 - *19 responses: @@ -96876,9 +96477,9 @@ paths: application/json: schema: type: array - items: *492 + items: *489 examples: - default: *616 + default: *614 headers: Link: *70 x-github: @@ -96908,9 +96509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 - *17 - *19 responses: @@ -96920,7 +96521,7 @@ paths: application/json: schema: type: array - items: *505 + items: *502 examples: default: value: @@ -96958,9 +96559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 responses: '204': description: Response if pull request has been merged @@ -96983,9 +96584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 requestBody: required: false content: @@ -97096,9 +96697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 responses: '200': description: Response @@ -97173,9 +96774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 requestBody: required: false content: @@ -97212,7 +96813,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *493 examples: default: value: @@ -97748,9 +97349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 requestBody: required: true content: @@ -97784,7 +97385,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *493 examples: default: value: @@ -98300,9 +97901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 - *17 - *19 responses: @@ -98312,7 +97913,7 @@ paths: application/json: schema: type: array - items: &617 + items: &615 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98463,9 +98064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 requestBody: required: false content: @@ -98551,9 +98152,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: &619 + default: &617 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98616,10 +98217,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *359 - - *360 - - *614 - - &618 + - *356 + - *357 + - *612 + - &616 name: review_id description: The unique identifier of the review. in: path @@ -98631,9 +98232,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: &620 + default: &618 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98692,10 +98293,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *359 - - *360 - - *614 - - *618 + - *356 + - *357 + - *612 + - *616 requestBody: required: true content: @@ -98718,7 +98319,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: default: value: @@ -98780,18 +98381,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *359 - - *360 - - *614 - - *618 + - *356 + - *357 + - *612 + - *616 responses: '200': description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: *619 + default: *617 '422': *7 '404': *6 x-github: @@ -98818,10 +98419,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *359 - - *360 - - *614 - - *618 + - *356 + - *357 + - *612 + - *616 - *17 - *19 responses: @@ -99056,10 +98657,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *359 - - *360 - - *614 - - *618 + - *356 + - *357 + - *612 + - *616 requestBody: required: true content: @@ -99087,7 +98688,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: default: value: @@ -99150,10 +98751,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *359 - - *360 - - *614 - - *618 + - *356 + - *357 + - *612 + - *616 requestBody: required: true content: @@ -99188,9 +98789,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: *620 + default: *618 '404': *6 '422': *7 '403': *29 @@ -99212,9 +98813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *359 - - *360 - - *614 + - *356 + - *357 + - *612 requestBody: required: false content: @@ -99277,8 +98878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *359 - - *360 + - *356 + - *357 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -99291,9 +98892,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *619 examples: - default: &622 + default: &620 value: type: file encoding: base64 @@ -99335,8 +98936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *359 - - *360 + - *356 + - *357 - name: dir description: The alternate path to look for a README file in: path @@ -99356,9 +98957,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *619 examples: - default: *622 + default: *620 '404': *6 '422': *15 x-github: @@ -99380,8 +98981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -99391,7 +98992,7 @@ paths: application/json: schema: type: array - items: *623 + items: *621 examples: default: value: @@ -99485,8 +99086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -99562,9 +99163,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *621 examples: - default: &627 + default: &625 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99669,9 +99270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *359 - - *360 - - &625 + - *356 + - *357 + - &623 name: asset_id description: The unique identifier of the asset. in: path @@ -99683,9 +99284,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *622 examples: - default: &626 + default: &624 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 @@ -99720,7 +99321,7 @@ paths: type: User site_admin: false '404': *6 - '302': *509 + '302': *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99736,9 +99337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *359 - - *360 - - *625 + - *356 + - *357 + - *623 requestBody: required: false content: @@ -99766,9 +99367,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *622 examples: - default: *626 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99784,9 +99385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *359 - - *360 - - *625 + - *356 + - *357 + - *623 responses: '204': description: Response @@ -99811,8 +99412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -99897,16 +99498,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response content: application/json: - schema: *623 + schema: *621 examples: - default: *627 + default: *625 '404': *6 x-github: githubCloudOnly: false @@ -99924,8 +99525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *359 - - *360 + - *356 + - *357 - name: tag description: tag parameter in: path @@ -99938,9 +99539,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *621 examples: - default: *627 + default: *625 '404': *6 x-github: githubCloudOnly: false @@ -99962,9 +99563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *359 - - *360 - - &628 + - *356 + - *357 + - &626 name: release_id description: The unique identifier of the release. in: path @@ -99978,9 +99579,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: *623 + schema: *621 examples: - default: *627 + default: *625 '401': description: Unauthorized x-github: @@ -99998,9 +99599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *359 - - *360 - - *628 + - *356 + - *357 + - *626 requestBody: required: false content: @@ -100064,9 +99665,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *621 examples: - default: *627 + default: *625 '404': description: Not Found if the discussion category name is invalid content: @@ -100087,9 +99688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *359 - - *360 - - *628 + - *356 + - *357 + - *626 responses: '204': description: Response @@ -100110,9 +99711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *359 - - *360 - - *628 + - *356 + - *357 + - *626 - *17 - *19 responses: @@ -100122,7 +99723,7 @@ paths: application/json: schema: type: array - items: *624 + items: *622 examples: default: value: @@ -100203,9 +99804,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: - - *359 - - *360 - - *628 + - *356 + - *357 + - *626 - name: name in: query required: true @@ -100231,7 +99832,7 @@ paths: description: Response for successful upload content: application/json: - schema: *624 + schema: *622 examples: response-for-successful-upload: value: @@ -100286,9 +99887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *359 - - *360 - - *628 + - *356 + - *357 + - *626 - 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. @@ -100312,9 +99913,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: *563 + default: *561 headers: Link: *70 '404': *6 @@ -100335,9 +99936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *359 - - *360 - - *628 + - *356 + - *357 + - *626 requestBody: required: true content: @@ -100367,16 +99968,16 @@ paths: description: Reaction exists content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 '201': description: Reaction created content: application/json: - schema: *490 + schema: *487 examples: - default: *491 + default: *488 '422': *15 x-github: githubCloudOnly: false @@ -100398,10 +99999,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *359 - - *360 - - *628 - - *564 + - *356 + - *357 + - *626 + - *562 responses: '204': description: Response @@ -100425,9 +100026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *359 - - *360 - - *425 + - *356 + - *357 + - *422 - *17 - *19 responses: @@ -100444,7 +100045,7 @@ paths: oneOf: - allOf: - *320 - - &629 + - &627 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100465,67 +100066,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *321 - - *629 + - *627 - allOf: - *322 - - *629 + - *627 - allOf: - *323 - - *629 + - *627 - allOf: - - *630 - - *629 + - *628 + - *627 - allOf: - *324 - - *629 + - *627 - allOf: - *325 - - *629 + - *627 - allOf: - *326 - - *629 + - *627 - allOf: - *327 - - *629 + - *627 - allOf: - *328 - - *629 + - *627 - allOf: - *329 - - *629 + - *627 - allOf: - *330 - - *629 + - *627 - allOf: - *331 - - *629 + - *627 - allOf: - *332 - - *629 + - *627 - allOf: - *333 - - *629 + - *627 - allOf: - *338 - - *629 + - *627 - allOf: - *339 - - *629 + - *627 - allOf: - *340 - - *629 + - *627 - allOf: - *334 - - *629 + - *627 - allOf: - *335 - - *629 + - *627 - allOf: - *336 - - *629 + - *627 - allOf: - *337 - - *629 + - *627 examples: default: value: @@ -100564,8 +100165,8 @@ paths: category: repos subcategory: rules parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 - name: includes_parents @@ -100576,7 +100177,7 @@ paths: schema: type: boolean default: true - - *631 + - *629 responses: '200': description: Response @@ -100631,8 +100232,8 @@ paths: category: repos subcategory: rules parameters: - - *359 - - *360 + - *356 + - *357 requestBody: description: Request body required: true @@ -100661,7 +100262,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *632 + items: *630 required: - name - enforcement @@ -100694,7 +100295,7 @@ paths: application/json: schema: *341 examples: - default: &643 + default: &641 value: id: 42 name: super cool ruleset @@ -100742,13 +100343,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *359 - - *360 + - *356 + - *357 + - *631 + - *632 - *633 - *634 - *635 - - *636 - - *637 - *17 - *19 responses: @@ -100756,9 +100357,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: - default: *639 + default: *637 '404': *6 '500': *55 x-github: @@ -100779,17 +100380,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *359 - - *360 - - *640 + - *356 + - *357 + - *638 responses: '200': description: Response content: application/json: - schema: *641 + schema: *639 examples: - default: *642 + default: *640 '404': *6 '500': *55 x-github: @@ -100817,8 +100418,8 @@ paths: category: repos subcategory: rules parameters: - - *359 - - *360 + - *356 + - *357 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100840,7 +100441,7 @@ paths: application/json: schema: *341 examples: - default: *643 + default: *641 '404': *6 '500': *55 put: @@ -100858,8 +100459,8 @@ paths: category: repos subcategory: rules parameters: - - *359 - - *360 + - *356 + - *357 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100893,7 +100494,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *632 + items: *630 examples: default: value: @@ -100923,7 +100524,7 @@ paths: application/json: schema: *341 examples: - default: *643 + default: *641 '404': *6 '422': *15 '500': *55 @@ -100942,8 +100543,8 @@ paths: category: repos subcategory: rules parameters: - - *359 - - *360 + - *356 + - *357 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100966,8 +100567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 - name: ruleset_id @@ -100985,7 +100586,7 @@ paths: type: array items: *344 examples: - default: *644 + default: *642 '404': *6 '500': *55 x-github: @@ -101004,8 +100605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *359 - - *360 + - *356 + - *357 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101023,7 +100624,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *643 examples: default: value: @@ -101078,26 +100679,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 + - *644 + - *645 - *646 - *647 - *648 - *649 - *650 - *651 - - *652 - - *653 - *62 - *19 - *17 + - *652 + - *653 - *654 - *655 - *656 - *657 - *658 - - *659 - - *660 responses: '200': description: Response @@ -101105,7 +100706,7 @@ paths: application/json: schema: type: array - items: &664 + items: &662 type: object properties: number: *188 @@ -101124,8 +100725,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *661 - resolution: *662 + state: *659 + resolution: *660 resolved_at: type: string format: date-time @@ -101231,7 +100832,7 @@ paths: pull request. ' - oneOf: *663 + oneOf: *661 nullable: true has_more_locations: type: boolean @@ -101395,16 +100996,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *359 - - *360 - - *456 - - *659 + - *356 + - *357 + - *453 + - *657 responses: '200': description: Response content: application/json: - schema: *664 + schema: *662 examples: default: value: @@ -101458,9 +101059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *359 - - *360 - - *456 + - *356 + - *357 + - *453 requestBody: required: true content: @@ -101468,8 +101069,8 @@ paths: schema: type: object properties: - state: *661 - resolution: *662 + state: *659 + resolution: *660 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101513,7 +101114,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *662 examples: default: value: @@ -101612,9 +101213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *359 - - *360 - - *456 + - *356 + - *357 + - *453 - *19 - *17 responses: @@ -101625,7 +101226,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &822 + items: &820 type: object properties: type: @@ -101651,6 +101252,8 @@ paths: example: commit details: oneOf: + - *663 + - *664 - *665 - *666 - *667 @@ -101662,8 +101265,6 @@ paths: - *673 - *674 - *675 - - *676 - - *677 examples: default: value: @@ -101749,8 +101350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -101758,14 +101359,14 @@ paths: schema: type: object properties: - reason: &679 + reason: &677 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *678 + placeholder_id: *676 required: - reason - placeholder_id @@ -101782,7 +101383,7 @@ paths: schema: type: object properties: - reason: *679 + reason: *677 expire_at: type: string format: date-time @@ -101828,8 +101429,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: - - *359 - - *360 + - *356 + - *357 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -101844,7 +101445,7 @@ paths: properties: incremental_scans: type: array - items: &680 + items: &678 description: Information on a single scan performed by secret scanning on the repository type: object @@ -101875,15 +101476,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *680 + items: *678 backfill_scans: type: array - items: *680 + items: *678 custom_pattern_backfill_scans: type: array items: allOf: - - *680 + - *678 - type: object properties: pattern_name: @@ -101896,7 +101497,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *680 + items: *678 examples: default: value: @@ -101961,8 +101562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *359 - - *360 + - *356 + - *357 - *62 - name: sort description: The property to sort the results by. @@ -102006,9 +101607,9 @@ paths: application/json: schema: type: array - items: *681 + items: *679 examples: - default: *682 + default: *680 '400': *14 '404': *6 x-github: @@ -102031,8 +101632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -102192,9 +101793,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *679 examples: - default: &684 + default: &682 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102433,8 +102034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -102538,7 +102139,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *679 examples: default: value: @@ -102691,17 +102292,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *359 - - *360 - - *683 + - *356 + - *357 + - *681 responses: '200': description: Response content: application/json: - schema: *681 + schema: *679 examples: - default: *684 + default: *682 '403': *29 '404': *6 x-github: @@ -102725,9 +102326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *359 - - *360 - - *683 + - *356 + - *357 + - *681 requestBody: required: true content: @@ -102886,10 +102487,10 @@ paths: description: Response content: application/json: - schema: *681 + schema: *679 examples: - default: *684 - add_credit: *684 + default: *682 + add_credit: *682 '403': *29 '404': *6 '422': @@ -102927,9 +102528,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: - - *359 - - *360 - - *683 + - *356 + - *357 + - *681 responses: '202': *39 '400': *14 @@ -102956,17 +102557,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *359 - - *360 - - *683 + - *356 + - *357 + - *681 responses: '202': description: Response content: application/json: - schema: *362 + schema: *359 examples: - default: *364 + default: *361 '400': *14 '422': *15 '403': *29 @@ -102992,8 +102593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -103092,8 +102693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103102,7 +102703,7 @@ paths: application/json: schema: type: array - items: &685 + items: &683 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103135,8 +102736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -103212,8 +102813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -103309,8 +102910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103464,8 +103065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -103475,7 +103076,7 @@ paths: application/json: schema: type: array - items: *685 + items: *683 examples: default: value: @@ -103508,8 +103109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *359 - - *360 + - *356 + - *357 - name: sha in: path required: true @@ -103563,7 +103164,7 @@ paths: description: Response content: application/json: - schema: *686 + schema: *684 examples: default: value: @@ -103617,8 +103218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -103650,14 +103251,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &687 + schema: &685 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103725,8 +103326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: false content: @@ -103752,7 +103353,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: default: value: @@ -103779,8 +103380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -103800,8 +103401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -103880,8 +103481,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *359 - - *360 + - *356 + - *357 - name: ref in: path required: true @@ -103917,8 +103518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *359 - - *360 + - *356 + - *357 - *17 - *19 responses: @@ -103950,8 +103551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *359 - - *360 + - *356 + - *357 - *19 - *17 responses: @@ -103959,7 +103560,7 @@ paths: description: Response content: application/json: - schema: &688 + schema: &686 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -103971,7 +103572,7 @@ paths: required: - names examples: - default: &689 + default: &687 value: names: - octocat @@ -103994,8 +103595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -104026,9 +103627,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *686 examples: - default: *689 + default: *687 '404': *6 '422': *7 x-github: @@ -104049,9 +103650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *359 - - *360 - - &690 + - *356 + - *357 + - &688 name: per description: The time frame to display results for. in: query @@ -104080,7 +103681,7 @@ paths: example: 128 clones: type: array - items: &691 + items: &689 title: Traffic type: object properties: @@ -104167,8 +103768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -104258,8 +103859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *359 - - *360 + - *356 + - *357 responses: '200': description: Response @@ -104319,9 +103920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *359 - - *360 - - *690 + - *356 + - *357 + - *688 responses: '200': description: Response @@ -104340,7 +103941,7 @@ paths: example: 3782 views: type: array - items: *691 + items: *689 required: - uniques - count @@ -104417,8 +104018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *359 - - *360 + - *356 + - *357 requestBody: required: true content: @@ -104698,8 +104299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -104722,8 +104323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -104745,8 +104346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -104772,8 +104373,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *359 - - *360 + - *356 + - *357 - name: ref in: path required: true @@ -104865,9 +104466,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *359 examples: - default: *364 + default: *361 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105118,7 +104719,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &692 + text_matches: &690 title: Search Result Text Matches type: array items: @@ -105280,7 +104881,7 @@ paths: enum: - author-date - committer-date - - &693 + - &691 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 @@ -105351,7 +104952,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *423 + properties: *420 nullable: true comment_count: type: integer @@ -105371,7 +104972,7 @@ paths: url: type: string format: uri - verification: *545 + verification: *542 required: - author - committer @@ -105390,7 +104991,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *423 + properties: *420 nullable: true parents: type: array @@ -105408,7 +105009,7 @@ paths: type: number node_id: type: string - text_matches: *692 + text_matches: *690 required: - sha - node_id @@ -105600,7 +105201,7 @@ paths: - interactions - created - updated - - *693 + - *691 - *17 - *19 - name: advanced_search @@ -105714,11 +105315,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: type: string state_reason: @@ -105750,7 +105351,7 @@ paths: type: string format: date-time nullable: true - text_matches: *692 + text_matches: *690 pull_request: type: object properties: @@ -106066,7 +105667,7 @@ paths: enum: - created - updated - - *693 + - *691 - *17 - *19 responses: @@ -106110,7 +105711,7 @@ paths: nullable: true score: type: number - text_matches: *692 + text_matches: *690 required: - id - node_id @@ -106195,7 +105796,7 @@ paths: - forks - help-wanted-issues - updated - - *693 + - *691 - *17 - *19 responses: @@ -106443,7 +106044,7 @@ paths: - admin - pull - push - text_matches: *692 + text_matches: *690 temp_clone_token: type: string allow_merge_commit: @@ -106743,7 +106344,7 @@ paths: type: string format: uri nullable: true - text_matches: *692 + text_matches: *690 related: type: array nullable: true @@ -106934,7 +106535,7 @@ paths: - followers - repositories - joined - - *693 + - *691 - *17 - *19 responses: @@ -107038,7 +106639,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *692 + text_matches: *690 blog: type: string nullable: true @@ -107117,7 +106718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &696 + - &694 name: team_id description: The unique identifier of the team. in: path @@ -107129,9 +106730,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *352 examples: - default: *356 + default: *353 '404': *6 x-github: githubCloudOnly: false @@ -107158,7 +106759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *696 + - *694 requestBody: required: true content: @@ -107221,16 +106822,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *355 + schema: *352 examples: - default: *356 + default: *353 '201': description: Response content: application/json: - schema: *355 + schema: *352 examples: - default: *356 + default: *353 '404': *6 '422': *15 '403': *29 @@ -107258,7 +106859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *696 + - *694 responses: '204': description: Response @@ -107287,7 +106888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *696 + - *694 - *17 - *19 responses: @@ -107325,7 +106926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *696 + - *694 - name: role description: Filters members returned by their role in the team. in: query @@ -107376,7 +106977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *696 + - *694 - *74 responses: '204': @@ -107413,7 +107014,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *696 + - *694 - *74 responses: '204': @@ -107453,7 +107054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *696 + - *694 - *74 responses: '204': @@ -107490,16 +107091,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *696 + - *694 - *74 responses: '200': description: Response content: application/json: - schema: *358 + schema: *355 examples: - response-if-user-is-a-team-maintainer: *697 + response-if-user-is-a-team-maintainer: *695 '404': *6 x-github: githubCloudOnly: false @@ -107532,7 +107133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *696 + - *694 - *74 requestBody: required: false @@ -107558,9 +107159,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *355 examples: - response-if-users-membership-with-team-is-now-pending: *698 + response-if-users-membership-with-team-is-now-pending: *696 '403': description: Forbidden if team synchronization is set up '422': @@ -107594,7 +107195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *696 + - *694 - *74 responses: '204': @@ -107622,7 +107223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *696 + - *694 - *17 - *19 responses: @@ -107664,15 +107265,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *696 - - *359 - - *360 + - *694 + - *356 + - *357 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *699 + schema: *697 examples: alternative-response-with-extra-repository-information: value: @@ -107829,9 +107430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *696 - - *359 - - *360 + - *694 + - *356 + - *357 requestBody: required: false content: @@ -107881,9 +107482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *696 - - *359 - - *360 + - *694 + - *356 + - *357 responses: '204': description: Response @@ -107908,7 +107509,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *696 + - *694 - *17 - *19 responses: @@ -107920,7 +107521,7 @@ paths: type: array items: *210 examples: - response-if-child-teams-exist: *700 + response-if-child-teams-exist: *698 headers: Link: *70 '404': *6 @@ -107953,7 +107554,7 @@ paths: application/json: schema: oneOf: - - &702 + - &700 title: Private User description: Private User type: object @@ -108156,7 +107757,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *701 + - *699 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -108309,7 +107910,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *700 examples: default: value: @@ -108655,7 +108256,7 @@ paths: application/json: schema: *263 examples: - default: *479 + default: *476 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -108663,7 +108264,7 @@ paths: application/json: schema: *263 examples: - default: *479 + default: *476 '401': *25 '403': *29 '404': *6 @@ -108707,7 +108308,7 @@ paths: type: integer secrets: type: array - items: &703 + items: &701 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -108747,7 +108348,7 @@ paths: - visibility - selected_repositories_url examples: - default: *482 + default: *479 headers: Link: *70 x-github: @@ -108823,7 +108424,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *701 examples: default: value: @@ -109121,7 +108722,7 @@ paths: application/json: schema: *263 examples: - default: *479 + default: *476 '304': *37 '500': *55 '401': *25 @@ -109179,7 +108780,7 @@ paths: application/json: schema: *263 examples: - default: *479 + default: *476 '401': *25 '403': *29 '404': *6 @@ -109236,7 +108837,7 @@ paths: description: Response content: application/json: - schema: &704 + schema: &702 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -109277,7 +108878,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &705 + default: &703 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -109322,9 +108923,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *702 examples: - default: *705 + default: *703 '404': *6 x-github: githubCloudOnly: false @@ -109361,9 +108962,9 @@ paths: type: integer machines: type: array - items: *706 + items: *704 examples: - default: *707 + default: *705 '304': *37 '500': *55 '401': *25 @@ -109442,13 +109043,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *362 + repository: *359 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *480 - required: *481 + properties: *477 + required: *478 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -110230,7 +109831,7 @@ paths: application/json: schema: *263 examples: - default: *479 + default: *476 '304': *37 '500': *55 '400': *14 @@ -110270,7 +109871,7 @@ paths: application/json: schema: *263 examples: - default: *479 + default: *476 '500': *55 '401': *25 '403': *29 @@ -110302,7 +109903,7 @@ paths: type: array items: *276 examples: - default: &718 + default: &716 value: - id: 197 name: hello_docker @@ -110403,7 +110004,7 @@ paths: application/json: schema: type: array - items: &708 + items: &706 title: Email description: Email type: object @@ -110468,9 +110069,9 @@ paths: application/json: schema: type: array - items: *708 + items: *706 examples: - default: &720 + default: &718 value: - email: octocat@github.com verified: true @@ -110545,7 +110146,7 @@ paths: application/json: schema: type: array - items: *708 + items: *706 examples: default: value: @@ -110801,7 +110402,7 @@ paths: application/json: schema: type: array - items: &709 + items: &707 title: GPG Key description: A unique encryption key type: object @@ -110932,7 +110533,7 @@ paths: - subkeys - revoked examples: - default: &737 + default: &735 value: - id: 3 name: Octocat's GPG Key @@ -111017,9 +110618,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *707 examples: - default: &710 + default: &708 value: id: 3 name: Octocat's GPG Key @@ -111076,7 +110677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &711 + - &709 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -111088,9 +110689,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *707 examples: - default: *710 + default: *708 '404': *6 '304': *37 '403': *29 @@ -111113,7 +110714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *711 + - *709 responses: '204': description: Response @@ -111430,7 +111031,7 @@ paths: required: true content: application/json: - schema: *556 + schema: *553 examples: default: value: @@ -111580,7 +111181,7 @@ paths: application/json: schema: type: array - items: &712 + items: &710 title: Key description: Key type: object @@ -111681,9 +111282,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *710 examples: - default: &713 + default: &711 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111716,15 +111317,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *593 + - *591 responses: '200': description: Response content: application/json: - schema: *712 + schema: *710 examples: - default: *713 + default: *711 '404': *6 '304': *37 '403': *29 @@ -111747,7 +111348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *593 + - *591 responses: '204': description: Response @@ -111780,7 +111381,7 @@ paths: application/json: schema: type: array - items: &714 + items: &712 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -111848,7 +111449,7 @@ paths: - account - plan examples: - default: &715 + default: &713 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -111910,9 +111511,9 @@ paths: application/json: schema: type: array - items: *714 + items: *712 examples: - default: *715 + default: *713 headers: Link: *70 '304': *37 @@ -112921,7 +112522,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *270 - - *716 + - *714 responses: '204': description: Response @@ -113054,7 +112655,7 @@ paths: - docker - nuget - container - - *717 + - *715 - *19 - *17 responses: @@ -113066,8 +112667,8 @@ paths: type: array items: *276 examples: - default: *718 - '400': *719 + default: *716 + '400': *717 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113096,7 +112697,7 @@ paths: application/json: schema: *276 examples: - default: &738 + default: &736 value: id: 40201 name: octo-name @@ -113458,9 +113059,9 @@ paths: application/json: schema: type: array - items: *708 + items: *706 examples: - default: *720 + default: *718 headers: Link: *70 '304': *37 @@ -113573,7 +113174,7 @@ paths: type: array items: *82 examples: - default: &727 + default: &725 summary: Default response value: - id: 1296269 @@ -113877,9 +113478,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *359 examples: - default: *364 + default: *361 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -113923,9 +113524,9 @@ paths: application/json: schema: type: array - items: *558 + items: *556 examples: - default: *721 + default: *719 headers: Link: *70 '304': *37 @@ -114010,7 +113611,7 @@ paths: application/json: schema: type: array - items: &722 + items: &720 title: Social account description: Social media account type: object @@ -114025,7 +113626,7 @@ paths: - provider - url examples: - default: &723 + default: &721 value: - provider: twitter url: https://twitter.com/github @@ -114087,9 +113688,9 @@ paths: application/json: schema: type: array - items: *722 + items: *720 examples: - default: *723 + default: *721 '422': *15 '304': *37 '404': *6 @@ -114176,7 +113777,7 @@ paths: application/json: schema: type: array - items: &724 + items: &722 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -114196,7 +113797,7 @@ paths: - title - created_at examples: - default: &755 + default: &753 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -114260,9 +113861,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *722 examples: - default: &725 + default: &723 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -114292,7 +113893,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: - - &726 + - &724 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -114304,9 +113905,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *722 examples: - default: *725 + default: *723 '404': *6 '304': *37 '403': *29 @@ -114329,7 +113930,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: - - *726 + - *724 responses: '204': description: Response @@ -114358,7 +113959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &756 + - &754 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 @@ -114383,11 +113984,11 @@ paths: type: array items: *82 examples: - default-response: *727 + default-response: *725 application/vnd.github.v3.star+json: schema: type: array - items: &757 + items: &755 title: Starred Repository description: Starred Repository type: object @@ -114543,8 +114144,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: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response if this repository is starred by you @@ -114572,8 +114173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -114597,8 +114198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *359 - - *360 + - *356 + - *357 responses: '204': description: Response @@ -114670,7 +114271,7 @@ paths: application/json: schema: type: array - items: *355 + items: *352 examples: default: value: @@ -114756,10 +114357,10 @@ paths: application/json: schema: oneOf: - - *702 - - *701 + - *700 + - *699 examples: - default-response: &731 + default-response: &729 summary: Default response value: login: octocat @@ -114794,7 +114395,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &732 + response-with-git-hub-plan-information: &730 summary: Response with GitHub plan information value: login: octocat @@ -114851,7 +114452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &729 + - &727 name: user_id description: The unique identifier of the user. in: path @@ -114917,7 +114518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *728 + - *726 - *17 responses: '200': @@ -114952,7 +114553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *729 + - *727 - *294 requestBody: required: true @@ -115024,7 +114625,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *730 + schema: *728 examples: table_view: summary: Response for creating a table view @@ -115076,11 +114677,11 @@ paths: application/json: schema: oneOf: - - *702 - - *701 + - *700 + - *699 examples: - default-response: *731 - response-with-git-hub-plan-information: *732 + default-response: *729 + response-with-git-hub-plan-information: *730 '404': *6 x-github: githubCloudOnly: false @@ -115130,8 +114731,8 @@ paths: required: - subject_digests examples: - default: *733 - withPredicateType: *734 + default: *731 + withPredicateType: *732 responses: '200': description: Response @@ -115184,7 +114785,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *735 + default: *733 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115404,7 +115005,7 @@ paths: initiator: type: string examples: - default: *419 + default: *416 '201': description: Response content: @@ -115699,7 +115300,7 @@ paths: application/json: schema: *204 examples: - default: &736 + default: &734 summary: Example response for a user copilot space value: id: 42 @@ -115800,7 +115401,7 @@ paths: application/json: schema: *204 examples: - default: *736 + default: *734 '403': *29 '404': *6 x-github: @@ -115923,7 +115524,7 @@ paths: application/json: schema: *204 examples: - default: *736 + default: *734 '403': *29 '404': *6 '422': *15 @@ -116691,7 +116292,7 @@ paths: type: array items: *276 examples: - default: *718 + default: *716 '403': *29 '401': *25 x-github: @@ -117075,9 +116676,9 @@ paths: application/json: schema: type: array - items: *709 + items: *707 examples: - default: *737 + default: *735 headers: Link: *70 x-github: @@ -117181,7 +116782,7 @@ paths: application/json: schema: *22 examples: - default: *555 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117305,7 +116906,7 @@ paths: - docker - nuget - container - - *717 + - *715 - *74 - *19 - *17 @@ -117318,10 +116919,10 @@ paths: type: array items: *276 examples: - default: *718 + default: *716 '403': *29 '401': *25 - '400': *719 + '400': *717 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117351,7 +116952,7 @@ paths: application/json: schema: *276 examples: - default: *738 + default: *736 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117700,7 +117301,7 @@ paths: type: array items: *298 examples: - default: *739 + default: *737 headers: Link: *70 '304': *37 @@ -117760,7 +117361,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *740 + items: *738 required: - name - data_type @@ -117776,7 +117377,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *741 + iteration_configuration: *739 required: - name - data_type @@ -117798,8 +117399,8 @@ paths: value: name: Due date data_type: date - single_select_field: *742 - iteration_field: *743 + single_select_field: *740 + iteration_field: *741 responses: '201': description: Response @@ -117807,11 +117408,11 @@ paths: application/json: schema: *298 examples: - text_field: *744 - number_field: *745 - date_field: *746 - single_select_field: *747 - iteration_field: *748 + text_field: *742 + number_field: *743 + date_field: *744 + single_select_field: *745 + iteration_field: *746 '304': *37 '403': *29 '401': *25 @@ -117833,7 +117434,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *294 - - *749 + - *747 - *74 responses: '200': @@ -117842,7 +117443,7 @@ paths: application/json: schema: *298 examples: - default: *750 + default: *748 headers: Link: *70 '304': *37 @@ -118196,7 +117797,7 @@ paths: parameters: - *294 - *74 - - *751 + - *749 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -118735,7 +118336,7 @@ paths: parameters: - *74 - *124 - - *752 + - *750 - *126 responses: '200': @@ -118834,9 +118435,9 @@ paths: - *124 - *125 - *126 - - *753 + - *751 - *129 - - *754 + - *752 responses: '200': description: Response when getting a billing usage summary @@ -118970,9 +118571,9 @@ paths: application/json: schema: type: array - items: *722 + items: *720 examples: - default: *723 + default: *721 headers: Link: *70 x-github: @@ -119002,9 +118603,9 @@ paths: application/json: schema: type: array - items: *724 + items: *722 examples: - default: *755 + default: *753 headers: Link: *70 x-github: @@ -119029,7 +118630,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *74 - - *756 + - *754 - *62 - *17 - *19 @@ -119041,11 +118642,11 @@ paths: schema: anyOf: - type: array - items: *757 + items: *755 - type: array items: *82 examples: - default-response: *727 + default-response: *725 headers: Link: *70 x-github: @@ -119204,7 +118805,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &758 + enterprise: &756 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -119262,7 +118863,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &759 + installation: &757 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -119281,7 +118882,7 @@ x-webhooks: required: - id - node_id - organization: &760 + organization: &758 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -119341,13 +118942,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &761 + repository: &759 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &793 + properties: &791 id: description: Unique identifier of the repository example: 42 @@ -120042,7 +119643,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &794 + required: &792 - archive_url - assignees_url - blobs_url @@ -120116,7 +119717,7 @@ x-webhooks: - watchers_count - created_at - updated_at - x-github-breaking-changes: &795 + x-github-breaking-changes: &793 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -120207,10 +119808,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -120286,11 +119887,11 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 - rule: &762 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + rule: &760 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) @@ -120513,11 +120114,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 - rule: *762 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + rule: *760 sender: *4 required: - action @@ -120700,11 +120301,11 @@ x-webhooks: - everyone required: - from - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 - rule: *762 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + rule: *760 sender: *4 required: - action @@ -120788,7 +120389,7 @@ x-webhooks: type: string enum: - completed - check_run: &764 + check_run: &762 title: CheckRun description: A check performed on the code of a given code change type: object @@ -120879,7 +120480,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *763 + deployment: *761 details_url: example: https://example.com type: string @@ -120964,10 +120565,10 @@ x-webhooks: - output - app - pull_requests - installation: *759 - enterprise: *758 - organization: *760 - repository: *761 + installation: *757 + enterprise: *756 + organization: *758 + repository: *759 sender: *4 required: - check_run @@ -121358,11 +120959,11 @@ x-webhooks: type: string enum: - created - check_run: *764 - installation: *759 - enterprise: *758 - organization: *760 - repository: *761 + check_run: *762 + installation: *757 + enterprise: *756 + organization: *758 + repository: *759 sender: *4 required: - check_run @@ -121756,11 +121357,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *764 - installation: *759 - enterprise: *758 - organization: *760 - repository: *761 + check_run: *762 + installation: *757 + enterprise: *756 + organization: *758 + repository: *759 requested_action: description: The action requested by the user. type: object @@ -122163,11 +121764,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *764 - installation: *759 - enterprise: *758 - organization: *760 - repository: *761 + check_run: *762 + installation: *757 + enterprise: *756 + organization: *758 + repository: *759 sender: *4 required: - check_run @@ -123137,10 +122738,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -123839,10 +123440,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -124535,10 +124136,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -124704,7 +124305,7 @@ x-webhooks: required: - login - id - dismissed_comment: *451 + dismissed_comment: *448 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124849,20 +124450,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &765 + commit_oid: &763 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: *758 - installation: *759 - organization: *760 - ref: &766 + enterprise: *756 + installation: *757 + organization: *758 + ref: &764 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: *761 + repository: *759 sender: *4 required: - action @@ -125027,7 +124628,7 @@ x-webhooks: required: - login - id - dismissed_comment: *451 + dismissed_comment: *448 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125257,12 +124858,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *765 - enterprise: *758 - installation: *759 - organization: *760 - ref: *766 - repository: *761 + commit_oid: *763 + enterprise: *756 + installation: *757 + organization: *758 + ref: *764 + repository: *759 sender: *4 required: - action @@ -125357,7 +124958,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *451 + dismissed_comment: *448 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125528,12 +125129,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *765 - enterprise: *758 - installation: *759 - organization: *760 - ref: *766 - repository: *761 + commit_oid: *763 + enterprise: *756 + installation: *757 + organization: *758 + ref: *764 + repository: *759 sender: *4 required: - action @@ -125699,7 +125300,7 @@ x-webhooks: required: - login - id - dismissed_comment: *451 + dismissed_comment: *448 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125865,12 +125466,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *765 - enterprise: *758 - installation: *759 - organization: *760 - ref: *766 - repository: *761 + commit_oid: *763 + enterprise: *756 + installation: *757 + organization: *758 + ref: *764 + repository: *759 sender: *4 required: - action @@ -125969,7 +125570,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *451 + dismissed_comment: *448 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126144,16 +125745,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *761 + repository: *759 sender: *4 required: - action @@ -126250,7 +125851,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *451 + dismissed_comment: *448 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126390,12 +125991,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *765 - enterprise: *758 - installation: *759 - organization: *760 - ref: *766 - repository: *761 + commit_oid: *763 + enterprise: *756 + installation: *757 + organization: *758 + ref: *764 + repository: *759 sender: *4 required: - action @@ -126561,7 +126162,7 @@ x-webhooks: required: - login - id - dismissed_comment: *451 + dismissed_comment: *448 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126706,10 +126307,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126964,10 +126565,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -127047,18 +126648,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *760 - pusher_type: &767 + organization: *758 + pusher_type: &765 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &768 + ref: &766 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -127068,7 +126669,7 @@ x-webhooks: enum: - tag - branch - repository: *761 + repository: *759 sender: *4 required: - ref @@ -127151,9 +126752,9 @@ x-webhooks: enum: - created definition: *306 - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -127238,9 +126839,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -127318,9 +126919,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *306 - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -127398,9 +126999,9 @@ x-webhooks: enum: - updated definition: *306 - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -127477,10 +127078,10 @@ x-webhooks: type: string enum: - updated - enterprise: *758 - installation: *759 - repository: *761 - organization: *760 + enterprise: *756 + installation: *757 + repository: *759 + organization: *758 sender: *4 new_property_values: type: array @@ -127565,18 +127166,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *758 - installation: *759 - organization: *760 - pusher_type: *767 - ref: *768 + enterprise: *756 + installation: *757 + organization: *758 + pusher_type: *765 + ref: *766 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *761 + repository: *759 sender: *4 required: - ref @@ -127656,11 +127257,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *515 - installation: *759 - organization: *760 - enterprise: *758 - repository: *761 + alert: *512 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -127740,11 +127341,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *515 - installation: *759 - organization: *760 - enterprise: *758 - repository: *761 + alert: *512 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -127825,11 +127426,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *515 - installation: *759 - organization: *760 - enterprise: *758 - repository: *761 + alert: *512 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -127910,11 +127511,11 @@ x-webhooks: type: string enum: - created - alert: *515 - installation: *759 - organization: *760 - enterprise: *758 - repository: *761 + alert: *512 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -127993,11 +127594,11 @@ x-webhooks: type: string enum: - dismissed - alert: *515 - installation: *759 - organization: *760 - enterprise: *758 - repository: *761 + alert: *512 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -128076,11 +127677,11 @@ x-webhooks: type: string enum: - fixed - alert: *515 - installation: *759 - organization: *760 - enterprise: *758 - repository: *761 + alert: *512 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -128160,11 +127761,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *515 - installation: *759 - organization: *760 - enterprise: *758 - repository: *761 + alert: *512 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -128243,11 +127844,11 @@ x-webhooks: type: string enum: - reopened - alert: *515 - installation: *759 - organization: *760 - enterprise: *758 - repository: *761 + alert: *512 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -128324,9 +127925,9 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - key: &769 + enterprise: *756 + installation: *757 + key: &767 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -128362,8 +127963,8 @@ x-webhooks: - verified - created_at - read_only - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -128440,11 +128041,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - key: *769 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + key: *767 + organization: *758 + repository: *759 sender: *4 required: - action @@ -129000,12 +128601,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: &775 + workflow: &773 title: Workflow type: object nullable: true @@ -129746,15 +129347,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *770 - required: *771 + properties: *768 + required: *769 nullable: true pull_requests: type: array - items: *612 - repository: *761 - organization: *760 - installation: *759 + items: *610 + repository: *759 + organization: *758 + installation: *757 sender: *4 responses: '200': @@ -129825,7 +129426,7 @@ x-webhooks: type: string enum: - approved - approver: &772 + approver: &770 type: object properties: avatar_url: @@ -129868,11 +129469,11 @@ x-webhooks: type: string comment: type: string - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 - reviewers: &773 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + reviewers: &771 type: array items: type: object @@ -129951,7 +129552,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &774 + workflow_job_run: &772 type: object properties: conclusion: @@ -130682,18 +130283,18 @@ x-webhooks: type: string enum: - rejected - approver: *772 + approver: *770 comment: type: string - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 - reviewers: *773 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + reviewers: *771 sender: *4 since: type: string - workflow_job_run: *774 + workflow_job_run: *772 workflow_job_runs: type: array items: @@ -131397,13 +130998,13 @@ x-webhooks: type: string enum: - requested - enterprise: *758 + enterprise: *756 environment: type: string - installation: *759 - organization: *760 - repository: *761 - requestor: &780 + installation: *757 + organization: *758 + repository: *759 + requestor: &778 title: User type: object nullable: true @@ -133292,12 +132893,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *773 workflow_run: title: Deployment Workflow Run type: object @@ -133977,7 +133578,7 @@ x-webhooks: type: string enum: - answered - answer: &778 + answer: &776 type: object properties: author_association: @@ -134134,11 +133735,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -134265,11 +133866,11 @@ x-webhooks: - from required: - category - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -134352,11 +133953,11 @@ x-webhooks: type: string enum: - closed - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -134438,7 +134039,7 @@ x-webhooks: type: string enum: - created - comment: &777 + comment: &775 type: object properties: author_association: @@ -134595,11 +134196,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -134682,12 +134283,12 @@ x-webhooks: type: string enum: - deleted - comment: *777 - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + comment: *775 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -134782,12 +134383,12 @@ x-webhooks: - from required: - body - comment: *777 - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + comment: *775 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -134871,11 +134472,11 @@ x-webhooks: type: string enum: - created - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -134957,11 +134558,11 @@ x-webhooks: type: string enum: - deleted - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135061,11 +134662,11 @@ x-webhooks: type: string required: - from - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135147,10 +134748,10 @@ x-webhooks: type: string enum: - labeled - discussion: *776 - enterprise: *758 - installation: *759 - label: &779 + discussion: *774 + enterprise: *756 + installation: *757 + label: &777 title: Label type: object properties: @@ -135182,8 +134783,8 @@ x-webhooks: - color - default - description - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135266,11 +134867,11 @@ x-webhooks: type: string enum: - locked - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135352,11 +134953,11 @@ x-webhooks: type: string enum: - pinned - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135438,11 +135039,11 @@ x-webhooks: type: string enum: - reopened - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135527,16 +135128,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *776 - new_repository: *761 + new_discussion: *774 + new_repository: *759 required: - new_discussion - new_repository - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135619,10 +135220,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *776 - old_answer: *778 - organization: *760 - repository: *761 + discussion: *774 + old_answer: *776 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135704,12 +135305,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *776 - enterprise: *758 - installation: *759 - label: *779 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + label: *777 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135792,11 +135393,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135878,11 +135479,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *776 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + discussion: *774 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135955,7 +135556,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *758 + enterprise: *756 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -136615,9 +136216,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *759 - organization: *760 - repository: *761 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - forkee @@ -136763,9 +136364,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 pages: description: The pages that were updated. type: array @@ -136802,7 +136403,7 @@ x-webhooks: - action - sha - html_url - repository: *761 + repository: *759 sender: *4 required: - pages @@ -136878,10 +136479,10 @@ x-webhooks: type: string enum: - created - enterprise: *758 + enterprise: *756 installation: *22 - organization: *760 - repositories: &781 + organization: *758 + repositories: &779 description: An array of repository objects that the installation can access. type: array @@ -136907,8 +136508,8 @@ x-webhooks: - name - full_name - private - repository: *761 - requester: *780 + repository: *759 + requester: *778 sender: *4 required: - action @@ -136983,11 +136584,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 + enterprise: *756 installation: *22 - organization: *760 - repositories: *781 - repository: *761 + organization: *758 + repositories: *779 + repository: *759 requester: nullable: true sender: *4 @@ -137063,11 +136664,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *758 + enterprise: *756 installation: *22 - organization: *760 - repositories: *781 - repository: *761 + organization: *758 + repositories: *779 + repository: *759 requester: nullable: true sender: *4 @@ -137143,10 +136744,10 @@ x-webhooks: type: string enum: - added - enterprise: *758 + enterprise: *756 installation: *22 - organization: *760 - repositories_added: &782 + organization: *758 + repositories_added: &780 description: An array of repository objects, which were added to the installation. type: array @@ -137192,15 +136793,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *761 - repository_selection: &783 + repository: *759 + repository_selection: &781 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *780 + requester: *778 sender: *4 required: - action @@ -137279,10 +136880,10 @@ x-webhooks: type: string enum: - removed - enterprise: *758 + enterprise: *756 installation: *22 - organization: *760 - repositories_added: *782 + organization: *758 + repositories_added: *780 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -137309,9 +136910,9 @@ x-webhooks: - name - full_name - private - repository: *761 - repository_selection: *783 - requester: *780 + repository: *759 + repository_selection: *781 + requester: *778 sender: *4 required: - action @@ -137390,11 +136991,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *758 + enterprise: *756 installation: *22 - organization: *760 - repositories: *781 - repository: *761 + organization: *758 + repositories: *779 + repository: *759 requester: nullable: true sender: *4 @@ -137572,10 +137173,10 @@ x-webhooks: type: string required: - from - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 target_type: type: string @@ -137654,11 +137255,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *758 + enterprise: *756 installation: *22 - organization: *760 - repositories: *781 - repository: *761 + organization: *758 + repositories: *779 + repository: *759 requester: nullable: true sender: *4 @@ -137832,8 +137433,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *589 - required: *590 + properties: *587 + required: *588 nullable: true user: title: User @@ -137918,8 +137519,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -138708,8 +138309,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139058,8 +138659,8 @@ x-webhooks: - state - locked - assignee - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -139139,7 +138740,7 @@ x-webhooks: type: string enum: - deleted - comment: &784 + comment: &782 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -139296,8 +138897,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *589 - required: *590 + properties: *587 + required: *588 nullable: true required: - url @@ -139312,8 +138913,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140098,8 +139699,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140450,8 +140051,8 @@ x-webhooks: - state - locked - assignee - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -140531,7 +140132,7 @@ x-webhooks: type: string enum: - edited - changes: &814 + changes: &812 description: The changes to the comment. type: object properties: @@ -140543,9 +140144,9 @@ x-webhooks: type: string required: - from - comment: *784 - enterprise: *758 - installation: *759 + comment: *782 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141333,8 +140934,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141683,8 +141284,8 @@ x-webhooks: - state - locked - assignee - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -141765,9 +141366,9 @@ x-webhooks: type: string enum: - pinned - comment: *784 - enterprise: *758 - installation: *759 + comment: *782 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142557,8 +142158,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142909,8 +142510,8 @@ x-webhooks: - state - locked - assignee - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -142990,9 +142591,9 @@ x-webhooks: type: string enum: - unpinned - comment: *784 - enterprise: *758 - installation: *759 + comment: *782 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143782,8 +143383,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144134,8 +143735,8 @@ x-webhooks: - state - locked - assignee - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -144224,9 +143825,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *759 - organization: *760 - repository: *761 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -144315,9 +143916,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *759 - organization: *760 - repository: *761 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -144405,9 +144006,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *759 - organization: *760 - repository: *761 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -144496,9 +144097,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *759 - organization: *760 - repository: *761 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -144578,10 +144179,10 @@ x-webhooks: type: string enum: - assigned - assignee: *780 - enterprise: *758 - installation: *759 - issue: &785 + assignee: *778 + enterprise: *756 + installation: *757 + issue: &783 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145373,11 +144974,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145494,8 +145095,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -145575,8 +145176,8 @@ x-webhooks: type: string enum: - closed - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -146373,11 +145974,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146629,8 +146230,8 @@ x-webhooks: required: - state - closed_at - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -146709,8 +146310,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147498,11 +147099,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147618,8 +147219,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -147698,8 +147299,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148509,11 +148110,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148608,7 +148209,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &786 + milestone: &784 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148746,8 +148347,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -148846,8 +148447,8 @@ x-webhooks: type: string required: - from - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149639,11 +149240,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149760,9 +149361,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *779 - organization: *760 - repository: *761 + label: *777 + organization: *758 + repository: *759 sender: *4 required: - action @@ -149842,9 +149443,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *758 - installation: *759 - issue: *785 + enterprise: *756 + installation: *757 + issue: *783 issue_field: type: object description: The issue field whose value was set or updated on the @@ -149998,8 +149599,8 @@ x-webhooks: - id required: - from - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -150079,9 +149680,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *758 - installation: *759 - issue: *785 + enterprise: *756 + installation: *757 + issue: *783 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -150162,8 +149763,8 @@ x-webhooks: nullable: true required: - id - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -150243,8 +149844,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151035,11 +150636,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151156,9 +150757,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *779 - organization: *760 - repository: *761 + label: *777 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151238,8 +150839,8 @@ x-webhooks: type: string enum: - locked - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152054,11 +151655,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152152,8 +151753,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152232,8 +151833,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153042,11 +152643,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153140,9 +152741,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *786 - organization: *760 - repository: *761 + milestone: *784 + organization: *758 + repository: *759 sender: *4 required: - action @@ -154005,11 +153606,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154590,8 +154191,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155375,11 +154976,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155503,8 +155104,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -155584,9 +155185,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *758 - installation: *759 - issue: &787 + enterprise: *756 + installation: *757 + issue: &785 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -156372,11 +155973,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156492,8 +156093,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -156572,8 +156173,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157386,11 +156987,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157485,8 +157086,8 @@ x-webhooks: user_view_type: type: string type: *258 - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -158355,11 +157956,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158954,11 +158555,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *758 - installation: *759 - issue: *787 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + issue: *785 + organization: *758 + repository: *759 sender: *4 required: - action @@ -159038,12 +158639,12 @@ x-webhooks: type: string enum: - typed - enterprise: *758 - installation: *759 - issue: *785 + enterprise: *756 + installation: *757 + issue: *783 type: *258 - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -159124,7 +158725,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &817 + assignee: &815 title: User type: object nullable: true @@ -159194,11 +158795,11 @@ x-webhooks: required: - login - id - enterprise: *758 - installation: *759 - issue: *785 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + issue: *783 + organization: *758 + repository: *759 sender: *4 required: - action @@ -159277,12 +158878,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *758 - installation: *759 - issue: *785 - label: *779 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + issue: *783 + label: *777 + organization: *758 + repository: *759 sender: *4 required: - action @@ -159362,8 +158963,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -160176,11 +159777,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *694 - issue_dependencies_summary: *695 + sub_issues_summary: *692 + issue_dependencies_summary: *693 issue_field_values: type: array - items: *573 + items: *571 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160274,8 +159875,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -160355,11 +159956,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *758 - installation: *759 - issue: *787 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + issue: *785 + organization: *758 + repository: *759 sender: *4 required: - action @@ -160438,12 +160039,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *758 - installation: *759 - issue: *785 + enterprise: *756 + installation: *757 + issue: *783 type: *258 - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -160523,11 +160124,11 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - label: *779 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + label: *777 + organization: *758 + repository: *759 sender: *4 required: - action @@ -160605,11 +160206,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - label: *779 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + label: *777 + organization: *758 + repository: *759 sender: *4 required: - action @@ -160719,11 +160320,11 @@ x-webhooks: type: string required: - from - enterprise: *758 - installation: *759 - label: *779 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + label: *777 + organization: *758 + repository: *759 sender: *4 required: - action @@ -160805,9 +160406,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *758 - installation: *759 - marketplace_purchase: &788 + enterprise: *756 + installation: *757 + marketplace_purchase: &786 title: Marketplace Purchase type: object required: @@ -160890,8 +160491,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *760 - previous_marketplace_purchase: &789 + organization: *758 + previous_marketplace_purchase: &787 title: Marketplace Purchase type: object properties: @@ -160971,7 +160572,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *761 + repository: *759 sender: *4 required: - action @@ -161051,10 +160652,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *758 - installation: *759 - marketplace_purchase: *788 - organization: *760 + enterprise: *756 + installation: *757 + marketplace_purchase: *786 + organization: *758 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161137,7 +160738,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *761 + repository: *759 sender: *4 required: - action @@ -161219,10 +160820,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *758 - installation: *759 - marketplace_purchase: *788 - organization: *760 + enterprise: *756 + installation: *757 + marketplace_purchase: *786 + organization: *758 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161304,7 +160905,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *761 + repository: *759 sender: *4 required: - action @@ -161385,8 +160986,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 marketplace_purchase: title: Marketplace Purchase type: object @@ -161468,9 +161069,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *760 - previous_marketplace_purchase: *789 - repository: *761 + organization: *758 + previous_marketplace_purchase: *787 + repository: *759 sender: *4 required: - action @@ -161550,12 +161151,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *758 - installation: *759 - marketplace_purchase: *788 - organization: *760 - previous_marketplace_purchase: *789 - repository: *761 + enterprise: *756 + installation: *757 + marketplace_purchase: *786 + organization: *758 + previous_marketplace_purchase: *787 + repository: *759 sender: *4 required: - action @@ -161657,11 +161258,11 @@ x-webhooks: type: string required: - to - enterprise: *758 - installation: *759 - member: *780 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + member: *778 + organization: *758 + repository: *759 sender: *4 required: - action @@ -161761,11 +161362,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *758 - installation: *759 - member: *780 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + member: *778 + organization: *758 + repository: *759 sender: *4 required: - action @@ -161844,11 +161445,11 @@ x-webhooks: type: string enum: - removed - enterprise: *758 - installation: *759 - member: *780 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + member: *778 + organization: *758 + repository: *759 sender: *4 required: - action @@ -161926,11 +161527,11 @@ x-webhooks: type: string enum: - added - enterprise: *758 - installation: *759 - member: *780 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + member: *778 + organization: *758 + repository: *759 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162006,7 +161607,7 @@ x-webhooks: required: - login - id - team: &790 + team: &788 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162229,11 +161830,11 @@ x-webhooks: type: string enum: - removed - enterprise: *758 - installation: *759 - member: *780 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + member: *778 + organization: *758 + repository: *759 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162310,7 +161911,7 @@ x-webhooks: required: - login - id - team: *790 + team: *788 required: - action - scope @@ -162392,8 +161993,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *759 - merge_group: &792 + installation: *757 + merge_group: &790 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162412,15 +162013,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *791 + head_commit: *789 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -162506,10 +162107,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *759 - merge_group: *792 - organization: *760 - repository: *761 + installation: *757 + merge_group: *790 + organization: *758 + repository: *759 sender: *4 required: - action @@ -162582,7 +162183,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 + enterprise: *756 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -162691,17 +162292,17 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *759 - organization: *760 + installation: *757 + organization: *758 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 - x-github-breaking-changes: *795 + properties: *791 + required: *792 + x-github-breaking-changes: *793 nullable: true sender: *4 required: @@ -162782,11 +162383,11 @@ x-webhooks: type: string enum: - closed - enterprise: *758 - installation: *759 - milestone: *786 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + milestone: *784 + organization: *758 + repository: *759 sender: *4 required: - action @@ -162865,9 +162466,9 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - milestone: &796 + enterprise: *756 + installation: *757 + milestone: &794 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163004,8 +162605,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -163084,11 +162685,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - milestone: *786 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + milestone: *784 + organization: *758 + repository: *759 sender: *4 required: - action @@ -163198,11 +162799,11 @@ x-webhooks: type: string required: - from - enterprise: *758 - installation: *759 - milestone: *786 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + milestone: *784 + organization: *758 + repository: *759 sender: *4 required: - action @@ -163282,11 +162883,11 @@ x-webhooks: type: string enum: - opened - enterprise: *758 - installation: *759 - milestone: *796 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + milestone: *794 + organization: *758 + repository: *759 sender: *4 required: - action @@ -163365,11 +162966,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *780 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + blocked_user: *778 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -163448,11 +163049,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *780 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + blocked_user: *778 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -163531,9 +163132,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - membership: &797 + enterprise: *756 + installation: *757 + membership: &795 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -163640,8 +163241,8 @@ x-webhooks: - role - organization_url - user - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 required: - action @@ -163719,11 +163320,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *758 - installation: *759 - membership: *797 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + membership: *795 + organization: *758 + repository: *759 sender: *4 required: - action @@ -163802,8 +163403,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -163919,10 +163520,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 - user: *780 + user: *778 required: - action - invitation @@ -164000,11 +163601,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *758 - installation: *759 - membership: *797 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + membership: *795 + organization: *758 + repository: *759 sender: *4 required: - action @@ -164091,11 +163692,11 @@ x-webhooks: properties: from: type: string - enterprise: *758 - installation: *759 - membership: *797 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + membership: *795 + organization: *758 + repository: *759 sender: *4 required: - action @@ -164172,9 +163773,9 @@ x-webhooks: type: string enum: - published - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 package: description: Information about the package. type: object @@ -164673,7 +164274,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &798 + items: &796 title: Ruby Gems metadata type: object properties: @@ -164768,7 +164369,7 @@ x-webhooks: - owner - package_version - registry - repository: *761 + repository: *759 sender: *4 required: - action @@ -164844,9 +164445,9 @@ x-webhooks: type: string enum: - updated - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 package: description: Information about the package. type: object @@ -165199,7 +164800,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *798 + items: *796 source_url: type: string format: uri @@ -165269,7 +164870,7 @@ x-webhooks: - owner - package_version - registry - repository: *761 + repository: *759 sender: *4 required: - action @@ -165445,12 +165046,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *758 + enterprise: *756 id: type: integer - installation: *759 - organization: *760 - repository: *761 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - id @@ -165527,7 +165128,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &799 + personal_access_token_request: &797 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -165673,10 +165274,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *758 - organization: *760 + enterprise: *756 + organization: *758 sender: *4 - installation: *759 + installation: *757 required: - action - personal_access_token_request @@ -165753,11 +165354,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *799 - enterprise: *758 - organization: *760 + personal_access_token_request: *797 + enterprise: *756 + organization: *758 sender: *4 - installation: *759 + installation: *757 required: - action - personal_access_token_request @@ -165833,11 +165434,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *799 - enterprise: *758 - organization: *760 + personal_access_token_request: *797 + enterprise: *756 + organization: *758 sender: *4 - installation: *759 + installation: *757 required: - action - personal_access_token_request @@ -165912,11 +165513,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *799 - organization: *760 - enterprise: *758 + personal_access_token_request: *797 + organization: *758 + enterprise: *756 sender: *4 - installation: *759 + installation: *757 required: - action - personal_access_token_request @@ -166021,7 +165622,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *800 + last_response: *798 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166053,8 +165654,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 zen: description: Random string of GitHub zen. @@ -166299,10 +165900,10 @@ x-webhooks: - from required: - note - enterprise: *758 - installation: *759 - organization: *760 - project_card: &801 + enterprise: *756 + installation: *757 + organization: *758 + project_card: &799 title: Project Card type: object properties: @@ -166421,7 +166022,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *761 + repository: *759 sender: *4 required: - action @@ -166502,11 +166103,11 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - organization: *760 - project_card: *801 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + project_card: *799 + repository: *759 sender: *4 required: - action @@ -166586,9 +166187,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 project_card: title: Project Card type: object @@ -166716,9 +166317,9 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 - x-github-breaking-changes: *795 + properties: *791 + required: *792 + x-github-breaking-changes: *793 nullable: true sender: *4 required: @@ -166812,11 +166413,11 @@ x-webhooks: - from required: - note - enterprise: *758 - installation: *759 - organization: *760 - project_card: *801 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + project_card: *799 + repository: *759 sender: *4 required: - action @@ -166910,9 +166511,9 @@ x-webhooks: - from required: - column_id - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 project_card: allOf: - title: Project Card @@ -167102,7 +166703,7 @@ x-webhooks: type: string required: - after_id - repository: *761 + repository: *759 sender: *4 required: - action @@ -167182,10 +166783,10 @@ x-webhooks: type: string enum: - closed - enterprise: *758 - installation: *759 - organization: *760 - project: &803 + enterprise: *756 + installation: *757 + organization: *758 + project: &801 title: Project type: object properties: @@ -167309,7 +166910,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *761 + repository: *759 sender: *4 required: - action @@ -167389,10 +166990,10 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - organization: *760 - project_column: &802 + enterprise: *756 + installation: *757 + organization: *758 + project_column: &800 title: Project Column type: object properties: @@ -167431,7 +167032,7 @@ x-webhooks: - name - created_at - updated_at - repository: *761 + repository: *759 sender: *4 required: - action @@ -167510,19 +167111,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - organization: *760 - project_column: *802 + enterprise: *756 + installation: *757 + organization: *758 + project_column: *800 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 - x-github-breaking-changes: *795 + properties: *791 + required: *792 + x-github-breaking-changes: *793 nullable: true sender: *4 required: @@ -167612,11 +167213,11 @@ x-webhooks: type: string required: - from - enterprise: *758 - installation: *759 - organization: *760 - project_column: *802 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + project_column: *800 + repository: *759 sender: *4 required: - action @@ -167696,11 +167297,11 @@ x-webhooks: type: string enum: - moved - enterprise: *758 - installation: *759 - organization: *760 - project_column: *802 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + project_column: *800 + repository: *759 sender: *4 required: - action @@ -167780,11 +167381,11 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - organization: *760 - project: *803 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + project: *801 + repository: *759 sender: *4 required: - action @@ -167864,19 +167465,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - organization: *760 - project: *803 + enterprise: *756 + installation: *757 + organization: *758 + project: *801 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 - x-github-breaking-changes: *795 + properties: *791 + required: *792 + x-github-breaking-changes: *793 nullable: true sender: *4 required: @@ -167978,11 +167579,11 @@ x-webhooks: type: string required: - from - enterprise: *758 - installation: *759 - organization: *760 - project: *803 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + project: *801 + repository: *759 sender: *4 required: - action @@ -168061,11 +167662,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *758 - installation: *759 - organization: *760 - project: *803 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + project: *801 + repository: *759 sender: *4 required: - action @@ -168146,8 +167747,8 @@ x-webhooks: type: string enum: - closed - installation: *759 - organization: *760 + installation: *757 + organization: *758 projects_v2: *292 sender: *4 required: @@ -168229,8 +167830,8 @@ x-webhooks: type: string enum: - created - installation: *759 - organization: *760 + installation: *757 + organization: *758 projects_v2: *292 sender: *4 required: @@ -168312,8 +167913,8 @@ x-webhooks: type: string enum: - deleted - installation: *759 - organization: *760 + installation: *757 + organization: *758 projects_v2: *292 sender: *4 required: @@ -168431,8 +168032,8 @@ x-webhooks: type: string to: type: string - installation: *759 - organization: *760 + installation: *757 + organization: *758 projects_v2: *292 sender: *4 required: @@ -168516,7 +168117,7 @@ x-webhooks: type: string enum: - archived - changes: &807 + changes: &805 type: object properties: archived_at: @@ -168530,9 +168131,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *759 - organization: *760 - projects_v2_item: &804 + installation: *757 + organization: *758 + projects_v2_item: &802 title: Projects v2 Item description: An item belonging to a project type: object @@ -168667,9 +168268,9 @@ x-webhooks: nullable: true to: type: string - installation: *759 - organization: *760 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *802 sender: *4 required: - action @@ -168751,9 +168352,9 @@ x-webhooks: type: string enum: - created - installation: *759 - organization: *760 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *802 sender: *4 required: - action @@ -168834,9 +168435,9 @@ x-webhooks: type: string enum: - deleted - installation: *759 - organization: *760 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *802 sender: *4 required: - action @@ -168942,7 +168543,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &805 + - &803 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -168964,7 +168565,7 @@ x-webhooks: required: - id - name - - &806 + - &804 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -168998,8 +168599,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *805 - - *806 + - *803 + - *804 required: - field_value - type: object @@ -169015,9 +168616,9 @@ x-webhooks: nullable: true required: - body - installation: *759 - organization: *760 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *802 sender: *4 required: - action @@ -169112,9 +168713,9 @@ x-webhooks: to: type: string nullable: true - installation: *759 - organization: *760 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *802 sender: *4 required: - action @@ -169197,10 +168798,10 @@ x-webhooks: type: string enum: - restored - changes: *807 - installation: *759 - organization: *760 - projects_v2_item: *804 + changes: *805 + installation: *757 + organization: *758 + projects_v2_item: *802 sender: *4 required: - action @@ -169282,8 +168883,8 @@ x-webhooks: type: string enum: - reopened - installation: *759 - organization: *760 + installation: *757 + organization: *758 projects_v2: *292 sender: *4 required: @@ -169365,14 +168966,14 @@ x-webhooks: type: string enum: - created - installation: *759 - organization: *760 - projects_v2_status_update: &810 + installation: *757 + organization: *758 + projects_v2_status_update: &808 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *808 - required: *809 + properties: *806 + required: *807 sender: *4 required: - action @@ -169453,9 +169054,9 @@ x-webhooks: type: string enum: - deleted - installation: *759 - organization: *760 - projects_v2_status_update: *810 + installation: *757 + organization: *758 + projects_v2_status_update: *808 sender: *4 required: - action @@ -169591,9 +169192,9 @@ x-webhooks: type: string format: date nullable: true - installation: *759 - organization: *760 - projects_v2_status_update: *810 + installation: *757 + organization: *758 + projects_v2_status_update: *808 sender: *4 required: - action @@ -169664,10 +169265,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - repository @@ -169744,13 +169345,13 @@ x-webhooks: type: string enum: - assigned - assignee: *780 - enterprise: *758 - installation: *759 - number: &811 + assignee: *778 + enterprise: *756 + installation: *757 + number: &809 description: The pull request number. type: integer - organization: *760 + organization: *758 pull_request: title: Pull Request type: object @@ -172055,7 +171656,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 sender: *4 required: - action @@ -172152,11 +171753,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 number: type: integer - organization: *760 + organization: *758 pull_request: title: Pull Request type: object @@ -174456,7 +174057,7 @@ x-webhooks: - draft reason: type: string - repository: *761 + repository: *759 sender: *4 required: - action @@ -174553,11 +174154,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 number: type: integer - organization: *760 + organization: *758 pull_request: title: Pull Request type: object @@ -176857,7 +176458,7 @@ x-webhooks: - draft reason: type: string - repository: *761 + repository: *759 sender: *4 required: - action @@ -176954,13 +176555,13 @@ x-webhooks: type: string enum: - closed - enterprise: *758 - installation: *759 - number: *811 - organization: *760 - pull_request: &812 + enterprise: *756 + installation: *757 + number: *809 + organization: *758 + pull_request: &810 allOf: - - *612 + - *610 - type: object properties: allow_auto_merge: @@ -177022,7 +176623,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *761 + repository: *759 sender: *4 required: - action @@ -177103,12 +176704,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *758 - installation: *759 - number: *811 - organization: *760 - pull_request: *812 - repository: *761 + enterprise: *756 + installation: *757 + number: *809 + organization: *758 + pull_request: *810 + repository: *759 sender: *4 required: - action @@ -177188,11 +176789,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *758 - milestone: *596 - number: *811 - organization: *760 - pull_request: &813 + enterprise: *756 + milestone: *594 + number: *809 + organization: *758 + pull_request: &811 title: Pull Request type: object properties: @@ -179519,7 +179120,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *761 + repository: *759 sender: *4 required: - action @@ -179598,11 +179199,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 number: type: integer - organization: *760 + organization: *758 pull_request: title: Pull Request type: object @@ -181906,7 +181507,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *761 + repository: *759 sender: *4 required: - action @@ -182038,12 +181639,12 @@ x-webhooks: type: string required: - from - enterprise: *758 - installation: *759 - number: *811 - organization: *760 - pull_request: *812 - repository: *761 + enterprise: *756 + installation: *757 + number: *809 + organization: *758 + pull_request: *810 + repository: *759 sender: *4 required: - action @@ -182123,11 +181724,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 number: type: integer - organization: *760 + organization: *758 pull_request: title: Pull Request type: object @@ -184416,7 +184017,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 sender: *4 required: - action @@ -184504,11 +184105,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *758 - installation: *759 - label: *779 - number: *811 - organization: *760 + enterprise: *756 + installation: *757 + label: *777 + number: *809 + organization: *758 pull_request: title: Pull Request type: object @@ -186812,7 +186413,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 sender: *4 required: - action @@ -186908,10 +186509,10 @@ x-webhooks: type: string enum: - locked - enterprise: *758 - installation: *759 - number: *811 - organization: *760 + enterprise: *756 + installation: *757 + number: *809 + organization: *758 pull_request: title: Pull Request type: object @@ -189213,7 +188814,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 sender: *4 required: - action @@ -189308,12 +188909,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *758 - milestone: *596 - number: *811 - organization: *760 - pull_request: *813 - repository: *761 + enterprise: *756 + milestone: *594 + number: *809 + organization: *758 + pull_request: *811 + repository: *759 sender: *4 required: - action @@ -189392,12 +188993,12 @@ x-webhooks: type: string enum: - opened - enterprise: *758 - installation: *759 - number: *811 - organization: *760 - pull_request: *812 - repository: *761 + enterprise: *756 + installation: *757 + number: *809 + organization: *758 + pull_request: *810 + repository: *759 sender: *4 required: - action @@ -189478,12 +189079,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *758 - installation: *759 - number: *811 - organization: *760 - pull_request: *812 - repository: *761 + enterprise: *756 + installation: *757 + number: *809 + organization: *758 + pull_request: *810 + repository: *759 sender: *4 required: - action @@ -189563,12 +189164,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *758 - installation: *759 - number: *811 - organization: *760 - pull_request: *812 - repository: *761 + enterprise: *756 + installation: *757 + number: *809 + organization: *758 + pull_request: *810 + repository: *759 sender: *4 required: - action @@ -189934,9 +189535,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 pull_request: type: object properties: @@ -192128,7 +191729,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *761 + repository: *759 sender: *4 required: - action @@ -192223,7 +191824,7 @@ x-webhooks: type: string enum: - deleted - comment: &815 + comment: &813 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -192508,9 +192109,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 pull_request: type: object properties: @@ -194690,7 +194291,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *761 + repository: *759 sender: *4 required: - action @@ -194785,11 +194386,11 @@ x-webhooks: type: string enum: - edited - changes: *814 - comment: *815 - enterprise: *758 - installation: *759 - organization: *760 + changes: *812 + comment: *813 + enterprise: *756 + installation: *757 + organization: *758 pull_request: type: object properties: @@ -196972,7 +196573,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *761 + repository: *759 sender: *4 required: - action @@ -197068,9 +196669,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -199265,7 +198866,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *761 + repository: *759 review: description: The review that was affected. type: object @@ -199527,9 +199128,9 @@ x-webhooks: type: string required: - from - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -201583,8 +201184,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *761 - review: &816 + repository: *759 + review: &814 description: The review that was affected. type: object properties: @@ -201825,12 +201426,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *760 + organization: *758 pull_request: title: Pull Request type: object @@ -204135,7 +203736,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 requested_reviewer: title: User type: object @@ -204219,12 +203820,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *760 + organization: *758 pull_request: title: Pull Request type: object @@ -206536,7 +206137,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206751,12 +206352,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *760 + organization: *758 pull_request: title: Pull Request type: object @@ -209063,7 +208664,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 requested_reviewer: title: User type: object @@ -209148,12 +208749,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *758 - installation: *759 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *760 + organization: *758 pull_request: title: Pull Request type: object @@ -211451,7 +211052,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211655,9 +211256,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -213854,8 +213455,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *761 - review: *816 + repository: *759 + review: *814 sender: *4 required: - action @@ -213950,9 +213551,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -216044,7 +215645,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *761 + repository: *759 sender: *4 thread: type: object @@ -216439,9 +216040,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -218519,7 +218120,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *761 + repository: *759 sender: *4 thread: type: object @@ -218917,10 +218518,10 @@ x-webhooks: type: string before: type: string - enterprise: *758 - installation: *759 - number: *811 - organization: *760 + enterprise: *756 + installation: *757 + number: *809 + organization: *758 pull_request: title: Pull Request type: object @@ -221213,7 +220814,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 sender: *4 required: - action @@ -221310,11 +220911,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *817 - enterprise: *758 - installation: *759 - number: *811 - organization: *760 + assignee: *815 + enterprise: *756 + installation: *757 + number: *809 + organization: *758 pull_request: title: Pull Request type: object @@ -223619,7 +223220,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 sender: *4 required: - action @@ -223713,11 +223314,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *758 - installation: *759 - label: *779 - number: *811 - organization: *760 + enterprise: *756 + installation: *757 + label: *777 + number: *809 + organization: *758 pull_request: title: Pull Request type: object @@ -226012,7 +225613,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 sender: *4 required: - action @@ -226108,10 +225709,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *758 - installation: *759 - number: *811 - organization: *760 + enterprise: *756 + installation: *757 + number: *809 + organization: *758 pull_request: title: Pull Request type: object @@ -228398,7 +227999,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *761 + repository: *759 sender: *4 required: - action @@ -228613,7 +228214,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *758 + enterprise: *756 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228705,8 +228306,8 @@ x-webhooks: - url - author - committer - installation: *759 - organization: *760 + installation: *757 + organization: *758 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229292,9 +228893,9 @@ x-webhooks: type: string enum: - published - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 registry_package: type: object properties: @@ -229740,7 +229341,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *798 + items: *796 summary: type: string tag_name: @@ -229794,7 +229395,7 @@ x-webhooks: - owner - package_version - registry - repository: *761 + repository: *759 sender: *4 required: - action @@ -229872,9 +229473,9 @@ x-webhooks: type: string enum: - updated - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 registry_package: type: object properties: @@ -230182,7 +229783,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *798 + items: *796 summary: type: string tag_name: @@ -230231,7 +229832,7 @@ x-webhooks: - owner - package_version - registry - repository: *761 + repository: *759 sender: *4 required: - action @@ -230308,10 +229909,10 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - organization: *760 - release: &818 + enterprise: *756 + installation: *757 + organization: *758 + release: &816 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -230629,7 +230230,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *761 + repository: *759 sender: *4 required: - action @@ -230706,11 +230307,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - organization: *760 - release: *818 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + release: *816 + repository: *759 sender: *4 required: - action @@ -230827,11 +230428,11 @@ x-webhooks: type: boolean required: - to - enterprise: *758 - installation: *759 - organization: *760 - release: *818 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + release: *816 + repository: *759 sender: *4 required: - action @@ -230909,9 +230510,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -231233,7 +230834,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *761 + repository: *759 sender: *4 required: - action @@ -231309,10 +230910,10 @@ x-webhooks: type: string enum: - published - enterprise: *758 - installation: *759 - organization: *760 - release: &819 + enterprise: *756 + installation: *757 + organization: *758 + release: &817 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -231631,7 +231232,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *761 + repository: *759 sender: *4 required: - action @@ -231707,11 +231308,11 @@ x-webhooks: type: string enum: - released - enterprise: *758 - installation: *759 - organization: *760 - release: *818 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + release: *816 + repository: *759 sender: *4 required: - action @@ -231787,11 +231388,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *758 - installation: *759 - organization: *760 - release: *819 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + release: *817 + repository: *759 sender: *4 required: - action @@ -231867,11 +231468,11 @@ x-webhooks: type: string enum: - published - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 - repository_advisory: *681 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + repository_advisory: *679 sender: *4 required: - action @@ -231947,11 +231548,11 @@ x-webhooks: type: string enum: - reported - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 - repository_advisory: *681 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + repository_advisory: *679 sender: *4 required: - action @@ -232027,10 +231628,10 @@ x-webhooks: type: string enum: - archived - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -232107,10 +231708,10 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -232188,10 +231789,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -232275,10 +231876,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -232390,10 +231991,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -232465,10 +232066,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 status: type: string @@ -232549,10 +232150,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -232629,10 +232230,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -232726,10 +232327,10 @@ x-webhooks: - name required: - repository - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -232809,10 +232410,10 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 repository_ruleset: *341 sender: *4 required: @@ -232891,10 +232492,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 repository_ruleset: *341 sender: *4 required: @@ -232973,10 +232574,10 @@ x-webhooks: type: string enum: - edited - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 repository_ruleset: *341 changes: type: object @@ -233038,16 +232639,16 @@ x-webhooks: properties: added: type: array - items: *632 + items: *630 deleted: type: array - items: *632 + items: *630 updated: type: array items: type: object properties: - rule: *632 + rule: *630 changes: type: object properties: @@ -233281,10 +232882,10 @@ x-webhooks: - from required: - owner - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -233362,10 +232963,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -233443,7 +233044,7 @@ x-webhooks: type: string enum: - create - alert: &820 + alert: &818 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233565,10 +233166,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -233774,10 +233375,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -233855,11 +233456,11 @@ x-webhooks: type: string enum: - reopen - alert: *820 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + alert: *818 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -234058,10 +233659,10 @@ x-webhooks: enum: - fixed - open - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -234139,7 +233740,7 @@ x-webhooks: type: string enum: - assigned - alert: &821 + alert: &819 type: object properties: number: *188 @@ -234282,10 +233883,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -234363,11 +233964,11 @@ x-webhooks: type: string enum: - created - alert: *821 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + alert: *819 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -234448,11 +234049,11 @@ x-webhooks: type: string enum: - created - alert: *821 - installation: *759 - location: *822 - organization: *760 - repository: *761 + alert: *819 + installation: *757 + location: *820 + organization: *758 + repository: *759 sender: *4 required: - location @@ -234690,11 +234291,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *821 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + alert: *819 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -234772,11 +234373,11 @@ x-webhooks: type: string enum: - reopened - alert: *821 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + alert: *819 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -234854,11 +234455,11 @@ x-webhooks: type: string enum: - resolved - alert: *821 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + alert: *819 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -234936,12 +234537,12 @@ x-webhooks: type: string enum: - unassigned - alert: *821 + alert: *819 assignee: *4 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -235019,11 +234620,11 @@ x-webhooks: type: string enum: - validated - alert: *821 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + alert: *819 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -235149,10 +234750,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *761 - enterprise: *758 - installation: *759 - organization: *760 + repository: *759 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -235230,11 +234831,11 @@ x-webhooks: type: string enum: - published - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 - security_advisory: &823 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + security_advisory: &821 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235435,11 +235036,11 @@ x-webhooks: type: string enum: - updated - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 - security_advisory: *823 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + security_advisory: *821 sender: *4 required: - action @@ -235512,10 +235113,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235708,10 +235309,10 @@ x-webhooks: type: object properties: security_and_analysis: *314 - enterprise: *758 - installation: *759 - organization: *760 - repository: *362 + enterprise: *756 + installation: *757 + organization: *758 + repository: *359 sender: *4 required: - changes @@ -235789,12 +235390,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: &824 + sponsorship: &822 type: object properties: created_at: @@ -236095,12 +235696,12 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *824 + sponsorship: *822 required: - action - sponsorship @@ -236188,12 +235789,12 @@ x-webhooks: type: string required: - from - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *824 + sponsorship: *822 required: - action - changes @@ -236270,17 +235871,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &825 + effective_date: &823 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: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *824 + sponsorship: *822 required: - action - sponsorship @@ -236354,7 +235955,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &826 + changes: &824 type: object properties: tier: @@ -236398,13 +235999,13 @@ x-webhooks: - from required: - tier - effective_date: *825 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + effective_date: *823 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *824 + sponsorship: *822 required: - action - changes @@ -236481,13 +236082,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *826 - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + changes: *824 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *824 + sponsorship: *822 required: - action - changes @@ -236561,10 +236162,10 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236647,10 +236248,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237070,15 +236671,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *758 + enterprise: *756 id: description: The unique identifier of the status. type: integer - installation: *759 + installation: *757 name: type: string - organization: *760 - repository: *761 + organization: *758 + repository: *759 sender: *4 sha: description: The Commit SHA. @@ -237193,9 +236794,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *759 - organization: *760 - repository: *761 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -237284,9 +236885,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *759 - organization: *760 - repository: *761 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -237375,9 +236976,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *759 - organization: *760 - repository: *761 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -237466,9 +237067,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *759 - organization: *760 - repository: *761 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -237544,12 +237145,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - team: &827 + team: &825 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -237772,9 +237373,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -238232,7 +237833,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *827 + team: *825 required: - action - team @@ -238308,9 +237909,9 @@ x-webhooks: type: string enum: - created - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -238768,7 +238369,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *827 + team: *825 required: - action - team @@ -238845,9 +238446,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -239305,7 +238906,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *827 + team: *825 required: - action - team @@ -239449,9 +239050,9 @@ x-webhooks: - from required: - permissions - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -239909,7 +239510,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *827 + team: *825 required: - action - changes @@ -239987,9 +239588,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *758 - installation: *759 - organization: *760 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -240447,7 +240048,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *827 + team: *825 required: - action - team @@ -240523,10 +240124,10 @@ x-webhooks: type: string enum: - started - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -240599,16 +240200,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *758 + enterprise: *756 inputs: type: object nullable: true additionalProperties: true - installation: *759 - organization: *760 + installation: *757 + organization: *758 ref: type: string - repository: *761 + repository: *759 sender: *4 workflow: type: string @@ -240690,10 +240291,10 @@ x-webhooks: type: string enum: - completed - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: allOf: @@ -240930,7 +240531,7 @@ x-webhooks: type: string required: - conclusion - deployment: *522 + deployment: *519 required: - action - repository @@ -241009,10 +240610,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: allOf: @@ -241272,7 +240873,7 @@ x-webhooks: required: - status - steps - deployment: *522 + deployment: *519 required: - action - repository @@ -241351,10 +240952,10 @@ x-webhooks: type: string enum: - queued - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: type: object @@ -241489,7 +241090,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *522 + deployment: *519 required: - action - repository @@ -241568,10 +241169,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: type: object @@ -241707,7 +241308,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *522 + deployment: *519 required: - action - repository @@ -241787,12 +241388,12 @@ x-webhooks: type: string enum: - completed - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *773 workflow_run: title: Workflow Run type: object @@ -242791,12 +242392,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *773 workflow_run: title: Workflow Run type: object @@ -243780,12 +243381,12 @@ x-webhooks: type: string enum: - requested - enterprise: *758 - installation: *759 - organization: *760 - repository: *761 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *773 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index cd8cc5e142..4b18b2a806 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -47506,646 +47506,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -77965,655 +77325,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -148467,7 +147178,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" ], @@ -175136,646 +173847,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -283239,655 +281310,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -290960,7 +288382,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" ], @@ -291127,7 +288549,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -291151,7 +288573,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -291175,7 +288597,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -291199,7 +288621,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -291223,7 +288645,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -291247,7 +288669,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -291341,12 +288763,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -405145,7 +402561,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" } @@ -446538,6 +443954,665 @@ } } }, + "/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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 5a1be2159e..7aa605a55d 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -872,7 +872,7 @@ paths: - subscriptions_url - type - url - type: &477 + type: &474 type: string description: The type of credit the user is receiving. enum: @@ -1005,7 +1005,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &268 + schema: &265 title: Validation Error Simple description: Validation Error Simple type: object @@ -1038,7 +1038,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: - - &793 + - &791 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3682,7 +3682,7 @@ paths: GitHub. type: object nullable: true - properties: &226 + properties: &223 id: description: Unique identifier of the GitHub app example: 37 @@ -3815,7 +3815,7 @@ paths: about itself. example: 5 type: integer - required: &227 + required: &224 - id - node_id - owner @@ -4120,7 +4120,7 @@ paths: schema: type: integer default: 30 - - &376 + - &373 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 @@ -4129,7 +4129,7 @@ paths: required: false schema: type: string - - &377 + - &374 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4149,7 +4149,7 @@ paths: application/json: schema: type: array - items: &378 + items: &375 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4229,7 +4229,7 @@ paths: - installation_id - repository_id examples: - default: &379 + default: &376 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4261,7 +4261,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &802 + schema: &800 title: Scim Error description: Scim Error type: object @@ -4288,7 +4288,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &267 + schema: &264 title: Validation Error description: Validation Error type: object @@ -4357,7 +4357,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &377 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4471,7 +4471,7 @@ paths: - request - response examples: - default: &381 + default: &378 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4672,7 +4672,7 @@ paths: parameters: - *17 - *19 - - &238 + - &235 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) @@ -5482,7 +5482,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &450 + properties: &447 id: description: Unique identifier of the repository example: 42 @@ -5502,7 +5502,7 @@ paths: title: License Simple description: License Simple type: object - properties: &234 + properties: &231 key: type: string example: mit @@ -5524,7 +5524,7 @@ paths: html_url: type: string format: uri - required: &235 + required: &232 - key - name - url @@ -5933,7 +5933,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &451 + required: &448 - archive_url - assignees_url - blobs_url @@ -10249,7 +10249,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &266 type: object properties: total_active_caches_count: @@ -10264,7 +10264,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &270 + default: &267 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10457,7 +10457,7 @@ paths: - public_ip_enabled - platform examples: - default: &271 + default: &268 value: total_count: 2 runners: @@ -10752,7 +10752,7 @@ paths: application/json: schema: *49 examples: - default: &272 + default: &269 value: id: 1 platform: linux-x64 @@ -10892,7 +10892,7 @@ paths: application/json: schema: *52 examples: - default: &273 + default: &270 value: version: 1.0.0 size_gb: 75 @@ -11056,7 +11056,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &271 type: object properties: public_ips: @@ -11081,7 +11081,7 @@ paths: required: - public_ips examples: - default: &275 + default: &272 value: public_ips: current_usage: 17 @@ -11121,7 +11121,7 @@ paths: type: array items: *56 examples: - default: &276 + default: &273 value: id: 4-core cpu_cores: 4 @@ -11436,7 +11436,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &274 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11547,7 +11547,7 @@ paths: - all - local_only - selected - selected_actions_url: &279 + selected_actions_url: &276 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` @@ -11627,7 +11627,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &281 + schema: &278 type: object properties: days: @@ -11645,7 +11645,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &803 + '401': &801 description: Authorization failure '404': *6 x-github: @@ -11673,7 +11673,7 @@ paths: required: true content: application/json: - schema: &282 + schema: &279 type: object properties: days: @@ -11722,7 +11722,7 @@ paths: required: - approval_policy examples: - default: &283 + default: &280 value: approval_policy: first_time_contributors '404': *6 @@ -11780,7 +11780,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &281 type: object required: - run_workflows_from_fork_pull_requests @@ -11834,7 +11834,7 @@ paths: required: true content: application/json: - schema: &285 + schema: &282 type: object required: - run_workflows_from_fork_pull_requests @@ -12257,7 +12257,7 @@ paths: description: Success response content: application/json: - schema: &288 + schema: &285 type: object properties: default_workflow_permissions: &69 @@ -12305,7 +12305,7 @@ paths: required: true content: application/json: - schema: &289 + schema: &286 type: object properties: default_workflow_permissions: *69 @@ -13150,7 +13150,7 @@ paths: application/json: schema: type: array - items: &293 + items: &290 title: Runner Application description: Runner Application type: object @@ -13175,7 +13175,7 @@ paths: - download_url - filename examples: - default: &294 + default: &291 value: - os: osx architecture: x64 @@ -13259,7 +13259,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &295 + '201': &292 description: Response content: application/json: @@ -13374,7 +13374,7 @@ paths: - token - expires_at examples: - default: &296 + default: &293 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13414,7 +13414,7 @@ paths: application/json: schema: *81 examples: - default: &297 + default: &294 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13446,7 +13446,7 @@ paths: application/json: schema: *78 examples: - default: &298 + default: &295 value: id: 23 name: MBP @@ -13663,7 +13663,7 @@ paths: - *41 - *77 responses: - '200': &299 + '200': &296 description: Response content: application/json: @@ -13719,7 +13719,7 @@ paths: parameters: - *41 - *77 - - &300 + - &297 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13810,7 +13810,7 @@ paths: required: true content: application/json: - schema: &314 + schema: &311 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14451,7 +14451,7 @@ paths: required: false schema: type: string - - &317 + - &314 name: include description: |- The event types to include: @@ -14469,7 +14469,7 @@ paths: - web - git - all - - &318 + - &315 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. @@ -14477,7 +14477,7 @@ paths: required: false schema: type: string - - &319 + - &316 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. @@ -14485,7 +14485,7 @@ paths: required: false schema: type: string - - &320 + - &317 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14507,7 +14507,7 @@ paths: application/json: schema: type: array - items: &321 + items: &318 type: object properties: "@timestamp": @@ -14629,7 +14629,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &322 + default: &319 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15295,7 +15295,7 @@ paths: application/json: schema: type: array - items: &323 + items: &320 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15456,7 +15456,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &324 + default: &321 value: - id: 21 number: 42 @@ -15561,7 +15561,7 @@ paths: application/json: schema: type: array - items: &326 + items: &323 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15686,7 +15686,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &327 + default: &324 value: - id: 21 number: 42 @@ -15771,7 +15771,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &332 + - &329 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`, @@ -15781,7 +15781,7 @@ paths: schema: &113 type: string description: The name of the tool used to generate the code scanning analysis. - - &333 + - &330 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 @@ -15804,7 +15804,7 @@ paths: be returned. in: query required: false - schema: &334 + schema: &331 type: string description: State of a code scanning alert. enum: @@ -15837,7 +15837,7 @@ paths: application/json: schema: type: array - items: &335 + items: &332 type: object properties: number: &131 @@ -15866,7 +15866,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &567 + instances_url: &564 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15901,7 +15901,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &568 + dismissed_reason: &565 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -15910,13 +15910,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &569 + dismissed_comment: &566 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &570 + rule: &567 type: object properties: id: @@ -15969,7 +15969,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &571 + tool: &568 type: object properties: name: *113 @@ -15979,26 +15979,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *114 - most_recent_instance: &572 + most_recent_instance: &569 type: object properties: - ref: &565 + ref: &562 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &582 + analysis_key: &579 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: &583 + environment: &580 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: &584 + category: &581 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16018,7 +16018,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: &585 + location: &582 type: object description: Describe a region within a file for the alert. properties: @@ -16039,7 +16039,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: &586 + items: &583 type: string description: A classification of the file. For example to identify it as generated. @@ -16352,7 +16352,7 @@ paths: - most_recent_instance - repository examples: - default: &336 + default: &333 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17235,7 +17235,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &335 type: array description: A list of default code security configurations items: @@ -17251,7 +17251,7 @@ paths: default configuration: *116 examples: - default: &339 + default: &336 value: - default_for_new_repos: public configuration: @@ -17709,7 +17709,7 @@ paths: default: value: default_for_new_repos: all - configuration: &337 + configuration: &334 value: id: 1325 target_type: organization @@ -17799,7 +17799,7 @@ paths: application/json: schema: type: array - items: &340 + items: &337 type: object description: Repositories associated with a code security configuration and attachment status @@ -17823,7 +17823,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &341 + repository: &338 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18312,7 +18312,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &328 + - &325 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18387,7 +18387,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &416 + properties: &413 id: description: Unique identifier of the team type: integer @@ -18459,7 +18459,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &417 + required: &414 - id - node_id - url @@ -19140,7 +19140,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &348 + '413': &345 description: Payload Too Large content: application/json: @@ -19510,479 +19510,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: - - *41 - - 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: &215 - 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 - description: Usage metrics for Copilot editor code completions - in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model - (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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: &216 - 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': *40 - '403': *29 - '404': *6 - '422': &217 - 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 @@ -20544,7 +20071,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &353 + - &350 name: classification in: query description: |- @@ -20553,7 +20080,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &354 + - &351 name: state in: query description: |- @@ -20562,7 +20089,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &355 + - &352 name: severity in: query description: |- @@ -20571,7 +20098,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &356 + - &353 name: ecosystem in: query description: |- @@ -20580,14 +20107,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &357 + - &354 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 - - &358 + - &355 name: epss_percentage in: query description: |- @@ -20599,7 +20126,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 - - &629 + - &626 name: has in: query description: |- @@ -20613,7 +20140,7 @@ paths: type: string enum: - patch - - &359 + - &356 name: assignee in: query description: |- @@ -20622,7 +20149,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &360 + - &357 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20632,7 +20159,7 @@ paths: enum: - development - runtime - - &361 + - &358 name: sort in: query description: |- @@ -20658,7 +20185,7 @@ paths: application/json: schema: type: array - items: &362 + items: &359 type: object description: A Dependabot alert. properties: @@ -20722,7 +20249,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &630 + security_advisory: &627 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20961,14 +20488,14 @@ paths: nullable: true maxLength: 280 fixed_at: *141 - auto_dismissed_at: &631 + auto_dismissed_at: &628 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &632 + dismissal_request: &629 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21030,7 +20557,7 @@ paths: - repository additionalProperties: false examples: - default: &363 + default: &360 value: - number: 2 state: dismissed @@ -21415,7 +20942,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &361 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21441,7 +20968,7 @@ paths: nullable: true additionalProperties: false examples: - default: &365 + default: &362 value: default_level: public accessible_repositories: @@ -21663,7 +21190,7 @@ paths: - *105 - *106 - *107 - - &367 + - &364 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21689,7 +21216,7 @@ paths: application/json: schema: type: array - items: &369 + items: &366 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21810,7 +21337,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &370 + default: &367 value: - id: 21 number: 42 @@ -22341,7 +21868,7 @@ paths: type: array items: *150 examples: - default: &218 + default: &215 value: - id: 1 name: Justice League @@ -22504,7 +22031,7 @@ paths: application/json: schema: *22 examples: - default: &393 + default: &390 value: id: 1 account: @@ -22758,7 +22285,7 @@ paths: - name - created_on examples: - default: &482 + default: &479 value: total_count: 2 network_configurations: @@ -23009,7 +22536,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: - *41 - - &483 + - &480 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23021,7 +22548,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &481 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23055,7 +22582,7 @@ paths: - subnet_id - region examples: - default: &485 + default: &482 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23874,7 +23401,7 @@ paths: required: true content: application/json: - schema: &449 + schema: &446 title: Custom Property Set Payload description: Custom property set payload type: object @@ -25068,7 +24595,7 @@ paths: nullable: true anyOf: - *166 - - &455 + - &452 title: Organization ruleset conditions type: object description: |- @@ -25115,7 +24642,7 @@ paths: - *169 rules: type: array - items: &758 + items: &756 title: Repository Rule type: object description: A repository rule. @@ -25124,7 +24651,7 @@ paths: - *175 - *176 - *177 - - &756 + - &754 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25452,7 +24979,7 @@ paths: type: string format: date-time examples: - default: &458 + default: &455 value: - version_id: 3 actor: @@ -25505,7 +25032,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &456 allOf: - *199 - type: object @@ -25560,7 +25087,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &460 + - &457 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -25571,7 +25098,7 @@ paths: enum: - open - resolved - - &461 + - &458 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -25581,7 +25108,7 @@ paths: required: false schema: type: string - - &462 + - &459 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -25592,7 +25119,7 @@ paths: required: false schema: type: string - - &463 + - &460 name: exclude_providers in: query description: |- @@ -25603,7 +25130,7 @@ paths: required: false schema: type: string - - &464 + - &461 name: providers in: query description: |- @@ -25614,7 +25141,7 @@ paths: required: false schema: type: string - - &465 + - &462 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -25623,7 +25150,7 @@ paths: required: false schema: type: string - - &466 + - &463 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -25642,7 +25169,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &467 + - &464 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. @@ -25658,7 +25185,7 @@ paths: - *17 - *110 - *111 - - &468 + - &465 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -25667,7 +25194,7 @@ paths: required: false schema: type: string - - &469 + - &466 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -25676,7 +25203,7 @@ paths: schema: type: boolean default: false - - &470 + - &467 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -25685,7 +25212,7 @@ paths: schema: type: boolean default: false - - &471 + - &468 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -25694,7 +25221,7 @@ paths: schema: type: boolean default: false - - &472 + - &469 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -25712,7 +25239,7 @@ paths: application/json: schema: type: array - items: &473 + items: &470 type: object properties: number: *131 @@ -25731,14 +25258,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &771 + state: &769 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: &772 + resolution: &770 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -25855,8 +25382,8 @@ paths: pull request. ' - oneOf: &773 - - &775 + oneOf: &771 + - &773 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -25914,7 +25441,7 @@ paths: - blob_url - commit_sha - commit_url - - &776 + - &774 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. @@ -25969,7 +25496,7 @@ paths: - page_url - commit_sha - commit_url - - &777 + - &775 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -25989,7 +25516,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &778 + - &776 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26009,7 +25536,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &779 + - &777 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26029,7 +25556,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &780 + - &778 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26043,7 +25570,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &781 + - &779 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26057,7 +25584,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &782 + - &780 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26071,7 +25598,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &783 + - &781 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. @@ -26091,7 +25618,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &784 + - &782 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. @@ -26111,7 +25638,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &785 + - &783 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. @@ -26131,7 +25658,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &786 + - &784 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. @@ -26151,7 +25678,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &787 + - &785 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 request. @@ -26199,7 +25726,7 @@ paths: required: *21 nullable: true examples: - default: &474 + default: &471 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26408,7 +25935,7 @@ paths: description: Response content: application/json: - schema: &475 + schema: &472 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -26491,7 +26018,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *201 examples: - default: &476 + default: &473 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -26627,7 +26154,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &479 + - &476 name: advanced_security_product in: query description: | @@ -26647,7 +26174,7 @@ paths: description: Success content: application/json: - schema: &480 + schema: &477 type: object properties: total_advanced_security_committers: @@ -26702,7 +26229,7 @@ paths: required: - repositories examples: - default: &481 + default: &478 value: total_advanced_security_committers: 2 total_count: 2 @@ -29094,78 +28621,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: - - *41 - - *146 - - 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: *215 - examples: - default: *216 - '500': *40 - '403': *29 - '404': *6 - '422': *217 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -29189,7 +28644,7 @@ paths: type: array items: *150 examples: - default: *218 + default: *215 headers: Link: *47 '403': *29 @@ -29278,7 +28733,7 @@ paths: application/json: schema: *150 examples: - default: &223 + default: &220 value: id: 1 name: Justice League @@ -29307,7 +28762,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &219 + - &216 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -29326,7 +28781,7 @@ paths: type: array items: *4 examples: - default: &220 + default: &217 value: - login: octocat id: 1 @@ -29365,7 +28820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29396,7 +28851,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29414,7 +28869,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29445,7 +28900,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29463,7 +28918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *219 + - *216 - *148 responses: '200': @@ -29472,7 +28927,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &221 + exampleKey1: &218 value: login: octocat id: 1 @@ -29508,7 +28963,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *219 + - *216 - *148 responses: '201': @@ -29517,7 +28972,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *221 + exampleKey1: *218 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29535,7 +28990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *219 + - *216 - *148 responses: '204': @@ -29558,7 +29013,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *219 + - *216 - *17 - *19 responses: @@ -29570,7 +29025,7 @@ paths: type: array items: *75 examples: - default: &222 + default: &219 value: login: github id: 1 @@ -29601,7 +29056,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29631,7 +29086,7 @@ paths: type: array items: *75 examples: - default: &262 + default: &259 value: - login: github id: 1 @@ -29662,7 +29117,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29703,7 +29158,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *219 + - *216 - *89 responses: '200': @@ -29712,7 +29167,7 @@ paths: application/json: schema: *75 examples: - default: *222 + default: *219 '404': description: The team is not assigned to the organization x-github: @@ -29731,7 +29186,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *219 + - *216 - *89 responses: '201': @@ -29740,7 +29195,7 @@ paths: application/json: schema: *75 examples: - default: *222 + default: *219 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29757,7 +29212,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *219 + - *216 - *89 responses: '204': @@ -29782,7 +29237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &224 + - &221 name: team_slug description: The slug of the team name. in: path @@ -29796,7 +29251,7 @@ paths: application/json: schema: *150 examples: - default: *223 + default: *220 headers: Link: *47 '403': *29 @@ -29816,7 +29271,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *224 + - *221 requestBody: required: true content: @@ -29883,7 +29338,7 @@ paths: application/json: schema: *150 examples: - default: *223 + default: *220 headers: Link: *47 '403': *29 @@ -29906,7 +29361,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *224 + - *221 responses: '204': description: Response @@ -30005,7 +29460,7 @@ paths: application/json: schema: type: array - items: &257 + items: &254 title: Event description: Event type: object @@ -30015,7 +29470,7 @@ paths: type: type: string nullable: true - actor: &225 + actor: &222 title: Actor description: Actor type: object @@ -30055,7 +29510,7 @@ paths: - id - name - url - org: *225 + org: *222 payload: oneOf: - title: CreateEvent @@ -30101,7 +29556,7 @@ paths: properties: action: type: string - discussion: &911 + discussion: &909 title: Discussion description: A Discussion in a repository. type: object @@ -30388,7 +29843,7 @@ paths: - id labels: type: array - items: &230 + items: &227 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -30463,12 +29918,12 @@ paths: properties: action: type: string - issue: &231 + issue: &228 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &690 + properties: &688 id: type: integer format: int64 @@ -30581,7 +30036,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &438 + properties: &435 url: type: string format: uri @@ -30651,7 +30106,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &439 + required: &436 - closed_issues - creator - description @@ -30730,7 +30185,7 @@ paths: timeline_url: type: string format: uri - type: &403 + type: &400 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -30793,9 +30248,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - author_association: &228 + properties: *223 + required: *224 + author_association: &225 title: author_association type: string example: OWNER @@ -30810,7 +30265,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &229 + reactions: &226 title: Reaction Rollup type: object properties: @@ -30846,7 +30301,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &830 + sub_issues_summary: &828 title: Sub-issues Summary type: object properties: @@ -30871,7 +30326,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &232 + properties: &229 id: description: Unique identifier of the issue comment example: 42 @@ -30914,7 +30369,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *225 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -30925,15 +30380,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *223 + required: *224 + reactions: *226 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &713 + properties: &711 pinned_at: type: string format: date-time @@ -30945,11 +30400,11 @@ paths: properties: *20 required: *21 nullable: true - required: &714 + required: &712 - pinned_at - pinned_by nullable: true - required: &233 + required: &230 - id - node_id - html_url @@ -30959,7 +30414,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &831 + issue_dependencies_summary: &829 title: Issue Dependencies Summary type: object properties: @@ -30978,7 +30433,7 @@ paths: - total_blocking issue_field_values: type: array - items: &697 + items: &695 title: Issue Field Value description: A value assigned to an issue field type: object @@ -31065,7 +30520,7 @@ paths: - node_id - data_type - value - required: &691 + required: &689 - assignee - closed_at - comments @@ -31090,10 +30545,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *227 labels: type: array - items: *230 + items: *227 required: - action - issue @@ -31102,14 +30557,14 @@ paths: properties: action: type: string - issue: *231 - comment: &686 + issue: *228 + comment: &684 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 required: - action - issue @@ -31282,8 +30737,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true allow_forking: type: boolean @@ -31372,7 +30827,7 @@ paths: type: string number: type: integer - pull_request: &236 + pull_request: &233 title: Pull Request Minimal type: object properties: @@ -31443,10 +30898,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *227 labels: type: array - items: *230 + items: *227 required: - action - number @@ -31456,7 +30911,7 @@ paths: properties: action: type: string - pull_request: *236 + pull_request: *233 comment: type: object properties: @@ -31707,7 +31162,7 @@ paths: - pull_request updated_at: type: string - pull_request: *236 + pull_request: *233 required: - action - review @@ -31756,7 +31211,7 @@ paths: updated_at: type: string format: date-time - reactions: *229 + reactions: *226 required: - action - comment @@ -31767,7 +31222,7 @@ paths: type: string release: allOf: - - &749 + - &747 title: Release description: A release. type: object @@ -31838,7 +31293,7 @@ paths: author: *4 assets: type: array - items: &750 + items: &748 title: Release Asset description: Data related to a release. type: object @@ -31913,7 +31368,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *229 + reactions: *226 required: - assets_url - upload_url @@ -32086,7 +31541,7 @@ paths: _links: type: object properties: - timeline: &237 + timeline: &234 title: Link With Type description: Hypermedia Link with Type type: object @@ -32098,17 +31553,17 @@ paths: required: - href - type - user: *237 - security_advisories: *237 - current_user: *237 - current_user_public: *237 - current_user_actor: *237 - current_user_organization: *237 + user: *234 + security_advisories: *234 + current_user: *234 + current_user_public: *234 + current_user_actor: *234 + current_user_organization: *234 current_user_organizations: type: array - items: *237 - repository_discussions: *237 - repository_discussions_category: *237 + items: *234 + repository_discussions: *234 + repository_discussions_category: *234 required: - timeline - user @@ -32170,7 +31625,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *238 + - *235 - *17 - *19 responses: @@ -32180,7 +31635,7 @@ paths: application/json: schema: type: array - items: &239 + items: &236 title: Base Gist description: Base Gist type: object @@ -32279,7 +31734,7 @@ paths: - created_at - updated_at examples: - default: &240 + default: &237 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -32400,7 +31855,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &238 title: Gist Simple description: Gist Simple type: object @@ -32417,7 +31872,7 @@ paths: url: type: string format: uri - user: &837 + user: &835 title: Public User description: Public User type: object @@ -32779,7 +32234,7 @@ paths: truncated: type: boolean examples: - default: &242 + default: &239 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -32883,7 +32338,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *238 + - *235 - *17 - *19 responses: @@ -32893,9 +32348,9 @@ paths: application/json: schema: type: array - items: *239 + items: *236 examples: - default: *240 + default: *237 headers: Link: *47 '422': *15 @@ -32917,7 +32372,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *238 + - *235 - *17 - *19 responses: @@ -32927,9 +32382,9 @@ paths: application/json: schema: type: array - items: *239 + items: *236 examples: - default: *240 + default: *237 headers: Link: *47 '401': *25 @@ -32956,7 +32411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &243 + - &240 name: gist_id description: The unique identifier of the gist. in: path @@ -32968,10 +32423,10 @@ paths: description: Response content: application/json: - schema: *241 + schema: *238 examples: - default: *242 - '403': &246 + default: *239 + '403': &243 description: Forbidden Gist content: application/json: @@ -33018,7 +32473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *243 + - *240 requestBody: required: true content: @@ -33078,9 +32533,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *238 examples: - updateGist: *242 + updateGist: *239 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -33238,7 +32693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *243 + - *240 responses: '204': description: Response @@ -33266,7 +32721,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *243 + - *240 - *17 - *19 responses: @@ -33276,7 +32731,7 @@ paths: application/json: schema: type: array - items: &244 + items: &241 title: Gist Comment description: A comment made to a gist. type: object @@ -33311,7 +32766,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *228 + author_association: *225 required: - url - id @@ -33375,7 +32830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *243 + - *240 requestBody: required: true content: @@ -33400,9 +32855,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *241 examples: - default: &245 + default: &242 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -33459,8 +32914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *243 - - &247 + - *240 + - &244 name: comment_id description: The unique identifier of the comment. in: path @@ -33473,12 +32928,12 @@ paths: description: Response content: application/json: - schema: *244 + schema: *241 examples: - default: *245 + default: *242 '304': *37 '404': *6 - '403': *246 + '403': *243 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33499,8 +32954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *243 - - *247 + - *240 + - *244 requestBody: required: true content: @@ -33525,9 +32980,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *241 examples: - default: *245 + default: *242 '404': *6 x-github: githubCloudOnly: false @@ -33544,8 +32999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *243 - - *247 + - *240 + - *244 responses: '204': description: Response @@ -33568,7 +33023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *243 + - *240 - *17 - *19 responses: @@ -33669,7 +33124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *243 + - *240 - *17 - *19 responses: @@ -33679,7 +33134,7 @@ paths: application/json: schema: type: array - items: *241 + items: *238 examples: default: value: @@ -33744,13 +33199,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *243 + - *240 responses: '201': description: Response content: application/json: - schema: *239 + schema: *236 examples: default: value: @@ -33821,7 +33276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *243 + - *240 responses: '204': description: Response if gist is starred @@ -33851,7 +33306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *243 + - *240 responses: '204': description: Response @@ -33873,7 +33328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *243 + - *240 responses: '204': description: Response @@ -33901,7 +33356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *243 + - *240 - name: sha in: path required: true @@ -33912,9 +33367,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *238 examples: - default: *242 + default: *239 '422': *15 '404': *6 '403': *29 @@ -34294,7 +33749,7 @@ paths: - closed - all default: open - - &406 + - &403 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -34313,7 +33768,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - name: collab in: query required: false @@ -34343,9 +33798,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: &407 + default: &404 value: - id: 1 node_id: MDU6SXNzdWUx @@ -34629,8 +34084,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 examples: default: value: @@ -34915,7 +34370,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &248 + X-CommonMarker-Version: &245 example: 0.17.4 schema: type: string @@ -34970,7 +34425,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *248 + X-CommonMarker-Version: *245 content: text/html: schema: @@ -34999,7 +34454,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: - - &251 + - &248 name: account_id description: account_id parameter in: path @@ -35011,7 +34466,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &247 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -35041,7 +34496,7 @@ paths: nullable: true id: type: integer - plan: &249 + plan: &246 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -35130,7 +34585,7 @@ paths: nullable: true updated_at: type: string - plan: *249 + plan: *246 required: - url - id @@ -35138,7 +34593,7 @@ paths: - login - marketplace_purchase examples: - default: &252 + default: &249 value: url: https://api.github.com/orgs/github type: Organization @@ -35223,9 +34678,9 @@ paths: application/json: schema: type: array - items: *249 + items: *246 examples: - default: &253 + default: &250 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -35265,14 +34720,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &254 + - &251 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &255 + - &252 name: sort description: The property to sort the results by. in: query @@ -35302,9 +34757,9 @@ paths: application/json: schema: type: array - items: *250 + items: *247 examples: - default: &256 + default: &253 value: - url: https://api.github.com/orgs/github type: Organization @@ -35378,15 +34833,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: - - *251 + - *248 responses: '200': description: Response content: application/json: - schema: *250 + schema: *247 examples: - default: *252 + default: *249 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -35418,9 +34873,9 @@ paths: application/json: schema: type: array - items: *249 + items: *246 examples: - default: *253 + default: *250 headers: Link: *47 '401': *25 @@ -35443,8 +34898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *254 - - *255 + - *251 + - *252 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -35464,9 +34919,9 @@ paths: application/json: schema: type: array - items: *250 + items: *247 examples: - default: *256 + default: *253 headers: Link: *47 '401': *25 @@ -35730,14 +35185,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: - - &494 + - &491 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &495 + - &492 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -35754,7 +35209,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -35799,7 +35254,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &500 + '301': &497 description: Moved permanently content: application/json: @@ -35821,7 +35276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &723 + - &721 name: all description: If `true`, show notifications marked as read. in: query @@ -35829,7 +35284,7 @@ paths: schema: type: boolean default: false - - &724 + - &722 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -35838,8 +35293,8 @@ paths: schema: type: boolean default: false - - *238 - - &725 + - *235 + - &723 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: @@ -35864,18 +35319,18 @@ paths: application/json: schema: type: array - items: &258 + items: &255 title: Thread description: Thread type: object properties: id: type: string - repository: &292 + repository: &289 title: Minimal Repository description: Minimal Repository type: object - properties: &371 + properties: &368 id: type: integer format: int64 @@ -36161,7 +35616,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &452 + security_and_analysis: &449 nullable: true type: object properties: @@ -36289,7 +35744,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &372 + required: &369 - archive_url - assignees_url - blobs_url @@ -36377,7 +35832,7 @@ paths: - url - subscription_url examples: - default: &726 + default: &724 value: - id: '1' repository: @@ -36543,7 +35998,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &259 + - &256 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 @@ -36557,7 +36012,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *255 examples: default: value: @@ -36660,7 +36115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *259 + - *256 responses: '205': description: Reset Content @@ -36683,7 +36138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *259 + - *256 responses: '204': description: No content @@ -36706,13 +36161,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: - - *259 + - *256 responses: '200': description: Response content: application/json: - schema: &260 + schema: &257 title: Thread Subscription description: Thread Subscription type: object @@ -36749,7 +36204,7 @@ paths: - url - subscribed examples: - default: &261 + default: &258 value: subscribed: true ignored: false @@ -36780,7 +36235,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *259 + - *256 requestBody: required: false content: @@ -36801,9 +36256,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *257 examples: - default: *261 + default: *258 '304': *37 '403': *29 '401': *25 @@ -36826,7 +36281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *259 + - *256 responses: '204': description: Response @@ -36923,7 +36378,7 @@ paths: type: array items: *75 examples: - default: *262 + default: *259 headers: Link: example: ; rel="next" @@ -36974,7 +36429,7 @@ paths: type: integer custom_roles: type: array - items: &349 + items: &346 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -37022,7 +36477,7 @@ paths: - created_at - updated_at examples: - default: &350 + default: &347 value: id: 8030 name: Security Engineer @@ -37075,7 +36530,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &260 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -37113,7 +36568,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *260 examples: selected_actions: *44 responses: @@ -37148,7 +36603,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &261 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -37186,7 +36641,7 @@ paths: required: true content: application/json: - schema: *264 + schema: *261 examples: selected_actions: *46 responses: @@ -37229,7 +36684,7 @@ paths: type: array items: *160 examples: - default: &732 + default: &730 value: - property_name: environment value: production @@ -37279,7 +36734,7 @@ paths: required: - properties examples: - default: &733 + default: &731 value: properties: - property_name: environment @@ -37326,7 +36781,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &262 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -37659,7 +37114,7 @@ paths: - updated_at - archived_at examples: - default-response: &266 + default-response: &263 value: login: github id: 1 @@ -37984,17 +37439,17 @@ paths: description: Response content: application/json: - schema: *265 + schema: *262 examples: - default: *266 + default: *263 '422': description: Validation failed content: application/json: schema: oneOf: - - *267 - - *268 + - *264 + - *265 '409': *121 x-github: githubCloudOnly: false @@ -38049,9 +37504,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *266 examples: - default: *270 + default: *267 headers: Link: *47 x-github: @@ -38092,7 +37547,7 @@ paths: type: integer repository_cache_usages: type: array - items: &507 + items: &504 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -38167,7 +37622,7 @@ paths: type: array items: *48 examples: - default: *271 + default: *268 headers: Link: *47 x-github: @@ -38333,7 +37788,7 @@ paths: application/json: schema: *49 examples: - default: *272 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38425,7 +37880,7 @@ paths: application/json: schema: *52 examples: - default: *273 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38544,9 +37999,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *271 examples: - default: *275 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38582,7 +38037,7 @@ paths: type: array items: *56 examples: - default: *276 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38825,7 +38280,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *274 examples: default: *60 responses: @@ -38918,7 +38373,7 @@ paths: required: - include_claim_keys examples: - default: &278 + default: &275 value: include_claim_keys: - repo @@ -38963,13 +38418,13 @@ paths: format. type: boolean examples: - default: *278 + default: *275 responses: '201': description: Empty response content: application/json: - schema: &303 + schema: &300 title: Empty Object description: An object without any properties. type: object @@ -39008,7 +38463,7 @@ paths: schema: type: object properties: - enabled_repositories: &280 + enabled_repositories: &277 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -39022,7 +38477,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *62 - selected_actions_url: *279 + selected_actions_url: *276 sha_pinning_required: *63 required: - enabled_repositories @@ -39064,7 +38519,7 @@ paths: schema: type: object properties: - enabled_repositories: *280 + enabled_repositories: *277 allowed_actions: *62 sha_pinning_required: *63 required: @@ -39100,7 +38555,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *278 examples: response: summary: Example response @@ -39131,7 +38586,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *279 examples: application/json: value: @@ -39169,7 +38624,7 @@ paths: application/json: schema: *64 examples: - default: *283 + default: *280 '404': *6 x-github: enabledForGitHubApps: true @@ -39226,7 +38681,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *281 examples: default: *65 '403': *29 @@ -39251,7 +38706,7 @@ paths: required: true content: application/json: - schema: *285 + schema: *282 examples: default: *65 responses: @@ -39303,7 +38758,7 @@ paths: type: array items: *80 examples: - default: &287 + default: &284 value: total_count: 1 repositories: @@ -39488,7 +38943,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - &286 + - &283 name: repository_id description: The unique identifier of the repository. in: path @@ -39517,7 +38972,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - *286 + - *283 responses: '204': description: Response @@ -39713,7 +39168,7 @@ paths: type: array items: *80 examples: - default: *287 + default: *284 '403': *29 '404': *6 x-github: @@ -39782,7 +39237,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: - *89 - - *286 + - *283 responses: '204': description: No content @@ -39809,7 +39264,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: - *89 - - *286 + - *283 responses: '204': description: No content @@ -39843,7 +39298,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *285 examples: default: *71 x-github: @@ -39877,7 +39332,7 @@ paths: required: false content: application/json: - schema: *289 + schema: *286 examples: default: *71 x-github: @@ -39924,7 +39379,7 @@ paths: type: number runner_groups: type: array - items: &290 + items: &287 type: object properties: id: @@ -40112,9 +39567,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *287 examples: - default: &291 + default: &288 value: id: 2 name: octo-runner-group @@ -40156,7 +39611,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *287 examples: default: value: @@ -40247,9 +39702,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *287 examples: - default: *291 + default: *288 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -40313,7 +39768,7 @@ paths: type: array items: *48 examples: - default: *271 + default: *268 headers: Link: *47 x-github: @@ -40354,9 +39809,9 @@ paths: type: number repositories: type: array - items: *292 + items: *289 examples: - default: &347 + default: &344 value: total_count: 1 repositories: @@ -40655,7 +40110,7 @@ paths: parameters: - *89 - *74 - - *286 + - *283 responses: '204': description: Response @@ -40679,7 +40134,7 @@ paths: parameters: - *89 - *74 - - *286 + - *283 responses: '204': description: Response @@ -40897,9 +40352,9 @@ paths: application/json: schema: type: array - items: *293 + items: *290 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40964,7 +40419,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *292 '404': *6 '422': *7 '409': *121 @@ -41003,7 +40458,7 @@ paths: application/json: schema: *81 examples: - default: *296 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41039,7 +40494,7 @@ paths: application/json: schema: *81 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41070,7 +40525,7 @@ paths: application/json: schema: *78 examples: - default: *298 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41245,7 +40700,7 @@ paths: - *89 - *77 responses: - '200': *299 + '200': *296 '404': *6 x-github: githubCloudOnly: false @@ -41274,7 +40729,7 @@ paths: parameters: - *89 - *77 - - *300 + - *297 responses: '200': *83 '404': *6 @@ -41319,7 +40774,7 @@ paths: type: integer secrets: type: array - items: &301 + items: &298 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -41351,7 +40806,7 @@ paths: - updated_at - visibility examples: - default: &307 + default: &304 value: total_count: 3 secrets: @@ -41398,7 +40853,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &305 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -41427,7 +40882,7 @@ paths: - key_id - key examples: - default: &309 + default: &306 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41453,7 +40908,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *89 - - &302 + - &299 name: secret_name description: The name of the secret. in: path @@ -41465,9 +40920,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *298 examples: - default: &310 + default: &307 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41496,7 +40951,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -41553,7 +41008,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -41580,7 +41035,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -41607,7 +41062,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -41625,9 +41080,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: &306 + default: &303 value: total_count: 1 repositories: @@ -41720,7 +41175,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -41773,7 +41228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -41807,7 +41262,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -41840,7 +41295,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *89 - - &311 + - &308 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)." @@ -41864,7 +41319,7 @@ paths: type: integer variables: type: array - items: &304 + items: &301 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -41907,7 +41362,7 @@ paths: - updated_at - visibility examples: - default: &312 + default: &309 value: total_count: 3 variables: @@ -41997,7 +41452,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -42023,7 +41478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *89 - - &305 + - &302 name: name description: The name of the variable. in: path @@ -42035,9 +41490,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *301 examples: - default: &313 + default: &310 value: name: USERNAME value: octocat @@ -42066,7 +41521,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -42129,7 +41584,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *89 - - *305 + - *302 responses: '204': description: Response @@ -42156,7 +41611,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 - *19 - *17 responses: @@ -42174,9 +41629,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 '409': description: Response when the visibility of the variable is not set to `selected` @@ -42203,7 +41658,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -42253,7 +41708,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -42288,7 +41743,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -42340,9 +41795,9 @@ paths: type: integer secrets: type: array - items: *301 + items: *298 examples: - default: *307 + default: *304 headers: Link: *47 x-github: @@ -42373,9 +41828,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42398,15 +41853,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *301 + schema: *298 examples: - default: *310 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42429,7 +41884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -42486,7 +41941,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -42513,7 +41968,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -42540,7 +41995,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -42558,9 +42013,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42584,7 +42039,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -42637,7 +42092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -42671,7 +42126,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -42705,7 +42160,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *89 - - *311 + - *308 - *19 responses: '200': @@ -42722,9 +42177,9 @@ paths: type: integer variables: type: array - items: *304 + items: *301 examples: - default: *312 + default: *309 headers: Link: *47 x-github: @@ -42795,7 +42250,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -42821,15 +42276,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *89 - - *305 + - *302 responses: '200': description: Response content: application/json: - schema: *304 + schema: *301 examples: - default: *313 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42851,7 +42306,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -42914,7 +42369,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *89 - - *305 + - *302 responses: '204': description: Response @@ -42941,7 +42396,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 - *19 - *17 responses: @@ -42959,9 +42414,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 '409': description: Response when the visibility of the variable is not set to `selected` @@ -42988,7 +42443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -43038,7 +42493,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -43073,7 +42528,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -43131,7 +42586,7 @@ paths: required: true content: application/json: - schema: *314 + schema: *311 examples: default: *87 parameters: @@ -43315,7 +42770,7 @@ paths: type: integer deployment_records: type: array - items: &315 + items: &312 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -43361,7 +42816,7 @@ paths: required: - total_count examples: - default: &316 + default: &313 value: total_count: 1 deployment_records: @@ -43541,11 +42996,11 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *312 required: - total_count examples: - default: *316 + default: *313 '403': description: Forbidden content: @@ -43784,9 +43239,9 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *312 examples: - default: *316 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43796,9 +43251,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 @@ -43915,12 +43370,12 @@ paths: required: - subject_digests examples: - default: &869 + default: &867 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &870 + withPredicateType: &868 value: subject_digests: - sha256:abc123 @@ -43978,7 +43433,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &871 + default: &869 value: attestations_subject_digests: - sha256:abc: @@ -44328,7 +43783,7 @@ paths: initiator: type: string examples: - default: &540 + default: &537 value: attestations: - bundle: @@ -44454,10 +43909,10 @@ paths: required: false schema: type: string + - *314 + - *315 + - *316 - *317 - - *318 - - *319 - - *320 - *17 responses: '200': @@ -44466,9 +43921,9 @@ paths: application/json: schema: type: array - items: *321 + items: *318 examples: - default: *322 + default: *319 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44497,7 +43952,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44591,7 +44046,7 @@ paths: subcategory: bypass-requests parameters: - *89 - - &325 + - &322 name: repository_name description: The name of the repository to filter on. in: query @@ -44610,9 +44065,9 @@ paths: application/json: schema: type: array - items: *323 + items: *320 examples: - default: *324 + default: *321 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -44636,7 +44091,7 @@ paths: subcategory: delegated-bypass parameters: - *89 - - *325 + - *322 - *105 - *106 - *107 @@ -44650,9 +44105,9 @@ paths: application/json: schema: type: array - items: *326 + items: *323 examples: - default: *327 + default: *324 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -44679,7 +44134,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &329 + schema: &326 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -44705,7 +44160,7 @@ paths: application/json: schema: type: array - items: &330 + items: &327 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -44736,7 +44191,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *328 + items: *325 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -44754,7 +44209,7 @@ paths: type: string format: date-time nullable: true - state: *329 + state: *326 contact_link: description: The contact link of the campaign. type: string @@ -44974,9 +44429,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: &331 + default: &328 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -45059,9 +44514,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: *331 + default: *328 '404': *6 '422': description: Unprocessable Entity @@ -45138,7 +44593,7 @@ paths: type: string format: uri nullable: true - state: *329 + state: *326 examples: default: value: @@ -45148,9 +44603,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: *331 + default: *328 '400': description: Bad Request content: @@ -45217,8 +44672,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - *332 - - *333 + - *329 + - *330 - *110 - *111 - *19 @@ -45229,7 +44684,7 @@ paths: be returned. in: query required: false - schema: *334 + schema: *331 - name: sort description: The property by which to sort the results. in: query @@ -45245,7 +44700,7 @@ paths: be returned. in: query required: false - schema: &566 + schema: &563 type: string description: Severity of a code scanning alert. enum: @@ -45271,9 +44726,9 @@ paths: application/json: schema: type: array - items: *335 + items: *332 examples: - default: *336 + default: *333 headers: Link: *47 '404': *6 @@ -45648,7 +45103,7 @@ paths: application/json: schema: *116 examples: - default: *337 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45676,9 +45131,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *335 examples: - default: *339 + default: *336 '304': *37 '403': *29 '404': *6 @@ -45767,7 +45222,7 @@ paths: application/json: schema: *116 examples: - default: *337 + default: *334 '304': *37 '403': *29 '404': *6 @@ -46212,7 +45667,7 @@ paths: default: value: default_for_new_repos: all - configuration: *337 + configuration: *334 '403': *29 '404': *6 x-github: @@ -46265,13 +45720,13 @@ paths: application/json: schema: type: array - items: *340 + items: *337 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *341 + repository: *338 '403': *29 '404': *6 x-github: @@ -46311,7 +45766,7 @@ paths: type: integer codespaces: type: array - items: &408 + items: &405 type: object title: Codespace description: A codespace. @@ -46336,12 +45791,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *292 + repository: *289 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &598 + properties: &595 name: type: string description: The name of the machine. @@ -46383,7 +45838,7 @@ paths: - ready - in_progress nullable: true - required: &599 + required: &596 - name - display_name - operating_system @@ -46588,7 +46043,7 @@ paths: - pulls_url - recent_folders examples: - default: &409 + default: &406 value: total_count: 3 codespaces: @@ -47212,7 +46667,7 @@ paths: type: integer secrets: type: array - items: &342 + items: &339 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -47251,7 +46706,7 @@ paths: - updated_at - visibility examples: - default: &600 + default: &597 value: total_count: 2 secrets: @@ -47289,7 +46744,7 @@ paths: description: Response content: application/json: - schema: &601 + schema: &598 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -47318,7 +46773,7 @@ paths: - key_id - key examples: - default: &602 + default: &599 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -47342,15 +46797,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *342 + schema: *339 examples: - default: &604 + default: &601 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47378,7 +46833,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -47433,7 +46888,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -47460,7 +46915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -47486,7 +46941,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -47504,9 +46959,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 '404': *6 x-github: githubCloudOnly: false @@ -47529,7 +46984,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -47580,7 +47035,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -47614,7 +47069,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -47684,7 +47139,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &343 + items: &340 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -48065,9 +47520,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: &344 + default: &341 summary: Example response for an organization copilot space value: id: 84 @@ -48172,9 +47627,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *344 + default: *341 '403': *29 '404': *6 x-github: @@ -48300,9 +47755,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *344 + default: *341 '403': *29 '404': *6 '422': *15 @@ -48385,7 +47840,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &345 + items: &342 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -48608,7 +48063,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: user: value: @@ -48738,7 +48193,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: user: value: @@ -48889,7 +48344,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &346 + items: &343 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -49032,7 +48487,7 @@ paths: description: Resource created content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -49048,7 +48503,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -49103,7 +48558,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -49172,7 +48627,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -49900,12 +49355,12 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 required: - total_count - repositories examples: - default: *347 + default: *344 '500': *40 '401': *25 '403': *29 @@ -49991,7 +49446,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: - *89 - - *286 + - *283 responses: '204': description: No Content @@ -50025,7 +49480,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: - *89 - - *286 + - *283 responses: '204': description: No Content @@ -50173,81 +49628,13 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *348 + '413': *345 '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: - - *89 - - 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: *215 - examples: - default: *216 - '500': *40 - '403': *29 - '404': *6 - '422': *217 - 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 @@ -50645,7 +50032,7 @@ paths: type: integer custom_roles: type: array - items: *349 + items: *346 examples: default: value: @@ -50737,7 +50124,7 @@ paths: required: true content: application/json: - schema: &351 + schema: &348 type: object properties: name: @@ -50778,9 +50165,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -50811,9 +50198,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '404': *6 x-github: githubCloudOnly: true @@ -50841,7 +50228,7 @@ paths: required: true content: application/json: - schema: &352 + schema: &349 type: object properties: name: @@ -50879,9 +50266,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -50939,7 +50326,7 @@ paths: required: true content: application/json: - schema: *351 + schema: *348 examples: default: value: @@ -50953,9 +50340,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -50992,9 +50379,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '404': *6 x-github: githubCloudOnly: true @@ -51028,7 +50415,7 @@ paths: required: true content: application/json: - schema: *352 + schema: *349 examples: default: value: @@ -51043,9 +50430,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -51105,12 +50492,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 + - *350 + - *351 + - *352 - *353 - *354 - *355 - - *356 - - *357 - - *358 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -51140,7 +50527,7 @@ paths: enum: - patch - deployment - - *359 + - *356 - name: runtime_risk in: query description: |- @@ -51149,8 +50536,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *360 - - *361 + - *357 + - *358 - *112 - *110 - *111 @@ -51162,9 +50549,9 @@ paths: application/json: schema: type: array - items: *362 + items: *359 examples: - default: *363 + default: *360 '304': *37 '400': *14 '403': *29 @@ -51213,9 +50600,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *361 examples: - default: *365 + default: *362 '403': *29 '404': *6 x-github: @@ -51378,7 +50765,7 @@ paths: type: integer secrets: type: array - items: &366 + items: &363 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -51455,7 +50842,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &632 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -51472,7 +50859,7 @@ paths: - key_id - key examples: - default: &636 + default: &633 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -51496,13 +50883,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *366 + schema: *363 examples: default: value: @@ -51531,7 +50918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -51588,7 +50975,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -51613,7 +51000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -51638,7 +51025,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -51656,9 +51043,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51680,7 +51067,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -51731,7 +51118,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -51763,7 +51150,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -51800,7 +51187,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - &645 + - &642 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -51808,7 +51195,7 @@ paths: required: false schema: type: string - - &646 + - &643 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -51816,7 +51203,7 @@ paths: required: false schema: type: string - - &647 + - &644 name: time_period description: |- The time period to filter by. @@ -51832,7 +51219,7 @@ paths: - week - month default: month - - &648 + - &645 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -51847,7 +51234,7 @@ paths: - denied - all default: all - - *325 + - *322 - *17 - *19 responses: @@ -51857,7 +51244,7 @@ paths: application/json: schema: type: array - items: &649 + items: &646 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -51963,7 +51350,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &368 + items: &365 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -52013,7 +51400,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &650 + default: &647 value: - id: 21 number: 42 @@ -52101,11 +51488,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *325 + - *322 - *105 - *106 - *107 - - *367 + - *364 - *17 - *19 responses: @@ -52115,7 +51502,7 @@ paths: application/json: schema: type: array - items: &651 + items: &648 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -52221,7 +51608,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *368 + items: *365 url: type: string format: uri @@ -52232,7 +51619,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &652 + default: &649 value: - id: 21 number: 42 @@ -52320,11 +51707,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *325 + - *322 - *105 - *106 - *107 - - *367 + - *364 - *17 - *19 responses: @@ -52334,9 +51721,9 @@ paths: application/json: schema: type: array - items: *369 + items: *366 examples: - default: *370 + default: *367 '404': *6 '403': *29 '500': *40 @@ -52362,7 +51749,7 @@ paths: application/json: schema: type: array - items: &419 + items: &416 title: Package description: A software package type: object @@ -52412,8 +51799,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *371 - required: *372 + properties: *368 + required: *369 nullable: true created_at: type: string @@ -52432,7 +51819,7 @@ paths: - created_at - updated_at examples: - default: &420 + default: &417 value: - id: 197 name: hello_docker @@ -52520,7 +51907,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: 200-response: value: @@ -52619,7 +52006,7 @@ paths: description: Response content: application/json: - schema: &491 + schema: &488 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -52700,7 +52087,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &492 + default: &489 value: group_id: '123' group_name: Octocat admins @@ -52755,7 +52142,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &485 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -52792,7 +52179,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &489 + default: &486 value: groups: - group_id: '123' @@ -52837,7 +52224,7 @@ paths: application/json: schema: type: array - items: &397 + items: &394 title: Organization Invitation description: Organization Invitation type: object @@ -52884,7 +52271,7 @@ paths: - invitation_teams_url - node_id examples: - default: &398 + default: &395 value: - id: 1 login: monalisa @@ -52951,7 +52338,7 @@ paths: application/json: schema: type: array - items: &453 + items: &450 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -52965,7 +52352,7 @@ paths: - name - description examples: - default: &454 + default: &451 value: - name: add_assignee description: Assign or remove a user @@ -53006,7 +52393,7 @@ paths: application/json: schema: type: array - items: &373 + items: &370 title: Org Hook description: Org Hook type: object @@ -53175,9 +52562,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *370 examples: - default: &374 + default: &371 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -53222,7 +52609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *89 - - &375 + - &372 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. @@ -53235,9 +52622,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *370 examples: - default: *374 + default: *371 '404': *6 x-github: githubCloudOnly: false @@ -53259,7 +52646,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *89 - - *375 + - *372 requestBody: required: false content: @@ -53304,7 +52691,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *370 examples: default: value: @@ -53344,7 +52731,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *89 - - *375 + - *372 responses: '204': description: Response @@ -53370,7 +52757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *89 - - *375 + - *372 responses: '200': description: Response @@ -53399,7 +52786,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *89 - - *375 + - *372 requestBody: required: false content: @@ -53448,10 +52835,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *89 - - *375 + - *372 - *17 - - *376 - - *377 + - *373 + - *374 responses: '200': description: Response @@ -53459,9 +52846,9 @@ paths: application/json: schema: type: array - items: *378 + items: *375 examples: - default: *379 + default: *376 '400': *14 '422': *15 x-github: @@ -53485,16 +52872,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *89 - - *375 + - *372 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: *381 + default: *378 '400': *14 '422': *15 x-github: @@ -53518,7 +52905,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *89 - - *375 + - *372 - *16 responses: '202': *39 @@ -53545,7 +52932,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *89 - - *375 + - *372 responses: '204': description: Response @@ -53568,7 +52955,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &386 + - &383 name: actor_type in: path description: The type of the actor @@ -53581,14 +52968,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &387 + - &384 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &382 + - &379 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`.' @@ -53596,7 +52983,7 @@ paths: required: true schema: type: string - - &383 + - &380 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) @@ -53690,12 +53077,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *382 - - *383 + - *379 + - *380 - *19 - *17 - *112 - - &392 + - &389 name: sort description: The property to sort the results by. in: query @@ -53773,14 +53160,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *382 - - *383 + - *379 + - *380 responses: '200': description: Response content: application/json: - schema: &384 + schema: &381 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -53796,7 +53183,7 @@ paths: type: integer format: int64 examples: - default: &385 + default: &382 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -53817,23 +53204,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &388 + - &385 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *382 - - *383 + - *379 + - *380 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *385 + default: *382 x-github: enabledForGitHubApps: true category: orgs @@ -53852,18 +53239,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *382 + - *379 + - *380 - *383 - - *386 - - *387 + - *384 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *385 + default: *382 x-github: enabledForGitHubApps: true category: orgs @@ -53881,9 +53268,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *89 - - *382 - - *383 - - &389 + - *379 + - *380 + - &386 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -53896,7 +53283,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &387 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -53912,7 +53299,7 @@ paths: type: integer format: int64 examples: - default: &391 + default: &388 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -53949,18 +53336,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *388 - - *382 - - *383 - - *389 + - *385 + - *379 + - *380 + - *386 responses: '200': description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: *391 + default: *388 x-github: enabledForGitHubApps: true category: orgs @@ -53978,19 +53365,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *386 - - *387 - - *382 - *383 - - *389 + - *384 + - *379 + - *380 + - *386 responses: '200': description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: *391 + default: *388 x-github: enabledForGitHubApps: true category: orgs @@ -54008,13 +53395,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *89 - - *388 - - *382 - - *383 + - *385 + - *379 + - *380 - *19 - *17 - *112 - - *392 + - *389 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -54095,7 +53482,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54215,12 +53602,12 @@ paths: application/json: schema: anyOf: - - &395 + - &392 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &394 + limit: &391 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -54245,7 +53632,7 @@ paths: properties: {} additionalProperties: false examples: - default: &396 + default: &393 value: limit: collaborators_only origin: organization @@ -54274,13 +53661,13 @@ paths: required: true content: application/json: - schema: &681 + schema: &678 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *394 + limit: *391 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -54304,9 +53691,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *392 examples: - default: *396 + default: *393 '422': *15 x-github: githubCloudOnly: false @@ -54384,9 +53771,9 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: - default: *398 + default: *395 headers: Link: *47 '404': *6 @@ -54464,7 +53851,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: default: value: @@ -54521,7 +53908,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &399 + - &396 name: invitation_id description: The unique identifier of the invitation. in: path @@ -54555,7 +53942,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *399 + - *396 - *17 - *19 responses: @@ -54565,9 +53952,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: &418 + default: &415 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -54610,7 +53997,7 @@ paths: application/json: schema: type: array - items: &400 + items: &397 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -54863,9 +54250,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *397 examples: - default: &401 + default: &398 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -54921,7 +54308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *89 - - &402 + - &399 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -55029,9 +54416,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *397 examples: - default: *401 + default: *398 '404': *6 '422': *7 x-github: @@ -55056,7 +54443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *89 - - *402 + - *399 responses: '204': *130 '404': *6 @@ -55086,9 +54473,9 @@ paths: application/json: schema: type: array - items: *403 + items: *400 examples: - default: &684 + default: &682 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -55171,9 +54558,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: &404 + default: &401 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -55206,7 +54593,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *89 - - &405 + - &402 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -55259,9 +54646,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: *404 + default: *401 '404': *6 '422': *7 x-github: @@ -55286,7 +54673,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *89 - - *405 + - *402 responses: '204': description: Response @@ -55349,7 +54736,7 @@ paths: - closed - all default: open - - *406 + - *403 - name: type description: Can be the name of an issue type. in: query @@ -55368,7 +54755,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - *17 - *19 responses: @@ -55378,9 +54765,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *407 + default: *404 headers: Link: *47 '404': *6 @@ -55440,7 +54827,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '422': *15 @@ -55539,9 +54926,9 @@ paths: type: integer codespaces: type: array - items: *408 + items: *405 examples: - default: *409 + default: *406 '304': *37 '500': *40 '401': *25 @@ -55568,7 +54955,7 @@ paths: parameters: - *89 - *148 - - &410 + - &407 name: codespace_name in: path required: true @@ -55603,15 +54990,15 @@ paths: parameters: - *89 - *148 - - *410 + - *407 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: &597 + default: &594 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -55867,7 +55254,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &408 title: Org Membership description: Org Membership type: object @@ -55934,7 +55321,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &412 + response-if-user-has-an-active-admin-membership-with-organization: &409 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -56035,9 +55422,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *408 examples: - response-if-user-already-had-membership-with-organization: *412 + response-if-user-already-had-membership-with-organization: *409 '422': *15 '403': *29 x-github: @@ -56108,7 +55495,7 @@ paths: application/json: schema: type: array - items: &413 + items: &410 title: Migration description: A migration. type: object @@ -56437,7 +55824,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *410 examples: default: value: @@ -56616,7 +56003,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &414 + - &411 name: migration_id description: The unique identifier of the migration. in: path @@ -56643,7 +56030,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *413 + schema: *410 examples: default: value: @@ -56813,7 +56200,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *414 + - *411 responses: '302': description: Response @@ -56835,7 +56222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *414 + - *411 responses: '204': description: Response @@ -56859,8 +56246,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *414 - - &852 + - *411 + - &850 name: repo_name description: repo_name parameter in: path @@ -56888,7 +56275,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *414 + - *411 - *17 - *19 responses: @@ -56898,9 +56285,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: &425 + default: &422 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57111,7 +56498,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &415 + items: &412 title: Organization Role description: Organization roles type: object @@ -57318,7 +56705,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *412 examples: default: value: @@ -57370,7 +56757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response @@ -57396,7 +56783,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *89 - - *224 + - *221 - *147 responses: '204': @@ -57427,7 +56814,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *89 - - *224 + - *221 - *147 responses: '204': @@ -57548,7 +56935,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *412 examples: default: value: @@ -57645,7 +57032,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *412 examples: default: value: @@ -57803,8 +57190,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *413 + required: *414 nullable: true type: description: The ownership type of the team @@ -57836,7 +57223,7 @@ paths: - type - parent examples: - default: *418 + default: *415 headers: Link: *47 '404': @@ -57894,13 +57281,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &478 + items: &475 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *413 + required: *414 name: nullable: true type: string @@ -57995,7 +57382,7 @@ paths: - type - url examples: - default: *220 + default: *217 headers: Link: *47 '404': @@ -58046,7 +57433,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -58188,7 +57575,7 @@ paths: - nuget - container - *89 - - &853 + - &851 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -58224,12 +57611,12 @@ paths: application/json: schema: type: array - items: *419 + items: *416 examples: - default: *420 + default: *417 '403': *29 '401': *25 - '400': &855 + '400': &853 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -58251,7 +57638,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &421 + - &418 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 @@ -58269,7 +57656,7 @@ paths: - docker - nuget - container - - &422 + - &419 name: package_name description: The name of the package. in: path @@ -58282,7 +57669,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *416 examples: default: value: @@ -58334,8 +57721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *421 - - *422 + - *418 + - *419 - *89 responses: '204': @@ -58368,8 +57755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *421 - - *422 + - *418 + - *419 - *89 - name: token description: package token @@ -58402,8 +57789,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: - - *421 - - *422 + - *418 + - *419 - *89 - *19 - *17 @@ -58424,7 +57811,7 @@ paths: application/json: schema: type: array - items: &423 + items: &420 title: Package Version description: A version of a software package type: object @@ -58549,10 +57936,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: - - *421 - - *422 + - *418 + - *419 - *89 - - &424 + - &421 name: package_version_id description: Unique identifier of the package version. in: path @@ -58564,7 +57951,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: default: value: @@ -58600,10 +57987,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *421 - - *422 + - *418 + - *419 - *89 - - *424 + - *421 responses: '204': description: Response @@ -58635,10 +58022,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *421 - - *422 + - *418 + - *419 - *89 - - *424 + - *421 responses: '204': description: Response @@ -58668,7 +58055,7 @@ paths: - *89 - *17 - *19 - - &426 + - &423 name: sort description: The property by which to sort the results. in: query @@ -58679,7 +58066,7 @@ paths: - created_at default: created_at - *112 - - &427 + - &424 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -58690,7 +58077,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &428 + - &425 name: repository description: The name of the repository to use to filter the results. in: query @@ -58698,7 +58085,7 @@ paths: schema: type: string example: Hello-World - - &429 + - &426 name: permission description: The permission to use to filter the results. in: query @@ -58706,7 +58093,7 @@ paths: schema: type: string example: issues_read - - &430 + - &427 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) @@ -58716,7 +58103,7 @@ paths: schema: type: string format: date-time - - &431 + - &428 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) @@ -58726,7 +58113,7 @@ paths: schema: type: string format: date-time - - &432 + - &429 name: token_id description: The ID of the token in: query @@ -59037,9 +58424,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *425 + default: *422 headers: Link: *47 x-github: @@ -59065,14 +58452,14 @@ paths: - *89 - *17 - *19 - - *426 + - *423 - *112 + - *424 + - *425 + - *426 - *427 - *428 - *429 - - *430 - - *431 - - *432 responses: '500': *40 '422': *15 @@ -59352,9 +58739,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *425 + default: *422 headers: Link: *47 x-github: @@ -59396,7 +58783,7 @@ paths: type: integer configurations: type: array - items: &433 + items: &430 title: Organization private registry description: Private registry configuration for an organization type: object @@ -59907,7 +59294,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &434 + org-private-registry-with-selected-visibility: &431 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -59997,15 +59384,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *89 - - *302 + - *299 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *433 + schema: *430 examples: - default: *434 + default: *431 '404': *6 x-github: githubCloudOnly: false @@ -60028,7 +59415,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -60216,7 +59603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -60256,7 +59643,7 @@ paths: application/json: schema: type: array - items: &435 + items: &432 title: Projects v2 Project description: A projects v2 project type: object @@ -60326,7 +59713,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &947 + properties: &945 id: type: number description: The unique identifier of the status update. @@ -60374,7 +59761,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &948 + required: &946 - id - node_id - created_at @@ -60399,7 +59786,7 @@ paths: - deleted_at - deleted_by examples: - default: &436 + default: &433 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -60502,7 +59889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &437 + - &434 name: project_number description: The project's number. in: path @@ -60515,9 +59902,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *432 examples: - default: *436 + default: *433 headers: Link: *47 '304': *37 @@ -60540,7 +59927,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *89 - - *437 + - *434 requestBody: required: true description: Details of the draft item to create in the project. @@ -60574,7 +59961,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &440 title: Projects v2 Item description: An item belonging to a project type: object @@ -60587,8 +59974,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *231 - - &614 + - *228 + - &611 title: Pull Request Simple description: Pull Request Simple type: object @@ -60694,8 +60081,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *435 + required: *436 nullable: true active_lock_reason: type: string @@ -60738,7 +60125,7 @@ paths: items: *4 requested_teams: type: array - items: *328 + items: *325 head: type: object properties: @@ -60788,7 +60175,7 @@ paths: _links: type: object properties: - comments: &440 + comments: &437 title: Link description: Hypermedia Link type: object @@ -60797,13 +60184,13 @@ paths: type: string required: - href - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + commits: *437 + statuses: *437 + html: *437 + issue: *437 + review_comments: *437 + review_comment: *437 + self: *437 required: - comments - commits @@ -60813,8 +60200,8 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: &735 + author_association: *225 + auto_merge: &733 title: Auto merge description: The status of auto merging a pull request. type: object @@ -60916,7 +60303,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &442 + content_type: &439 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -60956,7 +60343,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &444 + draft_issue: &441 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -61030,7 +60417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *437 + - *434 - *89 - *17 - *110 @@ -61042,7 +60429,7 @@ paths: application/json: schema: type: array - items: &441 + items: &438 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -61192,7 +60579,7 @@ paths: - updated_at - project_url examples: - default: &875 + default: &873 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61322,7 +60709,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: - - *437 + - *434 - *89 requestBody: required: true @@ -61369,7 +60756,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &876 + items: &874 type: object properties: name: @@ -61406,7 +60793,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &877 + iteration_configuration: &875 type: object description: The configuration for iteration fields. properties: @@ -61456,7 +60843,7 @@ paths: value: name: Due date data_type: date - single_select_field: &878 + single_select_field: &876 summary: Create a single select field value: name: Priority @@ -61483,7 +60870,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &879 + iteration_field: &877 summary: Create an iteration field value: name: Sprint @@ -61507,9 +60894,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *441 + schema: *438 examples: - text_field: &880 + text_field: &878 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -61518,7 +60905,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: &881 + number_field: &879 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -61527,7 +60914,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: &882 + date_field: &880 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -61536,7 +60923,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: &883 + single_select_field: &881 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61570,7 +60957,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &884 + iteration_field: &882 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -61615,8 +61002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *437 - - &885 + - *434 + - &883 name: field_id description: The unique identifier of the field. in: path @@ -61629,9 +61016,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: - default: &886 + default: &884 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61687,7 +61074,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: - - *437 + - *434 - *89 - 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) @@ -61720,7 +61107,7 @@ paths: application/json: schema: type: array - items: &445 + items: &442 title: Projects v2 Item description: An item belonging to a project type: object @@ -61736,7 +61123,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *442 + content_type: *439 content: type: object additionalProperties: true @@ -61779,7 +61166,7 @@ paths: - updated_at - archived_at examples: - default: &446 + default: &443 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -62477,7 +61864,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *89 - - *437 + - *434 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -62547,22 +61934,22 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *441 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *441 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *441 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 + value: *441 '304': *37 '403': *29 '401': *25 @@ -62582,9 +61969,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: - - *437 + - *434 - *89 - - &447 + - &444 name: item_id description: The unique identifier of the project item. in: path @@ -62610,9 +61997,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - default: *446 + default: *443 headers: Link: *47 '304': *37 @@ -62633,9 +62020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *437 + - *434 - *89 - - *447 + - *444 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -62705,13 +62092,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *443 + number_field: *443 + date_field: *443 + single_select_field: *443 + iteration_field: *443 '401': *25 '403': *29 '404': *6 @@ -62731,9 +62118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *437 + - *434 - *89 - - *447 + - *444 responses: '204': description: Response @@ -62757,7 +62144,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *89 - - *437 + - *434 requestBody: required: true content: @@ -62828,7 +62215,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &866 + schema: &864 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -62926,7 +62313,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &448 + value: &445 value: id: 1 number: 1 @@ -62972,10 +62359,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *448 + value: *445 roadmap_view: summary: Response for creating a roadmap view - value: *448 + value: *445 '304': *37 '403': *29 '401': *25 @@ -63003,9 +62390,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: - - *437 + - *434 - *89 - - &887 + - &885 name: view_number description: The number that identifies the project view. in: path @@ -63037,9 +62424,9 @@ paths: application/json: schema: type: array - items: *445 + items: *442 examples: - default: *446 + default: *443 headers: Link: *47 '304': *37 @@ -63203,7 +62590,7 @@ paths: required: true content: application/json: - schema: *449 + schema: *446 examples: default: value: @@ -63428,7 +62815,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -63566,9 +62953,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *425 + default: *422 headers: Link: *47 x-github: @@ -63771,7 +63158,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &496 title: Full Repository description: Full Repository type: object @@ -64059,8 +63446,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *450 - required: *451 + properties: *447 + required: *448 nullable: true temp_clone_token: type: string @@ -64147,8 +63534,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true organization: title: Simple User @@ -64175,7 +63562,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &619 + properties: &616 url: type: string format: uri @@ -64191,12 +63578,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &620 + required: &617 - url - key - name - html_url - security_and_analysis: *452 + security_and_analysis: *449 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -64280,7 +63667,7 @@ paths: - network_count - subscribers_count examples: - default: &501 + default: &498 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -64806,9 +64193,9 @@ paths: application/json: schema: type: array - items: *453 + items: *450 examples: - default: *454 + default: *451 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -64833,7 +64220,7 @@ paths: - *89 - *17 - *19 - - &757 + - &755 name: targets description: | A comma-separated list of rule targets to filter by. @@ -64924,11 +64311,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *173 - conditions: *455 + conditions: *452 rules: type: array description: An array of rules within the ruleset. - items: &457 + items: &454 title: Repository Rule type: object description: A repository rule. @@ -64993,7 +64380,7 @@ paths: application/json: schema: *195 examples: - default: &456 + default: &453 value: id: 21 name: super cool ruleset @@ -65049,7 +64436,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &759 + - &757 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 @@ -65059,16 +64446,16 @@ paths: schema: type: string x-multi-segment: true - - *325 + - *322 - *107 - - &760 + - &758 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 - - &761 + - &759 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -65081,7 +64468,7 @@ paths: - bypass - all default: all - - &762 + - &760 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. @@ -65104,7 +64491,7 @@ paths: description: Response content: application/json: - schema: &763 + schema: &761 title: Rule Suites description: Response type: array @@ -65159,7 +64546,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &764 + default: &762 value: - id: 21 actor_id: 12 @@ -65203,7 +64590,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &765 + - &763 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -65219,7 +64606,7 @@ paths: description: Response content: application/json: - schema: &766 + schema: &764 title: Rule Suite description: Response type: object @@ -65318,7 +64705,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &767 + default: &765 value: id: 21 actor_id: 12 @@ -65393,7 +64780,7 @@ paths: application/json: schema: *195 examples: - default: *456 + default: *453 '404': *6 '500': *40 put: @@ -65442,11 +64829,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *173 - conditions: *455 + conditions: *452 rules: description: An array of rules within the ruleset. type: array - items: *457 + items: *454 examples: default: value: @@ -65483,7 +64870,7 @@ paths: application/json: schema: *195 examples: - default: *456 + default: *453 '404': *6 '422': *15 '500': *40 @@ -65543,7 +64930,7 @@ paths: type: array items: *199 examples: - default: *458 + default: *455 '404': *6 '500': *40 x-github: @@ -65580,7 +64967,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *456 examples: default: value: @@ -65643,18 +65030,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 + - *457 + - *458 + - *459 - *460 - *461 - *462 - *463 - *464 - - *465 - - *466 - - *467 - *112 - *19 - *17 - - &769 + - &767 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 @@ -65664,7 +65051,7 @@ paths: required: false schema: type: string - - &770 + - &768 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 @@ -65674,11 +65061,11 @@ paths: required: false schema: type: string + - *465 + - *466 + - *467 - *468 - *469 - - *470 - - *471 - - *472 responses: '200': description: Response @@ -65686,9 +65073,9 @@ paths: application/json: schema: type: array - items: *473 + items: *470 examples: - default: *474 + default: *471 headers: Link: *47 '404': *6 @@ -65723,9 +65110,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *472 examples: - default: *476 + default: *473 '403': *29 '404': *6 patch: @@ -65878,7 +65265,7 @@ paths: application/json: schema: type: array - items: &791 + items: &789 description: A repository security advisory. type: object properties: @@ -66098,7 +65485,7 @@ paths: login: type: string description: The username of the user credited. - type: *477 + type: *474 credits_detailed: type: array nullable: true @@ -66108,7 +65495,7 @@ paths: type: object properties: user: *4 - type: *477 + type: *474 state: type: string description: The state of the user's acceptance of the @@ -66132,7 +65519,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *328 + items: *325 private_fork: readOnly: true nullable: true @@ -66169,7 +65556,7 @@ paths: - private_fork additionalProperties: false examples: - default: &792 + default: &790 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -66556,7 +65943,7 @@ paths: application/json: schema: type: array - items: *478 + items: *475 examples: default: value: @@ -66597,7 +65984,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response @@ -66623,7 +66010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response @@ -66655,7 +66042,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *89 - - *479 + - *476 - *17 - *19 responses: @@ -66663,9 +66050,9 @@ paths: description: Success content: application/json: - schema: *480 + schema: *477 examples: - default: *481 + default: *478 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -66809,9 +66196,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66880,7 +66267,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *286 + - *283 responses: '204': description: Response @@ -66903,7 +66290,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *286 + - *283 responses: '204': description: Response @@ -66946,7 +66333,7 @@ paths: type: array items: *153 examples: - default: *482 + default: *479 headers: Link: *47 x-github: @@ -67175,15 +66562,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: - *89 - - *483 + - *480 responses: '200': description: Response content: application/json: - schema: *484 + schema: *481 examples: - default: *485 + default: *482 headers: Link: *47 x-github: @@ -67221,7 +66608,7 @@ paths: description: Response content: application/json: - schema: &496 + schema: &493 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -67267,7 +66654,7 @@ paths: type: string nullable: true examples: - default: &497 + default: &494 value: groups: - group_id: '123' @@ -67288,75 +66675,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: - - *89 - - *224 - - 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: *215 - examples: - default: *216 - '500': *40 - '403': *29 - '404': *6 - '422': *217 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -67391,9 +66709,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 headers: Link: *47 '403': *29 @@ -67487,7 +66805,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &483 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -67550,8 +66868,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *413 + required: *414 nullable: true members_count: type: integer @@ -67814,7 +67132,7 @@ paths: - repos_count - organization examples: - default: &487 + default: &484 value: id: 1 node_id: MDQ6VGVhbTE= @@ -67885,15 +67203,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *89 - - *224 + - *221 responses: '200': description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '404': *6 x-github: githubCloudOnly: false @@ -67915,7 +67233,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *89 - - *224 + - *221 requestBody: required: false content: @@ -67977,16 +67295,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '201': description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '404': *6 '422': *15 '403': *29 @@ -68012,11 +67330,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response - '422': &490 + '422': &487 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -68039,16 +67357,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: - *89 - - *224 + - *221 responses: '200': description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 - '422': *490 + default: *486 + '422': *487 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68068,7 +67386,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: - *89 - - *224 + - *221 requestBody: required: true content: @@ -68091,10 +67409,10 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: *492 - '422': *490 + default: *489 + '422': *487 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -68114,11 +67432,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: - *89 - - *224 + - *221 responses: '204': description: Response - '422': *490 + '422': *487 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -68140,7 +67458,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *89 - - *224 + - *221 - *17 - *19 responses: @@ -68150,12 +67468,12 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: - default: *398 + default: *395 headers: Link: *47 - '422': *490 + '422': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68176,7 +67494,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *89 - - *224 + - *221 - name: role description: Filters members returned by their role in the team. in: query @@ -68199,7 +67517,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -68230,14 +67548,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *89 - - *224 + - *221 - *148 responses: '200': description: Response content: application/json: - schema: &493 + schema: &490 title: Team Membership description: Team Membership type: object @@ -68264,7 +67582,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &833 + response-if-user-is-a-team-maintainer: &831 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -68301,7 +67619,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *89 - - *224 + - *221 - *148 requestBody: required: false @@ -68327,9 +67645,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: &834 + response-if-users-membership-with-team-is-now-pending: &832 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -68365,7 +67683,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *89 - - *224 + - *221 - *148 responses: '204': @@ -68393,7 +67711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *89 - - *224 + - *221 - *17 - *19 responses: @@ -68403,9 +67721,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *425 + default: *422 headers: Link: *47 x-github: @@ -68435,15 +67753,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *89 - - *224 - - *494 - - *495 + - *221 + - *491 + - *492 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &835 + schema: &833 title: Team Repository description: A team's access to a repository. type: object @@ -68466,8 +67784,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true forks: type: integer @@ -69013,9 +68331,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *89 - - *224 - - *494 - - *495 + - *221 + - *491 + - *492 requestBody: required: false content: @@ -69061,9 +68379,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *89 - - *224 - - *494 - - *495 + - *221 + - *491 + - *492 responses: '204': description: Response @@ -69090,16 +68408,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *89 - - *224 + - *221 responses: '200': description: Response content: application/json: - schema: *496 + schema: *493 examples: - default: *497 - '422': *490 + default: *494 + '422': *487 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69122,7 +68440,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *89 - - *224 + - *221 requestBody: required: true content: @@ -69165,7 +68483,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *493 examples: default: value: @@ -69177,7 +68495,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *490 + '422': *487 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69199,7 +68517,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *89 - - *224 + - *221 - *17 - *19 responses: @@ -69209,9 +68527,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - response-if-child-teams-exist: &836 + response-if-child-teams-exist: &834 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -69339,7 +68657,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)." @@ -69365,7 +68682,7 @@ paths: resources: type: object properties: - core: &498 + core: &495 title: Rate Limit type: object properties: @@ -69382,21 +68699,21 @@ paths: - remaining - reset - used - graphql: *498 - search: *498 - code_search: *498 - source_import: *498 - integration_manifest: *498 - code_scanning_upload: *498 - actions_runner_registration: *498 - scim: *498 - dependency_snapshots: *498 - dependency_sbom: *498 - code_scanning_autofix: *498 + graphql: *495 + search: *495 + code_search: *495 + source_import: *495 + integration_manifest: *495 + actions_runner_registration: *495 + scim: *495 + dependency_snapshots: *495 + dependency_sbom: *495 + code_scanning_autofix: *495 + copilot_usage_records: *495 required: - core - search - rate: *498 + rate: *495 required: - rate - resources @@ -69429,11 +68746,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 @@ -69501,14 +68813,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *499 + schema: *496 examples: default-response: summary: Default response @@ -70017,7 +69329,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *500 + '301': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70035,8 +69347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -70356,10 +69668,10 @@ paths: description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *501 - '307': &502 + default: *498 + '307': &499 description: Temporary Redirect content: application/json: @@ -70388,8 +69700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -70411,7 +69723,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': *502 + '307': *499 '404': *6 '409': *121 x-github: @@ -70435,11 +69747,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 - - &518 + - &515 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -70462,7 +69774,7 @@ paths: type: integer artifacts: type: array - items: &503 + items: &500 title: Artifact description: An artifact type: object @@ -70540,7 +69852,7 @@ paths: - expires_at - updated_at examples: - default: &519 + default: &516 value: total_count: 2 artifacts: @@ -70601,9 +69913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *494 - - *495 - - &504 + - *491 + - *492 + - &501 name: artifact_id description: The unique identifier of the artifact. in: path @@ -70615,7 +69927,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *500 examples: default: value: @@ -70653,9 +69965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *494 - - *495 - - *504 + - *491 + - *492 + - *501 responses: '204': description: Response @@ -70679,9 +69991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *494 - - *495 - - *504 + - *491 + - *492 + - *501 - name: archive_format in: path required: true @@ -70691,11 +70003,11 @@ paths: '302': description: Response headers: - Location: &638 + Location: &635 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': &685 + '410': &683 description: Gone content: application/json: @@ -70720,14 +70032,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: &505 + schema: &502 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -70760,13 +70072,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: application/json: - schema: *505 + schema: *502 examples: selected_actions: *44 responses: @@ -70795,14 +70107,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: &506 + schema: &503 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -70835,13 +70147,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: application/json: - schema: *506 + schema: *503 examples: selected_actions: *46 responses: @@ -70872,14 +70184,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: default: value: @@ -70905,11 +70217,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: - - *494 - - *495 + - *491 + - *492 - *17 - *19 - - &508 + - &505 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 @@ -70943,7 +70255,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &506 title: Repository actions caches description: Repository actions caches type: object @@ -70985,7 +70297,7 @@ paths: - total_count - actions_caches examples: - default: &510 + default: &507 value: total_count: 1 actions_caches: @@ -71017,23 +70329,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: - - *494 - - *495 + - *491 + - *492 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *508 + - *505 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71053,8 +70365,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: - - *494 - - *495 + - *491 + - *492 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -71083,8 +70395,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: - - *494 - - *495 + - *491 + - *492 - *17 - *111 responses: @@ -71166,8 +70478,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: - - *494 - - *495 + - *491 + - *492 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -71319,9 +70631,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: - - *494 - - *495 - - &511 + - *491 + - *492 + - &508 name: job_id description: The unique identifier of the job. in: path @@ -71333,7 +70645,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &519 title: Job description: Information of a job execution in a workflow run type: object @@ -71640,9 +70952,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: - - *494 - - *495 - - *511 + - *491 + - *492 + - *508 responses: '302': description: Response @@ -71670,9 +70982,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: - - *494 - - *495 - - *511 + - *491 + - *492 + - *508 requestBody: required: false content: @@ -71698,7 +71010,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -71722,8 +71034,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Status response @@ -71782,8 +71094,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -71822,7 +71134,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -71851,8 +71163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -71870,7 +71182,7 @@ paths: type: integer secrets: type: array - items: &524 + items: &521 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -71890,7 +71202,7 @@ paths: - created_at - updated_at examples: - default: &525 + default: &522 value: total_count: 2 secrets: @@ -71923,9 +71235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *494 - - *495 - - *311 + - *491 + - *492 + - *308 - *19 responses: '200': @@ -71942,7 +71254,7 @@ paths: type: integer variables: type: array - items: &526 + items: &523 title: Actions Variable type: object properties: @@ -71972,7 +71284,7 @@ paths: - created_at - updated_at examples: - default: &527 + default: &524 value: total_count: 2 variables: @@ -72005,8 +71317,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -72015,11 +71327,11 @@ paths: schema: type: object properties: - enabled: &512 + enabled: &509 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 - selected_actions_url: *279 + selected_actions_url: *276 sha_pinning_required: *63 required: - enabled @@ -72050,8 +71362,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -72062,7 +71374,7 @@ paths: schema: type: object properties: - enabled: *512 + enabled: *509 allowed_actions: *62 sha_pinning_required: *63 required: @@ -72095,14 +71407,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: &513 + schema: &510 type: object properties: access_level: @@ -72120,7 +71432,7 @@ paths: required: - access_level examples: - default: &514 + default: &511 value: access_level: organization x-github: @@ -72145,15 +71457,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: application/json: - schema: *513 + schema: *510 examples: - default: *514 + default: *511 responses: '204': description: Response @@ -72177,14 +71489,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *281 + schema: *278 examples: default: value: @@ -72208,8 +71520,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Empty response for successful settings update @@ -72219,7 +71531,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *279 examples: default: summary: Set retention days @@ -72243,8 +71555,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -72252,7 +71564,7 @@ paths: application/json: schema: *64 examples: - default: *283 + default: *280 '404': *6 x-github: enabledForGitHubApps: true @@ -72271,8 +71583,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -72306,14 +71618,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *284 + schema: *281 examples: default: *65 '403': *29 @@ -72335,13 +71647,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: application/json: - schema: *285 + schema: *282 examples: default: *65 responses: @@ -72367,8 +71679,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -72399,8 +71711,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -72432,14 +71744,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *288 + schema: *285 examples: default: *71 x-github: @@ -72462,8 +71774,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Success response @@ -72474,7 +71786,7 @@ paths: required: true content: application/json: - schema: *289 + schema: *286 examples: default: *71 x-github: @@ -72503,8 +71815,8 @@ paths: in: query schema: type: string - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -72548,8 +71860,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -72557,9 +71869,9 @@ paths: application/json: schema: type: array - items: *293 + items: *290 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72581,8 +71893,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -72625,7 +71937,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *292 '404': *6 '422': *7 '409': *121 @@ -72656,8 +71968,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: - - *494 - - *495 + - *491 + - *492 responses: '201': description: Response @@ -72665,7 +71977,7 @@ paths: application/json: schema: *81 examples: - default: *296 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72693,8 +72005,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: - - *494 - - *495 + - *491 + - *492 responses: '201': description: Response @@ -72702,7 +72014,7 @@ paths: application/json: schema: *81 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72724,8 +72036,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: - - *494 - - *495 + - *491 + - *492 - *77 responses: '200': @@ -72734,7 +72046,7 @@ paths: application/json: schema: *78 examples: - default: *298 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72755,8 +72067,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: - - *494 - - *495 + - *491 + - *492 - *77 responses: '204': @@ -72783,8 +72095,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: - - *494 - - *495 + - *491 + - *492 - *77 responses: '200': *83 @@ -72809,8 +72121,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: - - *494 - - *495 + - *491 + - *492 - *77 requestBody: required: true @@ -72859,8 +72171,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: - - *494 - - *495 + - *491 + - *492 - *77 requestBody: required: true @@ -72910,11 +72222,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: - - *494 - - *495 + - *491 + - *492 - *77 responses: - '200': *299 + '200': *296 '404': *6 x-github: githubCloudOnly: false @@ -72941,10 +72253,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: - - *494 - - *495 + - *491 + - *492 - *77 - - *300 + - *297 responses: '200': *83 '404': *6 @@ -72972,9 +72284,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: - - *494 - - *495 - - &530 + - *491 + - *492 + - &527 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. @@ -72982,7 +72294,7 @@ paths: required: false schema: type: string - - &531 + - &528 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -72990,7 +72302,7 @@ paths: required: false schema: type: string - - &532 + - &529 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -72999,7 +72311,7 @@ paths: required: false schema: type: string - - &533 + - &530 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 @@ -73026,7 +72338,7 @@ paths: - pending - *17 - *19 - - &534 + - &531 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)." @@ -73035,7 +72347,7 @@ paths: schema: type: string format: date-time - - &515 + - &512 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -73044,13 +72356,13 @@ paths: schema: type: boolean default: false - - &535 + - &532 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &536 + - &533 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -73073,7 +72385,7 @@ paths: type: integer workflow_runs: type: array - items: &516 + items: &513 title: Workflow Run description: An invocation of a workflow type: object @@ -73168,7 +72480,7 @@ paths: that triggered the run. type: array nullable: true - items: *236 + items: *233 created_at: type: string format: date-time @@ -73221,7 +72533,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &560 + properties: &557 id: type: string description: SHA for the commit @@ -73272,7 +72584,7 @@ paths: - name - email nullable: true - required: &561 + required: &558 - id - tree_id - message @@ -73280,8 +72592,8 @@ paths: - author - committer nullable: true - repository: *292 - head_repository: *292 + repository: *289 + head_repository: *289 head_repository_id: type: integer example: 5 @@ -73319,7 +72631,7 @@ paths: - workflow_url - pull_requests examples: - default: &537 + default: &534 value: total_count: 1 workflow_runs: @@ -73555,24 +72867,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *494 - - *495 - - &517 + - *491 + - *492 + - &514 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *515 + - *512 responses: '200': description: Response content: application/json: - schema: *516 + schema: *513 examples: - default: &520 + default: &517 value: id: 30433642 name: Build @@ -73813,9 +73125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '204': description: Response @@ -73838,9 +73150,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '200': description: Response @@ -73959,15 +73271,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -73994,12 +73306,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 - *17 - *19 - - *518 + - *515 - *112 responses: '200': @@ -74016,9 +73328,9 @@ paths: type: integer artifacts: type: array - items: *503 + items: *500 examples: - default: *519 + default: *516 headers: Link: *47 x-github: @@ -74042,25 +73354,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *494 - - *495 - - *517 - - &521 + - *491 + - *492 + - *514 + - &518 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *515 + - *512 responses: '200': description: Response content: application/json: - schema: *516 + schema: *513 examples: - default: *520 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74083,10 +73395,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: - - *494 - - *495 - - *517 - - *521 + - *491 + - *492 + - *514 + - *518 - *17 - *19 responses: @@ -74104,9 +73416,9 @@ paths: type: integer jobs: type: array - items: *522 + items: *519 examples: - default: &523 + default: &520 value: total_count: 1 jobs: @@ -74219,10 +73531,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *494 - - *495 - - *517 - - *521 + - *491 + - *492 + - *514 + - *518 responses: '302': description: Response @@ -74250,15 +73562,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '202': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -74298,9 +73610,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 - *17 - *110 - *111 @@ -74471,9 +73783,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 requestBody: required: true content: @@ -74540,15 +73852,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '202': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -74575,9 +73887,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 - 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 @@ -74607,9 +73919,9 @@ paths: type: integer jobs: type: array - items: *522 + items: *519 examples: - default: *523 + default: *520 headers: Link: *47 x-github: @@ -74634,9 +73946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '302': description: Response @@ -74663,9 +73975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '204': description: Response @@ -74692,9 +74004,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '200': description: Response @@ -74754,7 +74066,7 @@ paths: items: type: object properties: - type: &653 + type: &650 type: string description: The type of reviewer. enum: @@ -74764,7 +74076,7 @@ paths: reviewer: anyOf: - *4 - - *328 + - *325 required: - environment - wait_timer @@ -74839,9 +74151,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 requestBody: required: true content: @@ -74888,12 +74200,12 @@ paths: application/json: schema: type: array - items: &640 + items: &637 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &905 + properties: &903 url: type: string format: uri @@ -74976,9 +74288,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - required: &906 + properties: *223 + required: *224 + required: &904 - id - node_id - sha @@ -74994,7 +74306,7 @@ paths: - created_at - updated_at examples: - default: &641 + default: &638 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -75050,9 +74362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 requestBody: required: false content: @@ -75073,7 +74385,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -75096,9 +74408,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 requestBody: required: false content: @@ -75119,7 +74431,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -75152,9 +74464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '200': description: Response @@ -75291,8 +74603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -75310,9 +74622,9 @@ paths: type: integer secrets: type: array - items: *524 + items: *521 examples: - default: *525 + default: *522 headers: Link: *47 x-github: @@ -75337,16 +74649,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75368,17 +74680,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '200': description: Response content: application/json: - schema: *524 + schema: *521 examples: - default: &538 + default: &535 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -75404,9 +74716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 requestBody: required: true content: @@ -75437,7 +74749,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -75463,9 +74775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '204': description: Response @@ -75490,9 +74802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *494 - - *495 - - *311 + - *491 + - *492 + - *308 - *19 responses: '200': @@ -75509,9 +74821,9 @@ paths: type: integer variables: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -75534,8 +74846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -75562,7 +74874,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -75587,17 +74899,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: &539 + default: &536 value: name: USERNAME value: octocat @@ -75623,9 +74935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 requestBody: required: true content: @@ -75667,9 +74979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 responses: '204': description: Response @@ -75694,8 +75006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -75713,7 +75025,7 @@ paths: type: integer workflows: type: array - items: &528 + items: &525 title: Workflow description: A GitHub Actions workflow type: object @@ -75820,9 +75132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *494 - - *495 - - &529 + - *491 + - *492 + - &526 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -75837,7 +75149,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *525 examples: default: value: @@ -75870,9 +75182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *494 - - *495 - - *529 + - *491 + - *492 + - *526 responses: '204': description: Response @@ -75897,9 +75209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *494 - - *495 - - *529 + - *491 + - *492 + - *526 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -75986,9 +75298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *494 - - *495 - - *529 + - *491 + - *492 + - *526 responses: '204': description: Response @@ -76015,19 +75327,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: - - *494 - - *495 + - *491 + - *492 + - *526 + - *527 + - *528 - *529 - *530 + - *17 + - *19 - *531 + - *512 - *532 - *533 - - *17 - - *19 - - *534 - - *515 - - *535 - - *536 responses: '200': description: Response @@ -76043,9 +75355,9 @@ paths: type: integer workflow_runs: type: array - items: *516 + items: *513 examples: - default: *537 + default: *534 headers: Link: *47 x-github: @@ -76078,9 +75390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *494 - - *495 - - *529 + - *491 + - *492 + - *526 responses: '200': description: Response @@ -76141,8 +75453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *494 - - *495 + - *491 + - *492 - *112 - *17 - *110 @@ -76311,8 +75623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -76330,9 +75642,9 @@ paths: type: integer secrets: type: array - items: *524 + items: *521 examples: - default: *525 + default: *522 headers: Link: *47 x-github: @@ -76356,9 +75668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *494 - - *495 - - *311 + - *491 + - *492 + - *308 - *19 responses: '200': @@ -76375,9 +75687,9 @@ paths: type: integer variables: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -76402,8 +75714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -76421,9 +75733,9 @@ paths: type: integer secrets: type: array - items: *524 + items: *521 examples: - default: *525 + default: *522 headers: Link: *47 x-github: @@ -76448,16 +75760,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76479,17 +75791,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '200': description: Response content: application/json: - schema: *524 + schema: *521 examples: - default: *538 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76511,9 +75823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 requestBody: required: true content: @@ -76544,7 +75856,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -76570,9 +75882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '204': description: Response @@ -76597,9 +75909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *494 - - *495 - - *311 + - *491 + - *492 + - *308 - *19 responses: '200': @@ -76616,9 +75928,9 @@ paths: type: integer variables: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -76641,8 +75953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -76669,7 +75981,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -76694,17 +76006,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: *539 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76725,9 +76037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 requestBody: required: true content: @@ -76769,9 +76081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 responses: '204': description: Response @@ -76792,8 +76104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -76805,7 +76117,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '404': *6 @@ -76830,8 +76142,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: - - *494 - - *495 + - *491 + - *492 - name: assignee in: path required: true @@ -76867,8 +76179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -76978,8 +76290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *110 - *111 @@ -77036,7 +76348,7 @@ paths: initiator: type: string examples: - default: *540 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77056,8 +76368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -77065,7 +76377,7 @@ paths: application/json: schema: type: array - items: &541 + items: &538 title: Autolink reference description: An autolink reference. type: object @@ -77119,8 +76431,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -77159,9 +76471,9 @@ paths: description: response content: application/json: - schema: *541 + schema: *538 examples: - default: &542 + default: &539 value: id: 1 key_prefix: TICKET- @@ -77192,9 +76504,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: - - *494 - - *495 - - &543 + - *491 + - *492 + - &540 name: autolink_id description: The unique identifier of the autolink. in: path @@ -77206,9 +76518,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: *542 + default: *539 '404': *6 x-github: githubCloudOnly: false @@ -77228,9 +76540,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: - - *494 - - *495 - - *543 + - *491 + - *492 + - *540 responses: '204': description: Response @@ -77254,8 +76566,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response if Dependabot is enabled @@ -77303,8 +76615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -77325,8 +76637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -77346,8 +76658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *494 - - *495 + - *491 + - *492 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -77385,7 +76697,7 @@ paths: - url protected: type: boolean - protection: &545 + protection: &542 title: Branch Protection description: Branch Protection type: object @@ -77427,7 +76739,7 @@ paths: required: - contexts - checks - enforce_admins: &548 + enforce_admins: &545 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -77442,7 +76754,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &550 + required_pull_request_reviews: &547 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -77463,7 +76775,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *328 + items: *325 apps: description: The list of apps with review dismissal access. @@ -77492,7 +76804,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *328 + items: *325 apps: description: The list of apps allowed to bypass pull request requirements. @@ -77518,7 +76830,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &547 + restrictions: &544 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -77581,7 +76893,7 @@ paths: type: string teams: type: array - items: *328 + items: *325 apps: type: array items: @@ -77795,9 +77107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *494 - - *495 - - &546 + - *491 + - *492 + - &543 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). @@ -77811,14 +77123,14 @@ paths: description: Response content: application/json: - schema: &556 + schema: &553 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &610 + commit: &607 title: Commit description: Commit type: object @@ -77852,7 +77164,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &544 + properties: &541 name: type: string example: '"Chris Wanstrath"' @@ -77868,7 +77180,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *544 + properties: *541 nullable: true message: type: string @@ -77889,7 +77201,7 @@ paths: required: - sha - url - verification: &671 + verification: &668 title: Verification type: object properties: @@ -77923,12 +77235,12 @@ paths: nullable: true oneOf: - *4 - - *303 + - *300 committer: nullable: true oneOf: - *4 - - *303 + - *300 parents: type: array items: @@ -77959,7 +77271,7 @@ paths: type: integer files: type: array - items: &623 + items: &620 title: Diff Entry description: Diff Entry type: object @@ -78043,7 +77355,7 @@ paths: - self protected: type: boolean - protection: *545 + protection: *542 protection_url: type: string format: uri @@ -78150,7 +77462,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *500 + '301': *497 '404': *6 x-github: githubCloudOnly: false @@ -78172,15 +77484,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *545 + schema: *542 examples: default: value: @@ -78374,9 +77686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -78631,7 +77943,7 @@ paths: url: type: string format: uri - required_status_checks: &553 + required_status_checks: &550 title: Status Check Policy description: Status Check Policy type: object @@ -78707,7 +78019,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *325 apps: type: array items: *5 @@ -78725,7 +78037,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *325 apps: type: array items: *5 @@ -78783,7 +78095,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *547 + restrictions: *544 required_conversation_resolution: type: object properties: @@ -78895,9 +78207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -78922,17 +78234,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *548 + schema: *545 examples: - default: &549 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -78954,17 +78266,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *548 + schema: *545 examples: - default: *549 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78983,9 +78295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -79010,17 +78322,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: &551 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -79116,9 +78428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -79216,9 +78528,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: *551 + default: *548 '422': *15 x-github: githubCloudOnly: false @@ -79239,9 +78551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -79268,17 +78580,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *548 + schema: *545 examples: - default: &552 + default: &549 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -79301,17 +78613,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *548 + schema: *545 examples: - default: *552 + default: *549 '404': *6 x-github: githubCloudOnly: false @@ -79331,9 +78643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -79358,17 +78670,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *553 + schema: *550 examples: - default: &554 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -79394,9 +78706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -79448,9 +78760,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *550 examples: - default: *554 + default: *551 '404': *6 '422': *15 x-github: @@ -79472,9 +78784,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -79498,9 +78810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response @@ -79534,9 +78846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -79603,9 +78915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -79669,9 +78981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: content: application/json: @@ -79737,15 +79049,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *547 + schema: *544 examples: default: value: @@ -79836,9 +79148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -79861,9 +79173,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: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response @@ -79873,7 +79185,7 @@ paths: type: array items: *5 examples: - default: &555 + default: &552 value: - id: 1 slug: octoapp @@ -79930,9 +79242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -79966,7 +79278,7 @@ paths: type: array items: *5 examples: - default: *555 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -79987,9 +79299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -80023,7 +79335,7 @@ paths: type: array items: *5 examples: - default: *555 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -80044,9 +79356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -80080,7 +79392,7 @@ paths: type: array items: *5 examples: - default: *555 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -80102,9 +79414,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: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response @@ -80112,9 +79424,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 '404': *6 x-github: githubCloudOnly: false @@ -80134,9 +79446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -80172,9 +79484,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -80195,9 +79507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -80233,9 +79545,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -80256,9 +79568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: content: application/json: @@ -80293,9 +79605,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -80317,9 +79629,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: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response @@ -80329,7 +79641,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '404': *6 x-github: githubCloudOnly: false @@ -80353,9 +79665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -80388,7 +79700,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -80413,9 +79725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -80448,7 +79760,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -80473,9 +79785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -80508,7 +79820,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -80535,9 +79847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -80559,7 +79871,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: default: value: @@ -80673,8 +79985,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *494 - - *495 + - *491 + - *492 - *105 - *106 - *107 @@ -80688,9 +80000,9 @@ paths: application/json: schema: type: array - items: *323 + items: *320 examples: - default: *324 + default: *321 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -80710,8 +80022,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: bypass_request_number in: path required: true @@ -80725,7 +80037,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *320 examples: default: value: @@ -80784,8 +80096,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *494 - - *495 + - *491 + - *492 - *105 - *106 - *107 @@ -80799,9 +80111,9 @@ paths: application/json: schema: type: array - items: *326 + items: *323 examples: - default: *327 + default: *324 '404': *6 '403': *29 '500': *40 @@ -80825,8 +80137,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *494 - - *495 + - *491 + - *492 - name: bypass_request_number in: path required: true @@ -80838,7 +80150,7 @@ paths: description: A single bypass request. content: application/json: - schema: *326 + schema: *323 examples: default: value: @@ -80896,8 +80208,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *494 - - *495 + - *491 + - *492 - name: bypass_request_number in: path required: true @@ -80968,8 +80280,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *494 - - *495 + - *491 + - *492 - name: bypass_response_id in: path required: true @@ -81002,8 +80314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -81282,7 +80594,7 @@ paths: description: Response content: application/json: - schema: &557 + schema: &554 title: CheckRun description: A check performed on the code of a given code change type: object @@ -81393,16 +80705,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *236 - deployment: &898 + items: *233 + deployment: &896 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -81469,8 +80781,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 required: - id - node_id @@ -81682,9 +80994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *494 - - *495 - - &558 + - *491 + - *492 + - &555 name: check_run_id description: The unique identifier of the check run. in: path @@ -81696,9 +81008,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *554 examples: - default: &559 + default: &556 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -81798,9 +81110,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *494 - - *495 - - *558 + - *491 + - *492 + - *555 requestBody: required: true content: @@ -82040,9 +81352,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *554 examples: - default: *559 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82062,9 +81374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *494 - - *495 - - *558 + - *491 + - *492 + - *555 - *17 - *19 responses: @@ -82159,15 +81471,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *494 - - *495 - - *558 + - *491 + - *492 + - *555 responses: '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -82205,8 +81517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -82228,7 +81540,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &562 + schema: &559 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -82292,7 +81604,7 @@ paths: nullable: true pull_requests: type: array - items: *236 + items: *233 nullable: true app: title: GitHub app @@ -82303,9 +81615,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - repository: *292 + properties: *223 + required: *224 + repository: *289 created_at: type: string format: date-time @@ -82314,12 +81626,12 @@ paths: type: string format: date-time nullable: true - head_commit: &931 + head_commit: &929 title: Simple Commit description: A commit. type: object - properties: *560 - required: *561 + properties: *557 + required: *558 latest_check_runs_count: type: integer check_runs_url: @@ -82347,7 +81659,7 @@ paths: - check_runs_url - pull_requests examples: - default: &563 + default: &560 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -82638,9 +81950,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *562 + schema: *559 examples: - default: *563 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82659,8 +81971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -82721,7 +82033,7 @@ paths: required: - app_id - setting - repository: *292 + repository: *289 examples: default: value: @@ -82969,9 +82281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *494 - - *495 - - &564 + - *491 + - *492 + - &561 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -82983,9 +82295,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *559 examples: - default: *563 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83008,17 +82320,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: - - *494 - - *495 - - *564 - - &616 + - *491 + - *492 + - *561 + - &613 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &617 + - &614 name: status description: Returns check runs with the specified `status`. in: query @@ -83057,9 +82369,9 @@ paths: type: integer check_runs: type: array - items: *557 + items: *554 examples: - default: &618 + default: &615 value: total_count: 1 check_runs: @@ -83161,15 +82473,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *494 - - *495 - - *564 + - *491 + - *492 + - *561 responses: '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -83196,21 +82508,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: - - *494 - - *495 - - *332 - - *333 + - *491 + - *492 + - *329 + - *330 - *19 - *17 - - &580 + - &577 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: *565 - - &581 + schema: *562 + - &578 name: pr description: The number of the pull request for the results you want to list. in: query @@ -83235,13 +82547,13 @@ paths: be returned. in: query required: false - schema: *334 + schema: *331 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *566 + schema: *563 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -83265,7 +82577,7 @@ paths: updated_at: *139 url: *136 html_url: *137 - instances_url: *567 + instances_url: *564 state: *115 fixed_at: *141 dismissed_by: @@ -83276,11 +82588,11 @@ paths: required: *21 nullable: true dismissed_at: *140 - dismissed_reason: *568 - dismissed_comment: *569 - rule: *570 - tool: *571 - most_recent_instance: *572 + dismissed_reason: *565 + dismissed_comment: *566 + rule: *567 + tool: *568 + most_recent_instance: *569 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -83406,7 +82718,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &573 + '403': &570 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -83433,9 +82745,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: - - *494 - - *495 - - &574 + - *491 + - *492 + - &571 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -83449,7 +82761,7 @@ paths: description: Response content: application/json: - schema: &575 + schema: &572 type: object properties: number: *131 @@ -83457,7 +82769,7 @@ paths: updated_at: *139 url: *136 html_url: *137 - instances_url: *567 + instances_url: *564 state: *115 fixed_at: *141 dismissed_by: @@ -83468,8 +82780,8 @@ paths: required: *21 nullable: true dismissed_at: *140 - dismissed_reason: *568 - dismissed_comment: *569 + dismissed_reason: *565 + dismissed_comment: *566 rule: type: object properties: @@ -83523,8 +82835,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *571 - most_recent_instance: *572 + tool: *568 + most_recent_instance: *569 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -83623,7 +82935,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -83643,9 +82955,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 requestBody: required: true content: @@ -83660,8 +82972,8 @@ paths: enum: - open - dismissed - dismissed_reason: *568 - dismissed_comment: *569 + dismissed_reason: *565 + dismissed_comment: *566 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -83689,7 +83001,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *572 examples: default: value: @@ -83765,7 +83077,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &579 + '403': &576 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -83792,15 +83104,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 responses: '200': description: Response content: application/json: - schema: &576 + schema: &573 type: object properties: status: @@ -83826,13 +83138,13 @@ paths: - description - started_at examples: - default: &577 + default: &574 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &578 + '400': &575 description: Bad Request content: application/json: @@ -83843,7 +83155,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': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -83868,29 +83180,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 responses: '200': description: OK content: application/json: - schema: *576 + schema: *573 examples: - default: *577 + default: *574 '202': description: Accepted content: application/json: - schema: *576 + schema: *573 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *578 + '400': *575 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -83922,9 +83234,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 requestBody: required: false content: @@ -83969,8 +83281,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *578 - '403': *579 + '400': *575 + '403': *576 '404': *6 '422': description: Unprocessable Entity @@ -83994,13 +83306,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 - *19 - *17 - - *580 - - *581 + - *577 + - *578 responses: '200': description: Response @@ -84011,10 +83323,10 @@ paths: items: type: object properties: - ref: *565 - analysis_key: *582 - environment: *583 - category: *584 + ref: *562 + analysis_key: *579 + environment: *580 + category: *581 state: type: string description: State of a code scanning alert instance. @@ -84029,7 +83341,7 @@ paths: properties: text: type: string - location: *585 + location: *582 html_url: type: string classifications: @@ -84037,7 +83349,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: *586 + items: *583 examples: default: value: @@ -84074,7 +83386,7 @@ paths: end_column: 50 classifications: - source - '403': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -84108,25 +83420,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: - - *494 - - *495 - - *332 - - *333 + - *491 + - *492 + - *329 + - *330 - *19 - *17 - - *581 + - *578 - 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: *565 + schema: *562 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &587 + schema: &584 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -84147,23 +83459,23 @@ paths: application/json: schema: type: array - items: &588 + items: &585 type: object properties: - ref: *565 - commit_sha: &596 + ref: *562 + commit_sha: &593 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: *582 + analysis_key: *579 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *584 + category: *581 error: type: string example: error reading field xyz @@ -84187,8 +83499,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *587 - tool: *571 + sarif_id: *584 + tool: *568 deletable: type: boolean warning: @@ -84249,7 +83561,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -84285,8 +83597,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: - - *494 - - *495 + - *491 + - *492 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -84299,7 +83611,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *585 examples: response: summary: application/json response @@ -84353,7 +83665,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *573 + '403': *570 '404': *6 '422': description: Response if analysis could not be processed @@ -84440,8 +83752,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: - - *494 - - *495 + - *491 + - *492 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -84494,7 +83806,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': *579 + '403': *576 '404': *6 '503': *200 x-github: @@ -84516,8 +83828,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -84525,7 +83837,7 @@ paths: application/json: schema: type: array - items: &589 + items: &586 title: CodeQL Database description: A CodeQL database. type: object @@ -84636,7 +83948,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': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -84665,8 +83977,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: - - *494 - - *495 + - *491 + - *492 - name: language in: path description: The language of the CodeQL database. @@ -84678,7 +83990,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: default: value: @@ -84710,9 +84022,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': &627 + '302': &624 description: Found - '403': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -84734,8 +84046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *494 - - *495 + - *491 + - *492 - name: language in: path description: The language of the CodeQL database. @@ -84745,7 +84057,7 @@ paths: responses: '204': description: Response - '403': *579 + '403': *576 '404': *6 '503': *200 x-github: @@ -84773,8 +84085,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -84783,7 +84095,7 @@ paths: type: object additionalProperties: false properties: - language: &590 + language: &587 type: string description: The language targeted by the CodeQL query enum: @@ -84863,7 +84175,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &594 + schema: &591 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -84873,7 +84185,7 @@ paths: description: The ID of the variant analysis. controller_repo: *122 actor: *4 - query_language: *590 + query_language: *587 query_pack_url: type: string description: The download url for the query pack. @@ -84920,7 +84232,7 @@ paths: items: type: object properties: - repository: &591 + repository: &588 title: Repository Identifier description: Repository Identifier type: object @@ -84956,7 +84268,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &595 + analysis_status: &592 type: string description: The new status of the CodeQL variant analysis repository task. @@ -84988,7 +84300,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &592 + access_mismatch_repos: &589 type: object properties: repository_count: @@ -85002,7 +84314,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: *591 + items: *588 required: - repository_count - repositories @@ -85024,8 +84336,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *592 - over_limit_repos: *592 + no_codeql_db_repos: *589 + over_limit_repos: *589 required: - access_mismatch_repos - not_found_repos @@ -85041,7 +84353,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &593 + value: &590 summary: Default response value: id: 1 @@ -85187,10 +84499,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *593 + value: *590 repository_lists: summary: Response for a successful variant analysis submission - value: *593 + value: *590 '404': *6 '422': description: Unable to process variant analysis submission @@ -85218,8 +84530,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: - - *494 - - *495 + - *491 + - *492 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -85231,9 +84543,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *591 examples: - default: *593 + default: *590 '404': *6 '503': *200 x-github: @@ -85256,7 +84568,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: - - *494 + - *491 - name: repo in: path description: The name of the controller repository. @@ -85291,7 +84603,7 @@ paths: type: object properties: repository: *122 - analysis_status: *595 + analysis_status: *592 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -85416,8 +84728,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -85502,7 +84814,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -85523,8 +84835,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -85591,7 +84903,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -85616,7 +84928,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *579 + '403': *576 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -85687,8 +84999,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -85696,7 +85008,7 @@ paths: schema: type: object properties: - commit_sha: *596 + commit_sha: *593 ref: type: string description: |- @@ -85754,7 +85066,7 @@ paths: schema: type: object properties: - id: *587 + id: *584 url: type: string description: The REST API URL for checking the status of the upload. @@ -85768,7 +85080,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': *579 + '403': *576 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -85791,8 +85103,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: - - *494 - - *495 + - *491 + - *492 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -85838,7 +85150,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': *573 + '403': *570 '404': description: Not Found if the sarif id does not match any upload '503': *200 @@ -85863,8 +85175,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -85945,8 +85257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *494 - - *495 + - *491 + - *492 - 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 @@ -86066,8 +85378,8 @@ paths: parameters: - *17 - *19 - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -86083,7 +85395,7 @@ paths: type: integer codespaces: type: array - items: *408 + items: *405 examples: default: value: @@ -86381,8 +85693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -86445,17 +85757,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '400': *14 '401': *25 '403': *29 @@ -86484,8 +85796,8 @@ paths: parameters: - *17 - *19 - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -86549,8 +85861,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: - - *494 - - *495 + - *491 + - *492 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -86585,14 +85897,14 @@ paths: type: integer machines: type: array - items: &842 + items: &840 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *598 - required: *599 + properties: *595 + required: *596 examples: - default: &843 + default: &841 value: total_count: 2 machines: @@ -86632,8 +85944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *494 - - *495 + - *491 + - *492 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -86717,8 +86029,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: - - *494 - - *495 + - *491 + - *492 - 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 @@ -86784,8 +86096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -86803,7 +86115,7 @@ paths: type: integer secrets: type: array - items: &603 + items: &600 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -86823,7 +86135,7 @@ paths: - created_at - updated_at examples: - default: *600 + default: *597 headers: Link: *47 x-github: @@ -86846,16 +86158,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *601 + schema: *598 examples: - default: *602 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86875,17 +86187,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '200': description: Response content: application/json: - schema: *603 + schema: *600 examples: - default: *604 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86905,9 +86217,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: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 requestBody: required: true content: @@ -86935,7 +86247,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -86959,9 +86271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '204': description: Response @@ -86989,8 +86301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *494 - - *495 + - *491 + - *492 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -87032,7 +86344,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &605 + properties: &602 login: type: string example: octocat @@ -87125,7 +86437,7 @@ paths: user_view_type: type: string example: public - required: &606 + required: &603 - avatar_url - events_url - followers_url @@ -87199,8 +86511,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: - - *494 - - *495 + - *491 + - *492 - *148 responses: '204': @@ -87247,8 +86559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *494 - - *495 + - *491 + - *492 - *148 requestBody: required: false @@ -87275,7 +86587,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &683 + schema: &681 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87286,7 +86598,7 @@ paths: example: 42 type: integer format: int64 - repository: *292 + repository: *289 invitee: title: Simple User description: A GitHub user. @@ -87464,7 +86776,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *267 + schema: *264 '403': *29 x-github: triggersNotification: true @@ -87504,8 +86816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *494 - - *495 + - *491 + - *492 - *148 responses: '204': @@ -87537,8 +86849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *494 - - *495 + - *491 + - *492 - *148 responses: '200': @@ -87559,8 +86871,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *605 - required: *606 + properties: *602 + required: *603 nullable: true required: - permission @@ -87615,8 +86927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -87626,7 +86938,7 @@ paths: application/json: schema: type: array - items: &607 + items: &604 title: Commit Comment description: Commit Comment type: object @@ -87667,8 +86979,8 @@ paths: updated_at: type: string format: date-time - author_association: *228 - reactions: *229 + author_association: *225 + reactions: *226 required: - url - html_url @@ -87684,7 +86996,7 @@ paths: - created_at - updated_at examples: - default: &612 + default: &609 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -87743,17 +87055,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '200': description: Response content: application/json: - schema: *607 + schema: *604 examples: - default: &613 + default: &610 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -87810,9 +87122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -87834,7 +87146,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *604 examples: default: value: @@ -87885,9 +87197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '204': description: Response @@ -87908,9 +87220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 - 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. @@ -87936,7 +87248,7 @@ paths: application/json: schema: type: array - items: &608 + items: &605 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -87979,7 +87291,7 @@ paths: - content - created_at examples: - default: &688 + default: &686 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -88024,9 +87336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -88058,9 +87370,9 @@ paths: description: Reaction exists content: application/json: - schema: *608 + schema: *605 examples: - default: &609 + default: &606 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -88089,9 +87401,9 @@ paths: description: Reaction created content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '422': *15 x-github: githubCloudOnly: false @@ -88113,10 +87425,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *494 - - *495 - - *247 - - &689 + - *491 + - *492 + - *244 + - &687 name: reaction_id description: The unique identifier of the reaction. in: path @@ -88171,8 +87483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *494 - - *495 + - *491 + - *492 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -88228,9 +87540,9 @@ paths: application/json: schema: type: array - items: *610 + items: *607 examples: - default: &742 + default: &740 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -88324,9 +87636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *494 - - *495 - - &611 + - *491 + - *492 + - &608 name: commit_sha description: The SHA of the commit. in: path @@ -88398,9 +87710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *494 - - *495 - - *611 + - *491 + - *492 + - *608 - *17 - *19 responses: @@ -88410,9 +87722,9 @@ paths: application/json: schema: type: array - items: *607 + items: *604 examples: - default: *612 + default: *609 headers: Link: *47 x-github: @@ -88440,9 +87752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *494 - - *495 - - *611 + - *491 + - *492 + - *608 requestBody: required: true content: @@ -88477,9 +87789,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *604 examples: - default: *613 + default: *610 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -88507,9 +87819,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: - - *494 - - *495 - - *611 + - *491 + - *492 + - *608 - *17 - *19 responses: @@ -88519,9 +87831,9 @@ paths: application/json: schema: type: array - items: *614 + items: *611 examples: - default: &734 + default: &732 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -89058,11 +88370,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *494 - - *495 + - *491 + - *492 - *19 - *17 - - &615 + - &612 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)" @@ -89077,9 +88389,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *607 examples: - default: &719 + default: &717 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -89167,7 +88479,7 @@ paths: schema: type: string examples: - default: &624 + default: &621 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -89180,7 +88492,7 @@ paths: schema: type: string examples: - default: &625 + default: &622 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -89233,11 +88545,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: - - *494 - - *495 - - *615 - - *616 - - *617 + - *491 + - *492 + - *612 + - *613 + - *614 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -89271,9 +88583,9 @@ paths: type: integer check_runs: type: array - items: *557 + items: *554 examples: - default: *618 + default: *615 headers: Link: *47 x-github: @@ -89298,9 +88610,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: - - *494 - - *495 - - *615 + - *491 + - *492 + - *612 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -89308,7 +88620,7 @@ paths: schema: type: integer example: 1 - - *616 + - *613 - *17 - *19 responses: @@ -89326,7 +88638,7 @@ paths: type: integer check_suites: type: array - items: *562 + items: *559 examples: default: value: @@ -89526,9 +88838,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: - - *494 - - *495 - - *615 + - *491 + - *492 + - *612 - *17 - *19 responses: @@ -89595,7 +88907,7 @@ paths: type: string total_count: type: integer - repository: *292 + repository: *289 commit_url: type: string format: uri @@ -89726,9 +89038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *494 - - *495 - - *615 + - *491 + - *492 + - *612 - *17 - *19 responses: @@ -89738,7 +89050,7 @@ paths: application/json: schema: type: array - items: &796 + items: &794 title: Status description: The status of a commit. type: object @@ -89819,7 +89131,7 @@ paths: site_admin: false headers: Link: *47 - '301': *500 + '301': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89847,8 +89159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -89877,20 +89189,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *619 - required: *620 + properties: *616 + required: *617 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &621 + properties: &618 url: type: string format: uri html_url: type: string format: uri - required: &622 + required: &619 - url - html_url nullable: true @@ -89898,32 +89210,32 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true contributing: title: Community Health File type: object - properties: *621 - required: *622 + properties: *618 + required: *619 nullable: true readme: title: Community Health File type: object - properties: *621 - required: *622 + properties: *618 + required: *619 nullable: true issue_template: title: Community Health File type: object - properties: *621 - required: *622 + properties: *618 + required: *619 nullable: true pull_request_template: title: Community Health File type: object - properties: *621 - required: *622 + properties: *618 + required: *619 nullable: true required: - code_of_conduct @@ -90050,8 +89362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *494 - - *495 + - *491 + - *492 - *19 - *17 - name: basehead @@ -90094,8 +89406,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *610 - merge_base_commit: *610 + base_commit: *607 + merge_base_commit: *607 status: type: string enum: @@ -90115,10 +89427,10 @@ paths: example: 6 commits: type: array - items: *610 + items: *607 files: type: array - items: *623 + items: *620 required: - url - html_url @@ -90364,12 +89676,12 @@ paths: schema: type: string examples: - default: *624 + default: *621 application/vnd.github.patch: schema: type: string examples: - default: *625 + default: *622 '404': *6 '500': *40 '503': *200 @@ -90414,8 +89726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *494 - - *495 + - *491 + - *492 - name: path description: path parameter in: path @@ -90575,7 +89887,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &626 + response-if-content-is-a-file-github-object: &623 summary: Response if content is a file value: type: file @@ -90707,7 +90019,7 @@ paths: - size - type - url - - &747 + - &745 title: Content File description: Content File type: object @@ -90908,7 +90220,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *626 + response-if-content-is-a-file: *623 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -90977,7 +90289,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *627 + '302': *624 '304': *37 x-github: githubCloudOnly: false @@ -91000,8 +90312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *494 - - *495 + - *491 + - *492 - name: path description: path parameter in: path @@ -91094,7 +90406,7 @@ paths: description: Response content: application/json: - schema: &628 + schema: &625 title: File Commit description: File Commit type: object @@ -91246,7 +90558,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: example-for-creating-a-file: value: @@ -91300,7 +90612,7 @@ paths: schema: oneOf: - *3 - - &666 + - &663 description: Repository rule violation was detected type: object properties: @@ -91321,7 +90633,7 @@ paths: items: type: object properties: - placeholder_id: &788 + placeholder_id: &786 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -91353,8 +90665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *494 - - *495 + - *491 + - *492 - name: path description: path parameter in: path @@ -91415,7 +90727,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: default: value: @@ -91470,8 +90782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *494 - - *495 + - *491 + - *492 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -91600,8 +90912,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -91733,24 +91045,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 + - *350 + - *351 + - *352 - *353 - *354 - - *355 - - *356 - - *357 - 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 + - *355 + - *626 + - *356 + - *357 - *358 - - *629 - - *359 - - *360 - - *361 - *112 - *110 - *111 @@ -91762,7 +91074,7 @@ paths: application/json: schema: type: array - items: &633 + items: &630 type: object description: A Dependabot alert. properties: @@ -91809,7 +91121,7 @@ paths: - direct - transitive - inconclusive - security_advisory: *630 + security_advisory: *627 security_vulnerability: *135 url: *136 html_url: *137 @@ -91840,8 +91152,8 @@ paths: nullable: true maxLength: 280 fixed_at: *141 - auto_dismissed_at: *631 - dismissal_request: *632 + auto_dismissed_at: *628 + dismissal_request: *629 assignees: type: array description: The users assigned to this alert. @@ -92096,9 +91408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *494 - - *495 - - &634 + - *491 + - *492 + - &631 name: alert_number in: path description: |- @@ -92113,7 +91425,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *630 examples: default: value: @@ -92245,9 +91557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *494 - - *495 - - *634 + - *491 + - *492 + - *631 requestBody: required: true content: @@ -92284,6 +91596,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: @@ -92303,7 +91616,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *630 examples: default: value: @@ -92433,8 +91746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -92452,7 +91765,7 @@ paths: type: integer secrets: type: array - items: &637 + items: &634 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -92505,16 +91818,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *635 + schema: *632 examples: - default: *636 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92534,15 +91847,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '200': description: Response content: application/json: - schema: *637 + schema: *634 examples: default: value: @@ -92568,9 +91881,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 requestBody: required: true content: @@ -92598,7 +91911,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -92622,9 +91935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '204': description: Response @@ -92646,8 +91959,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: - - *494 - - *495 + - *491 + - *492 - 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 @@ -92810,8 +92123,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -93049,8 +92362,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: - - *494 - - *495 + - *491 + - *492 - name: sbom_uuid in: path required: true @@ -93061,7 +92374,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *638 + Location: *635 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -93082,8 +92395,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: - - *494 - - *495 + - *491 + - *492 responses: '201': description: Response @@ -93121,8 +92434,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -93197,7 +92510,7 @@ paths: - version - url additionalProperties: false - metadata: &639 + metadata: &636 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -93230,7 +92543,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *639 + metadata: *636 resolved: type: object description: A collection of resolved package dependencies. @@ -93243,7 +92556,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *639 + metadata: *636 relationship: type: string description: A notation of whether a dependency is requested @@ -93372,8 +92685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *494 - - *495 + - *491 + - *492 - name: sha description: The SHA recorded at creation time. in: query @@ -93413,9 +92726,9 @@ paths: application/json: schema: type: array - items: *640 + items: *637 examples: - default: *641 + default: *638 headers: Link: *47 x-github: @@ -93481,8 +92794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -93563,7 +92876,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *637 examples: simple-example: summary: Simple example @@ -93636,9 +92949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *494 - - *495 - - &642 + - *491 + - *492 + - &639 name: deployment_id description: deployment_id parameter in: path @@ -93650,7 +92963,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *637 examples: default: value: @@ -93715,9 +93028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *494 - - *495 - - *642 + - *491 + - *492 + - *639 responses: '204': description: Response @@ -93739,9 +93052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *494 - - *495 - - *642 + - *491 + - *492 + - *639 - *17 - *19 responses: @@ -93751,7 +93064,7 @@ paths: application/json: schema: type: array - items: &643 + items: &640 title: Deployment Status description: The status of a deployment. type: object @@ -93842,8 +93155,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 required: - id - node_id @@ -93912,9 +93225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *494 - - *495 - - *642 + - *491 + - *492 + - *639 requestBody: required: true content: @@ -93989,9 +93302,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *640 examples: - default: &644 + default: &641 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -94047,9 +93360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *494 - - *495 - - *642 + - *491 + - *492 + - *639 - name: status_id in: path required: true @@ -94060,9 +93373,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *640 examples: - default: *644 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -94089,12 +93402,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 + - *642 + - *643 + - *644 - *645 - - *646 - - *647 - - *648 - *17 - *19 responses: @@ -94104,9 +93417,9 @@ paths: application/json: schema: type: array - items: *649 + items: *646 examples: - default: *650 + default: *647 '404': *6 '403': *29 '500': *40 @@ -94130,8 +93443,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94143,7 +93456,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *649 + schema: *646 examples: default: value: @@ -94199,8 +93512,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94259,12 +93572,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 + - *642 + - *643 + - *644 - *645 - - *646 - - *647 - - *648 - *17 - *19 responses: @@ -94274,9 +93587,9 @@ paths: application/json: schema: type: array - items: *651 + items: *648 examples: - default: *652 + default: *649 '404': *6 '403': *29 '500': *40 @@ -94300,8 +93613,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94313,7 +93626,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *651 + schema: *648 examples: default: value: @@ -94364,8 +93677,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94403,7 +93716,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *651 + schema: *648 examples: default: value: @@ -94454,8 +93767,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94526,8 +93839,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94560,12 +93873,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - *105 - *106 - *107 - - *367 + - *364 - *17 - *19 responses: @@ -94575,9 +93888,9 @@ paths: application/json: schema: type: array - items: *369 + items: *366 examples: - default: *370 + default: *367 '404': *6 '403': *29 '500': *40 @@ -94602,8 +93915,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94615,7 +93928,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *369 + schema: *366 examples: default: value: @@ -94673,8 +93986,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94743,8 +94056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -94801,8 +94114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -94819,7 +94132,7 @@ paths: type: integer environments: type: array - items: &654 + items: &651 title: Environment description: Details of a deployment environment type: object @@ -94871,7 +94184,7 @@ paths: type: type: string example: wait_timer - wait_timer: &656 + wait_timer: &653 type: integer example: 30 description: The amount of time to delay a job after @@ -94908,11 +94221,11 @@ paths: items: type: object properties: - type: *653 + type: *650 reviewer: anyOf: - *4 - - *328 + - *325 required: - id - node_id @@ -94932,7 +94245,7 @@ paths: - id - node_id - type - deployment_branch_policy: &657 + deployment_branch_policy: &654 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -95048,9 +94361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *494 - - *495 - - &655 + - *491 + - *492 + - &652 name: environment_name in: path required: true @@ -95063,9 +94376,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *651 examples: - default: &658 + default: &655 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -95149,9 +94462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 requestBody: required: false content: @@ -95160,7 +94473,7 @@ paths: type: object nullable: true properties: - wait_timer: *656 + wait_timer: *653 prevent_self_review: type: boolean example: false @@ -95177,13 +94490,13 @@ paths: items: type: object properties: - type: *653 + type: *650 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *657 + deployment_branch_policy: *654 additionalProperties: false examples: default: @@ -95203,9 +94516,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *651 examples: - default: *658 + default: *655 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -95229,9 +94542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 responses: '204': description: Default response @@ -95256,9 +94569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 - *17 - *19 responses: @@ -95276,7 +94589,7 @@ paths: example: 2 branch_policies: type: array - items: &659 + items: &656 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -95333,9 +94646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 requestBody: required: true content: @@ -95381,9 +94694,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *656 examples: - example-wildcard: &660 + example-wildcard: &657 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -95425,10 +94738,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *494 - - *495 - - *655 - - &661 + - *491 + - *492 + - *652 + - &658 name: branch_policy_id in: path required: true @@ -95440,9 +94753,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *656 examples: - default: *660 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95461,10 +94774,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *494 - - *495 - - *655 - - *661 + - *491 + - *492 + - *652 + - *658 requestBody: required: true content: @@ -95492,9 +94805,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *656 examples: - default: *660 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95513,10 +94826,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *494 - - *495 - - *655 - - *661 + - *491 + - *492 + - *652 + - *658 responses: '204': description: Response @@ -95541,9 +94854,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: - - *655 - - *495 - - *494 + - *652 + - *492 + - *491 responses: '200': description: List of deployment protection rules @@ -95559,7 +94872,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &662 + items: &659 title: Deployment protection rule description: Deployment protection rule type: object @@ -95578,7 +94891,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &663 + app: &660 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -95677,9 +94990,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: - - *655 - - *495 - - *494 + - *652 + - *492 + - *491 requestBody: content: application/json: @@ -95700,9 +95013,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *662 + schema: *659 examples: - default: &664 + default: &661 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -95737,9 +95050,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: - - *655 - - *495 - - *494 + - *652 + - *492 + - *491 - *19 - *17 responses: @@ -95758,7 +95071,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *663 + items: *660 examples: default: value: @@ -95793,10 +95106,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: - - *494 - - *495 - - *655 - - &665 + - *491 + - *492 + - *652 + - &662 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -95808,9 +95121,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *659 examples: - default: *664 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95831,10 +95144,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: - - *655 - - *495 - - *494 - - *665 + - *652 + - *492 + - *491 + - *662 responses: '204': description: Response @@ -95860,9 +95173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 - *17 - *19 responses: @@ -95880,9 +95193,9 @@ paths: type: integer secrets: type: array - items: *524 + items: *521 examples: - default: *525 + default: *522 headers: Link: *47 x-github: @@ -95907,17 +95220,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 responses: '200': description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95939,18 +95252,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *494 - - *495 - - *655 - - *302 + - *491 + - *492 + - *652 + - *299 responses: '200': description: Response content: application/json: - schema: *524 + schema: *521 examples: - default: *538 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95972,10 +95285,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *494 - - *495 - - *655 - - *302 + - *491 + - *492 + - *652 + - *299 requestBody: required: true content: @@ -96006,7 +95319,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -96032,10 +95345,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *494 - - *495 - - *655 - - *302 + - *491 + - *492 + - *652 + - *299 responses: '204': description: Default response @@ -96060,10 +95373,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *494 - - *495 - - *655 - - *311 + - *491 + - *492 + - *652 + - *308 - *19 responses: '200': @@ -96080,9 +95393,9 @@ paths: type: integer variables: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -96105,9 +95418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 requestBody: required: true content: @@ -96134,7 +95447,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -96159,18 +95472,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *494 - - *495 - - *655 - - *305 + - *491 + - *492 + - *652 + - *302 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: *539 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96191,10 +95504,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *494 - - *495 - - *305 - - *655 + - *491 + - *492 + - *302 + - *652 requestBody: required: true content: @@ -96236,10 +95549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *494 - - *495 - - *305 - - *655 + - *491 + - *492 + - *302 + - *652 responses: '204': description: Response @@ -96261,8 +95574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -96272,7 +95585,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: 200-response: value: @@ -96330,8 +95643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *494 - - *495 + - *491 + - *492 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -96353,7 +95666,7 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: default: value: @@ -96490,8 +95803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -96523,9 +95836,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *501 + default: *498 '400': *14 '422': *15 '403': *29 @@ -96546,8 +95859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -96606,8 +95919,8 @@ paths: application/json: schema: oneOf: - - *267 - - *666 + - *264 + - *663 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96632,8 +95945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *494 - - *495 + - *491 + - *492 - name: file_sha in: path required: true @@ -96732,8 +96045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -96842,7 +96155,7 @@ paths: description: Response content: application/json: - schema: &667 + schema: &664 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -97056,15 +96369,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *494 - - *495 - - *611 + - *491 + - *492 + - *608 responses: '200': description: Response content: application/json: - schema: *667 + schema: *664 examples: default: value: @@ -97120,9 +96433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *494 - - *495 - - &668 + - *491 + - *492 + - &665 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. @@ -97139,7 +96452,7 @@ paths: application/json: schema: type: array - items: &669 + items: &666 title: Git Reference description: Git references within a repository type: object @@ -97214,17 +96527,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *494 - - *495 - - *668 + - *491 + - *492 + - *665 responses: '200': description: Response content: application/json: - schema: *669 + schema: *666 examples: - default: &670 + default: &667 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -97253,8 +96566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -97283,9 +96596,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *666 examples: - default: *670 + default: *667 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -97311,9 +96624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *494 - - *495 - - *668 + - *491 + - *492 + - *665 requestBody: required: true content: @@ -97342,9 +96655,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *666 examples: - default: *670 + default: *667 '422': *15 '409': *121 x-github: @@ -97362,9 +96675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *494 - - *495 - - *668 + - *491 + - *492 + - *665 responses: '204': description: Response @@ -97419,8 +96732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -97487,7 +96800,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &669 title: Git Tag description: Metadata for a Git tag type: object @@ -97538,7 +96851,7 @@ paths: - sha - type - url - verification: *671 + verification: *668 required: - sha - url @@ -97548,7 +96861,7 @@ paths: - tag - message examples: - default: &673 + default: &670 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -97621,8 +96934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *494 - - *495 + - *491 + - *492 - name: tag_sha in: path required: true @@ -97633,9 +96946,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *669 examples: - default: *673 + default: *670 '404': *6 '409': *121 x-github: @@ -97659,8 +96972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -97733,7 +97046,7 @@ paths: description: Response content: application/json: - schema: &674 + schema: &671 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -97829,8 +97142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *494 - - *495 + - *491 + - *492 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -97853,7 +97166,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *671 examples: default-response: summary: Default response @@ -97911,8 +97224,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -97955,8 +97268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -97966,7 +97279,7 @@ paths: application/json: schema: type: array - items: &675 + items: &672 title: Webhook description: Webhooks for repositories. type: object @@ -98020,7 +97333,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &939 + last_response: &937 title: Hook Response type: object properties: @@ -98094,8 +97407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -98147,9 +97460,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *672 examples: - default: &676 + default: &673 value: type: Repository id: 12345678 @@ -98197,17 +97510,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 responses: '200': description: Response content: application/json: - schema: *675 + schema: *672 examples: - default: *676 + default: *673 '404': *6 x-github: githubCloudOnly: false @@ -98227,9 +97540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 requestBody: required: true content: @@ -98274,9 +97587,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *672 examples: - default: *676 + default: *673 '422': *15 '404': *6 x-github: @@ -98297,9 +97610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 responses: '204': description: Response @@ -98323,9 +97636,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: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 responses: '200': description: Response @@ -98352,9 +97665,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: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 requestBody: required: false content: @@ -98398,12 +97711,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 - *17 - - *376 - - *377 + - *373 + - *374 responses: '200': description: Response @@ -98411,9 +97724,9 @@ paths: application/json: schema: type: array - items: *378 + items: *375 examples: - default: *379 + default: *376 '400': *14 '422': *15 x-github: @@ -98432,18 +97745,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: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: *381 + default: *378 '400': *14 '422': *15 x-github: @@ -98462,9 +97775,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: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 - *16 responses: '202': *39 @@ -98487,9 +97800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 responses: '204': description: Response @@ -98514,9 +97827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 responses: '204': description: Response @@ -98539,8 +97852,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response if immutable releases are enabled @@ -98586,8 +97899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': *130 '409': *121 @@ -98607,8 +97920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': *130 '409': *121 @@ -98665,14 +97978,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: &677 + schema: &674 title: Import description: A repository import from an external source. type: object @@ -98771,7 +98084,7 @@ paths: - html_url - authors_url examples: - default: &680 + default: &677 value: vcs: subversion use_lfs: true @@ -98787,7 +98100,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': &678 + '503': &675 description: Unavailable due to service under maintenance. content: application/json: @@ -98816,8 +98129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -98865,7 +98178,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *674 examples: default: value: @@ -98890,7 +98203,7 @@ paths: type: string '422': *15 '404': *6 - '503': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98918,8 +98231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -98968,7 +98281,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *674 examples: example-1: summary: Example 1 @@ -99016,7 +98329,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': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99039,12 +98352,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response - '503': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99070,9 +98383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *494 - - *495 - - &864 + - *491 + - *492 + - &862 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -99086,7 +98399,7 @@ paths: application/json: schema: type: array - items: &679 + items: &676 title: Porter Author description: Porter Author type: object @@ -99140,7 +98453,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': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99165,8 +98478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *494 - - *495 + - *491 + - *492 - name: author_id in: path required: true @@ -99196,7 +98509,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *676 examples: default: value: @@ -99209,7 +98522,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99233,8 +98546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -99275,7 +98588,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99303,8 +98616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -99331,11 +98644,11 @@ paths: description: Response content: application/json: - schema: *677 + schema: *674 examples: - default: *680 + default: *677 '422': *15 - '503': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99358,8 +98671,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -99367,8 +98680,8 @@ paths: application/json: schema: *22 examples: - default: *393 - '301': *500 + default: *390 + '301': *497 '404': *6 x-github: githubCloudOnly: false @@ -99388,8 +98701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -99397,12 +98710,12 @@ paths: application/json: schema: anyOf: - - *395 + - *392 - type: object properties: {} additionalProperties: false examples: - default: &682 + default: &679 value: limit: collaborators_only origin: repository @@ -99427,13 +98740,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: application/json: - schema: *681 + schema: *678 examples: default: summary: Example request body @@ -99445,9 +98758,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *392 examples: - default: *682 + default: *679 '409': description: Response x-github: @@ -99469,8 +98782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -99481,6 +98794,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: + - *491 + - *492 + 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': *29 + '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: + - *491 + - *492 + requestBody: + required: true + content: + application/json: + schema: &680 + 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 + example: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *29 + '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: + - *491 + - *492 + requestBody: + required: true + content: + application/json: + schema: *680 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *29 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -99493,8 +98957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -99504,9 +98968,9 @@ paths: application/json: schema: type: array - items: *683 + items: *681 examples: - default: &857 + default: &855 value: - id: 1 repository: @@ -99637,9 +99101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *494 - - *495 - - *399 + - *491 + - *492 + - *396 requestBody: required: false content: @@ -99668,7 +99132,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *681 examples: default: value: @@ -99799,9 +99263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *494 - - *495 - - *399 + - *491 + - *492 + - *396 responses: '204': description: Response @@ -99824,8 +99288,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -99833,9 +99297,9 @@ paths: application/json: schema: type: array - items: *403 + items: *400 examples: - default: *684 + default: *682 '404': *6 x-github: githubCloudOnly: false @@ -99864,8 +99328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *494 - - *495 + - *491 + - *492 - 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 @@ -99927,7 +99391,7 @@ paths: required: false schema: type: string - - *406 + - *403 - name: sort description: What to sort results by. in: query @@ -99940,7 +99404,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - *17 - *19 responses: @@ -99950,9 +99414,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: &696 + default: &694 value: - id: 1 node_id: MDU6SXNzdWUx @@ -100101,7 +99565,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *500 + '301': *497 '422': *15 '404': *6 x-github: @@ -100130,8 +99594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -100238,9 +99702,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: &693 + default: &691 value: id: 1 node_id: MDU6SXNzdWUx @@ -100397,7 +99861,7 @@ paths: '422': *15 '503': *200 '404': *6 - '410': *685 + '410': *683 x-github: triggersNotification: true githubCloudOnly: false @@ -100425,9 +99889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *494 - - *495 - - *255 + - *491 + - *492 + - *252 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -100437,7 +99901,7 @@ paths: enum: - asc - desc - - *238 + - *235 - *17 - *19 responses: @@ -100447,9 +99911,9 @@ paths: application/json: schema: type: array - items: *686 + items: *684 examples: - default: &695 + default: &693 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -100507,17 +99971,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '200': description: Response content: application/json: - schema: *686 + schema: *684 examples: - default: &687 + default: &685 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -100572,9 +100036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -100596,9 +100060,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *684 examples: - default: *687 + default: *685 '422': *15 x-github: githubCloudOnly: false @@ -100616,9 +100080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '204': description: Response @@ -100646,15 +100110,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '200': description: Response content: application/json: - schema: *686 + schema: *684 examples: default: value: @@ -100710,7 +100174,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *685 + '410': *683 '422': *15 x-github: githubCloudOnly: false @@ -100727,16 +100191,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *685 + '410': *683 '503': *200 x-github: githubCloudOnly: false @@ -100754,9 +100218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 - 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. @@ -100782,9 +100246,9 @@ paths: application/json: schema: type: array - items: *608 + items: *605 examples: - default: *688 + default: *686 headers: Link: *47 '404': *6 @@ -100805,9 +100269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -100839,16 +100303,16 @@ paths: description: Reaction exists content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '201': description: Reaction created content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '422': *15 x-github: githubCloudOnly: false @@ -100870,10 +100334,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *494 - - *495 - - *247 - - *689 + - *491 + - *492 + - *244 + - *687 responses: '204': description: Response @@ -100893,8 +100357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -100904,7 +100368,7 @@ paths: application/json: schema: type: array - items: &692 + items: &690 title: Issue Event description: Issue Event type: object @@ -100947,8 +100411,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *690 - required: *691 + properties: *688 + required: *689 nullable: true label: title: Issue Event Label @@ -100992,7 +100456,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *328 + requested_team: *325 dismissed_review: title: Issue Event Dismissed Review type: object @@ -101057,7 +100521,7 @@ paths: required: - from - to - author_association: *228 + author_association: *225 lock_reason: type: string nullable: true @@ -101070,8 +100534,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 required: - id - node_id @@ -101256,8 +100720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *494 - - *495 + - *491 + - *492 - name: event_id in: path required: true @@ -101268,7 +100732,7 @@ paths: description: Response content: application/json: - schema: *692 + schema: *690 examples: default: value: @@ -101461,7 +100925,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *685 + '410': *683 '403': *29 x-github: githubCloudOnly: false @@ -101495,9 +100959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *494 - - *495 - - &694 + - *491 + - *492 + - &692 name: issue_number description: The number that identifies the issue. in: path @@ -101509,11 +100973,11 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: default: summary: Issue - value: *693 + value: *691 pinned_comment: summary: Issue with pinned comment value: @@ -101712,9 +101176,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 '304': *37 x-github: githubCloudOnly: false @@ -101739,9 +101203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: false content: @@ -101869,15 +101333,15 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 '422': *15 '503': *200 '403': *29 - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101895,9 +101359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: false content: @@ -101923,9 +101387,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101941,9 +101405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: content: application/json: @@ -101968,9 +101432,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101992,9 +101456,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - name: assignee in: path required: true @@ -102034,10 +101498,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *494 - - *495 - - *694 - - *238 + - *491 + - *492 + - *692 + - *235 - *17 - *19 responses: @@ -102047,13 +101511,13 @@ paths: application/json: schema: type: array - items: *686 + items: *684 examples: - default: *695 + default: *693 headers: Link: *47 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102082,9 +101546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -102106,16 +101570,16 @@ paths: description: Response content: application/json: - schema: *686 + schema: *684 examples: - default: *687 + default: *685 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *685 + '410': *683 '422': *15 '404': *6 x-github: @@ -102143,9 +101607,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -102155,14 +101619,14 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *696 + default: *694 headers: Link: *47 - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102190,9 +101654,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -102214,17 +101678,17 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *500 + '301': *497 '403': *29 - '410': *685 + '410': *683 '422': *15 '404': *6 x-github: @@ -102255,9 +101719,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -102269,15 +101733,15 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 - '301': *500 + default: *691 + '301': *497 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *685 + '410': *683 x-github: triggersNotification: true githubCloudOnly: false @@ -102303,9 +101767,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -102315,14 +101779,14 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *696 + default: *694 headers: Link: *47 - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102339,9 +101803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -102355,7 +101819,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &700 + - &698 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -102386,8 +101850,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 label: type: object properties: @@ -102409,7 +101873,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &699 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -102440,8 +101904,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 label: type: object properties: @@ -102529,8 +101993,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 assignee: *4 assigner: *4 required: @@ -102545,7 +102009,7 @@ paths: - performed_via_github_app - assignee - assigner - - &702 + - &700 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -102576,8 +102040,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 milestone: type: object properties: @@ -102596,7 +102060,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &701 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -102627,8 +102091,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 milestone: type: object properties: @@ -102647,7 +102111,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &702 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -102678,8 +102142,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 rename: type: object properties: @@ -102701,7 +102165,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &703 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -102732,10 +102196,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 review_requester: *4 - requested_team: *328 + requested_team: *325 requested_reviewer: *4 required: - review_requester @@ -102748,7 +102212,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &706 + - &704 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -102779,10 +102243,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 review_requester: *4 - requested_team: *328 + requested_team: *325 requested_reviewer: *4 required: - review_requester @@ -102795,7 +102259,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &707 + - &705 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -102826,8 +102290,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 dismissed_review: type: object properties: @@ -102855,7 +102319,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &706 title: Locked Issue Event description: Locked Issue Event type: object @@ -102886,8 +102350,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 lock_reason: type: string example: '"off-topic"' @@ -102903,7 +102367,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &707 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -102934,8 +102398,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 project_card: type: object properties: @@ -102969,7 +102433,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &710 + - &708 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -103000,8 +102464,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 project_card: type: object properties: @@ -103035,7 +102499,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &711 + - &709 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -103066,8 +102530,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 project_card: type: object properties: @@ -103101,7 +102565,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &712 + - &710 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -103192,7 +102656,7 @@ paths: color: red headers: Link: *47 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103209,9 +102673,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -103221,9 +102685,9 @@ paths: application/json: schema: type: array - items: *697 + items: *695 examples: - default: &698 + default: &696 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -103258,9 +102722,9 @@ paths: color: green headers: Link: *47 - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103289,9 +102753,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -103361,9 +102825,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *697 + items: *695 examples: - default: *698 + default: *696 '400': *14 '403': *29 '404': *6 @@ -103399,9 +102863,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -103466,9 +102930,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *697 + items: *695 examples: - default: *698 + default: *696 '400': *14 '403': *29 '404': *6 @@ -103499,10 +102963,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: - - *494 - - *495 - - *694 - - *402 + - *491 + - *492 + - *692 + - *399 responses: '204': description: Issue field value deleted successfully @@ -103527,9 +102991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -103539,9 +103003,9 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: &699 + default: &697 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -103559,9 +103023,9 @@ paths: default: false headers: Link: *47 - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103577,9 +103041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: false content: @@ -103622,12 +103086,12 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *699 - '301': *500 + default: *697 + '301': *497 '404': *6 - '410': *685 + '410': *683 '422': *15 x-github: githubCloudOnly: false @@ -103644,9 +103108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: false content: @@ -103706,12 +103170,12 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *699 - '301': *500 + default: *697 + '301': *497 '404': *6 - '410': *685 + '410': *683 '422': *15 x-github: githubCloudOnly: false @@ -103728,15 +103192,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 responses: '204': description: Response - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103755,9 +103219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - name: name in: path required: true @@ -103770,7 +103234,7 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: default: value: @@ -103781,9 +103245,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103803,9 +103267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: false content: @@ -103833,7 +103297,7 @@ paths: '204': description: Response '403': *29 - '410': *685 + '410': *683 '404': *6 '422': *15 x-github: @@ -103851,9 +103315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 responses: '204': description: Response @@ -103883,20 +103347,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 responses: '200': description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 - '301': *500 + default: *691 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103913,9 +103377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - 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. @@ -103941,13 +103405,13 @@ paths: application/json: schema: type: array - items: *608 + items: *605 examples: - default: *688 + default: *686 headers: Link: *47 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103965,9 +103429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -103999,16 +103463,16 @@ paths: description: Response content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '201': description: Response content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '422': *15 x-github: githubCloudOnly: false @@ -104030,10 +103494,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *494 - - *495 - - *694 - - *689 + - *491 + - *492 + - *692 + - *687 responses: '204': description: Response @@ -104062,9 +103526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -104086,9 +103550,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -104121,9 +103585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -104133,13 +103597,13 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *696 + default: *694 headers: Link: *47 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104167,9 +103631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -104196,16 +103660,16 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *685 + '410': *683 '422': *15 '404': *6 x-github: @@ -104225,9 +103689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -104258,9 +103722,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 '403': *29 '404': *6 '422': *7 @@ -104282,9 +103746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -104299,6 +103763,8 @@ paths: description: Timeline Event type: object anyOf: + - *698 + - *699 - *700 - *701 - *702 @@ -104310,8 +103776,6 @@ paths: - *708 - *709 - *710 - - *711 - - *712 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -104354,7 +103818,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *225 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -104364,16 +103828,16 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *223 + required: *224 + reactions: *226 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *713 - required: *714 + properties: *711 + required: *712 nullable: true required: - event @@ -104405,7 +103869,7 @@ paths: properties: type: type: string - issue: *231 + issue: *228 required: - event - created_at @@ -104605,7 +104069,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *225 required: - event - id @@ -104628,7 +104092,7 @@ paths: type: string comments: type: array - items: &736 + items: &734 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -104723,7 +104187,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *225 _links: type: object properties: @@ -104807,7 +104271,7 @@ paths: enum: - line - file - reactions: *229 + reactions: *226 body_html: type: string example: '"

comment body

"' @@ -104843,7 +104307,7 @@ paths: type: string comments: type: array - items: *607 + items: *604 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -104874,8 +104338,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 assignee: *4 required: - id @@ -104918,8 +104382,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 assignee: *4 required: - id @@ -104962,8 +104426,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 state_reason: type: string nullable: true @@ -105132,7 +104596,7 @@ paths: headers: Link: *47 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105149,8 +104613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -105160,7 +104624,7 @@ paths: application/json: schema: type: array - items: &715 + items: &713 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -105226,8 +104690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -105263,9 +104727,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *713 examples: - default: &716 + default: &714 value: id: 1 key: ssh-rsa AAA... @@ -105299,9 +104763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *494 - - *495 - - &717 + - *491 + - *492 + - &715 name: key_id description: The unique identifier of the key. in: path @@ -105313,9 +104777,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *713 examples: - default: *716 + default: *714 '404': *6 x-github: githubCloudOnly: false @@ -105333,9 +104797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *494 - - *495 - - *717 + - *491 + - *492 + - *715 responses: '204': description: Response @@ -105355,8 +104819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -105366,9 +104830,9 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *699 + default: *697 headers: Link: *47 '404': *6 @@ -105389,8 +104853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -105426,9 +104890,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *227 examples: - default: &718 + default: &716 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -105460,8 +104924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *494 - - *495 + - *491 + - *492 - name: name in: path required: true @@ -105472,9 +104936,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *227 examples: - default: *718 + default: *716 '404': *6 x-github: githubCloudOnly: false @@ -105491,8 +104955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *494 - - *495 + - *491 + - *492 - name: name in: path required: true @@ -105531,7 +104995,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *227 examples: default: value: @@ -105557,8 +105021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *494 - - *495 + - *491 + - *492 - name: name in: path required: true @@ -105584,8 +105048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -105621,8 +105085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '202': *39 '403': @@ -105650,8 +105114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -105677,9 +105141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *494 - - *495 - - *580 + - *491 + - *492 + - *577 responses: '200': description: Response @@ -105741,8 +105205,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true required: - _links @@ -105824,8 +105288,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -105890,8 +105354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -105925,9 +105389,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *610 + schema: *607 examples: - default: *719 + default: *717 '204': description: Response when already merged '404': @@ -105952,8 +105416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *494 - - *495 + - *491 + - *492 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -105994,12 +105458,12 @@ paths: application/json: schema: type: array - items: &720 + items: &718 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *435 + required: *436 examples: default: value: @@ -106055,8 +105519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -106096,9 +105560,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: &721 + default: &719 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -106157,9 +105621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *494 - - *495 - - &722 + - *491 + - *492 + - &720 name: milestone_number description: The number that identifies the milestone. in: path @@ -106171,9 +105635,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *721 + default: *719 '404': *6 x-github: githubCloudOnly: false @@ -106190,9 +105654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *494 - - *495 - - *722 + - *491 + - *492 + - *720 requestBody: required: false content: @@ -106230,9 +105694,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *721 + default: *719 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106248,9 +105712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *494 - - *495 - - *722 + - *491 + - *492 + - *720 responses: '204': description: Response @@ -106271,9 +105735,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: - - *494 - - *495 - - *722 + - *491 + - *492 + - *720 - *17 - *19 responses: @@ -106283,9 +105747,9 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *699 + default: *697 headers: Link: *47 x-github: @@ -106304,12 +105768,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: - - *494 - - *495 + - *491 + - *492 + - *721 + - *722 + - *235 - *723 - - *724 - - *238 - - *725 - *17 - *19 responses: @@ -106319,9 +105783,9 @@ paths: application/json: schema: type: array - items: *258 + items: *255 examples: - default: *726 + default: *724 headers: Link: *47 x-github: @@ -106345,8 +105809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -106404,14 +105868,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: &727 + schema: &725 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -106536,7 +106000,7 @@ paths: - custom_404 - public examples: - default: &728 + default: &726 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -106577,8 +106041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -106632,9 +106096,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *725 examples: - default: *728 + default: *726 '422': *15 '409': *121 x-github: @@ -106657,8 +106121,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -106765,8 +106229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -106792,8 +106256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -106803,7 +106267,7 @@ paths: application/json: schema: type: array - items: &729 + items: &727 title: Page Build description: Page Build type: object @@ -106897,8 +106361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *494 - - *495 + - *491 + - *492 responses: '201': description: Response @@ -106943,16 +106407,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *729 + schema: *727 examples: - default: &730 + default: &728 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -107000,8 +106464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *494 - - *495 + - *491 + - *492 - name: build_id in: path required: true @@ -107012,9 +106476,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *727 examples: - default: *730 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107034,8 +106498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -107140,9 +106604,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: - - *494 - - *495 - - &731 + - *491 + - *492 + - &729 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -107200,9 +106664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *494 - - *495 - - *731 + - *491 + - *492 + - *729 responses: '204': *130 '404': *6 @@ -107229,8 +106693,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -107461,7 +106925,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -107488,8 +106952,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Private vulnerability reporting status @@ -107526,8 +106990,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: - - *494 - - *495 + - *491 + - *492 responses: '204': *130 '422': *14 @@ -107548,8 +107012,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: - - *494 - - *495 + - *491 + - *492 responses: '204': *130 '422': *14 @@ -107571,8 +107035,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -107582,7 +107046,7 @@ paths: type: array items: *160 examples: - default: *732 + default: *730 '403': *29 '404': *6 x-github: @@ -107604,8 +107068,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -107621,7 +107085,7 @@ paths: required: - properties examples: - default: *733 + default: *731 responses: '204': description: No Content when custom property values are successfully created @@ -107659,8 +107123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -107720,9 +107184,9 @@ paths: application/json: schema: type: array - items: *614 + items: *611 examples: - default: *734 + default: *732 headers: Link: *47 '304': *37 @@ -107754,8 +107218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -107820,7 +107284,7 @@ paths: description: Response content: application/json: - schema: &738 + schema: &736 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -107931,8 +107395,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *435 + required: *436 nullable: true active_lock_reason: type: string @@ -107975,7 +107439,7 @@ paths: items: *4 requested_teams: type: array - items: *478 + items: *475 head: type: object properties: @@ -108013,14 +107477,14 @@ paths: _links: type: object properties: - comments: *440 - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + comments: *437 + commits: *437 + statuses: *437 + html: *437 + issue: *437 + review_comments: *437 + review_comment: *437 + self: *437 required: - comments - commits @@ -108030,8 +107494,8 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: *735 + author_association: *225 + auto_merge: *733 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -108123,7 +107587,7 @@ paths: - merged_by - review_comments examples: - default: &739 + default: &737 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -108650,8 +108114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *494 - - *495 + - *491 + - *492 - name: sort in: query required: false @@ -108670,7 +108134,7 @@ paths: enum: - asc - desc - - *238 + - *235 - *17 - *19 responses: @@ -108680,9 +108144,9 @@ paths: application/json: schema: type: array - items: *736 + items: *734 examples: - default: &741 + default: &739 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -108759,17 +108223,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: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '200': description: Response content: application/json: - schema: *736 + schema: *734 examples: - default: &737 + default: &735 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -108844,9 +108308,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: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -108868,9 +108332,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *734 examples: - default: *737 + default: *735 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108886,9 +108350,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: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '204': description: Response @@ -108909,9 +108373,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: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 - 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. @@ -108937,9 +108401,9 @@ paths: application/json: schema: type: array - items: *608 + items: *605 examples: - default: *688 + default: *686 headers: Link: *47 '404': *6 @@ -108960,9 +108424,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: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -108994,16 +108458,16 @@ paths: description: Reaction exists content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '201': description: Reaction created content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '422': *15 x-github: githubCloudOnly: false @@ -109025,10 +108489,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *494 - - *495 - - *247 - - *689 + - *491 + - *492 + - *244 + - *687 responses: '204': description: Response @@ -109071,9 +108535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *494 - - *495 - - &740 + - *491 + - *492 + - &738 name: pull_number description: The number that identifies the pull request. in: path @@ -109086,9 +108550,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *738 + schema: *736 examples: - default: *739 + default: *737 '304': *37 '404': *6 '406': @@ -109123,9 +108587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: false content: @@ -109167,9 +108631,9 @@ paths: description: Response content: application/json: - schema: *738 + schema: *736 examples: - default: *739 + default: *737 '422': *15 '403': *29 x-github: @@ -109191,9 +108655,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: true content: @@ -109253,17 +108717,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '401': *25 '403': *29 '404': *6 @@ -109293,10 +108757,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: - - *494 - - *495 - - *740 - - *255 + - *491 + - *492 + - *738 + - *252 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -109306,7 +108770,7 @@ paths: enum: - asc - desc - - *238 + - *235 - *17 - *19 responses: @@ -109316,9 +108780,9 @@ paths: application/json: schema: type: array - items: *736 + items: *734 examples: - default: *741 + default: *739 headers: Link: *47 x-github: @@ -109351,9 +108815,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: true content: @@ -109458,7 +108922,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *734 examples: example-for-a-multi-line-comment: value: @@ -109546,10 +109010,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: - - *494 - - *495 - - *740 - - *247 + - *491 + - *492 + - *738 + - *244 requestBody: required: true content: @@ -109571,7 +109035,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *734 examples: default: value: @@ -109657,9 +109121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 - *17 - *19 responses: @@ -109669,9 +109133,9 @@ paths: application/json: schema: type: array - items: *610 + items: *607 examples: - default: *742 + default: *740 headers: Link: *47 x-github: @@ -109701,9 +109165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 - *17 - *19 responses: @@ -109713,7 +109177,7 @@ paths: application/json: schema: type: array - items: *623 + items: *620 examples: default: value: @@ -109751,9 +109215,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 responses: '204': description: Response if pull request has been merged @@ -109776,9 +109240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: false content: @@ -109889,9 +109353,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 responses: '200': description: Response @@ -109907,7 +109371,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *325 required: - users - teams @@ -109966,9 +109430,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: false content: @@ -110005,7 +109469,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *611 examples: default: value: @@ -110541,9 +110005,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: true content: @@ -110577,7 +110041,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *611 examples: default: value: @@ -111082,9 +110546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 - *17 - *19 responses: @@ -111094,7 +110558,7 @@ paths: application/json: schema: type: array - items: &743 + items: &741 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -111163,7 +110627,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *225 required: - id - node_id @@ -111245,9 +110709,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: false content: @@ -111333,9 +110797,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: - default: &745 + default: &743 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -111398,10 +110862,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: - - *494 - - *495 - - *740 - - &744 + - *491 + - *492 + - *738 + - &742 name: review_id description: The unique identifier of the review. in: path @@ -111413,9 +110877,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: - default: &746 + default: &744 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -111474,10 +110938,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: - - *494 - - *495 - - *740 - - *744 + - *491 + - *492 + - *738 + - *742 requestBody: required: true content: @@ -111500,7 +110964,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: default: value: @@ -111562,18 +111026,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: - - *494 - - *495 - - *740 - - *744 + - *491 + - *492 + - *738 + - *742 responses: '200': description: Response content: application/json: - schema: *743 + schema: *741 examples: - default: *745 + default: *743 '422': *7 '404': *6 x-github: @@ -111600,10 +111064,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: - - *494 - - *495 - - *740 - - *744 + - *491 + - *492 + - *738 + - *742 - *17 - *19 responses: @@ -111682,13 +111146,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *225 _links: type: object properties: - self: *440 - html: *440 - pull_request: *440 + self: *437 + html: *437 + pull_request: *437 required: - self - html @@ -111697,7 +111161,7 @@ paths: type: string body_html: type: string - reactions: *229 + reactions: *226 side: description: The side of the first line of the range for a multi-line comment. @@ -111838,10 +111302,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: - - *494 - - *495 - - *740 - - *744 + - *491 + - *492 + - *738 + - *742 requestBody: required: true content: @@ -111869,7 +111333,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: default: value: @@ -111932,10 +111396,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: - - *494 - - *495 - - *740 - - *744 + - *491 + - *492 + - *738 + - *742 requestBody: required: true content: @@ -111970,9 +111434,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: - default: *746 + default: *744 '404': *6 '422': *7 '403': *29 @@ -111994,9 +111458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: false content: @@ -112059,8 +111523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *494 - - *495 + - *491 + - *492 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -112073,9 +111537,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *745 examples: - default: &748 + default: &746 value: type: file encoding: base64 @@ -112117,8 +111581,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: - - *494 - - *495 + - *491 + - *492 - name: dir description: The alternate path to look for a README file in: path @@ -112138,9 +111602,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *745 examples: - default: *748 + default: *746 '404': *6 '422': *15 x-github: @@ -112162,8 +111626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -112173,7 +111637,7 @@ paths: application/json: schema: type: array - items: *749 + items: *747 examples: default: value: @@ -112267,8 +111731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -112344,9 +111808,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *747 examples: - default: &753 + default: &751 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -112451,9 +111915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *494 - - *495 - - &751 + - *491 + - *492 + - &749 name: asset_id description: The unique identifier of the asset. in: path @@ -112465,9 +111929,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *748 examples: - default: &752 + default: &750 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 @@ -112502,7 +111966,7 @@ paths: type: User site_admin: false '404': *6 - '302': *627 + '302': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112518,9 +111982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *494 - - *495 - - *751 + - *491 + - *492 + - *749 requestBody: required: false content: @@ -112548,9 +112012,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *748 examples: - default: *752 + default: *750 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112566,9 +112030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *494 - - *495 - - *751 + - *491 + - *492 + - *749 responses: '204': description: Response @@ -112593,8 +112057,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -112679,16 +112143,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *749 + schema: *747 examples: - default: *753 + default: *751 '404': *6 x-github: githubCloudOnly: false @@ -112706,8 +112170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *494 - - *495 + - *491 + - *492 - name: tag description: tag parameter in: path @@ -112720,9 +112184,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *747 examples: - default: *753 + default: *751 '404': *6 x-github: githubCloudOnly: false @@ -112744,9 +112208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *494 - - *495 - - &754 + - *491 + - *492 + - &752 name: release_id description: The unique identifier of the release. in: path @@ -112760,9 +112224,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: *749 + schema: *747 examples: - default: *753 + default: *751 '401': description: Unauthorized x-github: @@ -112780,9 +112244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 requestBody: required: false content: @@ -112846,9 +112310,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *747 examples: - default: *753 + default: *751 '404': description: Not Found if the discussion category name is invalid content: @@ -112869,9 +112333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 responses: '204': description: Response @@ -112892,9 +112356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 - *17 - *19 responses: @@ -112904,7 +112368,7 @@ paths: application/json: schema: type: array - items: *750 + items: *748 examples: default: value: @@ -112986,9 +112450,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: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 - name: name in: query required: true @@ -113014,7 +112478,7 @@ paths: description: Response for successful upload content: application/json: - schema: *750 + schema: *748 examples: response-for-successful-upload: value: @@ -113069,9 +112533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 - 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. @@ -113095,9 +112559,9 @@ paths: application/json: schema: type: array - items: *608 + items: *605 examples: - default: *688 + default: *686 headers: Link: *47 '404': *6 @@ -113118,9 +112582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 requestBody: required: true content: @@ -113150,16 +112614,16 @@ paths: description: Reaction exists content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '201': description: Reaction created content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '422': *15 x-github: githubCloudOnly: false @@ -113181,10 +112645,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *494 - - *495 - - *754 - - *689 + - *491 + - *492 + - *752 + - *687 responses: '204': description: Response @@ -113208,9 +112672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 - *17 - *19 responses: @@ -113227,7 +112691,7 @@ paths: oneOf: - allOf: - *174 - - &755 + - &753 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -113248,67 +112712,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *175 - - *755 + - *753 - allOf: - *176 - - *755 + - *753 - allOf: - *177 - - *755 + - *753 - allOf: - - *756 - - *755 + - *754 + - *753 - allOf: - *178 - - *755 + - *753 - allOf: - *179 - - *755 + - *753 - allOf: - *180 - - *755 + - *753 - allOf: - *181 - - *755 + - *753 - allOf: - *182 - - *755 + - *753 - allOf: - *183 - - *755 + - *753 - allOf: - *184 - - *755 + - *753 - allOf: - *185 - - *755 + - *753 - allOf: - *186 - - *755 + - *753 - allOf: - *187 - - *755 + - *753 - allOf: - *188 - - *755 + - *753 - allOf: - *189 - - *755 + - *753 - allOf: - *190 - - *755 + - *753 - allOf: - *191 - - *755 + - *753 - allOf: - *192 - - *755 + - *753 - allOf: - *193 - - *755 + - *753 - allOf: - *194 - - *755 + - *753 examples: default: value: @@ -113347,8 +112811,8 @@ paths: category: repos subcategory: rules parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 - name: includes_parents @@ -113359,7 +112823,7 @@ paths: schema: type: boolean default: true - - *757 + - *755 responses: '200': description: Response @@ -113414,8 +112878,8 @@ paths: category: repos subcategory: rules parameters: - - *494 - - *495 + - *491 + - *492 requestBody: description: Request body required: true @@ -113444,7 +112908,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *758 + items: *756 required: - name - enforcement @@ -113477,7 +112941,7 @@ paths: application/json: schema: *195 examples: - default: &768 + default: &766 value: id: 42 name: super cool ruleset @@ -113525,13 +112989,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *494 - - *495 - - *759 + - *491 + - *492 + - *757 - *107 + - *758 + - *759 - *760 - - *761 - - *762 - *17 - *19 responses: @@ -113539,9 +113003,9 @@ paths: description: Response content: application/json: - schema: *763 + schema: *761 examples: - default: *764 + default: *762 '404': *6 '500': *40 x-github: @@ -113562,17 +113026,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *494 - - *495 - - *765 + - *491 + - *492 + - *763 responses: '200': description: Response content: application/json: - schema: *766 + schema: *764 examples: - default: *767 + default: *765 '404': *6 '500': *40 x-github: @@ -113600,8 +113064,8 @@ paths: category: repos subcategory: rules parameters: - - *494 - - *495 + - *491 + - *492 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113623,7 +113087,7 @@ paths: application/json: schema: *195 examples: - default: *768 + default: *766 '404': *6 '500': *40 put: @@ -113641,8 +113105,8 @@ paths: category: repos subcategory: rules parameters: - - *494 - - *495 + - *491 + - *492 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113676,7 +113140,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *758 + items: *756 examples: default: value: @@ -113706,7 +113170,7 @@ paths: application/json: schema: *195 examples: - default: *768 + default: *766 '404': *6 '422': *15 '500': *40 @@ -113725,8 +113189,8 @@ paths: category: repos subcategory: rules parameters: - - *494 - - *495 + - *491 + - *492 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113749,8 +113213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 - name: ruleset_id @@ -113768,7 +113232,7 @@ paths: type: array items: *199 examples: - default: *458 + default: *455 '404': *6 '500': *40 x-github: @@ -113787,8 +113251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *494 - - *495 + - *491 + - *492 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113806,7 +113270,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *456 examples: default: value: @@ -113861,26 +113325,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: - - *494 - - *495 + - *491 + - *492 + - *457 + - *458 + - *459 - *460 - *461 - *462 - *463 - *464 - - *465 - - *466 - - *467 - *112 - *19 - *17 - - *769 - - *770 + - *767 + - *768 + - *465 + - *466 + - *467 - *468 - *469 - - *470 - - *471 - - *472 responses: '200': description: Response @@ -113888,7 +113352,7 @@ paths: application/json: schema: type: array - items: &774 + items: &772 type: object properties: number: *131 @@ -113907,8 +113371,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *771 - resolution: *772 + state: *769 + resolution: *770 resolved_at: type: string format: date-time @@ -114014,7 +113478,7 @@ paths: pull request. ' - oneOf: *773 + oneOf: *771 nullable: true has_more_locations: type: boolean @@ -114178,16 +113642,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: - - *494 - - *495 - - *574 - - *471 + - *491 + - *492 + - *571 + - *468 responses: '200': description: Response content: application/json: - schema: *774 + schema: *772 examples: default: value: @@ -114241,9 +113705,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 requestBody: required: true content: @@ -114251,8 +113715,8 @@ paths: schema: type: object properties: - state: *771 - resolution: *772 + state: *769 + resolution: *770 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -114296,7 +113760,7 @@ paths: description: Response content: application/json: - schema: *774 + schema: *772 examples: default: value: @@ -114395,9 +113859,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 - *19 - *17 responses: @@ -114408,7 +113872,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &961 + items: &959 type: object properties: type: @@ -114434,6 +113898,8 @@ paths: example: commit details: oneOf: + - *773 + - *774 - *775 - *776 - *777 @@ -114445,8 +113911,6 @@ paths: - *783 - *784 - *785 - - *786 - - *787 examples: default: value: @@ -114532,8 +113996,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -114541,14 +114005,14 @@ paths: schema: type: object properties: - reason: &789 + reason: &787 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *788 + placeholder_id: *786 required: - reason - placeholder_id @@ -114565,7 +114029,7 @@ paths: schema: type: object properties: - reason: *789 + reason: *787 expire_at: type: string format: date-time @@ -114611,8 +114075,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: - - *494 - - *495 + - *491 + - *492 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -114627,7 +114091,7 @@ paths: properties: incremental_scans: type: array - items: &790 + items: &788 description: Information on a single scan performed by secret scanning on the repository type: object @@ -114658,15 +114122,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *790 + items: *788 backfill_scans: type: array - items: *790 + items: *788 custom_pattern_backfill_scans: type: array items: allOf: - - *790 + - *788 - type: object properties: pattern_name: @@ -114679,7 +114143,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *790 + items: *788 examples: default: value: @@ -114744,8 +114208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *494 - - *495 + - *491 + - *492 - *112 - name: sort description: The property to sort the results by. @@ -114789,9 +114253,9 @@ paths: application/json: schema: type: array - items: *791 + items: *789 examples: - default: *792 + default: *790 '400': *14 '404': *6 x-github: @@ -114814,8 +114278,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -114888,7 +114352,7 @@ paths: login: type: string description: The username of the user credited. - type: *477 + type: *474 required: - login - type @@ -114975,9 +114439,9 @@ paths: description: Response content: application/json: - schema: *791 + schema: *789 examples: - default: &794 + default: &792 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -115210,8 +114674,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -115315,7 +114779,7 @@ paths: description: Response content: application/json: - schema: *791 + schema: *789 examples: default: value: @@ -115462,17 +114926,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: - - *494 - - *495 - - *793 + - *491 + - *492 + - *791 responses: '200': description: Response content: application/json: - schema: *791 + schema: *789 examples: - default: *794 + default: *792 '403': *29 '404': *6 x-github: @@ -115496,9 +114960,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: - - *494 - - *495 - - *793 + - *491 + - *492 + - *791 requestBody: required: true content: @@ -115571,7 +115035,7 @@ paths: login: type: string description: The username of the user credited. - type: *477 + type: *474 required: - login - type @@ -115657,17 +115121,17 @@ paths: description: Response content: application/json: - schema: *791 + schema: *789 examples: - default: *794 - add_credit: *794 + default: *792 + add_credit: *792 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *267 + schema: *264 examples: invalid_state_transition: value: @@ -115698,9 +115162,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: - - *494 - - *495 - - *793 + - *491 + - *492 + - *791 responses: '202': *39 '400': *14 @@ -115727,17 +115191,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: - - *494 - - *495 - - *793 + - *491 + - *492 + - *791 responses: '202': description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *501 + default: *498 '400': *14 '422': *15 '403': *29 @@ -115763,8 +115227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -115863,8 +115327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -115873,7 +115337,7 @@ paths: application/json: schema: type: array - items: &795 + items: &793 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -115906,8 +115370,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -115983,8 +115447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -116080,8 +115544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -116235,8 +115699,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -116246,7 +115710,7 @@ paths: application/json: schema: type: array - items: *795 + items: *793 examples: default: value: @@ -116279,8 +115743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *494 - - *495 + - *491 + - *492 - name: sha in: path required: true @@ -116334,7 +115798,7 @@ paths: description: Response content: application/json: - schema: *796 + schema: *794 examples: default: value: @@ -116388,8 +115852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -116401,7 +115865,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -116421,14 +115885,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &797 + schema: &795 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -116496,8 +115960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -116523,7 +115987,7 @@ paths: description: Response content: application/json: - schema: *797 + schema: *795 examples: default: value: @@ -116550,8 +116014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -116571,8 +116035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -116651,8 +116115,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *494 - - *495 + - *491 + - *492 - name: ref in: path required: true @@ -116688,8 +116152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -116699,9 +116163,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 headers: Link: *47 '404': *6 @@ -116721,8 +116185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *494 - - *495 + - *491 + - *492 - *19 - *17 responses: @@ -116730,7 +116194,7 @@ paths: description: Response content: application/json: - schema: &798 + schema: &796 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -116742,7 +116206,7 @@ paths: required: - names examples: - default: &799 + default: &797 value: names: - octocat @@ -116765,8 +116229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -116797,9 +116261,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *796 examples: - default: *799 + default: *797 '404': *6 '422': *7 x-github: @@ -116820,9 +116284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *494 - - *495 - - &800 + - *491 + - *492 + - &798 name: per description: The time frame to display results for. in: query @@ -116851,7 +116315,7 @@ paths: example: 128 clones: type: array - items: &801 + items: &799 title: Traffic type: object properties: @@ -116938,8 +116402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -117029,8 +116493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -117090,9 +116554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *494 - - *495 - - *800 + - *491 + - *492 + - *798 responses: '200': description: Response @@ -117111,7 +116575,7 @@ paths: example: 3782 views: type: array - items: *801 + items: *799 required: - uniques - count @@ -117188,8 +116652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -117225,7 +116689,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *289 examples: default: value: @@ -117463,8 +116927,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -117487,8 +116951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -117510,8 +116974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -117537,8 +117001,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *494 - - *495 + - *491 + - *492 - name: ref in: path required: true @@ -117630,9 +117094,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *501 + default: *498 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117673,7 +117137,7 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: default: value: @@ -117783,7 +117247,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &809 + - &807 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -117792,7 +117256,7 @@ paths: schema: type: string example: members - - &814 + - &812 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -117803,7 +117267,7 @@ paths: default: 1 format: int32 example: 1 - - &815 + - &813 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -117845,7 +117309,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &804 + items: &802 allOf: - type: object required: @@ -117920,7 +117384,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: &816 + meta: &814 type: object description: The metadata associated with the creation/updates to the user. @@ -117980,30 +117444,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &805 + '400': &803 description: Bad request content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 - '401': *803 - '403': &806 + schema: *800 + '401': *801 + '403': &804 description: Permission denied - '429': &807 + '429': &805 description: Too many requests content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 - '500': &808 + schema: *800 + '500': &806 description: Internal server error content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 + schema: *800 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118027,7 +117491,7 @@ paths: required: true content: application/json: - schema: &812 + schema: &810 type: object required: - schemas @@ -118087,9 +117551,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *804 + schema: *802 examples: - group: &810 + group: &808 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -118108,13 +117572,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': *805 - '401': *803 - '403': *806 - '409': &813 + '400': *803 + '401': *801 + '403': *804 + '409': &811 description: Duplicate record detected - '429': *807 - '500': *808 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118131,7 +117595,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: - - &811 + - &809 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -118139,22 +117603,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *809 + - *807 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *804 + schema: *802 examples: - default: *810 - '400': *805 - '401': *803 - '403': *806 + default: *808 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '429': *807 - '500': *808 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118173,13 +117637,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: - - *811 + - *809 - *41 requestBody: required: true content: application/json: - schema: *812 + schema: *810 examples: group: summary: Group @@ -118205,17 +117669,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *804 + schema: *802 examples: - group: *810 - groupWithMembers: *810 - '400': *805 - '401': *803 - '403': *806 + group: *808 + groupWithMembers: *808 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '409': *813 - '429': *807 - '500': *808 + '409': *811 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118239,13 +117703,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: - - *811 + - *809 - *41 requestBody: required: true content: application/json: - schema: &823 + schema: &821 type: object required: - Operations @@ -118305,17 +117769,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *804 + schema: *802 examples: - updateGroup: *810 - addMembers: *810 - '400': *805 - '401': *803 - '403': *806 + updateGroup: *808 + addMembers: *808 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '409': *813 - '429': *807 - '500': *808 + '409': *811 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118331,17 +117795,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: - - *811 + - *809 - *41 responses: '204': description: Group was deleted, no content - '400': *805 - '401': *803 - '403': *806 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '429': *807 - '500': *808 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118375,8 +117839,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *814 - - *815 + - *812 + - *813 - *41 responses: '200': @@ -118409,7 +117873,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &818 + items: &816 allOf: - type: object required: @@ -118488,7 +117952,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &817 + roles: &815 type: array description: The roles assigned to the user. items: @@ -118544,7 +118008,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *816 + meta: *814 startIndex: type: integer description: A starting index for the returned page @@ -118581,11 +118045,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *805 - '401': *803 - '403': *806 - '429': *807 - '500': *808 + '400': *803 + '401': *801 + '403': *804 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118609,7 +118073,7 @@ paths: required: true content: application/json: - schema: &821 + schema: &819 type: object required: - schemas @@ -118691,9 +118155,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *817 + roles: *815 examples: - user: &822 + user: &820 summary: User value: schemas: @@ -118740,9 +118204,9 @@ paths: description: User has been created content: application/scim+json: - schema: *818 + schema: *816 examples: - user: &819 + user: &817 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -118768,13 +118232,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: *819 - '400': *805 - '401': *803 - '403': *806 - '409': *813 - '429': *807 - '500': *808 + enterpriseOwner: *817 + '400': *803 + '401': *801 + '403': *804 + '409': *811 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118791,7 +118255,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: - - &820 + - &818 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -118804,15 +118268,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *818 + schema: *816 examples: - default: *819 - '400': *805 - '401': *803 - '403': *806 + default: *817 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '429': *807 - '500': *808 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118863,30 +118327,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: - - *820 + - *818 - *41 requestBody: required: true content: application/json: - schema: *821 + schema: *819 examples: - user: *822 + user: *820 responses: '200': description: User was updated content: application/scim+json: - schema: *818 + schema: *816 examples: - user: *819 - '400': *805 - '401': *803 - '403': *806 + user: *817 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '409': *813 - '429': *807 - '500': *808 + '409': *811 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118927,13 +118391,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: - - *820 + - *818 - *41 requestBody: required: true content: application/json: - schema: *823 + schema: *821 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -118973,18 +118437,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *818 + schema: *816 examples: - userMultiValuedProperties: *819 - userSingleValuedProperties: *819 - disableUser: *819 - '400': *805 - '401': *803 - '403': *806 + userMultiValuedProperties: *817 + userSingleValuedProperties: *817 + disableUser: *817 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '409': *813 - '429': *807 - '500': *808 + '409': *811 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119004,17 +118468,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: - - *820 + - *818 - *41 responses: '204': description: User was deleted, no content - '400': *805 - '401': *803 - '403': *806 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '429': *807 - '500': *808 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119101,7 +118565,7 @@ paths: example: 1 Resources: type: array - items: &824 + items: &822 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -119332,22 +118796,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &825 + '404': &823 description: Resource not found content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 - '403': &826 + schema: *800 + '403': &824 description: Forbidden content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 - '400': *805 - '429': *807 + schema: *800 + '400': *803 + '429': *805 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -119373,9 +118837,9 @@ paths: description: Response content: application/scim+json: - schema: *824 + schema: *822 examples: - default: &827 + default: &825 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -119398,17 +118862,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *825 - '403': *826 - '500': *808 + '404': *823 + '403': *824 + '500': *806 '409': description: Conflict content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 - '400': *805 + schema: *800 + '400': *803 requestBody: required: true content: @@ -119506,17 +118970,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *820 + - *818 responses: '200': description: Response content: application/scim+json: - schema: *824 + schema: *822 examples: - default: *827 - '404': *825 - '403': *826 + default: *825 + '404': *823 + '403': *824 '304': *37 x-github: githubCloudOnly: true @@ -119540,18 +119004,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *820 + - *818 responses: '200': description: Response content: application/scim+json: - schema: *824 + schema: *822 examples: - default: *827 + default: *825 '304': *37 - '404': *825 - '403': *826 + '404': *823 + '403': *824 requestBody: required: true content: @@ -119664,19 +119128,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *820 + - *818 responses: '200': description: Response content: application/scim+json: - schema: *824 + schema: *822 examples: - default: *827 + default: *825 '304': *37 - '404': *825 - '403': *826 - '400': *805 + '404': *823 + '403': *824 + '400': *803 '429': description: Response content: @@ -119767,12 +119231,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *820 + - *818 responses: '204': description: Response - '404': *825 - '403': *826 + '404': *823 + '403': *824 '304': *37 x-github: githubCloudOnly: true @@ -119890,7 +119354,7 @@ paths: html_url: type: string format: uri - repository: *292 + repository: *289 score: type: number file_size: @@ -119908,7 +119372,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &828 + text_matches: &826 title: Search Result Text Matches type: array items: @@ -120071,7 +119535,7 @@ paths: enum: - author-date - committer-date - - &829 + - &827 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 @@ -120142,7 +119606,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *544 + properties: *541 nullable: true comment_count: type: integer @@ -120162,7 +119626,7 @@ paths: url: type: string format: uri - verification: *671 + verification: *668 required: - author - committer @@ -120181,7 +119645,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *544 + properties: *541 nullable: true parents: type: array @@ -120194,12 +119658,12 @@ paths: type: string sha: type: string - repository: *292 + repository: *289 score: type: number node_id: type: string - text_matches: *828 + text_matches: *826 required: - sha - node_id @@ -120392,7 +119856,7 @@ paths: - interactions - created - updated - - *829 + - *827 - *17 - *19 - name: advanced_search @@ -120506,11 +119970,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: type: string state_reason: @@ -120527,8 +119991,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *435 + required: *436 nullable: true comments: type: integer @@ -120542,7 +120006,7 @@ paths: type: string format: date-time nullable: true - text_matches: *828 + text_matches: *826 pull_request: type: object properties: @@ -120575,7 +120039,7 @@ paths: type: string score: type: number - author_association: *228 + author_association: *225 draft: type: boolean repository: *80 @@ -120586,7 +120050,7 @@ paths: timeline_url: type: string format: uri - type: *403 + type: *400 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -120596,17 +120060,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - reactions: *229 + reactions: *226 required: - assignee - closed_at @@ -120824,7 +120288,7 @@ paths: enum: - created - updated - - *829 + - *827 - *17 - *19 responses: @@ -120868,7 +120332,7 @@ paths: nullable: true score: type: number - text_matches: *828 + text_matches: *826 required: - id - node_id @@ -120954,7 +120418,7 @@ paths: - forks - help-wanted-issues - updated - - *829 + - *827 - *17 - *19 responses: @@ -121182,8 +120646,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true permissions: type: object @@ -121202,7 +120666,7 @@ paths: - admin - pull - push - text_matches: *828 + text_matches: *826 temp_clone_token: type: string allow_merge_commit: @@ -121503,7 +120967,7 @@ paths: type: string format: uri nullable: true - text_matches: *828 + text_matches: *826 related: type: array nullable: true @@ -121696,7 +121160,7 @@ paths: - followers - repositories - joined - - *829 + - *827 - *17 - *19 responses: @@ -121800,7 +121264,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *828 + text_matches: *826 blog: type: string nullable: true @@ -121879,7 +121343,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &832 + - &830 name: team_id description: The unique identifier of the team. in: path @@ -121891,9 +121355,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '404': *6 x-github: githubCloudOnly: false @@ -121920,7 +121384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *832 + - *830 requestBody: required: true content: @@ -121983,16 +121447,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '201': description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '404': *6 '422': *15 '403': *29 @@ -122020,7 +121484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *832 + - *830 responses: '204': description: Response @@ -122049,7 +121513,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *832 + - *830 - *17 - *19 responses: @@ -122059,9 +121523,9 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: - default: *398 + default: *395 headers: Link: *47 x-github: @@ -122087,7 +121551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *832 + - *830 - name: role description: Filters members returned by their role in the team. in: query @@ -122110,7 +121574,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '404': *6 @@ -122138,7 +121602,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *832 + - *830 - *148 responses: '204': @@ -122175,7 +121639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *832 + - *830 - *148 responses: '204': @@ -122215,7 +121679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *832 + - *830 - *148 responses: '204': @@ -122252,16 +121716,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: - - *832 + - *830 - *148 responses: '200': description: Response content: application/json: - schema: *493 + schema: *490 examples: - response-if-user-is-a-team-maintainer: *833 + response-if-user-is-a-team-maintainer: *831 '404': *6 x-github: githubCloudOnly: false @@ -122294,7 +121758,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: - - *832 + - *830 - *148 requestBody: required: false @@ -122320,9 +121784,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: *834 + response-if-users-membership-with-team-is-now-pending: *832 '403': description: Forbidden if team synchronization is set up '422': @@ -122356,7 +121820,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: - - *832 + - *830 - *148 responses: '204': @@ -122384,7 +121848,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *832 + - *830 - *17 - *19 responses: @@ -122394,9 +121858,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *425 + default: *422 headers: Link: *47 '404': *6 @@ -122426,15 +121890,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: - - *832 - - *494 - - *495 + - *830 + - *491 + - *492 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *835 + schema: *833 examples: alternative-response-with-extra-repository-information: value: @@ -122585,9 +122049,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: - - *832 - - *494 - - *495 + - *830 + - *491 + - *492 requestBody: required: false content: @@ -122637,9 +122101,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: - - *832 - - *494 - - *495 + - *830 + - *491 + - *492 responses: '204': description: Response @@ -122668,15 +122132,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: - - *832 + - *830 responses: '200': description: Response content: application/json: - schema: *496 + schema: *493 examples: - default: *497 + default: *494 '403': *29 '404': *6 x-github: @@ -122703,7 +122167,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: - - *832 + - *830 requestBody: required: true content: @@ -122760,7 +122224,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *493 examples: default: value: @@ -122791,7 +122255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *832 + - *830 - *17 - *19 responses: @@ -122801,9 +122265,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - response-if-child-teams-exist: *836 + response-if-child-teams-exist: *834 headers: Link: *47 '404': *6 @@ -122836,7 +122300,7 @@ paths: application/json: schema: oneOf: - - &838 + - &836 title: Private User description: Private User type: object @@ -123039,7 +122503,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *837 + - *835 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -123192,7 +122656,7 @@ paths: description: Response content: application/json: - schema: *838 + schema: *836 examples: default: value: @@ -123271,7 +122735,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '304': *37 '404': *6 '403': *29 @@ -123395,9 +122859,9 @@ paths: type: integer codespaces: type: array - items: *408 + items: *405 examples: - default: *409 + default: *406 '304': *37 '500': *40 '401': *25 @@ -123536,17 +123000,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '401': *25 '403': *29 '404': *6 @@ -123590,7 +123054,7 @@ paths: type: integer secrets: type: array - items: &839 + items: &837 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -123630,7 +123094,7 @@ paths: - visibility - selected_repositories_url examples: - default: *600 + default: *597 headers: Link: *47 x-github: @@ -123700,13 +123164,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: - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *839 + schema: *837 examples: default: value: @@ -123736,7 +123200,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: - - *302 + - *299 requestBody: required: true content: @@ -123781,7 +123245,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -123809,7 +123273,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: - - *302 + - *299 responses: '204': description: Response @@ -123834,7 +123298,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: - - *302 + - *299 responses: '200': description: Response @@ -123850,9 +123314,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *347 + default: *344 '401': *25 '403': *29 '404': *6 @@ -123877,7 +123341,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: - - *302 + - *299 requestBody: required: true content: @@ -123931,7 +123395,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: - - *302 + - *299 - name: repository_id in: path required: true @@ -123964,7 +123428,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: - - *302 + - *299 - name: repository_id in: path required: true @@ -123996,15 +123460,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: - - *410 + - *407 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '304': *37 '500': *40 '401': *25 @@ -124030,7 +123494,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: - - *410 + - *407 requestBody: required: false content: @@ -124060,9 +123524,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '401': *25 '403': *29 '404': *6 @@ -124084,7 +123548,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: - - *410 + - *407 responses: '202': *39 '304': *37 @@ -124113,13 +123577,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: - - *410 + - *407 responses: '202': description: Response content: application/json: - schema: &840 + schema: &838 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -124160,7 +123624,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &841 + default: &839 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -124192,7 +123656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *410 + - *407 - name: export_id in: path required: true @@ -124205,9 +123669,9 @@ paths: description: Response content: application/json: - schema: *840 + schema: *838 examples: - default: *841 + default: *839 '404': *6 x-github: githubCloudOnly: false @@ -124228,7 +123692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *410 + - *407 responses: '200': description: Response @@ -124244,9 +123708,9 @@ paths: type: integer machines: type: array - items: *842 + items: *840 examples: - default: *843 + default: *841 '304': *37 '500': *40 '401': *25 @@ -124275,7 +123739,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: - - *410 + - *407 requestBody: required: true content: @@ -124325,13 +123789,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *499 + repository: *496 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *598 - required: *599 + properties: *595 + required: *596 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -125105,15 +124569,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: - - *410 + - *407 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '304': *37 '500': *40 '400': *14 @@ -125145,15 +124609,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: - - *410 + - *407 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '500': *40 '401': *25 '403': *29 @@ -125183,9 +124647,9 @@ paths: application/json: schema: type: array - items: *419 + items: *416 examples: - default: &854 + default: &852 value: - id: 197 name: hello_docker @@ -125286,7 +124750,7 @@ paths: application/json: schema: type: array - items: &844 + items: &842 title: Email description: Email type: object @@ -125351,9 +124815,9 @@ paths: application/json: schema: type: array - items: *844 + items: *842 examples: - default: &856 + default: &854 value: - email: octocat@github.com verified: true @@ -125428,7 +124892,7 @@ paths: application/json: schema: type: array - items: *844 + items: *842 examples: default: value: @@ -125538,7 +125002,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '304': *37 @@ -125571,7 +125035,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '304': *37 @@ -125684,7 +125148,7 @@ paths: application/json: schema: type: array - items: &845 + items: &843 title: GPG Key description: A unique encryption key type: object @@ -125815,7 +125279,7 @@ paths: - subkeys - revoked examples: - default: &873 + default: &871 value: - id: 3 name: Octocat's GPG Key @@ -125900,9 +125364,9 @@ paths: description: Response content: application/json: - schema: *845 + schema: *843 examples: - default: &846 + default: &844 value: id: 3 name: Octocat's GPG Key @@ -125959,7 +125423,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: - - &847 + - &845 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -125971,9 +125435,9 @@ paths: description: Response content: application/json: - schema: *845 + schema: *843 examples: - default: *846 + default: *844 '404': *6 '304': *37 '403': *29 @@ -125996,7 +125460,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: - - *847 + - *845 responses: '204': description: Response @@ -126198,7 +125662,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *287 + default: *284 headers: Link: *47 '404': *6 @@ -126224,7 +125688,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *286 + - *283 responses: '204': description: Response @@ -126250,7 +125714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *286 + - *283 responses: '204': description: Response @@ -126284,12 +125748,12 @@ paths: application/json: schema: anyOf: - - *395 + - *392 - type: object properties: {} additionalProperties: false examples: - default: *396 + default: *393 '204': description: Response when there are no restrictions x-github: @@ -126313,7 +125777,7 @@ paths: required: true content: application/json: - schema: *681 + schema: *678 examples: default: value: @@ -126324,7 +125788,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *392 examples: default: value: @@ -126405,7 +125869,7 @@ paths: - closed - all default: open - - *406 + - *403 - name: sort description: What to sort results by. in: query @@ -126418,7 +125882,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - *17 - *19 responses: @@ -126428,9 +125892,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *407 + default: *404 headers: Link: *47 '404': *6 @@ -126463,7 +125927,7 @@ paths: application/json: schema: type: array - items: &848 + items: &846 title: Key description: Key type: object @@ -126564,9 +126028,9 @@ paths: description: Response content: application/json: - schema: *848 + schema: *846 examples: - default: &849 + default: &847 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -126599,15 +126063,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: - - *717 + - *715 responses: '200': description: Response content: application/json: - schema: *848 + schema: *846 examples: - default: *849 + default: *847 '404': *6 '304': *37 '403': *29 @@ -126630,7 +126094,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: - - *717 + - *715 responses: '204': description: Response @@ -126663,7 +126127,7 @@ paths: application/json: schema: type: array - items: &850 + items: &848 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -126720,7 +126184,7 @@ paths: - id - type - login - plan: *249 + plan: *246 required: - billing_cycle - next_billing_date @@ -126731,7 +126195,7 @@ paths: - account - plan examples: - default: &851 + default: &849 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -126793,9 +126257,9 @@ paths: application/json: schema: type: array - items: *850 + items: *848 examples: - default: *851 + default: *849 headers: Link: *47 '304': *37 @@ -126835,7 +126299,7 @@ paths: application/json: schema: type: array - items: *411 + items: *408 examples: default: value: @@ -126949,7 +126413,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *408 examples: default: value: @@ -127036,7 +126500,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *408 examples: default: value: @@ -127108,7 +126572,7 @@ paths: application/json: schema: type: array - items: *413 + items: *410 examples: default: value: @@ -127361,7 +126825,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *410 examples: default: value: @@ -127541,7 +127005,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *414 + - *411 - name: exclude in: query required: false @@ -127554,7 +127018,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *410 examples: default: value: @@ -127748,7 +127212,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *414 + - *411 responses: '302': description: Response @@ -127774,7 +127238,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *414 + - *411 responses: '204': description: Response @@ -127803,8 +127267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *414 - - *852 + - *411 + - *850 responses: '204': description: Response @@ -127828,7 +127292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *414 + - *411 - *17 - *19 responses: @@ -127838,9 +127302,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *425 + default: *422 headers: Link: *47 '404': *6 @@ -127877,7 +127341,7 @@ paths: type: array items: *75 examples: - default: *262 + default: *259 headers: Link: *47 '304': *37 @@ -127919,7 +127383,7 @@ paths: - docker - nuget - container - - *853 + - *851 - *19 - *17 responses: @@ -127929,10 +127393,10 @@ paths: application/json: schema: type: array - items: *419 + items: *416 examples: - default: *854 - '400': *855 + default: *852 + '400': *853 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -127952,16 +127416,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: - - *421 - - *422 + - *418 + - *419 responses: '200': description: Response content: application/json: - schema: *419 + schema: *416 examples: - default: &874 + default: &872 value: id: 40201 name: octo-name @@ -128074,8 +127538,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: - - *421 - - *422 + - *418 + - *419 responses: '204': description: Response @@ -128105,8 +127569,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: - - *421 - - *422 + - *418 + - *419 - name: token description: package token schema: @@ -128138,8 +127602,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: - - *421 - - *422 + - *418 + - *419 - *19 - *17 - name: state @@ -128159,7 +127623,7 @@ paths: application/json: schema: type: array - items: *423 + items: *420 examples: default: value: @@ -128208,15 +127672,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: + - *418 + - *419 - *421 - - *422 - - *424 responses: '200': description: Response content: application/json: - schema: *423 + schema: *420 examples: default: value: @@ -128252,9 +127716,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: + - *418 + - *419 - *421 - - *422 - - *424 responses: '204': description: Response @@ -128284,9 +127748,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: + - *418 + - *419 - *421 - - *422 - - *424 responses: '204': description: Response @@ -128323,9 +127787,9 @@ paths: application/json: schema: type: array - items: *844 + items: *842 examples: - default: *856 + default: *854 headers: Link: *47 '304': *37 @@ -128438,7 +127902,7 @@ paths: type: array items: *80 examples: - default: &863 + default: &861 summary: Default response value: - id: 1296269 @@ -128742,9 +128206,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *501 + default: *498 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -128782,9 +128246,9 @@ paths: application/json: schema: type: array - items: *683 + items: *681 examples: - default: *857 + default: *855 headers: Link: *47 '304': *37 @@ -128807,7 +128271,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *399 + - *396 responses: '204': description: Response @@ -128830,7 +128294,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *399 + - *396 responses: '204': description: Response @@ -128863,7 +128327,7 @@ paths: application/json: schema: type: array - items: &858 + items: &856 title: Social account description: Social media account type: object @@ -128878,7 +128342,7 @@ paths: - provider - url examples: - default: &859 + default: &857 value: - provider: twitter url: https://twitter.com/github @@ -128940,9 +128404,9 @@ paths: application/json: schema: type: array - items: *858 + items: *856 examples: - default: *859 + default: *857 '422': *15 '304': *37 '404': *6 @@ -129029,7 +128493,7 @@ paths: application/json: schema: type: array - items: &860 + items: &858 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -129049,7 +128513,7 @@ paths: - title - created_at examples: - default: &888 + default: &886 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -129113,9 +128577,9 @@ paths: description: Response content: application/json: - schema: *860 + schema: *858 examples: - default: &861 + default: &859 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -129145,7 +128609,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: - - &862 + - &860 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -129157,9 +128621,9 @@ paths: description: Response content: application/json: - schema: *860 + schema: *858 examples: - default: *861 + default: *859 '404': *6 '304': *37 '403': *29 @@ -129182,7 +128646,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: - - *862 + - *860 responses: '204': description: Response @@ -129211,7 +128675,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: - - &889 + - &887 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 @@ -129236,11 +128700,11 @@ paths: type: array items: *80 examples: - default-response: *863 + default-response: *861 application/vnd.github.v3.star+json: schema: type: array - items: &890 + items: &888 title: Starred Repository description: Starred Repository type: object @@ -129396,8 +128860,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response if this repository is starred by you @@ -129425,8 +128889,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -129450,8 +128914,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -129484,9 +128948,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *425 + default: *422 headers: Link: *47 '304': *37 @@ -129523,7 +128987,7 @@ paths: application/json: schema: type: array - items: *486 + items: *483 examples: default: value: @@ -129601,7 +129065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *251 + - *248 responses: '200': description: Response @@ -129609,10 +129073,10 @@ paths: application/json: schema: oneOf: - - *838 - - *837 + - *836 + - *835 examples: - default-response: &867 + default-response: &865 summary: Default response value: login: octocat @@ -129647,7 +129111,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &868 + response-with-git-hub-plan-information: &866 summary: Response with GitHub plan information value: login: octocat @@ -129704,14 +129168,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: - - &865 + - &863 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *437 + - *434 requestBody: required: true description: Details of the draft item to create in the project. @@ -129745,9 +129209,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: - draft_issue: *444 + draft_issue: *441 '304': *37 '403': *29 '401': *25 @@ -129770,7 +129234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *864 + - *862 - *17 responses: '200': @@ -129781,7 +129245,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: example: ; rel="next" @@ -129805,8 +129269,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: - - *865 - - *437 + - *863 + - *434 requestBody: required: true content: @@ -129877,17 +129341,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *866 + schema: *864 examples: table_view: summary: Response for creating a table view - value: *448 + value: *445 board_view: summary: Response for creating a board view with filter - value: *448 + value: *445 roadmap_view: summary: Response for creating a roadmap view - value: *448 + value: *445 '304': *37 '403': *29 '401': *25 @@ -129929,11 +129393,11 @@ paths: application/json: schema: oneOf: - - *838 - - *837 + - *836 + - *835 examples: - default-response: *867 - response-with-git-hub-plan-information: *868 + default-response: *865 + response-with-git-hub-plan-information: *866 '404': *6 x-github: githubCloudOnly: false @@ -129983,8 +129447,8 @@ paths: required: - subject_digests examples: - default: *869 - withPredicateType: *870 + default: *867 + withPredicateType: *868 responses: '200': description: Response @@ -130037,7 +129501,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *871 + default: *869 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -130242,12 +129706,12 @@ paths: initiator: type: string examples: - default: *540 + default: *537 '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -130309,7 +129773,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *343 + items: *340 examples: default: summary: Example response for listing user copilot spaces @@ -130521,9 +129985,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: &872 + default: &870 summary: Example response for a user copilot space value: id: 42 @@ -130622,9 +130086,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *872 + default: *870 '403': *29 '404': *6 x-github: @@ -130745,9 +130209,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *872 + default: *870 '403': *29 '404': *6 '422': *15 @@ -130824,7 +130288,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *345 + items: *342 examples: default: value: @@ -130967,7 +130431,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: default: value: @@ -131078,7 +130542,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: default: value: @@ -131208,7 +130672,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *346 + items: *343 examples: default: value: @@ -131300,7 +130764,7 @@ paths: description: Resource created content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -131316,7 +130780,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -131369,7 +130833,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -131436,7 +130900,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -131513,9 +130977,9 @@ paths: application/json: schema: type: array - items: *419 + items: *416 examples: - default: *854 + default: *852 '403': *29 '401': *25 x-github: @@ -131548,7 +131012,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -131621,7 +131085,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -131708,7 +131172,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -131778,7 +131242,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -131809,7 +131273,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -131856,7 +131320,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *148 - - *238 + - *235 - *17 - *19 responses: @@ -131866,9 +131330,9 @@ paths: application/json: schema: type: array - items: *239 + items: *236 examples: - default: *240 + default: *237 headers: Link: *47 '422': *15 @@ -131899,9 +131363,9 @@ paths: application/json: schema: type: array - items: *845 + items: *843 examples: - default: *873 + default: *871 headers: Link: *47 x-github: @@ -132005,7 +131469,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132090,7 +131554,7 @@ paths: type: array items: *75 examples: - default: *262 + default: *259 headers: Link: *47 x-github: @@ -132129,7 +131593,7 @@ paths: - docker - nuget - container - - *853 + - *851 - *148 - *19 - *17 @@ -132140,12 +131604,12 @@ paths: application/json: schema: type: array - items: *419 + items: *416 examples: - default: *854 + default: *852 '403': *29 '401': *25 - '400': *855 + '400': *853 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132165,17 +131629,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *421 - - *422 + - *418 + - *419 - *148 responses: '200': description: Response content: application/json: - schema: *419 + schema: *416 examples: - default: *874 + default: *872 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132196,8 +131660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *421 - - *422 + - *418 + - *419 - *148 responses: '204': @@ -132230,8 +131694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *421 - - *422 + - *418 + - *419 - *148 - name: token description: package token @@ -132264,8 +131728,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: - - *421 - - *422 + - *418 + - *419 - *148 responses: '200': @@ -132274,7 +131738,7 @@ paths: application/json: schema: type: array - items: *423 + items: *420 examples: default: value: @@ -132332,16 +131796,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: + - *418 + - *419 - *421 - - *422 - - *424 - *148 responses: '200': description: Response content: application/json: - schema: *423 + schema: *420 examples: default: value: @@ -132376,10 +131840,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *421 - - *422 + - *418 + - *419 - *148 - - *424 + - *421 responses: '204': description: Response @@ -132411,10 +131875,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *421 - - *422 + - *418 + - *419 - *148 - - *424 + - *421 responses: '204': description: Response @@ -132455,9 +131919,9 @@ paths: application/json: schema: type: array - items: *435 + items: *432 examples: - default: *436 + default: *433 headers: Link: *47 '304': *37 @@ -132479,16 +131943,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *437 + - *434 - *148 responses: '200': description: Response content: application/json: - schema: *435 + schema: *432 examples: - default: *436 + default: *433 headers: Link: *47 '304': *37 @@ -132510,7 +131974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *437 + - *434 - *148 - *17 - *110 @@ -132522,9 +131986,9 @@ paths: application/json: schema: type: array - items: *441 + items: *438 examples: - default: *875 + default: *873 headers: Link: *47 '304': *37 @@ -132546,7 +132010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *148 - - *437 + - *434 requestBody: required: true content: @@ -132584,7 +132048,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *876 + items: *874 required: - name - data_type @@ -132600,7 +132064,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *877 + iteration_configuration: *875 required: - name - data_type @@ -132622,20 +132086,20 @@ paths: value: name: Due date data_type: date - single_select_field: *878 - iteration_field: *879 + single_select_field: *876 + iteration_field: *877 responses: '201': description: Response content: application/json: - schema: *441 + schema: *438 examples: - text_field: *880 - number_field: *881 - date_field: *882 - single_select_field: *883 - iteration_field: *884 + text_field: *878 + number_field: *879 + date_field: *880 + single_select_field: *881 + iteration_field: *882 '304': *37 '403': *29 '401': *25 @@ -132656,17 +132120,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *437 - - *885 + - *434 + - *883 - *148 responses: '200': description: Response content: application/json: - schema: *441 + schema: *438 examples: - default: *886 + default: *884 headers: Link: *47 '304': *37 @@ -132689,7 +132153,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: - - *437 + - *434 - *148 - *110 - *111 @@ -132722,9 +132186,9 @@ paths: application/json: schema: type: array - items: *445 + items: *442 examples: - default: *446 + default: *443 headers: Link: *47 '304': *37 @@ -132746,7 +132210,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *148 - - *437 + - *434 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -132816,22 +132280,22 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *441 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *441 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *441 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 + value: *441 '304': *37 '403': *29 '401': *25 @@ -132851,9 +132315,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: - - *437 + - *434 - *148 - - *447 + - *444 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -132873,9 +132337,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - default: *446 + default: *443 headers: Link: *47 '304': *37 @@ -132896,9 +132360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *437 + - *434 - *148 - - *447 + - *444 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -132968,13 +132432,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *443 + number_field: *443 + date_field: *443 + single_select_field: *443 + iteration_field: *443 '401': *25 '403': *29 '404': *6 @@ -132994,9 +132458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *437 + - *434 - *148 - - *447 + - *444 responses: '204': description: Response @@ -133018,9 +132482,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: - - *437 + - *434 - *148 - - *887 + - *885 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -133046,9 +132510,9 @@ paths: application/json: schema: type: array - items: *445 + items: *442 examples: - default: *446 + default: *443 headers: Link: *47 '304': *37 @@ -133086,7 +132550,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -133161,7 +132625,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -133267,9 +132731,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *425 + default: *422 headers: Link: *47 x-github: @@ -133299,9 +132763,9 @@ paths: application/json: schema: type: array - items: *858 + items: *856 examples: - default: *859 + default: *857 headers: Link: *47 x-github: @@ -133331,9 +132795,9 @@ paths: application/json: schema: type: array - items: *860 + items: *858 examples: - default: *888 + default: *886 headers: Link: *47 x-github: @@ -133358,7 +132822,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *148 - - *889 + - *887 - *112 - *17 - *19 @@ -133370,11 +132834,11 @@ paths: schema: anyOf: - type: array - items: *890 + items: *888 - type: array items: *80 examples: - default-response: *863 + default-response: *861 headers: Link: *47 x-github: @@ -133403,9 +132867,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *425 + default: *422 headers: Link: *47 x-github: @@ -133533,7 +132997,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &891 + enterprise: &889 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -133591,7 +133055,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &892 + installation: &890 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -133610,7 +133074,7 @@ x-webhooks: required: - id - node_id - organization: &893 + organization: &891 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -133670,13 +133134,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &894 + repository: &892 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &933 + properties: &931 id: description: Unique identifier of the repository example: 42 @@ -133696,8 +133160,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true organization: title: Simple User @@ -134371,7 +133835,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &934 + required: &932 - archive_url - assignees_url - blobs_url @@ -134522,10 +133986,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -134601,11 +134065,11 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - rule: &895 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + rule: &893 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) @@ -134828,11 +134292,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - rule: *895 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + rule: *893 sender: *4 required: - action @@ -135015,11 +134479,11 @@ x-webhooks: - everyone required: - from - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - rule: *895 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + rule: *893 sender: *4 required: - action @@ -135092,7 +134556,7 @@ x-webhooks: required: true content: application/json: - schema: &917 + schema: &915 title: Exemption request cancellation event type: object properties: @@ -135100,11 +134564,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - exemption_request: &896 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + exemption_request: &894 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -135408,7 +134872,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &897 + items: &895 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -135518,7 +134982,7 @@ x-webhooks: required: true content: application/json: - schema: &918 + schema: &916 title: Exemption request completed event type: object properties: @@ -135526,11 +134990,11 @@ x-webhooks: type: string enum: - completed - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - exemption_request: *896 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + exemption_request: *894 sender: *4 required: - action @@ -135602,7 +135066,7 @@ x-webhooks: required: true content: application/json: - schema: &915 + schema: &913 title: Exemption request created event type: object properties: @@ -135610,11 +135074,11 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - exemption_request: *896 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + exemption_request: *894 sender: *4 required: - action @@ -135686,7 +135150,7 @@ x-webhooks: required: true content: application/json: - schema: &919 + schema: &917 title: Exemption response dismissed event type: object properties: @@ -135694,12 +135158,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - exemption_request: *896 - exemption_response: *897 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + exemption_request: *894 + exemption_response: *895 sender: *4 required: - action @@ -135773,7 +135237,7 @@ x-webhooks: required: true content: application/json: - schema: &916 + schema: &914 title: Exemption response submitted event type: object properties: @@ -135781,12 +135245,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - exemption_request: *896 - exemption_response: *897 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + exemption_request: *894 + exemption_response: *895 sender: *4 required: - action @@ -135870,7 +135334,7 @@ x-webhooks: type: string enum: - completed - check_run: &899 + check_run: &897 title: CheckRun description: A check performed on the code of a given code change type: object @@ -135923,8 +135387,8 @@ x-webhooks: type: string pull_requests: type: array - items: *236 - repository: *292 + items: *233 + repository: *289 status: example: completed type: string @@ -135961,7 +135425,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *898 + deployment: *896 details_url: example: https://example.com type: string @@ -136011,7 +135475,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *236 + items: *233 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -136046,10 +135510,10 @@ x-webhooks: - output - app - pull_requests - installation: *892 - enterprise: *891 - organization: *893 - repository: *894 + installation: *890 + enterprise: *889 + organization: *891 + repository: *892 sender: *4 required: - check_run @@ -136440,11 +135904,11 @@ x-webhooks: type: string enum: - created - check_run: *899 - installation: *892 - enterprise: *891 - organization: *893 - repository: *894 + check_run: *897 + installation: *890 + enterprise: *889 + organization: *891 + repository: *892 sender: *4 required: - check_run @@ -136838,11 +136302,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *899 - installation: *892 - enterprise: *891 - organization: *893 - repository: *894 + check_run: *897 + installation: *890 + enterprise: *889 + organization: *891 + repository: *892 requested_action: description: The action requested by the user. type: object @@ -137245,11 +136709,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *899 - installation: *892 - enterprise: *891 - organization: *893 - repository: *894 + check_run: *897 + installation: *890 + enterprise: *889 + organization: *891 + repository: *892 sender: *4 required: - check_run @@ -138219,10 +137683,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -138921,10 +138385,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -139617,10 +139081,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -139786,7 +139250,7 @@ x-webhooks: required: - login - id - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -139931,20 +139395,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &900 + commit_oid: &898 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: *891 - installation: *892 - organization: *893 - ref: &901 + enterprise: *889 + installation: *890 + organization: *891 + ref: &899 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: *894 + repository: *892 sender: *4 required: - action @@ -140109,7 +139573,7 @@ x-webhooks: required: - login - id - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -140339,12 +139803,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *900 - enterprise: *891 - installation: *892 - organization: *893 - ref: *901 - repository: *894 + commit_oid: *898 + enterprise: *889 + installation: *890 + organization: *891 + ref: *899 + repository: *892 sender: *4 required: - action @@ -140439,7 +139903,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -140610,12 +140074,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *900 - enterprise: *891 - installation: *892 - organization: *893 - ref: *901 - repository: *894 + commit_oid: *898 + enterprise: *889 + installation: *890 + organization: *891 + ref: *899 + repository: *892 sender: *4 required: - action @@ -140781,7 +140245,7 @@ x-webhooks: required: - login - id - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -140947,12 +140411,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *900 - enterprise: *891 - installation: *892 - organization: *893 - ref: *901 - repository: *894 + commit_oid: *898 + enterprise: *889 + installation: *890 + organization: *891 + ref: *899 + repository: *892 sender: *4 required: - action @@ -141051,7 +140515,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -141226,16 +140690,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *894 + repository: *892 sender: *4 required: - action @@ -141332,7 +140796,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -141472,12 +140936,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *900 - enterprise: *891 - installation: *892 - organization: *893 - ref: *901 - repository: *894 + commit_oid: *898 + enterprise: *889 + installation: *890 + organization: *891 + ref: *899 + repository: *892 sender: *4 required: - action @@ -141643,7 +141107,7 @@ x-webhooks: required: - login - id - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -141788,10 +141252,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -142046,10 +141510,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -142129,18 +141593,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *893 - pusher_type: &902 + organization: *891 + pusher_type: &900 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &903 + ref: &901 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -142150,7 +141614,7 @@ x-webhooks: enum: - tag - branch - repository: *894 + repository: *892 sender: *4 required: - ref @@ -142233,9 +141697,9 @@ x-webhooks: enum: - created definition: *161 - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 required: - action @@ -142320,9 +141784,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 required: - action @@ -142400,9 +141864,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *161 - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 required: - action @@ -142480,9 +141944,9 @@ x-webhooks: enum: - updated definition: *161 - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 required: - action @@ -142559,10 +142023,10 @@ x-webhooks: type: string enum: - updated - enterprise: *891 - installation: *892 - repository: *894 - organization: *893 + enterprise: *889 + installation: *890 + repository: *892 + organization: *891 sender: *4 new_property_values: type: array @@ -142647,18 +142111,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *891 - installation: *892 - organization: *893 - pusher_type: *902 - ref: *903 + enterprise: *889 + installation: *890 + organization: *891 + pusher_type: *900 + ref: *901 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *894 + repository: *892 sender: *4 required: - ref @@ -142738,11 +142202,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142822,11 +142286,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142907,11 +142371,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142992,11 +142456,11 @@ x-webhooks: type: string enum: - created - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -143075,11 +142539,11 @@ x-webhooks: type: string enum: - dismissed - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -143158,11 +142622,11 @@ x-webhooks: type: string enum: - fixed - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -143242,11 +142706,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -143325,11 +142789,11 @@ x-webhooks: type: string enum: - reopened - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -143406,9 +142870,9 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - key: &904 + enterprise: *889 + installation: *890 + key: &902 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -143444,8 +142908,8 @@ x-webhooks: - verified - created_at - read_only - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -143522,11 +142986,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - key: *904 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + key: *902 + organization: *891 + repository: *892 sender: *4 required: - action @@ -144082,12 +143546,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - workflow: &910 + workflow: &908 title: Workflow type: object nullable: true @@ -144828,15 +144292,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *905 - required: *906 + properties: *903 + required: *904 nullable: true pull_requests: type: array - items: *738 - repository: *894 - organization: *893 - installation: *892 + items: *736 + repository: *892 + organization: *891 + installation: *890 sender: *4 responses: '200': @@ -144907,7 +144371,7 @@ x-webhooks: type: string enum: - approved - approver: &907 + approver: &905 type: object properties: avatar_url: @@ -144950,11 +144414,11 @@ x-webhooks: type: string comment: type: string - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - reviewers: &908 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + reviewers: &906 type: array items: type: object @@ -145033,7 +144497,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &909 + workflow_job_run: &907 type: object properties: conclusion: @@ -145764,18 +145228,18 @@ x-webhooks: type: string enum: - rejected - approver: *907 + approver: *905 comment: type: string - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - reviewers: *908 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + reviewers: *906 sender: *4 since: type: string - workflow_job_run: *909 + workflow_job_run: *907 workflow_job_runs: type: array items: @@ -146479,13 +145943,13 @@ x-webhooks: type: string enum: - requested - enterprise: *891 + enterprise: *889 environment: type: string - installation: *892 - organization: *893 - repository: *894 - requestor: &920 + installation: *890 + organization: *891 + repository: *892 + requestor: &918 title: User type: object nullable: true @@ -148374,12 +147838,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - workflow: *910 + workflow: *908 workflow_run: title: Deployment Workflow Run type: object @@ -149059,7 +148523,7 @@ x-webhooks: type: string enum: - answered - answer: &913 + answer: &911 type: object properties: author_association: @@ -149216,11 +148680,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149347,11 +148811,11 @@ x-webhooks: - from required: - category - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149434,11 +148898,11 @@ x-webhooks: type: string enum: - closed - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149520,7 +148984,7 @@ x-webhooks: type: string enum: - created - comment: &912 + comment: &910 type: object properties: author_association: @@ -149677,11 +149141,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149764,12 +149228,12 @@ x-webhooks: type: string enum: - deleted - comment: *912 - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + comment: *910 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149864,12 +149328,12 @@ x-webhooks: - from required: - body - comment: *912 - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + comment: *910 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149953,11 +149417,11 @@ x-webhooks: type: string enum: - created - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150039,11 +149503,11 @@ x-webhooks: type: string enum: - deleted - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150143,11 +149607,11 @@ x-webhooks: type: string required: - from - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150229,10 +149693,10 @@ x-webhooks: type: string enum: - labeled - discussion: *911 - enterprise: *891 - installation: *892 - label: &914 + discussion: *909 + enterprise: *889 + installation: *890 + label: &912 title: Label type: object properties: @@ -150264,8 +149728,8 @@ x-webhooks: - color - default - description - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150348,11 +149812,11 @@ x-webhooks: type: string enum: - locked - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150434,11 +149898,11 @@ x-webhooks: type: string enum: - pinned - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150520,11 +149984,11 @@ x-webhooks: type: string enum: - reopened - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150609,16 +150073,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *911 - new_repository: *894 + new_discussion: *909 + new_repository: *892 required: - new_discussion - new_repository - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150701,10 +150165,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *911 - old_answer: *913 - organization: *893 - repository: *894 + discussion: *909 + old_answer: *911 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150786,12 +150250,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *911 - enterprise: *891 - installation: *892 - label: *914 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150874,11 +150338,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150960,11 +150424,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -151033,7 +150497,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151096,7 +150560,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151159,7 +150623,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *915 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151222,7 +150686,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151285,7 +150749,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151351,7 +150815,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *915 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151417,7 +150881,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *916 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151483,7 +150947,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151549,7 +151013,7 @@ x-webhooks: required: true content: application/json: - schema: *919 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151615,7 +151079,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151680,7 +151144,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *915 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151745,7 +151209,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *916 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151810,7 +151274,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151875,7 +151339,7 @@ x-webhooks: required: true content: application/json: - schema: *919 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151941,7 +151405,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152008,7 +151472,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *891 + enterprise: *889 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -152668,9 +152132,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *892 - organization: *893 - repository: *894 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - forkee @@ -152816,9 +152280,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pages: description: The pages that were updated. type: array @@ -152855,7 +152319,7 @@ x-webhooks: - action - sha - html_url - repository: *894 + repository: *892 sender: *4 required: - pages @@ -152931,10 +152395,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories: &921 + organization: *891 + repositories: &919 description: An array of repository objects that the installation can access. type: array @@ -152960,8 +152424,8 @@ x-webhooks: - name - full_name - private - repository: *894 - requester: *920 + repository: *892 + requester: *918 sender: *4 required: - action @@ -153036,11 +152500,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories: *921 - repository: *894 + organization: *891 + repositories: *919 + repository: *892 requester: nullable: true sender: *4 @@ -153116,11 +152580,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories: *921 - repository: *894 + organization: *891 + repositories: *919 + repository: *892 requester: nullable: true sender: *4 @@ -153196,10 +152660,10 @@ x-webhooks: type: string enum: - added - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories_added: &922 + organization: *891 + repositories_added: &920 description: An array of repository objects, which were added to the installation. type: array @@ -153245,15 +152709,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *894 - repository_selection: &923 + repository: *892 + repository_selection: &921 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *920 + requester: *918 sender: *4 required: - action @@ -153332,10 +152796,10 @@ x-webhooks: type: string enum: - removed - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories_added: *922 + organization: *891 + repositories_added: *920 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -153362,9 +152826,9 @@ x-webhooks: - name - full_name - private - repository: *894 - repository_selection: *923 - requester: *920 + repository: *892 + repository_selection: *921 + requester: *918 sender: *4 required: - action @@ -153443,11 +152907,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories: *921 - repository: *894 + organization: *891 + repositories: *919 + repository: *892 requester: nullable: true sender: *4 @@ -153626,10 +153090,10 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 target_type: type: string @@ -153708,11 +153172,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories: *921 - repository: *894 + organization: *891 + repositories: *919 + repository: *892 requester: nullable: true sender: *4 @@ -153836,8 +153300,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 reactions: title: Reactions type: object @@ -153886,8 +153350,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *713 - required: *714 + properties: *711 + required: *712 nullable: true user: title: User @@ -153972,8 +153436,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -154762,8 +154226,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154779,7 +154243,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -155112,8 +154576,8 @@ x-webhooks: - state - locked - assignee - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -155193,7 +154657,7 @@ x-webhooks: type: string enum: - deleted - comment: &924 + comment: &922 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -155350,8 +154814,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *713 - required: *714 + properties: *711 + required: *712 nullable: true required: - url @@ -155366,8 +154830,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -156152,8 +155616,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156169,7 +155633,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -156504,8 +155968,8 @@ x-webhooks: - state - locked - assignee - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -156585,7 +156049,7 @@ x-webhooks: type: string enum: - edited - changes: &953 + changes: &951 description: The changes to the comment. type: object properties: @@ -156597,9 +156061,9 @@ x-webhooks: type: string required: - from - comment: *924 - enterprise: *891 - installation: *892 + comment: *922 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157387,8 +156851,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157404,7 +156868,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -157737,8 +157201,8 @@ x-webhooks: - state - locked - assignee - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -157819,9 +157283,9 @@ x-webhooks: type: string enum: - pinned - comment: *924 - enterprise: *891 - installation: *892 + comment: *922 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158611,8 +158075,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158628,7 +158092,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -158963,8 +158427,8 @@ x-webhooks: - state - locked - assignee - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -159044,9 +158508,9 @@ x-webhooks: type: string enum: - unpinned - comment: *924 - enterprise: *891 - installation: *892 + comment: *922 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -159836,8 +159300,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159853,7 +159317,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -160188,8 +159652,8 @@ x-webhooks: - state - locked - assignee - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -160272,15 +159736,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *228 blocking_issue_repo: *80 - installation: *892 - organization: *893 - repository: *894 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -160363,15 +159827,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *228 blocking_issue_repo: *80 - installation: *892 - organization: *893 - repository: *894 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -160453,15 +159917,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *892 - organization: *893 - repository: *894 + blocking_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -160544,15 +160008,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *892 - organization: *893 - repository: *894 + blocking_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -160632,10 +160096,10 @@ x-webhooks: type: string enum: - assigned - assignee: *920 - enterprise: *891 - installation: *892 - issue: &925 + assignee: *918 + enterprise: *889 + installation: *890 + issue: &923 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -161424,14 +160888,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161447,7 +160911,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -161548,8 +161012,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -161629,8 +161093,8 @@ x-webhooks: type: string enum: - closed - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -162424,14 +161888,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162447,7 +161911,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -162683,8 +162147,8 @@ x-webhooks: required: - state - closed_at - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -162763,8 +162227,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -163549,14 +163013,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163572,7 +163036,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -163672,8 +163136,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -163752,8 +163216,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -164560,14 +164024,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164583,7 +164047,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -164662,7 +164126,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &926 + milestone: &924 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164800,8 +164264,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -164900,8 +164364,8 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -165690,14 +165154,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165710,7 +165174,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *400 title: description: Title of the issue type: string @@ -165814,9 +165278,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *914 - organization: *893 - repository: *894 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -165896,9 +165360,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *891 - installation: *892 - issue: *925 + enterprise: *889 + installation: *890 + issue: *923 issue_field: type: object description: The issue field whose value was set or updated on the @@ -166052,8 +165516,8 @@ x-webhooks: - id required: - from - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -166133,9 +165597,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *891 - installation: *892 - issue: *925 + enterprise: *889 + installation: *890 + issue: *923 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -166216,8 +165680,8 @@ x-webhooks: nullable: true required: - id - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -166297,8 +165761,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167086,14 +166550,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167106,7 +166570,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *400 title: description: Title of the issue type: string @@ -167210,9 +166674,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *914 - organization: *893 - repository: *894 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -167292,8 +166756,8 @@ x-webhooks: type: string enum: - locked - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168105,14 +167569,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168125,7 +167589,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *400 title: description: Title of the issue type: string @@ -168206,8 +167670,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -168286,8 +167750,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -169093,14 +168557,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169116,7 +168580,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -169194,9 +168658,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *926 - organization: *893 - repository: *894 + milestone: *924 + organization: *891 + repository: *892 sender: *4 required: - action @@ -170059,11 +169523,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170091,8 +169555,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true user: title: User @@ -170164,7 +169628,7 @@ x-webhooks: required: - login - id - type: *403 + type: *400 required: - id - number @@ -170644,8 +170108,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171429,11 +170893,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171449,7 +170913,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -171462,8 +170926,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true user: title: User @@ -171557,8 +171021,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -171638,9 +171102,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *891 - installation: *892 - issue: &927 + enterprise: *889 + installation: *890 + issue: &925 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -172423,14 +171887,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172446,7 +171910,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -172546,8 +172010,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -172626,8 +172090,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173437,14 +172901,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173538,9 +173002,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *403 - organization: *893 - repository: *894 + type: *400 + organization: *891 + repository: *892 sender: *4 required: - action @@ -174406,14 +173870,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174429,7 +173893,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -175008,11 +174472,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *891 - installation: *892 - issue: *927 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *925 + organization: *891 + repository: *892 sender: *4 required: - action @@ -175092,12 +174556,12 @@ x-webhooks: type: string enum: - typed - enterprise: *891 - installation: *892 - issue: *925 - type: *403 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *923 + type: *400 + organization: *891 + repository: *892 sender: *4 required: - action @@ -175178,7 +174642,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &956 + assignee: &954 title: User type: object nullable: true @@ -175248,11 +174712,11 @@ x-webhooks: required: - login - id - enterprise: *891 - installation: *892 - issue: *925 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *923 + organization: *891 + repository: *892 sender: *4 required: - action @@ -175331,12 +174795,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *891 - installation: *892 - issue: *925 - label: *914 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *923 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -175416,8 +174880,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176227,14 +175691,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176250,7 +175714,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -176328,8 +175792,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176409,11 +175873,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *891 - installation: *892 - issue: *927 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *925 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176492,12 +175956,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *891 - installation: *892 - issue: *925 - type: *403 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *923 + type: *400 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176577,11 +176041,11 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - label: *914 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176659,11 +176123,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - label: *914 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176773,11 +176237,11 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - label: *914 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176859,9 +176323,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *891 - installation: *892 - marketplace_purchase: &928 + enterprise: *889 + installation: *890 + marketplace_purchase: &926 title: Marketplace Purchase type: object required: @@ -176944,8 +176408,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *893 - previous_marketplace_purchase: &929 + organization: *891 + previous_marketplace_purchase: &927 title: Marketplace Purchase type: object properties: @@ -177025,7 +176489,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *894 + repository: *892 sender: *4 required: - action @@ -177105,10 +176569,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *891 - installation: *892 - marketplace_purchase: *928 - organization: *893 + enterprise: *889 + installation: *890 + marketplace_purchase: *926 + organization: *891 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -177191,7 +176655,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *894 + repository: *892 sender: *4 required: - action @@ -177273,10 +176737,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *891 - installation: *892 - marketplace_purchase: *928 - organization: *893 + enterprise: *889 + installation: *890 + marketplace_purchase: *926 + organization: *891 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -177358,7 +176822,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *894 + repository: *892 sender: *4 required: - action @@ -177439,8 +176903,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 marketplace_purchase: title: Marketplace Purchase type: object @@ -177522,9 +176986,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *893 - previous_marketplace_purchase: *929 - repository: *894 + organization: *891 + previous_marketplace_purchase: *927 + repository: *892 sender: *4 required: - action @@ -177604,12 +177068,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *891 - installation: *892 - marketplace_purchase: *928 - organization: *893 - previous_marketplace_purchase: *929 - repository: *894 + enterprise: *889 + installation: *890 + marketplace_purchase: *926 + organization: *891 + previous_marketplace_purchase: *927 + repository: *892 sender: *4 required: - action @@ -177711,11 +177175,11 @@ x-webhooks: type: string required: - to - enterprise: *891 - installation: *892 - member: *920 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + member: *918 + organization: *891 + repository: *892 sender: *4 required: - action @@ -177815,11 +177279,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *891 - installation: *892 - member: *920 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + member: *918 + organization: *891 + repository: *892 sender: *4 required: - action @@ -177898,11 +177362,11 @@ x-webhooks: type: string enum: - removed - enterprise: *891 - installation: *892 - member: *920 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + member: *918 + organization: *891 + repository: *892 sender: *4 required: - action @@ -177980,11 +177444,11 @@ x-webhooks: type: string enum: - added - enterprise: *891 - installation: *892 - member: *920 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + member: *918 + organization: *891 + repository: *892 scope: description: The scope of the membership. Currently, can only be `team`. @@ -178060,7 +177524,7 @@ x-webhooks: required: - login - id - team: &930 + team: &928 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -178283,11 +177747,11 @@ x-webhooks: type: string enum: - removed - enterprise: *891 - installation: *892 - member: *920 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + member: *918 + organization: *891 + repository: *892 scope: description: The scope of the membership. Currently, can only be `team`. @@ -178364,7 +177828,7 @@ x-webhooks: required: - login - id - team: *930 + team: *928 required: - action - scope @@ -178446,8 +177910,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *892 - merge_group: &932 + installation: *890 + merge_group: &930 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -178466,15 +177930,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *931 + head_commit: *929 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -178560,10 +178024,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *892 - merge_group: *932 - organization: *893 - repository: *894 + installation: *890 + merge_group: *930 + organization: *891 + repository: *892 sender: *4 required: - action @@ -178636,7 +178100,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 + enterprise: *889 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -178745,16 +178209,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *892 - organization: *893 + installation: *890 + organization: *891 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *933 - required: *934 + properties: *931 + required: *932 nullable: true sender: *4 required: @@ -178835,11 +178299,11 @@ x-webhooks: type: string enum: - closed - enterprise: *891 - installation: *892 - milestone: *926 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + milestone: *924 + organization: *891 + repository: *892 sender: *4 required: - action @@ -178918,9 +178382,9 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - milestone: &935 + enterprise: *889 + installation: *890 + milestone: &933 title: Milestone description: A collection of related issues and pull requests. type: object @@ -179057,8 +178521,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -179137,11 +178601,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - milestone: *926 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + milestone: *924 + organization: *891 + repository: *892 sender: *4 required: - action @@ -179251,11 +178715,11 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - milestone: *926 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + milestone: *924 + organization: *891 + repository: *892 sender: *4 required: - action @@ -179335,11 +178799,11 @@ x-webhooks: type: string enum: - opened - enterprise: *891 - installation: *892 - milestone: *935 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + milestone: *933 + organization: *891 + repository: *892 sender: *4 required: - action @@ -179418,11 +178882,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *920 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + blocked_user: *918 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -179501,11 +178965,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *920 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + blocked_user: *918 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -179581,7 +179045,7 @@ x-webhooks: enum: - created definition: *156 - enterprise: *891 + enterprise: *889 sender: *4 required: - action @@ -179661,8 +179125,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 sender: *4 required: - action @@ -179735,8 +179199,8 @@ x-webhooks: enum: - updated definition: *156 - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 sender: *4 required: - action @@ -179808,9 +179272,9 @@ x-webhooks: type: string enum: - updated - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 new_property_values: type: array @@ -179898,9 +179362,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - membership: &936 + enterprise: *889 + installation: *890 + membership: &934 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -180007,8 +179471,8 @@ x-webhooks: - role - organization_url - user - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -180086,11 +179550,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *891 - installation: *892 - membership: *936 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + membership: *934 + organization: *891 + repository: *892 sender: *4 required: - action @@ -180169,8 +179633,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -180286,10 +179750,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 - user: *920 + user: *918 required: - action - invitation @@ -180367,11 +179831,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *891 - installation: *892 - membership: *936 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + membership: *934 + organization: *891 + repository: *892 sender: *4 required: - action @@ -180458,11 +179922,11 @@ x-webhooks: properties: from: type: string - enterprise: *891 - installation: *892 - membership: *936 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + membership: *934 + organization: *891 + repository: *892 sender: *4 required: - action @@ -180540,9 +180004,9 @@ x-webhooks: type: string enum: - published - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 package: description: Information about the package. type: object @@ -181041,7 +180505,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &937 + items: &935 title: Ruby Gems metadata type: object properties: @@ -181136,7 +180600,7 @@ x-webhooks: - owner - package_version - registry - repository: *894 + repository: *892 sender: *4 required: - action @@ -181213,9 +180677,9 @@ x-webhooks: type: string enum: - updated - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 package: description: Information about the package. type: object @@ -181568,7 +181032,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *937 + items: *935 source_url: type: string format: uri @@ -181638,7 +181102,7 @@ x-webhooks: - owner - package_version - registry - repository: *894 + repository: *892 sender: *4 required: - action @@ -181814,12 +181278,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *891 + enterprise: *889 id: type: integer - installation: *892 - organization: *893 - repository: *894 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - id @@ -181896,7 +181360,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &938 + personal_access_token_request: &936 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -182042,10 +181506,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *891 - organization: *893 + enterprise: *889 + organization: *891 sender: *4 - installation: *892 + installation: *890 required: - action - personal_access_token_request @@ -182122,11 +181586,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *938 - enterprise: *891 - organization: *893 + personal_access_token_request: *936 + enterprise: *889 + organization: *891 sender: *4 - installation: *892 + installation: *890 required: - action - personal_access_token_request @@ -182202,11 +181666,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *938 - enterprise: *891 - organization: *893 + personal_access_token_request: *936 + enterprise: *889 + organization: *891 sender: *4 - installation: *892 + installation: *890 required: - action - personal_access_token_request @@ -182281,11 +181745,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *938 - organization: *893 - enterprise: *891 + personal_access_token_request: *936 + organization: *891 + enterprise: *889 sender: *4 - installation: *892 + installation: *890 required: - action - personal_access_token_request @@ -182390,7 +181854,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *939 + last_response: *937 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -182422,8 +181886,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 zen: description: Random string of GitHub zen. @@ -182668,10 +182132,10 @@ x-webhooks: - from required: - note - enterprise: *891 - installation: *892 - organization: *893 - project_card: &940 + enterprise: *889 + installation: *890 + organization: *891 + project_card: &938 title: Project Card type: object properties: @@ -182790,7 +182254,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *894 + repository: *892 sender: *4 required: - action @@ -182871,11 +182335,11 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - project_card: *940 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project_card: *938 + repository: *892 sender: *4 required: - action @@ -182955,9 +182419,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 project_card: title: Project Card type: object @@ -183085,8 +182549,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *933 - required: *934 + properties: *931 + required: *932 nullable: true sender: *4 required: @@ -183180,11 +182644,11 @@ x-webhooks: - from required: - note - enterprise: *891 - installation: *892 - organization: *893 - project_card: *940 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project_card: *938 + repository: *892 sender: *4 required: - action @@ -183278,9 +182742,9 @@ x-webhooks: - from required: - column_id - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 project_card: allOf: - title: Project Card @@ -183470,7 +182934,7 @@ x-webhooks: type: string required: - after_id - repository: *894 + repository: *892 sender: *4 required: - action @@ -183550,10 +183014,10 @@ x-webhooks: type: string enum: - closed - enterprise: *891 - installation: *892 - organization: *893 - project: &942 + enterprise: *889 + installation: *890 + organization: *891 + project: &940 title: Project type: object properties: @@ -183677,7 +183141,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *894 + repository: *892 sender: *4 required: - action @@ -183757,10 +183221,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - project_column: &941 + enterprise: *889 + installation: *890 + organization: *891 + project_column: &939 title: Project Column type: object properties: @@ -183799,7 +183263,7 @@ x-webhooks: - name - created_at - updated_at - repository: *894 + repository: *892 sender: *4 required: - action @@ -183878,18 +183342,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - project_column: *941 + enterprise: *889 + installation: *890 + organization: *891 + project_column: *939 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *933 - required: *934 + properties: *931 + required: *932 nullable: true sender: *4 required: @@ -183979,11 +183443,11 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - organization: *893 - project_column: *941 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project_column: *939 + repository: *892 sender: *4 required: - action @@ -184063,11 +183527,11 @@ x-webhooks: type: string enum: - moved - enterprise: *891 - installation: *892 - organization: *893 - project_column: *941 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project_column: *939 + repository: *892 sender: *4 required: - action @@ -184147,11 +183611,11 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - project: *942 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project: *940 + repository: *892 sender: *4 required: - action @@ -184231,18 +183695,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - project: *942 + enterprise: *889 + installation: *890 + organization: *891 + project: *940 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *933 - required: *934 + properties: *931 + required: *932 nullable: true sender: *4 required: @@ -184344,11 +183808,11 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - organization: *893 - project: *942 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project: *940 + repository: *892 sender: *4 required: - action @@ -184427,11 +183891,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *891 - installation: *892 - organization: *893 - project: *942 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project: *940 + repository: *892 sender: *4 required: - action @@ -184512,9 +183976,9 @@ x-webhooks: type: string enum: - closed - installation: *892 - organization: *893 - projects_v2: *435 + installation: *890 + organization: *891 + projects_v2: *432 sender: *4 required: - action @@ -184595,9 +184059,9 @@ x-webhooks: type: string enum: - created - installation: *892 - organization: *893 - projects_v2: *435 + installation: *890 + organization: *891 + projects_v2: *432 sender: *4 required: - action @@ -184678,9 +184142,9 @@ x-webhooks: type: string enum: - deleted - installation: *892 - organization: *893 - projects_v2: *435 + installation: *890 + organization: *891 + projects_v2: *432 sender: *4 required: - action @@ -184797,9 +184261,9 @@ x-webhooks: type: string to: type: string - installation: *892 - organization: *893 - projects_v2: *435 + installation: *890 + organization: *891 + projects_v2: *432 sender: *4 required: - action @@ -184882,7 +184346,7 @@ x-webhooks: type: string enum: - archived - changes: &946 + changes: &944 type: object properties: archived_at: @@ -184896,9 +184360,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *892 - organization: *893 - projects_v2_item: &943 + installation: *890 + organization: *891 + projects_v2_item: &941 title: Projects v2 Item description: An item belonging to a project type: object @@ -184916,7 +184380,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *442 + content_type: *439 creator: *4 created_at: type: string @@ -185033,9 +184497,9 @@ x-webhooks: nullable: true to: type: string - installation: *892 - organization: *893 - projects_v2_item: *943 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -185117,9 +184581,9 @@ x-webhooks: type: string enum: - created - installation: *892 - organization: *893 - projects_v2_item: *943 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -185200,9 +184664,9 @@ x-webhooks: type: string enum: - deleted - installation: *892 - organization: *893 - projects_v2_item: *943 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -185308,7 +184772,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &944 + - &942 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -185330,7 +184794,7 @@ x-webhooks: required: - id - name - - &945 + - &943 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -185364,8 +184828,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *944 - - *945 + - *942 + - *943 required: - field_value - type: object @@ -185381,9 +184845,9 @@ x-webhooks: nullable: true required: - body - installation: *892 - organization: *893 - projects_v2_item: *943 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -185478,9 +184942,9 @@ x-webhooks: to: type: string nullable: true - installation: *892 - organization: *893 - projects_v2_item: *943 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -185563,10 +185027,10 @@ x-webhooks: type: string enum: - restored - changes: *946 - installation: *892 - organization: *893 - projects_v2_item: *943 + changes: *944 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -185648,9 +185112,9 @@ x-webhooks: type: string enum: - reopened - installation: *892 - organization: *893 - projects_v2: *435 + installation: *890 + organization: *891 + projects_v2: *432 sender: *4 required: - action @@ -185731,14 +185195,14 @@ x-webhooks: type: string enum: - created - installation: *892 - organization: *893 - projects_v2_status_update: &949 + installation: *890 + organization: *891 + projects_v2_status_update: &947 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *947 - required: *948 + properties: *945 + required: *946 sender: *4 required: - action @@ -185819,9 +185283,9 @@ x-webhooks: type: string enum: - deleted - installation: *892 - organization: *893 - projects_v2_status_update: *949 + installation: *890 + organization: *891 + projects_v2_status_update: *947 sender: *4 required: - action @@ -185957,9 +185421,9 @@ x-webhooks: type: string format: date nullable: true - installation: *892 - organization: *893 - projects_v2_status_update: *949 + installation: *890 + organization: *891 + projects_v2_status_update: *947 sender: *4 required: - action @@ -186030,10 +185494,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - repository @@ -186110,13 +185574,13 @@ x-webhooks: type: string enum: - assigned - assignee: *920 - enterprise: *891 - installation: *892 - number: &950 + assignee: *918 + enterprise: *889 + installation: *890 + number: &948 description: The pull request number. type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -188421,7 +187885,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -188503,11 +187967,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -190807,7 +190271,7 @@ x-webhooks: - draft reason: type: string - repository: *894 + repository: *892 sender: *4 required: - action @@ -190889,11 +190353,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -193193,7 +192657,7 @@ x-webhooks: - draft reason: type: string - repository: *894 + repository: *892 sender: *4 required: - action @@ -193275,13 +192739,13 @@ x-webhooks: type: string enum: - closed - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: &951 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: &949 allOf: - - *738 + - *736 - type: object properties: allow_auto_merge: @@ -193343,7 +192807,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *894 + repository: *892 sender: *4 required: - action @@ -193424,12 +192888,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: *951 - repository: *894 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: *949 + repository: *892 sender: *4 required: - action @@ -193509,11 +192973,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *891 - milestone: *720 - number: *950 - organization: *893 - pull_request: &952 + enterprise: *889 + milestone: *718 + number: *948 + organization: *891 + pull_request: &950 title: Pull Request type: object properties: @@ -195798,7 +195262,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -195877,11 +195341,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -198185,7 +197649,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *894 + repository: *892 sender: *4 required: - action @@ -198309,12 +197773,12 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: *951 - repository: *894 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: *949 + repository: *892 sender: *4 required: - action @@ -198394,11 +197858,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -200687,7 +200151,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -200767,11 +200231,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *891 - installation: *892 - label: *914 - number: *950 - organization: *893 + enterprise: *889 + installation: *890 + label: *912 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -203075,7 +202539,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -203156,10 +202620,10 @@ x-webhooks: type: string enum: - locked - enterprise: *891 - installation: *892 - number: *950 - organization: *893 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -205461,7 +204925,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -205541,12 +205005,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *891 - milestone: *720 - number: *950 - organization: *893 - pull_request: *952 - repository: *894 + enterprise: *889 + milestone: *718 + number: *948 + organization: *891 + pull_request: *950 + repository: *892 sender: *4 required: - action @@ -205625,12 +205089,12 @@ x-webhooks: type: string enum: - opened - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: *951 - repository: *894 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: *949 + repository: *892 sender: *4 required: - action @@ -205711,12 +205175,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: *951 - repository: *894 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: *949 + repository: *892 sender: *4 required: - action @@ -205796,12 +205260,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: *951 - repository: *894 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: *949 + repository: *892 sender: *4 required: - action @@ -206167,9 +205631,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: type: object properties: @@ -208361,7 +207825,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *894 + repository: *892 sender: *4 required: - action @@ -208441,7 +207905,7 @@ x-webhooks: type: string enum: - deleted - comment: &954 + comment: &952 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. @@ -208726,9 +208190,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: type: object properties: @@ -210908,7 +210372,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *894 + repository: *892 sender: *4 required: - action @@ -210988,11 +210452,11 @@ x-webhooks: type: string enum: - edited - changes: *953 - comment: *954 - enterprise: *891 - installation: *892 - organization: *893 + changes: *951 + comment: *952 + enterprise: *889 + installation: *890 + organization: *891 pull_request: type: object properties: @@ -213175,7 +212639,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *894 + repository: *892 sender: *4 required: - action @@ -213256,9 +212720,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: title: Simple Pull Request type: object @@ -215453,7 +214917,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *894 + repository: *892 review: description: The review that was affected. type: object @@ -215700,9 +215164,9 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: title: Simple Pull Request type: object @@ -217756,8 +217220,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *894 - review: &955 + repository: *892 + review: &953 description: The review that was affected. type: object properties: @@ -217990,12 +217454,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: description: The pull request number. type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -220300,7 +219764,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 requested_reviewer: title: User type: object @@ -220384,12 +219848,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: description: The pull request number. type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -222701,7 +222165,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 requested_team: title: Team description: Groups of organization members that gives permissions @@ -222893,12 +222357,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: description: The pull request number. type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -225205,7 +224669,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 requested_reviewer: title: User type: object @@ -225290,12 +224754,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: description: The pull request number. type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -227593,7 +227057,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 requested_team: title: Team description: Groups of organization members that gives permissions @@ -227774,9 +227238,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: title: Simple Pull Request type: object @@ -229973,8 +229437,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *894 - review: *955 + repository: *892 + review: *953 sender: *4 required: - action @@ -230054,9 +229518,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: title: Simple Pull Request type: object @@ -232148,7 +231612,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *894 + repository: *892 sender: *4 thread: type: object @@ -232535,9 +231999,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: title: Simple Pull Request type: object @@ -234615,7 +234079,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *894 + repository: *892 sender: *4 thread: type: object @@ -235005,10 +234469,10 @@ x-webhooks: type: string before: type: string - enterprise: *891 - installation: *892 - number: *950 - organization: *893 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -237301,7 +236765,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -237383,11 +236847,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *956 - enterprise: *891 - installation: *892 - number: *950 - organization: *893 + assignee: *954 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -239692,7 +239156,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -239771,11 +239235,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *891 - installation: *892 - label: *914 - number: *950 - organization: *893 + enterprise: *889 + installation: *890 + label: *912 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -242070,7 +241534,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -242151,10 +241615,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *891 - installation: *892 - number: *950 - organization: *893 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -244441,7 +243905,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -244641,7 +244105,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *891 + enterprise: *889 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -244733,8 +244197,8 @@ x-webhooks: - url - author - committer - installation: *892 - organization: *893 + installation: *890 + organization: *891 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -245320,9 +244784,9 @@ x-webhooks: type: string enum: - published - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 registry_package: type: object properties: @@ -245768,7 +245232,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *937 + items: *935 summary: type: string tag_name: @@ -245822,7 +245286,7 @@ x-webhooks: - owner - package_version - registry - repository: *894 + repository: *892 sender: *4 required: - action @@ -245900,9 +245364,9 @@ x-webhooks: type: string enum: - updated - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 registry_package: type: object properties: @@ -246210,7 +245674,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *937 + items: *935 summary: type: string tag_name: @@ -246259,7 +245723,7 @@ x-webhooks: - owner - package_version - registry - repository: *894 + repository: *892 sender: *4 required: - action @@ -246336,10 +245800,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - release: &957 + enterprise: *889 + installation: *890 + organization: *891 + release: &955 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -246657,7 +246121,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *894 + repository: *892 sender: *4 required: - action @@ -246734,11 +246198,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - release: *957 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + release: *955 + repository: *892 sender: *4 required: - action @@ -246855,11 +246319,11 @@ x-webhooks: type: boolean required: - to - enterprise: *891 - installation: *892 - organization: *893 - release: *957 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + release: *955 + repository: *892 sender: *4 required: - action @@ -246937,9 +246401,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -247261,7 +246725,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *894 + repository: *892 sender: *4 required: - action @@ -247337,10 +246801,10 @@ x-webhooks: type: string enum: - published - enterprise: *891 - installation: *892 - organization: *893 - release: &958 + enterprise: *889 + installation: *890 + organization: *891 + release: &956 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -247659,7 +247123,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *894 + repository: *892 sender: *4 required: - action @@ -247735,11 +247199,11 @@ x-webhooks: type: string enum: - released - enterprise: *891 - installation: *892 - organization: *893 - release: *957 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + release: *955 + repository: *892 sender: *4 required: - action @@ -247815,11 +247279,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *891 - installation: *892 - organization: *893 - release: *958 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + release: *956 + repository: *892 sender: *4 required: - action @@ -247895,11 +247359,11 @@ x-webhooks: type: string enum: - published - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - repository_advisory: *791 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + repository_advisory: *789 sender: *4 required: - action @@ -247975,11 +247439,11 @@ x-webhooks: type: string enum: - reported - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - repository_advisory: *791 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + repository_advisory: *789 sender: *4 required: - action @@ -248055,10 +247519,10 @@ x-webhooks: type: string enum: - archived - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248135,10 +247599,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248216,10 +247680,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248303,10 +247767,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248418,10 +247882,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248493,10 +247957,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 status: type: string @@ -248577,10 +248041,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248657,10 +248121,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248754,10 +248218,10 @@ x-webhooks: - name required: - repository - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248837,10 +248301,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 repository_ruleset: *195 sender: *4 required: @@ -248919,10 +248383,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 repository_ruleset: *195 sender: *4 required: @@ -249001,10 +248465,10 @@ x-webhooks: type: string enum: - edited - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 repository_ruleset: *195 changes: type: object @@ -249066,16 +248530,16 @@ x-webhooks: properties: added: type: array - items: *758 + items: *756 deleted: type: array - items: *758 + items: *756 updated: type: array items: type: object properties: - rule: *758 + rule: *756 changes: type: object properties: @@ -249309,10 +248773,10 @@ x-webhooks: - from required: - owner - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -249390,10 +248854,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -249471,7 +248935,7 @@ x-webhooks: type: string enum: - create - alert: &959 + alert: &957 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -249593,10 +249057,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -249802,10 +249266,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -249883,11 +249347,11 @@ x-webhooks: type: string enum: - reopen - alert: *959 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *957 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250086,10 +249550,10 @@ x-webhooks: enum: - fixed - open - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250167,7 +249631,7 @@ x-webhooks: type: string enum: - assigned - alert: &960 + alert: &958 type: object properties: number: *131 @@ -250310,10 +249774,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250391,11 +249855,11 @@ x-webhooks: type: string enum: - created - alert: *960 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *958 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250476,11 +249940,11 @@ x-webhooks: type: string enum: - created - alert: *960 - installation: *892 - location: *961 - organization: *893 - repository: *894 + alert: *958 + installation: *890 + location: *959 + organization: *891 + repository: *892 sender: *4 required: - location @@ -250718,11 +250182,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *960 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *958 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250800,11 +250264,11 @@ x-webhooks: type: string enum: - reopened - alert: *960 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *958 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250882,11 +250346,11 @@ x-webhooks: type: string enum: - resolved - alert: *960 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *958 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250964,12 +250428,12 @@ x-webhooks: type: string enum: - unassigned - alert: *960 + alert: *958 assignee: *4 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -251047,11 +250511,11 @@ x-webhooks: type: string enum: - validated - alert: *960 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *958 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -251177,10 +250641,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *894 - enterprise: *891 - installation: *892 - organization: *893 + repository: *892 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 required: - action @@ -251258,11 +250722,11 @@ x-webhooks: type: string enum: - published - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - security_advisory: &962 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + security_advisory: &960 description: The details of the security advisory, including summary, description, and severity. type: object @@ -251445,11 +250909,11 @@ x-webhooks: type: string enum: - updated - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - security_advisory: *962 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + security_advisory: *960 sender: *4 required: - action @@ -251522,10 +250986,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -251709,11 +251173,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *452 - enterprise: *891 - installation: *892 - organization: *893 - repository: *499 + security_and_analysis: *449 + enterprise: *889 + installation: *890 + organization: *891 + repository: *496 sender: *4 required: - changes @@ -251791,12 +251255,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: &963 + sponsorship: &961 type: object properties: created_at: @@ -252097,12 +251561,12 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: *963 + sponsorship: *961 required: - action - sponsorship @@ -252190,12 +251654,12 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: *963 + sponsorship: *961 required: - action - changes @@ -252272,17 +251736,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &964 + effective_date: &962 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: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: *963 + sponsorship: *961 required: - action - sponsorship @@ -252356,7 +251820,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &965 + changes: &963 type: object properties: tier: @@ -252400,13 +251864,13 @@ x-webhooks: - from required: - tier - effective_date: *964 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + effective_date: *962 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: *963 + sponsorship: *961 required: - action - changes @@ -252483,13 +251947,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *965 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + changes: *963 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: *963 + sponsorship: *961 required: - action - changes @@ -252563,10 +252027,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -252649,10 +252113,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -253072,15 +252536,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *891 + enterprise: *889 id: description: The unique identifier of the status. type: integer - installation: *892 + installation: *890 name: type: string - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 sha: description: The Commit SHA. @@ -253189,15 +252653,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *228 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *892 - organization: *893 - repository: *894 + sub_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -253280,15 +252744,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *228 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *892 - organization: *893 - repository: *894 + sub_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -253371,15 +252835,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *228 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *892 - organization: *893 - repository: *894 + parent_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -253462,15 +252926,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *228 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *892 - organization: *893 - repository: *894 + parent_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -253546,12 +253010,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - team: &966 + team: &964 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -253774,9 +253238,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 repository: title: Repository description: A git repository @@ -254234,7 +253698,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *966 + team: *964 required: - action - team @@ -254310,9 +253774,9 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 repository: title: Repository description: A git repository @@ -254770,7 +254234,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *966 + team: *964 required: - action - team @@ -254847,9 +254311,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 repository: title: Repository description: A git repository @@ -255307,7 +254771,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *966 + team: *964 required: - action - team @@ -255451,9 +254915,9 @@ x-webhooks: - from required: - permissions - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 repository: title: Repository description: A git repository @@ -255911,7 +255375,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *966 + team: *964 required: - action - changes @@ -255989,9 +255453,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 repository: title: Repository description: A git repository @@ -256449,7 +255913,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *966 + team: *964 required: - action - team @@ -256525,10 +255989,10 @@ x-webhooks: type: string enum: - started - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -256601,16 +256065,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *891 + enterprise: *889 inputs: type: object nullable: true additionalProperties: true - installation: *892 - organization: *893 + installation: *890 + organization: *891 ref: type: string - repository: *894 + repository: *892 sender: *4 workflow: type: string @@ -256692,10 +256156,10 @@ x-webhooks: type: string enum: - completed - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 workflow_job: allOf: @@ -256932,7 +256396,7 @@ x-webhooks: type: string required: - conclusion - deployment: *640 + deployment: *637 required: - action - repository @@ -257011,10 +256475,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 workflow_job: allOf: @@ -257274,7 +256738,7 @@ x-webhooks: required: - status - steps - deployment: *640 + deployment: *637 required: - action - repository @@ -257353,10 +256817,10 @@ x-webhooks: type: string enum: - queued - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 workflow_job: type: object @@ -257491,7 +256955,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *640 + deployment: *637 required: - action - repository @@ -257570,10 +257034,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 workflow_job: type: object @@ -257709,7 +257173,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *640 + deployment: *637 required: - action - repository @@ -257789,12 +257253,12 @@ x-webhooks: type: string enum: - completed - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - workflow: *910 + workflow: *908 workflow_run: title: Workflow Run type: object @@ -258793,12 +258257,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - workflow: *910 + workflow: *908 workflow_run: title: Workflow Run type: object @@ -259782,12 +259246,12 @@ x-webhooks: type: string enum: - requested - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - workflow: *910 + workflow: *908 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index 46ccb6131b..c60516a0ac 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -47391,646 +47391,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -77824,655 +77184,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -144840,7 +143551,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" ], @@ -171461,646 +170172,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -277127,655 +275198,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -284828,7 +282250,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" ], @@ -284995,7 +282417,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -285019,7 +282441,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -285043,7 +282465,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -285067,7 +282489,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -285091,7 +282513,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -285115,7 +282537,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -285184,12 +282606,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -398528,7 +395944,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" } @@ -439546,6 +436962,665 @@ } } }, + "/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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index a78dd33df4..27daec53d5 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -844,7 +844,7 @@ paths: - subscriptions_url - type - url - type: &477 + type: &474 type: string description: The type of credit the user is receiving. enum: @@ -976,7 +976,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &268 + schema: &265 title: Validation Error Simple description: Validation Error Simple type: object @@ -1009,7 +1009,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: - - &793 + - &791 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3650,7 +3650,7 @@ paths: GitHub. type: object nullable: true - properties: &226 + properties: &223 id: description: Unique identifier of the GitHub app example: 37 @@ -3783,7 +3783,7 @@ paths: about itself. example: 5 type: integer - required: &227 + required: &224 - id - node_id - owner @@ -4088,7 +4088,7 @@ paths: schema: type: integer default: 30 - - &376 + - &373 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 @@ -4097,7 +4097,7 @@ paths: required: false schema: type: string - - &377 + - &374 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4117,7 +4117,7 @@ paths: application/json: schema: type: array - items: &378 + items: &375 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4197,7 +4197,7 @@ paths: - installation_id - repository_id examples: - default: &379 + default: &376 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4229,7 +4229,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &802 + schema: &800 title: Scim Error description: Scim Error type: object @@ -4256,7 +4256,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &267 + schema: &264 title: Validation Error description: Validation Error type: object @@ -4325,7 +4325,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &377 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4439,7 +4439,7 @@ paths: - request - response examples: - default: &381 + default: &378 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4640,7 +4640,7 @@ paths: parameters: - *17 - *19 - - &238 + - &235 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) @@ -5450,7 +5450,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &450 + properties: &447 id: description: Unique identifier of the repository example: 42 @@ -5470,7 +5470,7 @@ paths: title: License Simple description: License Simple type: object - properties: &234 + properties: &231 key: type: string example: mit @@ -5492,7 +5492,7 @@ paths: html_url: type: string format: uri - required: &235 + required: &232 - key - name - url @@ -5886,7 +5886,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &451 + required: &448 - archive_url - assignees_url - blobs_url @@ -10201,7 +10201,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &266 type: object properties: total_active_caches_count: @@ -10216,7 +10216,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &270 + default: &267 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10409,7 +10409,7 @@ paths: - public_ip_enabled - platform examples: - default: &271 + default: &268 value: total_count: 2 runners: @@ -10704,7 +10704,7 @@ paths: application/json: schema: *49 examples: - default: &272 + default: &269 value: id: 1 platform: linux-x64 @@ -10844,7 +10844,7 @@ paths: application/json: schema: *52 examples: - default: &273 + default: &270 value: version: 1.0.0 size_gb: 75 @@ -11008,7 +11008,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &271 type: object properties: public_ips: @@ -11033,7 +11033,7 @@ paths: required: - public_ips examples: - default: &275 + default: &272 value: public_ips: current_usage: 17 @@ -11073,7 +11073,7 @@ paths: type: array items: *56 examples: - default: &276 + default: &273 value: id: 4-core cpu_cores: 4 @@ -11388,7 +11388,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &274 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11499,7 +11499,7 @@ paths: - all - local_only - selected - selected_actions_url: &279 + selected_actions_url: &276 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` @@ -11579,7 +11579,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &281 + schema: &278 type: object properties: days: @@ -11597,7 +11597,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &803 + '401': &801 description: Authorization failure '404': *6 x-github: @@ -11625,7 +11625,7 @@ paths: required: true content: application/json: - schema: &282 + schema: &279 type: object properties: days: @@ -11674,7 +11674,7 @@ paths: required: - approval_policy examples: - default: &283 + default: &280 value: approval_policy: first_time_contributors '404': *6 @@ -11732,7 +11732,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &281 type: object required: - run_workflows_from_fork_pull_requests @@ -11786,7 +11786,7 @@ paths: required: true content: application/json: - schema: &285 + schema: &282 type: object required: - run_workflows_from_fork_pull_requests @@ -12209,7 +12209,7 @@ paths: description: Success response content: application/json: - schema: &288 + schema: &285 type: object properties: default_workflow_permissions: &69 @@ -12257,7 +12257,7 @@ paths: required: true content: application/json: - schema: &289 + schema: &286 type: object properties: default_workflow_permissions: *69 @@ -13102,7 +13102,7 @@ paths: application/json: schema: type: array - items: &293 + items: &290 title: Runner Application description: Runner Application type: object @@ -13127,7 +13127,7 @@ paths: - download_url - filename examples: - default: &294 + default: &291 value: - os: osx architecture: x64 @@ -13211,7 +13211,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &295 + '201': &292 description: Response content: application/json: @@ -13326,7 +13326,7 @@ paths: - token - expires_at examples: - default: &296 + default: &293 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13366,7 +13366,7 @@ paths: application/json: schema: *81 examples: - default: &297 + default: &294 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13398,7 +13398,7 @@ paths: application/json: schema: *78 examples: - default: &298 + default: &295 value: id: 23 name: MBP @@ -13615,7 +13615,7 @@ paths: - *41 - *77 responses: - '200': &299 + '200': &296 description: Response content: application/json: @@ -13671,7 +13671,7 @@ paths: parameters: - *41 - *77 - - &300 + - &297 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13762,7 +13762,7 @@ paths: required: true content: application/json: - schema: &314 + schema: &311 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14403,7 +14403,7 @@ paths: required: false schema: type: string - - &317 + - &314 name: include description: |- The event types to include: @@ -14421,7 +14421,7 @@ paths: - web - git - all - - &318 + - &315 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. @@ -14429,7 +14429,7 @@ paths: required: false schema: type: string - - &319 + - &316 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. @@ -14437,7 +14437,7 @@ paths: required: false schema: type: string - - &320 + - &317 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14459,7 +14459,7 @@ paths: application/json: schema: type: array - items: &321 + items: &318 type: object properties: "@timestamp": @@ -14581,7 +14581,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &322 + default: &319 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15247,7 +15247,7 @@ paths: application/json: schema: type: array - items: &323 + items: &320 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15408,7 +15408,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &324 + default: &321 value: - id: 21 number: 42 @@ -15513,7 +15513,7 @@ paths: application/json: schema: type: array - items: &326 + items: &323 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15638,7 +15638,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &327 + default: &324 value: - id: 21 number: 42 @@ -15723,7 +15723,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &332 + - &329 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`, @@ -15733,7 +15733,7 @@ paths: schema: &113 type: string description: The name of the tool used to generate the code scanning analysis. - - &333 + - &330 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 @@ -15756,7 +15756,7 @@ paths: be returned. in: query required: false - schema: &334 + schema: &331 type: string description: State of a code scanning alert. enum: @@ -15789,7 +15789,7 @@ paths: application/json: schema: type: array - items: &335 + items: &332 type: object properties: number: &131 @@ -15818,7 +15818,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &567 + instances_url: &564 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15853,7 +15853,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &568 + dismissed_reason: &565 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -15862,13 +15862,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &569 + dismissed_comment: &566 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &570 + rule: &567 type: object properties: id: @@ -15921,7 +15921,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &571 + tool: &568 type: object properties: name: *113 @@ -15931,26 +15931,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *114 - most_recent_instance: &572 + most_recent_instance: &569 type: object properties: - ref: &565 + ref: &562 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &582 + analysis_key: &579 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: &583 + environment: &580 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: &584 + category: &581 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15970,7 +15970,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: &585 + location: &582 type: object description: Describe a region within a file for the alert. properties: @@ -15991,7 +15991,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: &586 + items: &583 type: string description: A classification of the file. For example to identify it as generated. @@ -16304,7 +16304,7 @@ paths: - most_recent_instance - repository examples: - default: &336 + default: &333 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17187,7 +17187,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &335 type: array description: A list of default code security configurations items: @@ -17203,7 +17203,7 @@ paths: default configuration: *116 examples: - default: &339 + default: &336 value: - default_for_new_repos: public configuration: @@ -17661,7 +17661,7 @@ paths: default: value: default_for_new_repos: all - configuration: &337 + configuration: &334 value: id: 1325 target_type: organization @@ -17751,7 +17751,7 @@ paths: application/json: schema: type: array - items: &340 + items: &337 type: object description: Repositories associated with a code security configuration and attachment status @@ -17775,7 +17775,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &341 + repository: &338 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18264,7 +18264,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &328 + - &325 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18339,7 +18339,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &416 + properties: &413 id: description: Unique identifier of the team type: integer @@ -18411,7 +18411,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &417 + required: &414 - id - node_id - url @@ -19092,7 +19092,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &348 + '413': &345 description: Payload Too Large content: application/json: @@ -19462,479 +19462,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: - - *41 - - 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: &215 - 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 - description: Usage metrics for Copilot editor code completions - in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model - (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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: &216 - 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': *40 - '403': *29 - '404': *6 - '422': &217 - 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 @@ -20496,7 +20023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &353 + - &350 name: classification in: query description: |- @@ -20505,7 +20032,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &354 + - &351 name: state in: query description: |- @@ -20514,7 +20041,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &355 + - &352 name: severity in: query description: |- @@ -20523,7 +20050,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &356 + - &353 name: ecosystem in: query description: |- @@ -20532,14 +20059,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &357 + - &354 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 - - &358 + - &355 name: epss_percentage in: query description: |- @@ -20551,7 +20078,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 - - &629 + - &626 name: has in: query description: |- @@ -20565,7 +20092,7 @@ paths: type: string enum: - patch - - &359 + - &356 name: assignee in: query description: |- @@ -20574,7 +20101,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &360 + - &357 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20584,7 +20111,7 @@ paths: enum: - development - runtime - - &361 + - &358 name: sort in: query description: |- @@ -20610,7 +20137,7 @@ paths: application/json: schema: type: array - items: &362 + items: &359 type: object description: A Dependabot alert. properties: @@ -20674,7 +20201,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &630 + security_advisory: &627 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20891,14 +20418,14 @@ paths: nullable: true maxLength: 280 fixed_at: *141 - auto_dismissed_at: &631 + auto_dismissed_at: &628 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &632 + dismissal_request: &629 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -20960,7 +20487,7 @@ paths: - repository additionalProperties: false examples: - default: &363 + default: &360 value: - number: 2 state: dismissed @@ -21345,7 +20872,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &361 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21371,7 +20898,7 @@ paths: nullable: true additionalProperties: false examples: - default: &365 + default: &362 value: default_level: public accessible_repositories: @@ -21593,7 +21120,7 @@ paths: - *105 - *106 - *107 - - &367 + - &364 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21619,7 +21146,7 @@ paths: application/json: schema: type: array - items: &369 + items: &366 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21740,7 +21267,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &370 + default: &367 value: - id: 21 number: 42 @@ -22271,7 +21798,7 @@ paths: type: array items: *150 examples: - default: &218 + default: &215 value: - id: 1 name: Justice League @@ -22434,7 +21961,7 @@ paths: application/json: schema: *22 examples: - default: &393 + default: &390 value: id: 1 account: @@ -22688,7 +22215,7 @@ paths: - name - created_on examples: - default: &482 + default: &479 value: total_count: 2 network_configurations: @@ -22939,7 +22466,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: - *41 - - &483 + - &480 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -22951,7 +22478,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &481 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -22985,7 +22512,7 @@ paths: - subnet_id - region examples: - default: &485 + default: &482 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23804,7 +23331,7 @@ paths: required: true content: application/json: - schema: &449 + schema: &446 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24998,7 +24525,7 @@ paths: nullable: true anyOf: - *166 - - &455 + - &452 title: Organization ruleset conditions type: object description: |- @@ -25045,7 +24572,7 @@ paths: - *169 rules: type: array - items: &758 + items: &756 title: Repository Rule type: object description: A repository rule. @@ -25054,7 +24581,7 @@ paths: - *175 - *176 - *177 - - &756 + - &754 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25382,7 +24909,7 @@ paths: type: string format: date-time examples: - default: &458 + default: &455 value: - version_id: 3 actor: @@ -25435,7 +24962,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &456 allOf: - *199 - type: object @@ -25490,7 +25017,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &460 + - &457 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -25501,7 +25028,7 @@ paths: enum: - open - resolved - - &461 + - &458 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -25511,7 +25038,7 @@ paths: required: false schema: type: string - - &462 + - &459 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -25522,7 +25049,7 @@ paths: required: false schema: type: string - - &463 + - &460 name: exclude_providers in: query description: |- @@ -25533,7 +25060,7 @@ paths: required: false schema: type: string - - &464 + - &461 name: providers in: query description: |- @@ -25544,7 +25071,7 @@ paths: required: false schema: type: string - - &465 + - &462 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -25553,7 +25080,7 @@ paths: required: false schema: type: string - - &466 + - &463 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -25572,7 +25099,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &467 + - &464 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. @@ -25588,7 +25115,7 @@ paths: - *17 - *110 - *111 - - &468 + - &465 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -25597,7 +25124,7 @@ paths: required: false schema: type: string - - &469 + - &466 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -25606,7 +25133,7 @@ paths: schema: type: boolean default: false - - &470 + - &467 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -25615,7 +25142,7 @@ paths: schema: type: boolean default: false - - &471 + - &468 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -25624,7 +25151,7 @@ paths: schema: type: boolean default: false - - &472 + - &469 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -25642,7 +25169,7 @@ paths: application/json: schema: type: array - items: &473 + items: &470 type: object properties: number: *131 @@ -25661,14 +25188,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &771 + state: &769 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: &772 + resolution: &770 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -25785,8 +25312,8 @@ paths: pull request. ' - oneOf: &773 - - &775 + oneOf: &771 + - &773 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -25844,7 +25371,7 @@ paths: - blob_url - commit_sha - commit_url - - &776 + - &774 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. @@ -25899,7 +25426,7 @@ paths: - page_url - commit_sha - commit_url - - &777 + - &775 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -25919,7 +25446,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &778 + - &776 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -25939,7 +25466,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &779 + - &777 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -25959,7 +25486,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &780 + - &778 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -25973,7 +25500,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &781 + - &779 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -25987,7 +25514,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &782 + - &780 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26001,7 +25528,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &783 + - &781 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. @@ -26021,7 +25548,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &784 + - &782 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. @@ -26041,7 +25568,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &785 + - &783 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. @@ -26061,7 +25588,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &786 + - &784 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. @@ -26081,7 +25608,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &787 + - &785 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 request. @@ -26129,7 +25656,7 @@ paths: required: *21 nullable: true examples: - default: &474 + default: &471 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26338,7 +25865,7 @@ paths: description: Response content: application/json: - schema: &475 + schema: &472 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -26421,7 +25948,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *201 examples: - default: &476 + default: &473 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -26557,7 +26084,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &479 + - &476 name: advanced_security_product in: query description: | @@ -26577,7 +26104,7 @@ paths: description: Success content: application/json: - schema: &480 + schema: &477 type: object properties: total_advanced_security_committers: @@ -26632,7 +26159,7 @@ paths: required: - repositories examples: - default: &481 + default: &478 value: total_advanced_security_committers: 2 total_count: 2 @@ -29024,78 +28551,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: - - *41 - - *146 - - 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: *215 - examples: - default: *216 - '500': *40 - '403': *29 - '404': *6 - '422': *217 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -29119,7 +28574,7 @@ paths: type: array items: *150 examples: - default: *218 + default: *215 headers: Link: *47 '403': *29 @@ -29208,7 +28663,7 @@ paths: application/json: schema: *150 examples: - default: &223 + default: &220 value: id: 1 name: Justice League @@ -29237,7 +28692,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &219 + - &216 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -29256,7 +28711,7 @@ paths: type: array items: *4 examples: - default: &220 + default: &217 value: - login: octocat id: 1 @@ -29295,7 +28750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29326,7 +28781,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29344,7 +28799,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29375,7 +28830,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29393,7 +28848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *219 + - *216 - *148 responses: '200': @@ -29402,7 +28857,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &221 + exampleKey1: &218 value: login: octocat id: 1 @@ -29438,7 +28893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *219 + - *216 - *148 responses: '201': @@ -29447,7 +28902,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *221 + exampleKey1: *218 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29465,7 +28920,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *219 + - *216 - *148 responses: '204': @@ -29488,7 +28943,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *219 + - *216 - *17 - *19 responses: @@ -29500,7 +28955,7 @@ paths: type: array items: *75 examples: - default: &222 + default: &219 value: login: github id: 1 @@ -29531,7 +28986,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29561,7 +29016,7 @@ paths: type: array items: *75 examples: - default: &262 + default: &259 value: - login: github id: 1 @@ -29592,7 +29047,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29633,7 +29088,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *219 + - *216 - *89 responses: '200': @@ -29642,7 +29097,7 @@ paths: application/json: schema: *75 examples: - default: *222 + default: *219 '404': description: The team is not assigned to the organization x-github: @@ -29661,7 +29116,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *219 + - *216 - *89 responses: '201': @@ -29670,7 +29125,7 @@ paths: application/json: schema: *75 examples: - default: *222 + default: *219 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29687,7 +29142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *219 + - *216 - *89 responses: '204': @@ -29712,7 +29167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &224 + - &221 name: team_slug description: The slug of the team name. in: path @@ -29726,7 +29181,7 @@ paths: application/json: schema: *150 examples: - default: *223 + default: *220 headers: Link: *47 '403': *29 @@ -29746,7 +29201,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *224 + - *221 requestBody: required: true content: @@ -29813,7 +29268,7 @@ paths: application/json: schema: *150 examples: - default: *223 + default: *220 headers: Link: *47 '403': *29 @@ -29836,7 +29291,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *224 + - *221 responses: '204': description: Response @@ -29935,7 +29390,7 @@ paths: application/json: schema: type: array - items: &257 + items: &254 title: Event description: Event type: object @@ -29945,7 +29400,7 @@ paths: type: type: string nullable: true - actor: &225 + actor: &222 title: Actor description: Actor type: object @@ -29985,7 +29440,7 @@ paths: - id - name - url - org: *225 + org: *222 payload: oneOf: - title: CreateEvent @@ -30031,7 +29486,7 @@ paths: properties: action: type: string - discussion: &911 + discussion: &909 title: Discussion description: A Discussion in a repository. type: object @@ -30318,7 +29773,7 @@ paths: - id labels: type: array - items: &230 + items: &227 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -30393,12 +29848,12 @@ paths: properties: action: type: string - issue: &231 + issue: &228 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &690 + properties: &688 id: type: integer format: int64 @@ -30504,7 +29959,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &438 + properties: &435 url: type: string format: uri @@ -30574,7 +30029,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &439 + required: &436 - closed_issues - creator - description @@ -30653,7 +30108,7 @@ paths: timeline_url: type: string format: uri - type: &403 + type: &400 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -30716,9 +30171,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - author_association: &228 + properties: *223 + required: *224 + author_association: &225 title: author_association type: string example: OWNER @@ -30733,7 +30188,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &229 + reactions: &226 title: Reaction Rollup type: object properties: @@ -30769,7 +30224,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &830 + sub_issues_summary: &828 title: Sub-issues Summary type: object properties: @@ -30794,7 +30249,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &232 + properties: &229 id: description: Unique identifier of the issue comment example: 42 @@ -30837,7 +30292,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *225 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -30848,15 +30303,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *223 + required: *224 + reactions: *226 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &713 + properties: &711 pinned_at: type: string format: date-time @@ -30868,11 +30323,11 @@ paths: properties: *20 required: *21 nullable: true - required: &714 + required: &712 - pinned_at - pinned_by nullable: true - required: &233 + required: &230 - id - node_id - html_url @@ -30882,7 +30337,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &831 + issue_dependencies_summary: &829 title: Issue Dependencies Summary type: object properties: @@ -30901,7 +30356,7 @@ paths: - total_blocking issue_field_values: type: array - items: &697 + items: &695 title: Issue Field Value description: A value assigned to an issue field type: object @@ -30988,7 +30443,7 @@ paths: - node_id - data_type - value - required: &691 + required: &689 - closed_at - comments - comments_url @@ -31012,10 +30467,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *227 labels: type: array - items: *230 + items: *227 required: - action - issue @@ -31024,14 +30479,14 @@ paths: properties: action: type: string - issue: *231 - comment: &686 + issue: *228 + comment: &684 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 required: - action - issue @@ -31204,8 +30659,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true allow_forking: type: boolean @@ -31294,7 +30749,7 @@ paths: type: string number: type: integer - pull_request: &236 + pull_request: &233 title: Pull Request Minimal type: object properties: @@ -31365,10 +30820,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *227 labels: type: array - items: *230 + items: *227 required: - action - number @@ -31378,7 +30833,7 @@ paths: properties: action: type: string - pull_request: *236 + pull_request: *233 comment: type: object properties: @@ -31629,7 +31084,7 @@ paths: - pull_request updated_at: type: string - pull_request: *236 + pull_request: *233 required: - action - review @@ -31678,7 +31133,7 @@ paths: updated_at: type: string format: date-time - reactions: *229 + reactions: *226 required: - action - comment @@ -31689,7 +31144,7 @@ paths: type: string release: allOf: - - &749 + - &747 title: Release description: A release. type: object @@ -31760,7 +31215,7 @@ paths: author: *4 assets: type: array - items: &750 + items: &748 title: Release Asset description: Data related to a release. type: object @@ -31835,7 +31290,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *229 + reactions: *226 required: - assets_url - upload_url @@ -32008,7 +31463,7 @@ paths: _links: type: object properties: - timeline: &237 + timeline: &234 title: Link With Type description: Hypermedia Link with Type type: object @@ -32020,17 +31475,17 @@ paths: required: - href - type - user: *237 - security_advisories: *237 - current_user: *237 - current_user_public: *237 - current_user_actor: *237 - current_user_organization: *237 + user: *234 + security_advisories: *234 + current_user: *234 + current_user_public: *234 + current_user_actor: *234 + current_user_organization: *234 current_user_organizations: type: array - items: *237 - repository_discussions: *237 - repository_discussions_category: *237 + items: *234 + repository_discussions: *234 + repository_discussions_category: *234 required: - timeline - user @@ -32092,7 +31547,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *238 + - *235 - *17 - *19 responses: @@ -32102,7 +31557,7 @@ paths: application/json: schema: type: array - items: &239 + items: &236 title: Base Gist description: Base Gist type: object @@ -32187,7 +31642,7 @@ paths: - created_at - updated_at examples: - default: &240 + default: &237 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -32308,7 +31763,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &238 title: Gist Simple description: Gist Simple type: object @@ -32476,7 +31931,7 @@ paths: truncated: type: boolean examples: - default: &242 + default: &239 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -32580,7 +32035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *238 + - *235 - *17 - *19 responses: @@ -32590,9 +32045,9 @@ paths: application/json: schema: type: array - items: *239 + items: *236 examples: - default: *240 + default: *237 headers: Link: *47 '422': *15 @@ -32614,7 +32069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *238 + - *235 - *17 - *19 responses: @@ -32624,9 +32079,9 @@ paths: application/json: schema: type: array - items: *239 + items: *236 examples: - default: *240 + default: *237 headers: Link: *47 '401': *25 @@ -32653,7 +32108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &243 + - &240 name: gist_id description: The unique identifier of the gist. in: path @@ -32665,10 +32120,10 @@ paths: description: Response content: application/json: - schema: *241 + schema: *238 examples: - default: *242 - '403': &246 + default: *239 + '403': &243 description: Forbidden Gist content: application/json: @@ -32715,7 +32170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *243 + - *240 requestBody: required: true content: @@ -32775,9 +32230,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *238 examples: - updateGist: *242 + updateGist: *239 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -32935,7 +32390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *243 + - *240 responses: '204': description: Response @@ -32963,7 +32418,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *243 + - *240 - *17 - *19 responses: @@ -32973,7 +32428,7 @@ paths: application/json: schema: type: array - items: &244 + items: &241 title: Gist Comment description: A comment made to a gist. type: object @@ -33008,7 +32463,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *228 + author_association: *225 required: - url - id @@ -33072,7 +32527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *243 + - *240 requestBody: required: true content: @@ -33097,9 +32552,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *241 examples: - default: &245 + default: &242 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -33156,8 +32611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *243 - - &247 + - *240 + - &244 name: comment_id description: The unique identifier of the comment. in: path @@ -33170,12 +32625,12 @@ paths: description: Response content: application/json: - schema: *244 + schema: *241 examples: - default: *245 + default: *242 '304': *37 '404': *6 - '403': *246 + '403': *243 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33196,8 +32651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *243 - - *247 + - *240 + - *244 requestBody: required: true content: @@ -33222,9 +32677,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *241 examples: - default: *245 + default: *242 '404': *6 x-github: githubCloudOnly: false @@ -33241,8 +32696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *243 - - *247 + - *240 + - *244 responses: '204': description: Response @@ -33265,7 +32720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *243 + - *240 - *17 - *19 responses: @@ -33366,7 +32821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *243 + - *240 - *17 - *19 responses: @@ -33376,7 +32831,7 @@ paths: application/json: schema: type: array - items: *241 + items: *238 examples: default: value: @@ -33441,13 +32896,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *243 + - *240 responses: '201': description: Response content: application/json: - schema: *239 + schema: *236 examples: default: value: @@ -33517,7 +32972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *243 + - *240 responses: '204': description: Response if gist is starred @@ -33547,7 +33002,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *243 + - *240 responses: '204': description: Response @@ -33569,7 +33024,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *243 + - *240 responses: '204': description: Response @@ -33597,7 +33052,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *243 + - *240 - name: sha in: path required: true @@ -33608,9 +33063,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *238 examples: - default: *242 + default: *239 '422': *15 '404': *6 '403': *29 @@ -33990,7 +33445,7 @@ paths: - closed - all default: open - - &406 + - &403 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -34009,7 +33464,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - name: collab in: query required: false @@ -34039,9 +33494,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: &407 + default: &404 value: - id: 1 node_id: MDU6SXNzdWUx @@ -34325,8 +33780,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 examples: default: value: @@ -34611,7 +34066,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &248 + X-CommonMarker-Version: &245 example: 0.17.4 schema: type: string @@ -34666,7 +34121,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *248 + X-CommonMarker-Version: *245 content: text/html: schema: @@ -34695,7 +34150,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: - - &251 + - &248 name: account_id description: account_id parameter in: path @@ -34707,7 +34162,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &247 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -34737,7 +34192,7 @@ paths: nullable: true id: type: integer - plan: &249 + plan: &246 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -34826,7 +34281,7 @@ paths: nullable: true updated_at: type: string - plan: *249 + plan: *246 required: - url - id @@ -34834,7 +34289,7 @@ paths: - login - marketplace_purchase examples: - default: &252 + default: &249 value: url: https://api.github.com/orgs/github type: Organization @@ -34919,9 +34374,9 @@ paths: application/json: schema: type: array - items: *249 + items: *246 examples: - default: &253 + default: &250 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -34961,14 +34416,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &254 + - &251 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &255 + - &252 name: sort description: The property to sort the results by. in: query @@ -34998,9 +34453,9 @@ paths: application/json: schema: type: array - items: *250 + items: *247 examples: - default: &256 + default: &253 value: - url: https://api.github.com/orgs/github type: Organization @@ -35074,15 +34529,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: - - *251 + - *248 responses: '200': description: Response content: application/json: - schema: *250 + schema: *247 examples: - default: *252 + default: *249 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -35114,9 +34569,9 @@ paths: application/json: schema: type: array - items: *249 + items: *246 examples: - default: *253 + default: *250 headers: Link: *47 '401': *25 @@ -35139,8 +34594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *254 - - *255 + - *251 + - *252 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -35160,9 +34615,9 @@ paths: application/json: schema: type: array - items: *250 + items: *247 examples: - default: *256 + default: *253 headers: Link: *47 '401': *25 @@ -35426,14 +34881,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: - - &494 + - &491 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &495 + - &492 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -35450,7 +34905,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -35495,7 +34950,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &500 + '301': &497 description: Moved permanently content: application/json: @@ -35517,7 +34972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &723 + - &721 name: all description: If `true`, show notifications marked as read. in: query @@ -35525,7 +34980,7 @@ paths: schema: type: boolean default: false - - &724 + - &722 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -35534,8 +34989,8 @@ paths: schema: type: boolean default: false - - *238 - - &725 + - *235 + - &723 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: @@ -35560,18 +35015,18 @@ paths: application/json: schema: type: array - items: &258 + items: &255 title: Thread description: Thread type: object properties: id: type: string - repository: &292 + repository: &289 title: Minimal Repository description: Minimal Repository type: object - properties: &371 + properties: &368 id: type: integer format: int64 @@ -35855,7 +35310,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &452 + security_and_analysis: &449 nullable: true type: object properties: @@ -35983,7 +35438,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &372 + required: &369 - archive_url - assignees_url - blobs_url @@ -36071,7 +35526,7 @@ paths: - url - subscription_url examples: - default: &726 + default: &724 value: - id: '1' repository: @@ -36237,7 +35692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &259 + - &256 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 @@ -36251,7 +35706,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *255 examples: default: value: @@ -36354,7 +35809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *259 + - *256 responses: '205': description: Reset Content @@ -36377,7 +35832,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *259 + - *256 responses: '204': description: No content @@ -36400,13 +35855,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: - - *259 + - *256 responses: '200': description: Response content: application/json: - schema: &260 + schema: &257 title: Thread Subscription description: Thread Subscription type: object @@ -36443,7 +35898,7 @@ paths: - url - subscribed examples: - default: &261 + default: &258 value: subscribed: true ignored: false @@ -36474,7 +35929,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *259 + - *256 requestBody: required: false content: @@ -36495,9 +35950,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *257 examples: - default: *261 + default: *258 '304': *37 '403': *29 '401': *25 @@ -36520,7 +35975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *259 + - *256 responses: '204': description: Response @@ -36617,7 +36072,7 @@ paths: type: array items: *75 examples: - default: *262 + default: *259 headers: Link: example: ; rel="next" @@ -36689,7 +36144,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &260 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -36727,7 +36182,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *260 examples: selected_actions: *44 responses: @@ -36762,7 +36217,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &261 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -36800,7 +36255,7 @@ paths: required: true content: application/json: - schema: *264 + schema: *261 examples: selected_actions: *46 responses: @@ -36843,7 +36298,7 @@ paths: type: array items: *160 examples: - default: &732 + default: &730 value: - property_name: environment value: production @@ -36893,7 +36348,7 @@ paths: required: - properties examples: - default: &733 + default: &731 value: properties: - property_name: environment @@ -36940,7 +36395,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &262 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -37268,7 +36723,7 @@ paths: - updated_at - archived_at examples: - default-response: &266 + default-response: &263 value: login: github id: 1 @@ -37588,17 +37043,17 @@ paths: description: Response content: application/json: - schema: *265 + schema: *262 examples: - default: *266 + default: *263 '422': description: Validation failed content: application/json: schema: oneOf: - - *267 - - *268 + - *264 + - *265 '409': *121 x-github: githubCloudOnly: false @@ -37654,9 +37109,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *266 examples: - default: *270 + default: *267 headers: Link: *47 x-github: @@ -37697,7 +37152,7 @@ paths: type: integer repository_cache_usages: type: array - items: &507 + items: &504 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -37772,7 +37227,7 @@ paths: type: array items: *48 examples: - default: *271 + default: *268 headers: Link: *47 x-github: @@ -37938,7 +37393,7 @@ paths: application/json: schema: *49 examples: - default: *272 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38030,7 +37485,7 @@ paths: application/json: schema: *52 examples: - default: *273 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38149,9 +37604,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *271 examples: - default: *275 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38187,7 +37642,7 @@ paths: type: array items: *56 examples: - default: *276 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38430,7 +37885,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *274 examples: default: *60 responses: @@ -38523,7 +37978,7 @@ paths: required: - include_claim_keys examples: - default: &278 + default: &275 value: include_claim_keys: - repo @@ -38568,13 +38023,13 @@ paths: format. type: boolean examples: - default: *278 + default: *275 responses: '201': description: Empty response content: application/json: - schema: &303 + schema: &300 title: Empty Object description: An object without any properties. type: object @@ -38613,7 +38068,7 @@ paths: schema: type: object properties: - enabled_repositories: &280 + enabled_repositories: &277 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -38627,7 +38082,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *62 - selected_actions_url: *279 + selected_actions_url: *276 sha_pinning_required: *63 required: - enabled_repositories @@ -38669,7 +38124,7 @@ paths: schema: type: object properties: - enabled_repositories: *280 + enabled_repositories: *277 allowed_actions: *62 sha_pinning_required: *63 required: @@ -38705,7 +38160,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *278 examples: response: summary: Example response @@ -38736,7 +38191,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *279 examples: application/json: value: @@ -38774,7 +38229,7 @@ paths: application/json: schema: *64 examples: - default: *283 + default: *280 '404': *6 x-github: enabledForGitHubApps: true @@ -38831,7 +38286,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *281 examples: default: *65 '403': *29 @@ -38856,7 +38311,7 @@ paths: required: true content: application/json: - schema: *285 + schema: *282 examples: default: *65 responses: @@ -38908,7 +38363,7 @@ paths: type: array items: *80 examples: - default: &287 + default: &284 value: total_count: 1 repositories: @@ -39093,7 +38548,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - &286 + - &283 name: repository_id description: The unique identifier of the repository. in: path @@ -39122,7 +38577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - *286 + - *283 responses: '204': description: Response @@ -39318,7 +38773,7 @@ paths: type: array items: *80 examples: - default: *287 + default: *284 '403': *29 '404': *6 x-github: @@ -39387,7 +38842,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: - *89 - - *286 + - *283 responses: '204': description: No content @@ -39414,7 +38869,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: - *89 - - *286 + - *283 responses: '204': description: No content @@ -39448,7 +38903,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *285 examples: default: *71 x-github: @@ -39482,7 +38937,7 @@ paths: required: false content: application/json: - schema: *289 + schema: *286 examples: default: *71 x-github: @@ -39529,7 +38984,7 @@ paths: type: number runner_groups: type: array - items: &290 + items: &287 type: object properties: id: @@ -39717,9 +39172,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *287 examples: - default: &291 + default: &288 value: id: 2 name: octo-runner-group @@ -39761,7 +39216,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *287 examples: default: value: @@ -39852,9 +39307,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *287 examples: - default: *291 + default: *288 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -39918,7 +39373,7 @@ paths: type: array items: *48 examples: - default: *271 + default: *268 headers: Link: *47 x-github: @@ -39959,9 +39414,9 @@ paths: type: number repositories: type: array - items: *292 + items: *289 examples: - default: &347 + default: &344 value: total_count: 1 repositories: @@ -40260,7 +39715,7 @@ paths: parameters: - *89 - *74 - - *286 + - *283 responses: '204': description: Response @@ -40284,7 +39739,7 @@ paths: parameters: - *89 - *74 - - *286 + - *283 responses: '204': description: Response @@ -40502,9 +39957,9 @@ paths: application/json: schema: type: array - items: *293 + items: *290 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40569,7 +40024,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *292 '404': *6 '422': *7 '409': *121 @@ -40608,7 +40063,7 @@ paths: application/json: schema: *81 examples: - default: *296 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40644,7 +40099,7 @@ paths: application/json: schema: *81 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40675,7 +40130,7 @@ paths: application/json: schema: *78 examples: - default: *298 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40850,7 +40305,7 @@ paths: - *89 - *77 responses: - '200': *299 + '200': *296 '404': *6 x-github: githubCloudOnly: false @@ -40879,7 +40334,7 @@ paths: parameters: - *89 - *77 - - *300 + - *297 responses: '200': *83 '404': *6 @@ -40924,7 +40379,7 @@ paths: type: integer secrets: type: array - items: &301 + items: &298 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -40956,7 +40411,7 @@ paths: - updated_at - visibility examples: - default: &307 + default: &304 value: total_count: 3 secrets: @@ -41003,7 +40458,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &305 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -41032,7 +40487,7 @@ paths: - key_id - key examples: - default: &309 + default: &306 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41058,7 +40513,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *89 - - &302 + - &299 name: secret_name description: The name of the secret. in: path @@ -41070,9 +40525,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *298 examples: - default: &310 + default: &307 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41101,7 +40556,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -41158,7 +40613,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -41185,7 +40640,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -41212,7 +40667,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -41230,9 +40685,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: &306 + default: &303 value: total_count: 1 repositories: @@ -41325,7 +40780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -41378,7 +40833,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -41412,7 +40867,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -41445,7 +40900,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *89 - - &311 + - &308 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)." @@ -41469,7 +40924,7 @@ paths: type: integer variables: type: array - items: &304 + items: &301 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -41512,7 +40967,7 @@ paths: - updated_at - visibility examples: - default: &312 + default: &309 value: total_count: 3 variables: @@ -41602,7 +41057,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -41628,7 +41083,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *89 - - &305 + - &302 name: name description: The name of the variable. in: path @@ -41640,9 +41095,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *301 examples: - default: &313 + default: &310 value: name: USERNAME value: octocat @@ -41671,7 +41126,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -41734,7 +41189,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *89 - - *305 + - *302 responses: '204': description: Response @@ -41761,7 +41216,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 - *19 - *17 responses: @@ -41779,9 +41234,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 '409': description: Response when the visibility of the variable is not set to `selected` @@ -41808,7 +41263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -41858,7 +41313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -41893,7 +41348,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -41945,9 +41400,9 @@ paths: type: integer secrets: type: array - items: *301 + items: *298 examples: - default: *307 + default: *304 headers: Link: *47 x-github: @@ -41978,9 +41433,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42003,15 +41458,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *301 + schema: *298 examples: - default: *310 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42034,7 +41489,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -42091,7 +41546,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -42118,7 +41573,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -42145,7 +41600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -42163,9 +41618,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42189,7 +41644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -42242,7 +41697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -42276,7 +41731,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -42310,7 +41765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *89 - - *311 + - *308 - *19 responses: '200': @@ -42327,9 +41782,9 @@ paths: type: integer variables: type: array - items: *304 + items: *301 examples: - default: *312 + default: *309 headers: Link: *47 x-github: @@ -42400,7 +41855,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -42426,15 +41881,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *89 - - *305 + - *302 responses: '200': description: Response content: application/json: - schema: *304 + schema: *301 examples: - default: *313 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42456,7 +41911,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -42519,7 +41974,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *89 - - *305 + - *302 responses: '204': description: Response @@ -42546,7 +42001,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 - *19 - *17 responses: @@ -42564,9 +42019,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 '409': description: Response when the visibility of the variable is not set to `selected` @@ -42593,7 +42048,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -42643,7 +42098,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -42678,7 +42133,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -42736,7 +42191,7 @@ paths: required: true content: application/json: - schema: *314 + schema: *311 examples: default: *87 parameters: @@ -42920,7 +42375,7 @@ paths: type: integer deployment_records: type: array - items: &315 + items: &312 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -42966,7 +42421,7 @@ paths: required: - total_count examples: - default: &316 + default: &313 value: total_count: 1 deployment_records: @@ -43146,11 +42601,11 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *312 required: - total_count examples: - default: *316 + default: *313 '403': description: Forbidden content: @@ -43389,9 +42844,9 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *312 examples: - default: *316 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43401,9 +42856,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 @@ -43520,12 +42975,12 @@ paths: required: - subject_digests examples: - default: &869 + default: &867 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &870 + withPredicateType: &868 value: subject_digests: - sha256:abc123 @@ -43569,7 +43024,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &871 + default: &869 value: attestations_subject_digests: - sha256:abc: @@ -43902,7 +43357,7 @@ paths: initiator: type: string examples: - default: &540 + default: &537 value: attestations: - bundle: @@ -44028,10 +43483,10 @@ paths: required: false schema: type: string + - *314 + - *315 + - *316 - *317 - - *318 - - *319 - - *320 - *17 responses: '200': @@ -44040,9 +43495,9 @@ paths: application/json: schema: type: array - items: *321 + items: *318 examples: - default: *322 + default: *319 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44071,7 +43526,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44165,7 +43620,7 @@ paths: subcategory: bypass-requests parameters: - *89 - - &325 + - &322 name: repository_name description: The name of the repository to filter on. in: query @@ -44184,9 +43639,9 @@ paths: application/json: schema: type: array - items: *323 + items: *320 examples: - default: *324 + default: *321 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -44210,7 +43665,7 @@ paths: subcategory: delegated-bypass parameters: - *89 - - *325 + - *322 - *105 - *106 - *107 @@ -44224,9 +43679,9 @@ paths: application/json: schema: type: array - items: *326 + items: *323 examples: - default: *327 + default: *324 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -44253,7 +43708,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &329 + schema: &326 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -44279,7 +43734,7 @@ paths: application/json: schema: type: array - items: &330 + items: &327 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -44310,7 +43765,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *328 + items: *325 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -44328,7 +43783,7 @@ paths: type: string format: date-time nullable: true - state: *329 + state: *326 contact_link: description: The contact link of the campaign. type: string @@ -44548,9 +44003,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: &331 + default: &328 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -44633,9 +44088,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: *331 + default: *328 '404': *6 '422': description: Unprocessable Entity @@ -44712,7 +44167,7 @@ paths: type: string format: uri nullable: true - state: *329 + state: *326 examples: default: value: @@ -44722,9 +44177,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: *331 + default: *328 '400': description: Bad Request content: @@ -44791,8 +44246,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - *332 - - *333 + - *329 + - *330 - *110 - *111 - *19 @@ -44803,7 +44258,7 @@ paths: be returned. in: query required: false - schema: *334 + schema: *331 - name: sort description: The property by which to sort the results. in: query @@ -44819,7 +44274,7 @@ paths: be returned. in: query required: false - schema: &566 + schema: &563 type: string description: Severity of a code scanning alert. enum: @@ -44845,9 +44300,9 @@ paths: application/json: schema: type: array - items: *335 + items: *332 examples: - default: *336 + default: *333 headers: Link: *47 '404': *6 @@ -45222,7 +44677,7 @@ paths: application/json: schema: *116 examples: - default: *337 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45250,9 +44705,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *335 examples: - default: *339 + default: *336 '304': *37 '403': *29 '404': *6 @@ -45341,7 +44796,7 @@ paths: application/json: schema: *116 examples: - default: *337 + default: *334 '304': *37 '403': *29 '404': *6 @@ -45786,7 +45241,7 @@ paths: default: value: default_for_new_repos: all - configuration: *337 + configuration: *334 '403': *29 '404': *6 x-github: @@ -45839,13 +45294,13 @@ paths: application/json: schema: type: array - items: *340 + items: *337 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *341 + repository: *338 '403': *29 '404': *6 x-github: @@ -45885,7 +45340,7 @@ paths: type: integer codespaces: type: array - items: &408 + items: &405 type: object title: Codespace description: A codespace. @@ -45910,12 +45365,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *292 + repository: *289 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &598 + properties: &595 name: type: string description: The name of the machine. @@ -45957,7 +45412,7 @@ paths: - ready - in_progress nullable: true - required: &599 + required: &596 - name - display_name - operating_system @@ -46162,7 +45617,7 @@ paths: - pulls_url - recent_folders examples: - default: &409 + default: &406 value: total_count: 3 codespaces: @@ -46786,7 +46241,7 @@ paths: type: integer secrets: type: array - items: &342 + items: &339 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -46825,7 +46280,7 @@ paths: - updated_at - visibility examples: - default: &600 + default: &597 value: total_count: 2 secrets: @@ -46863,7 +46318,7 @@ paths: description: Response content: application/json: - schema: &601 + schema: &598 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -46892,7 +46347,7 @@ paths: - key_id - key examples: - default: &602 + default: &599 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -46916,15 +46371,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *342 + schema: *339 examples: - default: &604 + default: &601 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -46952,7 +46407,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -47007,7 +46462,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -47034,7 +46489,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -47060,7 +46515,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -47078,9 +46533,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 '404': *6 x-github: githubCloudOnly: false @@ -47103,7 +46558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -47154,7 +46609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -47188,7 +46643,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -47258,7 +46713,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &343 + items: &340 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -47639,9 +47094,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: &344 + default: &341 summary: Example response for an organization copilot space value: id: 84 @@ -47746,9 +47201,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *344 + default: *341 '403': *29 '404': *6 x-github: @@ -47874,9 +47329,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *344 + default: *341 '403': *29 '404': *6 '422': *15 @@ -47959,7 +47414,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &345 + items: &342 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -48182,7 +47637,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: user: value: @@ -48312,7 +47767,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: user: value: @@ -48463,7 +47918,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &346 + items: &343 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -48606,7 +48061,7 @@ paths: description: Resource created content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -48622,7 +48077,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -48677,7 +48132,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -48746,7 +48201,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -49474,12 +48929,12 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 required: - total_count - repositories examples: - default: *347 + default: *344 '500': *40 '401': *25 '403': *29 @@ -49565,7 +49020,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: - *89 - - *286 + - *283 responses: '204': description: No Content @@ -49599,7 +49054,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: - *89 - - *286 + - *283 responses: '204': description: No Content @@ -49747,81 +49202,13 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *348 + '413': *345 '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: - - *89 - - 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: *215 - examples: - default: *216 - '500': *40 - '403': *29 - '404': *6 - '422': *217 - 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 @@ -50219,7 +49606,7 @@ paths: type: integer custom_roles: type: array - items: &349 + items: &346 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -50357,7 +49744,7 @@ paths: required: true content: application/json: - schema: &351 + schema: &348 type: object properties: name: @@ -50398,9 +49785,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: &350 + default: &347 value: id: 8030 name: Security Engineer @@ -50454,9 +49841,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '404': *6 x-github: githubCloudOnly: true @@ -50484,7 +49871,7 @@ paths: required: true content: application/json: - schema: &352 + schema: &349 type: object properties: name: @@ -50522,9 +49909,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -50582,7 +49969,7 @@ paths: required: true content: application/json: - schema: *351 + schema: *348 examples: default: value: @@ -50596,9 +49983,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -50635,9 +50022,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '404': *6 x-github: githubCloudOnly: true @@ -50671,7 +50058,7 @@ paths: required: true content: application/json: - schema: *352 + schema: *349 examples: default: value: @@ -50686,9 +50073,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -50748,12 +50135,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 + - *350 + - *351 + - *352 - *353 - *354 - *355 - - *356 - - *357 - - *358 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -50783,7 +50170,7 @@ paths: enum: - patch - deployment - - *359 + - *356 - name: runtime_risk in: query description: |- @@ -50792,8 +50179,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *360 - - *361 + - *357 + - *358 - *112 - *110 - *111 @@ -50805,9 +50192,9 @@ paths: application/json: schema: type: array - items: *362 + items: *359 examples: - default: *363 + default: *360 '304': *37 '400': *14 '403': *29 @@ -50856,9 +50243,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *361 examples: - default: *365 + default: *362 '403': *29 '404': *6 x-github: @@ -51021,7 +50408,7 @@ paths: type: integer secrets: type: array - items: &366 + items: &363 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -51098,7 +50485,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &632 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -51115,7 +50502,7 @@ paths: - key_id - key examples: - default: &636 + default: &633 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -51139,13 +50526,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *366 + schema: *363 examples: default: value: @@ -51174,7 +50561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -51229,7 +50616,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -51254,7 +50641,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -51279,7 +50666,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -51297,9 +50684,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51321,7 +50708,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -51372,7 +50759,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -51404,7 +50791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -51441,7 +50828,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - &645 + - &642 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -51449,7 +50836,7 @@ paths: required: false schema: type: string - - &646 + - &643 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -51457,7 +50844,7 @@ paths: required: false schema: type: string - - &647 + - &644 name: time_period description: |- The time period to filter by. @@ -51473,7 +50860,7 @@ paths: - week - month default: month - - &648 + - &645 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -51488,7 +50875,7 @@ paths: - denied - all default: all - - *325 + - *322 - *17 - *19 responses: @@ -51498,7 +50885,7 @@ paths: application/json: schema: type: array - items: &649 + items: &646 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -51604,7 +50991,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &368 + items: &365 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -51654,7 +51041,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &650 + default: &647 value: - id: 21 number: 42 @@ -51742,11 +51129,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *325 + - *322 - *105 - *106 - *107 - - *367 + - *364 - *17 - *19 responses: @@ -51756,7 +51143,7 @@ paths: application/json: schema: type: array - items: &651 + items: &648 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -51862,7 +51249,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *368 + items: *365 url: type: string format: uri @@ -51873,7 +51260,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &652 + default: &649 value: - id: 21 number: 42 @@ -51961,11 +51348,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *325 + - *322 - *105 - *106 - *107 - - *367 + - *364 - *17 - *19 responses: @@ -51975,9 +51362,9 @@ paths: application/json: schema: type: array - items: *369 + items: *366 examples: - default: *370 + default: *367 '404': *6 '403': *29 '500': *40 @@ -52003,7 +51390,7 @@ paths: application/json: schema: type: array - items: &419 + items: &416 title: Package description: A software package type: object @@ -52053,8 +51440,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *371 - required: *372 + properties: *368 + required: *369 nullable: true created_at: type: string @@ -52073,7 +51460,7 @@ paths: - created_at - updated_at examples: - default: &420 + default: &417 value: - id: 197 name: hello_docker @@ -52161,7 +51548,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: 200-response: value: @@ -52260,7 +51647,7 @@ paths: description: Response content: application/json: - schema: &491 + schema: &488 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -52341,7 +51728,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &492 + default: &489 value: group_id: '123' group_name: Octocat admins @@ -52396,7 +51783,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &485 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -52433,7 +51820,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &489 + default: &486 value: groups: - group_id: '123' @@ -52478,7 +51865,7 @@ paths: application/json: schema: type: array - items: &397 + items: &394 title: Organization Invitation description: Organization Invitation type: object @@ -52525,7 +51912,7 @@ paths: - invitation_teams_url - node_id examples: - default: &398 + default: &395 value: - id: 1 login: monalisa @@ -52592,7 +51979,7 @@ paths: application/json: schema: type: array - items: &453 + items: &450 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -52606,7 +51993,7 @@ paths: - name - description examples: - default: &454 + default: &451 value: - name: add_assignee description: Assign or remove a user @@ -52647,7 +52034,7 @@ paths: application/json: schema: type: array - items: &373 + items: &370 title: Org Hook description: Org Hook type: object @@ -52816,9 +52203,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *370 examples: - default: &374 + default: &371 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -52863,7 +52250,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *89 - - &375 + - &372 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. @@ -52876,9 +52263,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *370 examples: - default: *374 + default: *371 '404': *6 x-github: githubCloudOnly: false @@ -52900,7 +52287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *89 - - *375 + - *372 requestBody: required: false content: @@ -52945,7 +52332,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *370 examples: default: value: @@ -52985,7 +52372,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *89 - - *375 + - *372 responses: '204': description: Response @@ -53011,7 +52398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *89 - - *375 + - *372 responses: '200': description: Response @@ -53040,7 +52427,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *89 - - *375 + - *372 requestBody: required: false content: @@ -53089,10 +52476,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *89 - - *375 + - *372 - *17 - - *376 - - *377 + - *373 + - *374 responses: '200': description: Response @@ -53100,9 +52487,9 @@ paths: application/json: schema: type: array - items: *378 + items: *375 examples: - default: *379 + default: *376 '400': *14 '422': *15 x-github: @@ -53126,16 +52513,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *89 - - *375 + - *372 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: *381 + default: *378 '400': *14 '422': *15 x-github: @@ -53159,7 +52546,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *89 - - *375 + - *372 - *16 responses: '202': *39 @@ -53186,7 +52573,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *89 - - *375 + - *372 responses: '204': description: Response @@ -53209,7 +52596,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &386 + - &383 name: actor_type in: path description: The type of the actor @@ -53222,14 +52609,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &387 + - &384 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &382 + - &379 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`.' @@ -53237,7 +52624,7 @@ paths: required: true schema: type: string - - &383 + - &380 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) @@ -53331,12 +52718,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *382 - - *383 + - *379 + - *380 - *19 - *17 - *112 - - &392 + - &389 name: sort description: The property to sort the results by. in: query @@ -53414,14 +52801,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *382 - - *383 + - *379 + - *380 responses: '200': description: Response content: application/json: - schema: &384 + schema: &381 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -53437,7 +52824,7 @@ paths: type: integer format: int64 examples: - default: &385 + default: &382 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -53458,23 +52845,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &388 + - &385 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *382 - - *383 + - *379 + - *380 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *385 + default: *382 x-github: enabledForGitHubApps: true category: orgs @@ -53493,18 +52880,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *382 + - *379 + - *380 - *383 - - *386 - - *387 + - *384 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *385 + default: *382 x-github: enabledForGitHubApps: true category: orgs @@ -53522,9 +52909,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *89 - - *382 - - *383 - - &389 + - *379 + - *380 + - &386 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -53537,7 +52924,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &387 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -53553,7 +52940,7 @@ paths: type: integer format: int64 examples: - default: &391 + default: &388 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -53590,18 +52977,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *388 - - *382 - - *383 - - *389 + - *385 + - *379 + - *380 + - *386 responses: '200': description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: *391 + default: *388 x-github: enabledForGitHubApps: true category: orgs @@ -53619,19 +53006,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *386 - - *387 - - *382 - *383 - - *389 + - *384 + - *379 + - *380 + - *386 responses: '200': description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: *391 + default: *388 x-github: enabledForGitHubApps: true category: orgs @@ -53649,13 +53036,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *89 - - *388 - - *382 - - *383 + - *385 + - *379 + - *380 - *19 - *17 - *112 - - *392 + - *389 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -53736,7 +53123,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53856,12 +53243,12 @@ paths: application/json: schema: anyOf: - - &395 + - &392 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &394 + limit: &391 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -53886,7 +53273,7 @@ paths: properties: {} additionalProperties: false examples: - default: &396 + default: &393 value: limit: collaborators_only origin: organization @@ -53915,13 +53302,13 @@ paths: required: true content: application/json: - schema: &681 + schema: &678 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *394 + limit: *391 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -53945,9 +53332,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *392 examples: - default: *396 + default: *393 '422': *15 x-github: githubCloudOnly: false @@ -54025,9 +53412,9 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: - default: *398 + default: *395 headers: Link: *47 '404': *6 @@ -54105,7 +53492,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *394 examples: default: value: @@ -54162,7 +53549,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &399 + - &396 name: invitation_id description: The unique identifier of the invitation. in: path @@ -54196,7 +53583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *399 + - *396 - *17 - *19 responses: @@ -54206,9 +53593,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: &418 + default: &415 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -54251,7 +53638,7 @@ paths: application/json: schema: type: array - items: &400 + items: &397 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -54504,9 +53891,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *397 examples: - default: &401 + default: &398 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -54562,7 +53949,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *89 - - &402 + - &399 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -54670,9 +54057,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *397 examples: - default: *401 + default: *398 '404': *6 '422': *7 x-github: @@ -54697,7 +54084,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *89 - - *402 + - *399 responses: '204': *130 '404': *6 @@ -54727,9 +54114,9 @@ paths: application/json: schema: type: array - items: *403 + items: *400 examples: - default: &684 + default: &682 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -54812,9 +54199,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: &404 + default: &401 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -54847,7 +54234,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *89 - - &405 + - &402 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -54900,9 +54287,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *400 examples: - default: *404 + default: *401 '404': *6 '422': *7 x-github: @@ -54927,7 +54314,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *89 - - *405 + - *402 responses: '204': description: Response @@ -54990,7 +54377,7 @@ paths: - closed - all default: open - - *406 + - *403 - name: type description: Can be the name of an issue type. in: query @@ -55009,7 +54396,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - *17 - *19 responses: @@ -55019,9 +54406,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *407 + default: *404 headers: Link: *47 '404': *6 @@ -55081,7 +54468,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '422': *15 @@ -55181,9 +54568,9 @@ paths: type: integer codespaces: type: array - items: *408 + items: *405 examples: - default: *409 + default: *406 '304': *37 '500': *40 '401': *25 @@ -55210,7 +54597,7 @@ paths: parameters: - *89 - *148 - - &410 + - &407 name: codespace_name in: path required: true @@ -55245,15 +54632,15 @@ paths: parameters: - *89 - *148 - - *410 + - *407 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: &597 + default: &594 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -55509,7 +54896,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &408 title: Org Membership description: Org Membership type: object @@ -55576,7 +54963,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &412 + response-if-user-has-an-active-admin-membership-with-organization: &409 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -55677,9 +55064,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *408 examples: - response-if-user-already-had-membership-with-organization: *412 + response-if-user-already-had-membership-with-organization: *409 '422': *15 '403': *29 '451': *15 @@ -55751,7 +55138,7 @@ paths: application/json: schema: type: array - items: &413 + items: &410 title: Migration description: A migration. type: object @@ -56080,7 +55467,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *410 examples: default: value: @@ -56259,7 +55646,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &414 + - &411 name: migration_id description: The unique identifier of the migration. in: path @@ -56286,7 +55673,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *413 + schema: *410 examples: default: value: @@ -56456,7 +55843,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *414 + - *411 responses: '302': description: Response @@ -56478,7 +55865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *414 + - *411 responses: '204': description: Response @@ -56502,8 +55889,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *414 - - &851 + - *411 + - &849 name: repo_name description: repo_name parameter in: path @@ -56531,7 +55918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *414 + - *411 - *17 - *19 responses: @@ -56641,7 +56028,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &415 + items: &412 title: Organization Role description: Organization roles type: object @@ -56848,7 +56235,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *412 examples: default: value: @@ -56900,7 +56287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response @@ -56926,7 +56313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *89 - - *224 + - *221 - *147 responses: '204': @@ -56957,7 +56344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *89 - - *224 + - *221 - *147 responses: '204': @@ -57078,7 +56465,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *412 examples: default: value: @@ -57175,7 +56562,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *412 examples: default: value: @@ -57333,8 +56720,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *413 + required: *414 nullable: true type: description: The ownership type of the team @@ -57366,7 +56753,7 @@ paths: - type - parent examples: - default: *418 + default: *415 headers: Link: *47 '404': @@ -57424,13 +56811,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &478 + items: &475 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *413 + required: *414 name: nullable: true type: string @@ -57525,7 +56912,7 @@ paths: - type - url examples: - default: *220 + default: *217 headers: Link: *47 '404': @@ -57576,7 +56963,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -57718,7 +57105,7 @@ paths: - nuget - container - *89 - - &852 + - &850 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -57754,12 +57141,12 @@ paths: application/json: schema: type: array - items: *419 + items: *416 examples: - default: *420 + default: *417 '403': *29 '401': *25 - '400': &854 + '400': &852 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -57781,7 +57168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &421 + - &418 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 @@ -57799,7 +57186,7 @@ paths: - docker - nuget - container - - &422 + - &419 name: package_name description: The name of the package. in: path @@ -57812,7 +57199,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *416 examples: default: value: @@ -57864,8 +57251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *421 - - *422 + - *418 + - *419 - *89 responses: '204': @@ -57898,8 +57285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *421 - - *422 + - *418 + - *419 - *89 - name: token description: package token @@ -57932,8 +57319,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: - - *421 - - *422 + - *418 + - *419 - *89 - *19 - *17 @@ -57954,7 +57341,7 @@ paths: application/json: schema: type: array - items: &423 + items: &420 title: Package Version description: A version of a software package type: object @@ -58079,10 +57466,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: - - *421 - - *422 + - *418 + - *419 - *89 - - &424 + - &421 name: package_version_id description: Unique identifier of the package version. in: path @@ -58094,7 +57481,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *420 examples: default: value: @@ -58130,10 +57517,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *421 - - *422 + - *418 + - *419 - *89 - - *424 + - *421 responses: '204': description: Response @@ -58165,10 +57552,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *421 - - *422 + - *418 + - *419 - *89 - - *424 + - *421 responses: '204': description: Response @@ -58198,7 +57585,7 @@ paths: - *89 - *17 - *19 - - &425 + - &422 name: sort description: The property by which to sort the results. in: query @@ -58209,7 +57596,7 @@ paths: - created_at default: created_at - *112 - - &426 + - &423 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -58220,7 +57607,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &427 + - &424 name: repository description: The name of the repository to use to filter the results. in: query @@ -58228,7 +57615,7 @@ paths: schema: type: string example: Hello-World - - &428 + - &425 name: permission description: The permission to use to filter the results. in: query @@ -58236,7 +57623,7 @@ paths: schema: type: string example: issues_read - - &429 + - &426 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) @@ -58246,7 +57633,7 @@ paths: schema: type: string format: date-time - - &430 + - &427 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) @@ -58256,7 +57643,7 @@ paths: schema: type: string format: date-time - - &431 + - &428 name: token_id description: The ID of the token in: query @@ -58567,9 +57954,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: &432 + default: &429 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -58706,14 +58093,14 @@ paths: - *89 - *17 - *19 - - *425 + - *422 - *112 + - *423 + - *424 + - *425 - *426 - *427 - *428 - - *429 - - *430 - - *431 responses: '500': *40 '422': *15 @@ -58993,9 +58380,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *432 + default: *429 headers: Link: *47 x-github: @@ -59037,7 +58424,7 @@ paths: type: integer configurations: type: array - items: &433 + items: &430 title: Organization private registry description: Private registry configuration for an organization type: object @@ -59548,7 +58935,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &434 + org-private-registry-with-selected-visibility: &431 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -59638,15 +59025,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *89 - - *302 + - *299 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *433 + schema: *430 examples: - default: *434 + default: *431 '404': *6 x-github: githubCloudOnly: false @@ -59669,7 +59056,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -59857,7 +59244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -59897,7 +59284,7 @@ paths: application/json: schema: type: array - items: &435 + items: &432 title: Projects v2 Project description: A projects v2 project type: object @@ -59967,7 +59354,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &947 + properties: &945 id: type: number description: The unique identifier of the status update. @@ -60015,7 +59402,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &948 + required: &946 - id - node_id - created_at @@ -60040,7 +59427,7 @@ paths: - deleted_at - deleted_by examples: - default: &436 + default: &433 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -60143,7 +59530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &437 + - &434 name: project_number description: The project's number. in: path @@ -60156,9 +59543,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *432 examples: - default: *436 + default: *433 headers: Link: *47 '304': *37 @@ -60181,7 +59568,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *89 - - *437 + - *434 requestBody: required: true description: Details of the draft item to create in the project. @@ -60215,7 +59602,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &440 title: Projects v2 Item description: An item belonging to a project type: object @@ -60228,8 +59615,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *231 - - &614 + - *228 + - &611 title: Pull Request Simple description: Pull Request Simple type: object @@ -60335,8 +59722,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *435 + required: *436 nullable: true active_lock_reason: type: string @@ -60368,7 +59755,7 @@ paths: items: *4 requested_teams: type: array - items: *328 + items: *325 head: type: object properties: @@ -60418,7 +59805,7 @@ paths: _links: type: object properties: - comments: &440 + comments: &437 title: Link description: Hypermedia Link type: object @@ -60427,13 +59814,13 @@ paths: type: string required: - href - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + commits: *437 + statuses: *437 + html: *437 + issue: *437 + review_comments: *437 + review_comment: *437 + self: *437 required: - comments - commits @@ -60443,8 +59830,8 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: &735 + author_association: *225 + auto_merge: &733 title: Auto merge description: The status of auto merging a pull request. type: object @@ -60544,7 +59931,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &442 + content_type: &439 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -60584,7 +59971,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &444 + draft_issue: &441 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -60658,7 +60045,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *437 + - *434 - *89 - *17 - *110 @@ -60670,7 +60057,7 @@ paths: application/json: schema: type: array - items: &441 + items: &438 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -60820,7 +60207,7 @@ paths: - updated_at - project_url examples: - default: &875 + default: &873 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -60950,7 +60337,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: - - *437 + - *434 - *89 requestBody: required: true @@ -60997,7 +60384,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &876 + items: &874 type: object properties: name: @@ -61034,7 +60421,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &877 + iteration_configuration: &875 type: object description: The configuration for iteration fields. properties: @@ -61084,7 +60471,7 @@ paths: value: name: Due date data_type: date - single_select_field: &878 + single_select_field: &876 summary: Create a single select field value: name: Priority @@ -61111,7 +60498,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &879 + iteration_field: &877 summary: Create an iteration field value: name: Sprint @@ -61135,9 +60522,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *441 + schema: *438 examples: - text_field: &880 + text_field: &878 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -61146,7 +60533,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: &881 + number_field: &879 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -61155,7 +60542,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: &882 + date_field: &880 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -61164,7 +60551,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: &883 + single_select_field: &881 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61198,7 +60585,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &884 + iteration_field: &882 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -61243,8 +60630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *437 - - &885 + - *434 + - &883 name: field_id description: The unique identifier of the field. in: path @@ -61257,9 +60644,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: - default: &886 + default: &884 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61315,7 +60702,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: - - *437 + - *434 - *89 - 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) @@ -61348,7 +60735,7 @@ paths: application/json: schema: type: array - items: &445 + items: &442 title: Projects v2 Item description: An item belonging to a project type: object @@ -61364,7 +60751,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *442 + content_type: *439 content: type: object additionalProperties: true @@ -61407,7 +60794,7 @@ paths: - updated_at - archived_at examples: - default: &446 + default: &443 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -62105,7 +61492,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *89 - - *437 + - *434 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -62175,22 +61562,22 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *441 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *441 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *441 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 + value: *441 '304': *37 '403': *29 '401': *25 @@ -62210,9 +61597,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: - - *437 + - *434 - *89 - - &447 + - &444 name: item_id description: The unique identifier of the project item. in: path @@ -62238,9 +61625,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - default: *446 + default: *443 headers: Link: *47 '304': *37 @@ -62261,9 +61648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *437 + - *434 - *89 - - *447 + - *444 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -62333,13 +61720,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *443 + number_field: *443 + date_field: *443 + single_select_field: *443 + iteration_field: *443 '401': *25 '403': *29 '404': *6 @@ -62359,9 +61746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *437 + - *434 - *89 - - *447 + - *444 responses: '204': description: Response @@ -62385,7 +61772,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *89 - - *437 + - *434 requestBody: required: true content: @@ -62456,7 +61843,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &866 + schema: &864 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -62554,7 +61941,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &448 + value: &445 value: id: 1 number: 1 @@ -62600,10 +61987,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *448 + value: *445 roadmap_view: summary: Response for creating a roadmap view - value: *448 + value: *445 '304': *37 '403': *29 '401': *25 @@ -62631,9 +62018,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: - - *437 + - *434 - *89 - - &887 + - &885 name: view_number description: The number that identifies the project view. in: path @@ -62665,9 +62052,9 @@ paths: application/json: schema: type: array - items: *445 + items: *442 examples: - default: *446 + default: *443 headers: Link: *47 '304': *37 @@ -62831,7 +62218,7 @@ paths: required: true content: application/json: - schema: *449 + schema: *446 examples: default: value: @@ -63056,7 +62443,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -63194,9 +62581,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *432 + default: *429 headers: Link: *47 x-github: @@ -63399,7 +62786,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &496 title: Full Repository description: Full Repository type: object @@ -63684,8 +63071,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *450 - required: *451 + properties: *447 + required: *448 nullable: true temp_clone_token: type: string @@ -63769,8 +63156,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true organization: title: Simple User @@ -63797,7 +63184,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &619 + properties: &616 url: type: string format: uri @@ -63813,12 +63200,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &620 + required: &617 - url - key - name - html_url - security_and_analysis: *452 + security_and_analysis: *449 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -63902,7 +63289,7 @@ paths: - network_count - subscribers_count examples: - default: &501 + default: &498 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -64428,9 +63815,9 @@ paths: application/json: schema: type: array - items: *453 + items: *450 examples: - default: *454 + default: *451 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -64455,7 +63842,7 @@ paths: - *89 - *17 - *19 - - &757 + - &755 name: targets description: | A comma-separated list of rule targets to filter by. @@ -64546,11 +63933,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *173 - conditions: *455 + conditions: *452 rules: type: array description: An array of rules within the ruleset. - items: &457 + items: &454 title: Repository Rule type: object description: A repository rule. @@ -64615,7 +64002,7 @@ paths: application/json: schema: *195 examples: - default: &456 + default: &453 value: id: 21 name: super cool ruleset @@ -64671,7 +64058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &759 + - &757 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 @@ -64681,16 +64068,16 @@ paths: schema: type: string x-multi-segment: true - - *325 + - *322 - *107 - - &760 + - &758 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 - - &761 + - &759 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -64703,7 +64090,7 @@ paths: - bypass - all default: all - - &762 + - &760 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. @@ -64726,7 +64113,7 @@ paths: description: Response content: application/json: - schema: &763 + schema: &761 title: Rule Suites description: Response type: array @@ -64781,7 +64168,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &764 + default: &762 value: - id: 21 actor_id: 12 @@ -64825,7 +64212,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &765 + - &763 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -64841,7 +64228,7 @@ paths: description: Response content: application/json: - schema: &766 + schema: &764 title: Rule Suite description: Response type: object @@ -64940,7 +64327,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &767 + default: &765 value: id: 21 actor_id: 12 @@ -65015,7 +64402,7 @@ paths: application/json: schema: *195 examples: - default: *456 + default: *453 '404': *6 '500': *40 put: @@ -65064,11 +64451,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *173 - conditions: *455 + conditions: *452 rules: description: An array of rules within the ruleset. type: array - items: *457 + items: *454 examples: default: value: @@ -65105,7 +64492,7 @@ paths: application/json: schema: *195 examples: - default: *456 + default: *453 '404': *6 '422': *15 '500': *40 @@ -65165,7 +64552,7 @@ paths: type: array items: *199 examples: - default: *458 + default: *455 '404': *6 '500': *40 x-github: @@ -65202,7 +64589,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *456 examples: default: value: @@ -65265,18 +64652,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 + - *457 + - *458 + - *459 - *460 - *461 - *462 - *463 - *464 - - *465 - - *466 - - *467 - *112 - *19 - *17 - - &769 + - &767 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 @@ -65286,7 +64673,7 @@ paths: required: false schema: type: string - - &770 + - &768 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 @@ -65296,11 +64683,11 @@ paths: required: false schema: type: string + - *465 + - *466 + - *467 - *468 - *469 - - *470 - - *471 - - *472 responses: '200': description: Response @@ -65308,9 +64695,9 @@ paths: application/json: schema: type: array - items: *473 + items: *470 examples: - default: *474 + default: *471 headers: Link: *47 '404': *6 @@ -65345,9 +64732,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *472 examples: - default: *476 + default: *473 '403': *29 '404': *6 patch: @@ -65500,7 +64887,7 @@ paths: application/json: schema: type: array - items: &791 + items: &789 description: A repository security advisory. type: object properties: @@ -65702,7 +65089,7 @@ paths: login: type: string description: The username of the user credited. - type: *477 + type: *474 credits_detailed: type: array nullable: true @@ -65712,7 +65099,7 @@ paths: type: object properties: user: *4 - type: *477 + type: *474 state: type: string description: The state of the user's acceptance of the @@ -65736,7 +65123,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *328 + items: *325 private_fork: readOnly: true nullable: true @@ -65772,7 +65159,7 @@ paths: - private_fork additionalProperties: false examples: - default: &792 + default: &790 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -66159,7 +65546,7 @@ paths: application/json: schema: type: array - items: *478 + items: *475 examples: default: value: @@ -66200,7 +65587,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response @@ -66226,7 +65613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response @@ -66258,7 +65645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *89 - - *479 + - *476 - *17 - *19 responses: @@ -66266,9 +65653,9 @@ paths: description: Success content: application/json: - schema: *480 + schema: *477 examples: - default: *481 + default: *478 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -66412,9 +65799,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66483,7 +65870,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *286 + - *283 responses: '204': description: Response @@ -66506,7 +65893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *286 + - *283 responses: '204': description: Response @@ -66549,7 +65936,7 @@ paths: type: array items: *153 examples: - default: *482 + default: *479 headers: Link: *47 x-github: @@ -66778,15 +66165,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: - *89 - - *483 + - *480 responses: '200': description: Response content: application/json: - schema: *484 + schema: *481 examples: - default: *485 + default: *482 headers: Link: *47 x-github: @@ -66824,7 +66211,7 @@ paths: description: Response content: application/json: - schema: &496 + schema: &493 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -66870,7 +66257,7 @@ paths: type: string nullable: true examples: - default: &497 + default: &494 value: groups: - group_id: '123' @@ -66891,75 +66278,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: - - *89 - - *224 - - 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: *215 - examples: - default: *216 - '500': *40 - '403': *29 - '404': *6 - '422': *217 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -66994,9 +66312,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 headers: Link: *47 '403': *29 @@ -67082,7 +66400,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &483 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -67145,8 +66463,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *416 - required: *417 + properties: *413 + required: *414 nullable: true members_count: type: integer @@ -67409,7 +66727,7 @@ paths: - repos_count - organization examples: - default: &487 + default: &484 value: id: 1 node_id: MDQ6VGVhbTE= @@ -67480,15 +66798,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *89 - - *224 + - *221 responses: '200': description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '404': *6 x-github: githubCloudOnly: false @@ -67510,7 +66828,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *89 - - *224 + - *221 requestBody: required: false content: @@ -67572,16 +66890,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '201': description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '404': *6 '422': *15 '403': *29 @@ -67607,11 +66925,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response - '422': &490 + '422': &487 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -67634,16 +66952,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: - *89 - - *224 + - *221 responses: '200': description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 - '422': *490 + default: *486 + '422': *487 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -67663,7 +66981,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: - *89 - - *224 + - *221 requestBody: required: true content: @@ -67686,10 +67004,10 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: *492 - '422': *490 + default: *489 + '422': *487 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -67709,11 +67027,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: - *89 - - *224 + - *221 responses: '204': description: Response - '422': *490 + '422': *487 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -67735,7 +67053,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *89 - - *224 + - *221 - *17 - *19 responses: @@ -67745,12 +67063,12 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: - default: *398 + default: *395 headers: Link: *47 - '422': *490 + '422': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67771,7 +67089,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *89 - - *224 + - *221 - name: role description: Filters members returned by their role in the team. in: query @@ -67794,7 +67112,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -67825,14 +67143,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *89 - - *224 + - *221 - *148 responses: '200': description: Response content: application/json: - schema: &493 + schema: &490 title: Team Membership description: Team Membership type: object @@ -67859,7 +67177,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &833 + response-if-user-is-a-team-maintainer: &831 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -67896,7 +67214,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *89 - - *224 + - *221 - *148 requestBody: required: false @@ -67922,9 +67240,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: &834 + response-if-users-membership-with-team-is-now-pending: &832 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -67960,7 +67278,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *89 - - *224 + - *221 - *148 responses: '204': @@ -67988,7 +67306,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *89 - - *224 + - *221 - *17 - *19 responses: @@ -67998,9 +67316,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *432 + default: *429 headers: Link: *47 x-github: @@ -68030,15 +67348,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *89 - - *224 - - *494 - - *495 + - *221 + - *491 + - *492 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &835 + schema: &833 title: Team Repository description: A team's access to a repository. type: object @@ -68061,8 +67379,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true forks: type: integer @@ -68601,9 +67919,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *89 - - *224 - - *494 - - *495 + - *221 + - *491 + - *492 requestBody: required: false content: @@ -68649,9 +67967,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *89 - - *224 - - *494 - - *495 + - *221 + - *491 + - *492 responses: '204': description: Response @@ -68678,16 +67996,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *89 - - *224 + - *221 responses: '200': description: Response content: application/json: - schema: *496 + schema: *493 examples: - default: *497 - '422': *490 + default: *494 + '422': *487 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -68710,7 +68028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *89 - - *224 + - *221 requestBody: required: true content: @@ -68753,7 +68071,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *493 examples: default: value: @@ -68765,7 +68083,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *490 + '422': *487 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -68787,7 +68105,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *89 - - *224 + - *221 - *17 - *19 responses: @@ -68797,9 +68115,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - response-if-child-teams-exist: &836 + response-if-child-teams-exist: &834 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -68927,7 +68245,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)." @@ -68953,7 +68270,7 @@ paths: resources: type: object properties: - core: &498 + core: &495 title: Rate Limit type: object properties: @@ -68970,17 +68287,17 @@ paths: - remaining - reset - used - graphql: *498 - search: *498 - code_search: *498 - source_import: *498 - integration_manifest: *498 - code_scanning_upload: *498 - actions_runner_registration: *498 - scim: *498 - dependency_snapshots: *498 - dependency_sbom: *498 - code_scanning_autofix: *498 + graphql: *495 + search: *495 + code_search: *495 + source_import: *495 + integration_manifest: *495 + actions_runner_registration: *495 + scim: *495 + dependency_snapshots: *495 + dependency_sbom: *495 + code_scanning_autofix: *495 + copilot_usage_records: *495 required: - core - search @@ -69015,11 +68332,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 @@ -69082,14 +68394,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *499 + schema: *496 examples: default-response: summary: Default response @@ -69597,7 +68909,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *500 + '301': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69615,8 +68927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -69936,10 +69248,10 @@ paths: description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *501 - '307': &502 + default: *498 + '307': &499 description: Temporary Redirect content: application/json: @@ -69968,8 +69280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -69991,7 +69303,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': *502 + '307': *499 '404': *6 '409': *121 x-github: @@ -70015,11 +69327,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 - - &518 + - &515 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -70042,7 +69354,7 @@ paths: type: integer artifacts: type: array - items: &503 + items: &500 title: Artifact description: An artifact type: object @@ -70120,7 +69432,7 @@ paths: - expires_at - updated_at examples: - default: &519 + default: &516 value: total_count: 2 artifacts: @@ -70181,9 +69493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *494 - - *495 - - &504 + - *491 + - *492 + - &501 name: artifact_id description: The unique identifier of the artifact. in: path @@ -70195,7 +69507,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *500 examples: default: value: @@ -70233,9 +69545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *494 - - *495 - - *504 + - *491 + - *492 + - *501 responses: '204': description: Response @@ -70259,9 +69571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *494 - - *495 - - *504 + - *491 + - *492 + - *501 - name: archive_format in: path required: true @@ -70271,11 +69583,11 @@ paths: '302': description: Response headers: - Location: &638 + Location: &635 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': &685 + '410': &683 description: Gone content: application/json: @@ -70300,14 +69612,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: &505 + schema: &502 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -70340,13 +69652,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: application/json: - schema: *505 + schema: *502 examples: selected_actions: *44 responses: @@ -70375,14 +69687,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: &506 + schema: &503 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -70415,13 +69727,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: application/json: - schema: *506 + schema: *503 examples: selected_actions: *46 responses: @@ -70452,14 +69764,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: default: value: @@ -70485,11 +69797,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: - - *494 - - *495 + - *491 + - *492 - *17 - *19 - - &508 + - &505 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 @@ -70523,7 +69835,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &506 title: Repository actions caches description: Repository actions caches type: object @@ -70565,7 +69877,7 @@ paths: - total_count - actions_caches examples: - default: &510 + default: &507 value: total_count: 1 actions_caches: @@ -70597,23 +69909,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: - - *494 - - *495 + - *491 + - *492 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *508 + - *505 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70633,8 +69945,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: - - *494 - - *495 + - *491 + - *492 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -70663,8 +69975,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: - - *494 - - *495 + - *491 + - *492 - *17 - *111 responses: @@ -70746,8 +70058,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: - - *494 - - *495 + - *491 + - *492 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -70899,9 +70211,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: - - *494 - - *495 - - &511 + - *491 + - *492 + - &508 name: job_id description: The unique identifier of the job. in: path @@ -70913,7 +70225,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &519 title: Job description: Information of a job execution in a workflow run type: object @@ -71220,9 +70532,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: - - *494 - - *495 - - *511 + - *491 + - *492 + - *508 responses: '302': description: Response @@ -71250,9 +70562,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: - - *494 - - *495 - - *511 + - *491 + - *492 + - *508 requestBody: required: false content: @@ -71278,7 +70590,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -71302,8 +70614,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Status response @@ -71362,8 +70674,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -71402,7 +70714,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -71431,8 +70743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -71450,7 +70762,7 @@ paths: type: integer secrets: type: array - items: &524 + items: &521 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -71470,7 +70782,7 @@ paths: - created_at - updated_at examples: - default: &525 + default: &522 value: total_count: 2 secrets: @@ -71503,9 +70815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *494 - - *495 - - *311 + - *491 + - *492 + - *308 - *19 responses: '200': @@ -71522,7 +70834,7 @@ paths: type: integer variables: type: array - items: &526 + items: &523 title: Actions Variable type: object properties: @@ -71552,7 +70864,7 @@ paths: - created_at - updated_at examples: - default: &527 + default: &524 value: total_count: 2 variables: @@ -71585,8 +70897,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -71595,11 +70907,11 @@ paths: schema: type: object properties: - enabled: &512 + enabled: &509 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 - selected_actions_url: *279 + selected_actions_url: *276 sha_pinning_required: *63 required: - enabled @@ -71630,8 +70942,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -71642,7 +70954,7 @@ paths: schema: type: object properties: - enabled: *512 + enabled: *509 allowed_actions: *62 sha_pinning_required: *63 required: @@ -71675,14 +70987,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: &513 + schema: &510 type: object properties: access_level: @@ -71700,7 +71012,7 @@ paths: required: - access_level examples: - default: &514 + default: &511 value: access_level: organization x-github: @@ -71725,15 +71037,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: application/json: - schema: *513 + schema: *510 examples: - default: *514 + default: *511 responses: '204': description: Response @@ -71757,14 +71069,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *281 + schema: *278 examples: default: value: @@ -71788,8 +71100,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Empty response for successful settings update @@ -71799,7 +71111,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *279 examples: default: summary: Set retention days @@ -71823,8 +71135,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -71832,7 +71144,7 @@ paths: application/json: schema: *64 examples: - default: *283 + default: *280 '404': *6 x-github: enabledForGitHubApps: true @@ -71851,8 +71163,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -71886,14 +71198,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *284 + schema: *281 examples: default: *65 '403': *29 @@ -71915,13 +71227,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: application/json: - schema: *285 + schema: *282 examples: default: *65 responses: @@ -71947,8 +71259,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -71979,8 +71291,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -72012,14 +71324,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *288 + schema: *285 examples: default: *71 x-github: @@ -72042,8 +71354,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Success response @@ -72054,7 +71366,7 @@ paths: required: true content: application/json: - schema: *289 + schema: *286 examples: default: *71 x-github: @@ -72083,8 +71395,8 @@ paths: in: query schema: type: string - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -72128,8 +71440,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -72137,9 +71449,9 @@ paths: application/json: schema: type: array - items: *293 + items: *290 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72161,8 +71473,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -72205,7 +71517,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *292 '404': *6 '422': *7 '409': *121 @@ -72236,8 +71548,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: - - *494 - - *495 + - *491 + - *492 responses: '201': description: Response @@ -72245,7 +71557,7 @@ paths: application/json: schema: *81 examples: - default: *296 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72273,8 +71585,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: - - *494 - - *495 + - *491 + - *492 responses: '201': description: Response @@ -72282,7 +71594,7 @@ paths: application/json: schema: *81 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72304,8 +71616,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: - - *494 - - *495 + - *491 + - *492 - *77 responses: '200': @@ -72314,7 +71626,7 @@ paths: application/json: schema: *78 examples: - default: *298 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72335,8 +71647,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: - - *494 - - *495 + - *491 + - *492 - *77 responses: '204': @@ -72363,8 +71675,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: - - *494 - - *495 + - *491 + - *492 - *77 responses: '200': *83 @@ -72389,8 +71701,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: - - *494 - - *495 + - *491 + - *492 - *77 requestBody: required: true @@ -72439,8 +71751,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: - - *494 - - *495 + - *491 + - *492 - *77 requestBody: required: true @@ -72490,11 +71802,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: - - *494 - - *495 + - *491 + - *492 - *77 responses: - '200': *299 + '200': *296 '404': *6 x-github: githubCloudOnly: false @@ -72521,10 +71833,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: - - *494 - - *495 + - *491 + - *492 - *77 - - *300 + - *297 responses: '200': *83 '404': *6 @@ -72552,9 +71864,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: - - *494 - - *495 - - &530 + - *491 + - *492 + - &527 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. @@ -72562,7 +71874,7 @@ paths: required: false schema: type: string - - &531 + - &528 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -72570,7 +71882,7 @@ paths: required: false schema: type: string - - &532 + - &529 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -72579,7 +71891,7 @@ paths: required: false schema: type: string - - &533 + - &530 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 @@ -72606,7 +71918,7 @@ paths: - pending - *17 - *19 - - &534 + - &531 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)." @@ -72615,7 +71927,7 @@ paths: schema: type: string format: date-time - - &515 + - &512 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -72624,13 +71936,13 @@ paths: schema: type: boolean default: false - - &535 + - &532 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &536 + - &533 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -72653,7 +71965,7 @@ paths: type: integer workflow_runs: type: array - items: &516 + items: &513 title: Workflow Run description: An invocation of a workflow type: object @@ -72748,7 +72060,7 @@ paths: that triggered the run. type: array nullable: true - items: *236 + items: *233 created_at: type: string format: date-time @@ -72801,7 +72113,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &560 + properties: &557 id: type: string description: SHA for the commit @@ -72852,7 +72164,7 @@ paths: - name - email nullable: true - required: &561 + required: &558 - id - tree_id - message @@ -72860,8 +72172,8 @@ paths: - author - committer nullable: true - repository: *292 - head_repository: *292 + repository: *289 + head_repository: *289 head_repository_id: type: integer example: 5 @@ -72899,7 +72211,7 @@ paths: - workflow_url - pull_requests examples: - default: &537 + default: &534 value: total_count: 1 workflow_runs: @@ -73135,24 +72447,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *494 - - *495 - - &517 + - *491 + - *492 + - &514 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *515 + - *512 responses: '200': description: Response content: application/json: - schema: *516 + schema: *513 examples: - default: &520 + default: &517 value: id: 30433642 name: Build @@ -73393,9 +72705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '204': description: Response @@ -73418,9 +72730,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '200': description: Response @@ -73539,15 +72851,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -73574,12 +72886,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 - *17 - *19 - - *518 + - *515 - *112 responses: '200': @@ -73596,9 +72908,9 @@ paths: type: integer artifacts: type: array - items: *503 + items: *500 examples: - default: *519 + default: *516 headers: Link: *47 x-github: @@ -73622,25 +72934,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *494 - - *495 - - *517 - - &521 + - *491 + - *492 + - *514 + - &518 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *515 + - *512 responses: '200': description: Response content: application/json: - schema: *516 + schema: *513 examples: - default: *520 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73663,10 +72975,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: - - *494 - - *495 - - *517 - - *521 + - *491 + - *492 + - *514 + - *518 - *17 - *19 responses: @@ -73684,9 +72996,9 @@ paths: type: integer jobs: type: array - items: *522 + items: *519 examples: - default: &523 + default: &520 value: total_count: 1 jobs: @@ -73799,10 +73111,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *494 - - *495 - - *517 - - *521 + - *491 + - *492 + - *514 + - *518 responses: '302': description: Response @@ -73830,15 +73142,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '202': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -73878,9 +73190,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 - *17 - *110 - *111 @@ -74051,9 +73363,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 requestBody: required: true content: @@ -74120,15 +73432,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '202': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -74155,9 +73467,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 - 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 @@ -74187,9 +73499,9 @@ paths: type: integer jobs: type: array - items: *522 + items: *519 examples: - default: *523 + default: *520 headers: Link: *47 x-github: @@ -74214,9 +73526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '302': description: Response @@ -74243,9 +73555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '204': description: Response @@ -74272,9 +73584,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '200': description: Response @@ -74334,7 +73646,7 @@ paths: items: type: object properties: - type: &653 + type: &650 type: string description: The type of reviewer. enum: @@ -74344,7 +73656,7 @@ paths: reviewer: anyOf: - *4 - - *328 + - *325 required: - environment - wait_timer @@ -74419,9 +73731,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 requestBody: required: true content: @@ -74468,12 +73780,12 @@ paths: application/json: schema: type: array - items: &640 + items: &637 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &905 + properties: &903 url: type: string format: uri @@ -74556,9 +73868,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - required: &906 + properties: *223 + required: *224 + required: &904 - id - node_id - sha @@ -74574,7 +73886,7 @@ paths: - created_at - updated_at examples: - default: &641 + default: &638 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -74630,9 +73942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 requestBody: required: false content: @@ -74653,7 +73965,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -74676,9 +73988,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: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 requestBody: required: false content: @@ -74699,7 +74011,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -74732,9 +74044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *494 - - *495 - - *517 + - *491 + - *492 + - *514 responses: '200': description: Response @@ -74871,8 +74183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -74890,9 +74202,9 @@ paths: type: integer secrets: type: array - items: *524 + items: *521 examples: - default: *525 + default: *522 headers: Link: *47 x-github: @@ -74917,16 +74229,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74948,17 +74260,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '200': description: Response content: application/json: - schema: *524 + schema: *521 examples: - default: &538 + default: &535 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -74984,9 +74296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 requestBody: required: true content: @@ -75017,7 +74329,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -75043,9 +74355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '204': description: Response @@ -75070,9 +74382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *494 - - *495 - - *311 + - *491 + - *492 + - *308 - *19 responses: '200': @@ -75089,9 +74401,9 @@ paths: type: integer variables: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -75114,8 +74426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -75142,7 +74454,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -75167,17 +74479,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: &539 + default: &536 value: name: USERNAME value: octocat @@ -75203,9 +74515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 requestBody: required: true content: @@ -75247,9 +74559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 responses: '204': description: Response @@ -75274,8 +74586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -75293,7 +74605,7 @@ paths: type: integer workflows: type: array - items: &528 + items: &525 title: Workflow description: A GitHub Actions workflow type: object @@ -75400,9 +74712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *494 - - *495 - - &529 + - *491 + - *492 + - &526 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -75417,7 +74729,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *525 examples: default: value: @@ -75450,9 +74762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *494 - - *495 - - *529 + - *491 + - *492 + - *526 responses: '204': description: Response @@ -75477,9 +74789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *494 - - *495 - - *529 + - *491 + - *492 + - *526 responses: '200': description: Response including the workflow run ID and URLs. @@ -75559,9 +74871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *494 - - *495 - - *529 + - *491 + - *492 + - *526 responses: '204': description: Response @@ -75588,19 +74900,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: - - *494 - - *495 + - *491 + - *492 + - *526 + - *527 + - *528 - *529 - *530 + - *17 + - *19 - *531 + - *512 - *532 - *533 - - *17 - - *19 - - *534 - - *515 - - *535 - - *536 responses: '200': description: Response @@ -75616,9 +74928,9 @@ paths: type: integer workflow_runs: type: array - items: *516 + items: *513 examples: - default: *537 + default: *534 headers: Link: *47 x-github: @@ -75651,9 +74963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *494 - - *495 - - *529 + - *491 + - *492 + - *526 responses: '200': description: Response @@ -75714,8 +75026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *494 - - *495 + - *491 + - *492 - *112 - *17 - *110 @@ -75884,8 +75196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -75903,9 +75215,9 @@ paths: type: integer secrets: type: array - items: *524 + items: *521 examples: - default: *525 + default: *522 headers: Link: *47 x-github: @@ -75929,9 +75241,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *494 - - *495 - - *311 + - *491 + - *492 + - *308 - *19 responses: '200': @@ -75948,9 +75260,9 @@ paths: type: integer variables: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -75975,8 +75287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -75994,9 +75306,9 @@ paths: type: integer secrets: type: array - items: *524 + items: *521 examples: - default: *525 + default: *522 headers: Link: *47 x-github: @@ -76021,16 +75333,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76052,17 +75364,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '200': description: Response content: application/json: - schema: *524 + schema: *521 examples: - default: *538 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76084,9 +75396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 requestBody: required: true content: @@ -76117,7 +75429,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -76143,9 +75455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '204': description: Response @@ -76170,9 +75482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *494 - - *495 - - *311 + - *491 + - *492 + - *308 - *19 responses: '200': @@ -76189,9 +75501,9 @@ paths: type: integer variables: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -76214,8 +75526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -76242,7 +75554,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -76267,17 +75579,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: *539 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76298,9 +75610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 requestBody: required: true content: @@ -76342,9 +75654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *494 - - *495 - - *305 + - *491 + - *492 + - *302 responses: '204': description: Response @@ -76365,8 +75677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -76378,7 +75690,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '404': *6 @@ -76403,8 +75715,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: - - *494 - - *495 + - *491 + - *492 - name: assignee in: path required: true @@ -76440,8 +75752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -76551,8 +75863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *110 - *111 @@ -76593,7 +75905,7 @@ paths: initiator: type: string examples: - default: *540 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76613,8 +75925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -76622,7 +75934,7 @@ paths: application/json: schema: type: array - items: &541 + items: &538 title: Autolink reference description: An autolink reference. type: object @@ -76676,8 +75988,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -76716,9 +76028,9 @@ paths: description: response content: application/json: - schema: *541 + schema: *538 examples: - default: &542 + default: &539 value: id: 1 key_prefix: TICKET- @@ -76749,9 +76061,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: - - *494 - - *495 - - &543 + - *491 + - *492 + - &540 name: autolink_id description: The unique identifier of the autolink. in: path @@ -76763,9 +76075,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: *542 + default: *539 '404': *6 x-github: githubCloudOnly: false @@ -76785,9 +76097,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: - - *494 - - *495 - - *543 + - *491 + - *492 + - *540 responses: '204': description: Response @@ -76811,8 +76123,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response if Dependabot is enabled @@ -76860,8 +76172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -76882,8 +76194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -76903,8 +76215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *494 - - *495 + - *491 + - *492 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -76942,7 +76254,7 @@ paths: - url protected: type: boolean - protection: &545 + protection: &542 title: Branch Protection description: Branch Protection type: object @@ -76984,7 +76296,7 @@ paths: required: - contexts - checks - enforce_admins: &548 + enforce_admins: &545 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -76999,7 +76311,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &550 + required_pull_request_reviews: &547 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -77020,7 +76332,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *328 + items: *325 apps: description: The list of apps with review dismissal access. @@ -77049,7 +76361,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *328 + items: *325 apps: description: The list of apps allowed to bypass pull request requirements. @@ -77075,7 +76387,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &547 + restrictions: &544 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -77138,7 +76450,7 @@ paths: type: string teams: type: array - items: *328 + items: *325 apps: type: array items: @@ -77352,9 +76664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *494 - - *495 - - &546 + - *491 + - *492 + - &543 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). @@ -77368,14 +76680,14 @@ paths: description: Response content: application/json: - schema: &556 + schema: &553 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &610 + commit: &607 title: Commit description: Commit type: object @@ -77409,7 +76721,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &544 + properties: &541 name: type: string example: '"Chris Wanstrath"' @@ -77425,7 +76737,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *544 + properties: *541 nullable: true message: type: string @@ -77446,7 +76758,7 @@ paths: required: - sha - url - verification: &671 + verification: &668 title: Verification type: object properties: @@ -77480,12 +76792,12 @@ paths: nullable: true oneOf: - *4 - - *303 + - *300 committer: nullable: true oneOf: - *4 - - *303 + - *300 parents: type: array items: @@ -77516,7 +76828,7 @@ paths: type: integer files: type: array - items: &623 + items: &620 title: Diff Entry description: Diff Entry type: object @@ -77600,7 +76912,7 @@ paths: - self protected: type: boolean - protection: *545 + protection: *542 protection_url: type: string format: uri @@ -77707,7 +77019,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *500 + '301': *497 '404': *6 x-github: githubCloudOnly: false @@ -77729,15 +77041,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *545 + schema: *542 examples: default: value: @@ -77931,9 +77243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -78188,7 +77500,7 @@ paths: url: type: string format: uri - required_status_checks: &553 + required_status_checks: &550 title: Status Check Policy description: Status Check Policy type: object @@ -78264,7 +77576,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *325 apps: type: array items: *5 @@ -78282,7 +77594,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *325 apps: type: array items: *5 @@ -78340,7 +77652,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *547 + restrictions: *544 required_conversation_resolution: type: object properties: @@ -78452,9 +77764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -78479,17 +77791,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *548 + schema: *545 examples: - default: &549 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -78511,17 +77823,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *548 + schema: *545 examples: - default: *549 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78540,9 +77852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -78567,17 +77879,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: &551 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -78673,9 +77985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -78773,9 +78085,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: *551 + default: *548 '422': *15 x-github: githubCloudOnly: false @@ -78796,9 +78108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -78825,17 +78137,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *548 + schema: *545 examples: - default: &552 + default: &549 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -78858,17 +78170,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *548 + schema: *545 examples: - default: *552 + default: *549 '404': *6 x-github: githubCloudOnly: false @@ -78888,9 +78200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -78915,17 +78227,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *553 + schema: *550 examples: - default: &554 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -78951,9 +78263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -79005,9 +78317,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *550 examples: - default: *554 + default: *551 '404': *6 '422': *15 x-github: @@ -79029,9 +78341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -79055,9 +78367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response @@ -79091,9 +78403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -79160,9 +78472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -79226,9 +78538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: content: application/json: @@ -79294,15 +78606,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response content: application/json: - schema: *547 + schema: *544 examples: default: value: @@ -79393,9 +78705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '204': description: Response @@ -79418,9 +78730,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: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response @@ -79430,7 +78742,7 @@ paths: type: array items: *5 examples: - default: &555 + default: &552 value: - id: 1 slug: octoapp @@ -79487,9 +78799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -79523,7 +78835,7 @@ paths: type: array items: *5 examples: - default: *555 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -79544,9 +78856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -79580,7 +78892,7 @@ paths: type: array items: *5 examples: - default: *555 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -79601,9 +78913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -79637,7 +78949,7 @@ paths: type: array items: *5 examples: - default: *555 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -79659,9 +78971,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: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response @@ -79669,9 +78981,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 '404': *6 x-github: githubCloudOnly: false @@ -79691,9 +79003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -79729,9 +79041,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -79752,9 +79064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: false content: @@ -79790,9 +79102,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -79813,9 +79125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: content: application/json: @@ -79850,9 +79162,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -79874,9 +79186,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: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 responses: '200': description: Response @@ -79886,7 +79198,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '404': *6 x-github: githubCloudOnly: false @@ -79910,9 +79222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -79945,7 +79257,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -79970,9 +79282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -80005,7 +79317,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -80030,9 +79342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -80065,7 +79377,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -80092,9 +79404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 requestBody: required: true content: @@ -80116,7 +79428,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: default: value: @@ -80230,8 +79542,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *494 - - *495 + - *491 + - *492 - *105 - *106 - *107 @@ -80245,9 +79557,9 @@ paths: application/json: schema: type: array - items: *323 + items: *320 examples: - default: *324 + default: *321 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -80267,8 +79579,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: bypass_request_number in: path required: true @@ -80282,7 +79594,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *320 examples: default: value: @@ -80341,8 +79653,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *494 - - *495 + - *491 + - *492 - *105 - *106 - *107 @@ -80356,9 +79668,9 @@ paths: application/json: schema: type: array - items: *326 + items: *323 examples: - default: *327 + default: *324 '404': *6 '403': *29 '500': *40 @@ -80382,8 +79694,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *494 - - *495 + - *491 + - *492 - name: bypass_request_number in: path required: true @@ -80395,7 +79707,7 @@ paths: description: A single bypass request. content: application/json: - schema: *326 + schema: *323 examples: default: value: @@ -80453,8 +79765,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *494 - - *495 + - *491 + - *492 - name: bypass_request_number in: path required: true @@ -80525,8 +79837,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *494 - - *495 + - *491 + - *492 - name: bypass_response_id in: path required: true @@ -80559,8 +79871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -80839,7 +80151,7 @@ paths: description: Response content: application/json: - schema: &557 + schema: &554 title: CheckRun description: A check performed on the code of a given code change type: object @@ -80950,16 +80262,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *236 - deployment: &898 + items: *233 + deployment: &896 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -81026,8 +80338,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 required: - id - node_id @@ -81239,9 +80551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *494 - - *495 - - &558 + - *491 + - *492 + - &555 name: check_run_id description: The unique identifier of the check run. in: path @@ -81253,9 +80565,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *554 examples: - default: &559 + default: &556 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -81355,9 +80667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *494 - - *495 - - *558 + - *491 + - *492 + - *555 requestBody: required: true content: @@ -81597,9 +80909,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *554 examples: - default: *559 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81619,9 +80931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *494 - - *495 - - *558 + - *491 + - *492 + - *555 - *17 - *19 responses: @@ -81716,15 +81028,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *494 - - *495 - - *558 + - *491 + - *492 + - *555 responses: '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -81762,8 +81074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -81785,7 +81097,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &562 + schema: &559 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -81849,7 +81161,7 @@ paths: nullable: true pull_requests: type: array - items: *236 + items: *233 nullable: true app: title: GitHub app @@ -81860,9 +81172,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - repository: *292 + properties: *223 + required: *224 + repository: *289 created_at: type: string format: date-time @@ -81871,12 +81183,12 @@ paths: type: string format: date-time nullable: true - head_commit: &931 + head_commit: &929 title: Simple Commit description: A commit. type: object - properties: *560 - required: *561 + properties: *557 + required: *558 latest_check_runs_count: type: integer check_runs_url: @@ -81904,7 +81216,7 @@ paths: - check_runs_url - pull_requests examples: - default: &563 + default: &560 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -82195,9 +81507,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *562 + schema: *559 examples: - default: *563 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82216,8 +81528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -82278,7 +81590,7 @@ paths: required: - app_id - setting - repository: *292 + repository: *289 examples: default: value: @@ -82526,9 +81838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *494 - - *495 - - &564 + - *491 + - *492 + - &561 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -82540,9 +81852,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *559 examples: - default: *563 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82565,17 +81877,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: - - *494 - - *495 - - *564 - - &616 + - *491 + - *492 + - *561 + - &613 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &617 + - &614 name: status description: Returns check runs with the specified `status`. in: query @@ -82614,9 +81926,9 @@ paths: type: integer check_runs: type: array - items: *557 + items: *554 examples: - default: &618 + default: &615 value: total_count: 1 check_runs: @@ -82718,15 +82030,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *494 - - *495 - - *564 + - *491 + - *492 + - *561 responses: '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -82753,21 +82065,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: - - *494 - - *495 - - *332 - - *333 + - *491 + - *492 + - *329 + - *330 - *19 - *17 - - &580 + - &577 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: *565 - - &581 + schema: *562 + - &578 name: pr description: The number of the pull request for the results you want to list. in: query @@ -82792,13 +82104,13 @@ paths: be returned. in: query required: false - schema: *334 + schema: *331 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *566 + schema: *563 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -82822,7 +82134,7 @@ paths: updated_at: *139 url: *136 html_url: *137 - instances_url: *567 + instances_url: *564 state: *115 fixed_at: *141 dismissed_by: @@ -82833,11 +82145,11 @@ paths: required: *21 nullable: true dismissed_at: *140 - dismissed_reason: *568 - dismissed_comment: *569 - rule: *570 - tool: *571 - most_recent_instance: *572 + dismissed_reason: *565 + dismissed_comment: *566 + rule: *567 + tool: *568 + most_recent_instance: *569 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -82963,7 +82275,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &573 + '403': &570 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -82990,9 +82302,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: - - *494 - - *495 - - &574 + - *491 + - *492 + - &571 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -83006,7 +82318,7 @@ paths: description: Response content: application/json: - schema: &575 + schema: &572 type: object properties: number: *131 @@ -83014,7 +82326,7 @@ paths: updated_at: *139 url: *136 html_url: *137 - instances_url: *567 + instances_url: *564 state: *115 fixed_at: *141 dismissed_by: @@ -83025,8 +82337,8 @@ paths: required: *21 nullable: true dismissed_at: *140 - dismissed_reason: *568 - dismissed_comment: *569 + dismissed_reason: *565 + dismissed_comment: *566 rule: type: object properties: @@ -83080,8 +82392,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *571 - most_recent_instance: *572 + tool: *568 + most_recent_instance: *569 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -83180,7 +82492,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -83200,9 +82512,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 requestBody: required: true content: @@ -83217,8 +82529,8 @@ paths: enum: - open - dismissed - dismissed_reason: *568 - dismissed_comment: *569 + dismissed_reason: *565 + dismissed_comment: *566 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -83246,7 +82558,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *572 examples: default: value: @@ -83322,7 +82634,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &579 + '403': &576 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -83349,15 +82661,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 responses: '200': description: Response content: application/json: - schema: &576 + schema: &573 type: object properties: status: @@ -83383,13 +82695,13 @@ paths: - description - started_at examples: - default: &577 + default: &574 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &578 + '400': &575 description: Bad Request content: application/json: @@ -83400,7 +82712,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': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -83425,29 +82737,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 responses: '200': description: OK content: application/json: - schema: *576 + schema: *573 examples: - default: *577 + default: *574 '202': description: Accepted content: application/json: - schema: *576 + schema: *573 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *578 + '400': *575 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -83479,9 +82791,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 requestBody: required: false content: @@ -83526,8 +82838,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *578 - '403': *579 + '400': *575 + '403': *576 '404': *6 '422': description: Unprocessable Entity @@ -83551,13 +82863,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 - *19 - *17 - - *580 - - *581 + - *577 + - *578 responses: '200': description: Response @@ -83568,10 +82880,10 @@ paths: items: type: object properties: - ref: *565 - analysis_key: *582 - environment: *583 - category: *584 + ref: *562 + analysis_key: *579 + environment: *580 + category: *581 state: type: string description: State of a code scanning alert instance. @@ -83586,7 +82898,7 @@ paths: properties: text: type: string - location: *585 + location: *582 html_url: type: string classifications: @@ -83594,7 +82906,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: *586 + items: *583 examples: default: value: @@ -83631,7 +82943,7 @@ paths: end_column: 50 classifications: - source - '403': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -83665,25 +82977,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: - - *494 - - *495 - - *332 - - *333 + - *491 + - *492 + - *329 + - *330 - *19 - *17 - - *581 + - *578 - 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: *565 + schema: *562 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &587 + schema: &584 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -83704,23 +83016,23 @@ paths: application/json: schema: type: array - items: &588 + items: &585 type: object properties: - ref: *565 - commit_sha: &596 + ref: *562 + commit_sha: &593 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: *582 + analysis_key: *579 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *584 + category: *581 error: type: string example: error reading field xyz @@ -83744,8 +83056,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *587 - tool: *571 + sarif_id: *584 + tool: *568 deletable: type: boolean warning: @@ -83806,7 +83118,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -83842,8 +83154,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: - - *494 - - *495 + - *491 + - *492 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -83856,7 +83168,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *585 examples: response: summary: application/json response @@ -83910,7 +83222,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *573 + '403': *570 '404': *6 '422': description: Response if analysis could not be processed @@ -83997,8 +83309,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: - - *494 - - *495 + - *491 + - *492 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -84051,7 +83363,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': *579 + '403': *576 '404': *6 '503': *200 x-github: @@ -84073,8 +83385,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -84082,7 +83394,7 @@ paths: application/json: schema: type: array - items: &589 + items: &586 title: CodeQL Database description: A CodeQL database. type: object @@ -84193,7 +83505,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': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -84222,8 +83534,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: - - *494 - - *495 + - *491 + - *492 - name: language in: path description: The language of the CodeQL database. @@ -84235,7 +83547,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: default: value: @@ -84267,9 +83579,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': &627 + '302': &624 description: Found - '403': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -84291,8 +83603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *494 - - *495 + - *491 + - *492 - name: language in: path description: The language of the CodeQL database. @@ -84302,7 +83614,7 @@ paths: responses: '204': description: Response - '403': *579 + '403': *576 '404': *6 '503': *200 x-github: @@ -84330,8 +83642,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -84340,7 +83652,7 @@ paths: type: object additionalProperties: false properties: - language: &590 + language: &587 type: string description: The language targeted by the CodeQL query enum: @@ -84420,7 +83732,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &594 + schema: &591 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -84430,7 +83742,7 @@ paths: description: The ID of the variant analysis. controller_repo: *122 actor: *4 - query_language: *590 + query_language: *587 query_pack_url: type: string description: The download url for the query pack. @@ -84477,7 +83789,7 @@ paths: items: type: object properties: - repository: &591 + repository: &588 title: Repository Identifier description: Repository Identifier type: object @@ -84513,7 +83825,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &595 + analysis_status: &592 type: string description: The new status of the CodeQL variant analysis repository task. @@ -84545,7 +83857,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &592 + access_mismatch_repos: &589 type: object properties: repository_count: @@ -84559,7 +83871,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: *591 + items: *588 required: - repository_count - repositories @@ -84581,8 +83893,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *592 - over_limit_repos: *592 + no_codeql_db_repos: *589 + over_limit_repos: *589 required: - access_mismatch_repos - not_found_repos @@ -84598,7 +83910,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &593 + value: &590 summary: Default response value: id: 1 @@ -84744,10 +84056,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *593 + value: *590 repository_lists: summary: Response for a successful variant analysis submission - value: *593 + value: *590 '404': *6 '422': description: Unable to process variant analysis submission @@ -84775,8 +84087,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: - - *494 - - *495 + - *491 + - *492 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -84788,9 +84100,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *591 examples: - default: *593 + default: *590 '404': *6 '503': *200 x-github: @@ -84813,7 +84125,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: - - *494 + - *491 - name: repo in: path description: The name of the controller repository. @@ -84848,7 +84160,7 @@ paths: type: object properties: repository: *122 - analysis_status: *595 + analysis_status: *592 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -84973,8 +84285,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -85057,7 +84369,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *573 + '403': *570 '404': *6 '503': *200 x-github: @@ -85078,8 +84390,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -85146,7 +84458,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -85171,7 +84483,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *579 + '403': *576 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -85242,8 +84554,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -85251,7 +84563,7 @@ paths: schema: type: object properties: - commit_sha: *596 + commit_sha: *593 ref: type: string description: |- @@ -85309,7 +84621,7 @@ paths: schema: type: object properties: - id: *587 + id: *584 url: type: string description: The REST API URL for checking the status of the upload. @@ -85323,7 +84635,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': *579 + '403': *576 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -85346,8 +84658,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: - - *494 - - *495 + - *491 + - *492 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -85393,7 +84705,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': *573 + '403': *570 '404': description: Not Found if the sarif id does not match any upload '503': *200 @@ -85418,8 +84730,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -85500,8 +84812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *494 - - *495 + - *491 + - *492 - 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 @@ -85621,8 +84933,8 @@ paths: parameters: - *17 - *19 - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -85638,7 +84950,7 @@ paths: type: integer codespaces: type: array - items: *408 + items: *405 examples: default: value: @@ -85936,8 +85248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -86000,17 +85312,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '400': *14 '401': *25 '403': *29 @@ -86039,8 +85351,8 @@ paths: parameters: - *17 - *19 - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -86104,8 +85416,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: - - *494 - - *495 + - *491 + - *492 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -86140,14 +85452,14 @@ paths: type: integer machines: type: array - items: &841 + items: &839 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *598 - required: *599 + properties: *595 + required: *596 examples: - default: &842 + default: &840 value: total_count: 2 machines: @@ -86187,8 +85499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *494 - - *495 + - *491 + - *492 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -86272,8 +85584,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: - - *494 - - *495 + - *491 + - *492 - 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 @@ -86339,8 +85651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -86358,7 +85670,7 @@ paths: type: integer secrets: type: array - items: &603 + items: &600 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -86378,7 +85690,7 @@ paths: - created_at - updated_at examples: - default: *600 + default: *597 headers: Link: *47 x-github: @@ -86401,16 +85713,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *601 + schema: *598 examples: - default: *602 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86430,17 +85742,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '200': description: Response content: application/json: - schema: *603 + schema: *600 examples: - default: *604 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86460,9 +85772,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: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 requestBody: required: true content: @@ -86490,7 +85802,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -86514,9 +85826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '204': description: Response @@ -86544,8 +85856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *494 - - *495 + - *491 + - *492 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -86587,7 +85899,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &605 + properties: &602 login: type: string example: octocat @@ -86680,7 +85992,7 @@ paths: user_view_type: type: string example: public - required: &606 + required: &603 - avatar_url - events_url - followers_url @@ -86754,8 +86066,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: - - *494 - - *495 + - *491 + - *492 - *148 responses: '204': @@ -86802,8 +86114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *494 - - *495 + - *491 + - *492 - *148 requestBody: required: false @@ -86830,7 +86142,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &683 + schema: &681 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86841,7 +86153,7 @@ paths: example: 42 type: integer format: int64 - repository: *292 + repository: *289 invitee: title: Simple User description: A GitHub user. @@ -87019,7 +86331,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *267 + schema: *264 '403': *29 x-github: triggersNotification: true @@ -87059,8 +86371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *494 - - *495 + - *491 + - *492 - *148 responses: '204': @@ -87092,8 +86404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *494 - - *495 + - *491 + - *492 - *148 responses: '200': @@ -87114,8 +86426,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *605 - required: *606 + properties: *602 + required: *603 nullable: true required: - permission @@ -87170,8 +86482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -87181,7 +86493,7 @@ paths: application/json: schema: type: array - items: &607 + items: &604 title: Commit Comment description: Commit Comment type: object @@ -87222,8 +86534,8 @@ paths: updated_at: type: string format: date-time - author_association: *228 - reactions: *229 + author_association: *225 + reactions: *226 required: - url - html_url @@ -87239,7 +86551,7 @@ paths: - created_at - updated_at examples: - default: &612 + default: &609 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -87298,17 +86610,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '200': description: Response content: application/json: - schema: *607 + schema: *604 examples: - default: &613 + default: &610 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -87365,9 +86677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -87389,7 +86701,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *604 examples: default: value: @@ -87440,9 +86752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '204': description: Response @@ -87463,9 +86775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 - 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. @@ -87491,7 +86803,7 @@ paths: application/json: schema: type: array - items: &608 + items: &605 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -87534,7 +86846,7 @@ paths: - content - created_at examples: - default: &688 + default: &686 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -87579,9 +86891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -87613,9 +86925,9 @@ paths: description: Reaction exists content: application/json: - schema: *608 + schema: *605 examples: - default: &609 + default: &606 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -87644,9 +86956,9 @@ paths: description: Reaction created content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '422': *15 x-github: githubCloudOnly: false @@ -87668,10 +86980,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *494 - - *495 - - *247 - - &689 + - *491 + - *492 + - *244 + - &687 name: reaction_id description: The unique identifier of the reaction. in: path @@ -87726,8 +87038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *494 - - *495 + - *491 + - *492 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -87783,9 +87095,9 @@ paths: application/json: schema: type: array - items: *610 + items: *607 examples: - default: &742 + default: &740 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -87879,9 +87191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *494 - - *495 - - &611 + - *491 + - *492 + - &608 name: commit_sha description: The SHA of the commit. in: path @@ -87953,9 +87265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *494 - - *495 - - *611 + - *491 + - *492 + - *608 - *17 - *19 responses: @@ -87965,9 +87277,9 @@ paths: application/json: schema: type: array - items: *607 + items: *604 examples: - default: *612 + default: *609 headers: Link: *47 x-github: @@ -87995,9 +87307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *494 - - *495 - - *611 + - *491 + - *492 + - *608 requestBody: required: true content: @@ -88032,9 +87344,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *604 examples: - default: *613 + default: *610 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -88062,9 +87374,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: - - *494 - - *495 - - *611 + - *491 + - *492 + - *608 - *17 - *19 responses: @@ -88074,9 +87386,9 @@ paths: application/json: schema: type: array - items: *614 + items: *611 examples: - default: &734 + default: &732 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88613,11 +87925,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *494 - - *495 + - *491 + - *492 - *19 - *17 - - &615 + - &612 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)" @@ -88632,9 +87944,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *607 examples: - default: &719 + default: &717 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -88722,7 +88034,7 @@ paths: schema: type: string examples: - default: &624 + default: &621 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -88735,7 +88047,7 @@ paths: schema: type: string examples: - default: &625 + default: &622 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -88788,11 +88100,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: - - *494 - - *495 - - *615 - - *616 - - *617 + - *491 + - *492 + - *612 + - *613 + - *614 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -88826,9 +88138,9 @@ paths: type: integer check_runs: type: array - items: *557 + items: *554 examples: - default: *618 + default: *615 headers: Link: *47 x-github: @@ -88853,9 +88165,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: - - *494 - - *495 - - *615 + - *491 + - *492 + - *612 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -88863,7 +88175,7 @@ paths: schema: type: integer example: 1 - - *616 + - *613 - *17 - *19 responses: @@ -88881,7 +88193,7 @@ paths: type: integer check_suites: type: array - items: *562 + items: *559 examples: default: value: @@ -89081,9 +88393,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: - - *494 - - *495 - - *615 + - *491 + - *492 + - *612 - *17 - *19 responses: @@ -89150,7 +88462,7 @@ paths: type: string total_count: type: integer - repository: *292 + repository: *289 commit_url: type: string format: uri @@ -89281,9 +88593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *494 - - *495 - - *615 + - *491 + - *492 + - *612 - *17 - *19 responses: @@ -89293,7 +88605,7 @@ paths: application/json: schema: type: array - items: &796 + items: &794 title: Status description: The status of a commit. type: object @@ -89374,7 +88686,7 @@ paths: site_admin: false headers: Link: *47 - '301': *500 + '301': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89402,8 +88714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -89432,20 +88744,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *619 - required: *620 + properties: *616 + required: *617 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &621 + properties: &618 url: type: string format: uri html_url: type: string format: uri - required: &622 + required: &619 - url - html_url nullable: true @@ -89453,32 +88765,32 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true contributing: title: Community Health File type: object - properties: *621 - required: *622 + properties: *618 + required: *619 nullable: true readme: title: Community Health File type: object - properties: *621 - required: *622 + properties: *618 + required: *619 nullable: true issue_template: title: Community Health File type: object - properties: *621 - required: *622 + properties: *618 + required: *619 nullable: true pull_request_template: title: Community Health File type: object - properties: *621 - required: *622 + properties: *618 + required: *619 nullable: true required: - code_of_conduct @@ -89605,8 +88917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *494 - - *495 + - *491 + - *492 - *19 - *17 - name: basehead @@ -89649,8 +88961,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *610 - merge_base_commit: *610 + base_commit: *607 + merge_base_commit: *607 status: type: string enum: @@ -89670,10 +88982,10 @@ paths: example: 6 commits: type: array - items: *610 + items: *607 files: type: array - items: *623 + items: *620 required: - url - html_url @@ -89919,12 +89231,12 @@ paths: schema: type: string examples: - default: *624 + default: *621 application/vnd.github.patch: schema: type: string examples: - default: *625 + default: *622 '404': *6 '500': *40 '503': *200 @@ -89969,8 +89281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *494 - - *495 + - *491 + - *492 - name: path description: path parameter in: path @@ -90130,7 +89442,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &626 + response-if-content-is-a-file-github-object: &623 summary: Response if content is a file value: type: file @@ -90262,7 +89574,7 @@ paths: - size - type - url - - &747 + - &745 title: Content File description: Content File type: object @@ -90463,7 +89775,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *626 + response-if-content-is-a-file: *623 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -90532,7 +89844,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *627 + '302': *624 '304': *37 x-github: githubCloudOnly: false @@ -90555,8 +89867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *494 - - *495 + - *491 + - *492 - name: path description: path parameter in: path @@ -90649,7 +89961,7 @@ paths: description: Response content: application/json: - schema: &628 + schema: &625 title: File Commit description: File Commit type: object @@ -90801,7 +90113,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: example-for-creating-a-file: value: @@ -90855,7 +90167,7 @@ paths: schema: oneOf: - *3 - - &666 + - &663 description: Repository rule violation was detected type: object properties: @@ -90876,7 +90188,7 @@ paths: items: type: object properties: - placeholder_id: &788 + placeholder_id: &786 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -90908,8 +90220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *494 - - *495 + - *491 + - *492 - name: path description: path parameter in: path @@ -90970,7 +90282,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: default: value: @@ -91025,8 +90337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *494 - - *495 + - *491 + - *492 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -91155,8 +90467,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -91288,24 +90600,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 + - *350 + - *351 + - *352 - *353 - *354 - - *355 - - *356 - - *357 - 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 + - *355 + - *626 + - *356 + - *357 - *358 - - *629 - - *359 - - *360 - - *361 - *112 - *110 - *111 @@ -91317,7 +90629,7 @@ paths: application/json: schema: type: array - items: &633 + items: &630 type: object description: A Dependabot alert. properties: @@ -91364,7 +90676,7 @@ paths: - direct - transitive - inconclusive - security_advisory: *630 + security_advisory: *627 security_vulnerability: *135 url: *136 html_url: *137 @@ -91395,8 +90707,8 @@ paths: nullable: true maxLength: 280 fixed_at: *141 - auto_dismissed_at: *631 - dismissal_request: *632 + auto_dismissed_at: *628 + dismissal_request: *629 assignees: type: array description: The users assigned to this alert. @@ -91651,9 +90963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *494 - - *495 - - &634 + - *491 + - *492 + - &631 name: alert_number in: path description: |- @@ -91668,7 +90980,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *630 examples: default: value: @@ -91800,9 +91112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *494 - - *495 - - *634 + - *491 + - *492 + - *631 requestBody: required: true content: @@ -91839,6 +91151,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: @@ -91858,7 +91171,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *630 examples: default: value: @@ -91988,8 +91301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -92007,7 +91320,7 @@ paths: type: integer secrets: type: array - items: &637 + items: &634 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -92060,16 +91373,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *635 + schema: *632 examples: - default: *636 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92089,15 +91402,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '200': description: Response content: application/json: - schema: *637 + schema: *634 examples: default: value: @@ -92123,9 +91436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 requestBody: required: true content: @@ -92153,7 +91466,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -92177,9 +91490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *494 - - *495 - - *302 + - *491 + - *492 + - *299 responses: '204': description: Response @@ -92201,8 +91514,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: - - *494 - - *495 + - *491 + - *492 - 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 @@ -92365,8 +91678,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -92604,8 +91917,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: - - *494 - - *495 + - *491 + - *492 - name: sbom_uuid in: path required: true @@ -92616,7 +91929,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *638 + Location: *635 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -92637,8 +91950,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: - - *494 - - *495 + - *491 + - *492 responses: '201': description: Response @@ -92676,8 +91989,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -92752,7 +92065,7 @@ paths: - version - url additionalProperties: false - metadata: &639 + metadata: &636 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92785,7 +92098,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *639 + metadata: *636 resolved: type: object description: A collection of resolved package dependencies. @@ -92798,7 +92111,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *639 + metadata: *636 relationship: type: string description: A notation of whether a dependency is requested @@ -92927,8 +92240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *494 - - *495 + - *491 + - *492 - name: sha description: The SHA recorded at creation time. in: query @@ -92968,9 +92281,9 @@ paths: application/json: schema: type: array - items: *640 + items: *637 examples: - default: *641 + default: *638 headers: Link: *47 x-github: @@ -93036,8 +92349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -93118,7 +92431,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *637 examples: simple-example: summary: Simple example @@ -93191,9 +92504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *494 - - *495 - - &642 + - *491 + - *492 + - &639 name: deployment_id description: deployment_id parameter in: path @@ -93205,7 +92518,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *637 examples: default: value: @@ -93270,9 +92583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *494 - - *495 - - *642 + - *491 + - *492 + - *639 responses: '204': description: Response @@ -93294,9 +92607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *494 - - *495 - - *642 + - *491 + - *492 + - *639 - *17 - *19 responses: @@ -93306,7 +92619,7 @@ paths: application/json: schema: type: array - items: &643 + items: &640 title: Deployment Status description: The status of a deployment. type: object @@ -93397,8 +92710,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 required: - id - node_id @@ -93467,9 +92780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *494 - - *495 - - *642 + - *491 + - *492 + - *639 requestBody: required: true content: @@ -93544,9 +92857,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *640 examples: - default: &644 + default: &641 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -93602,9 +92915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *494 - - *495 - - *642 + - *491 + - *492 + - *639 - name: status_id in: path required: true @@ -93615,9 +92928,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *640 examples: - default: *644 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -93644,12 +92957,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 + - *642 + - *643 + - *644 - *645 - - *646 - - *647 - - *648 - *17 - *19 responses: @@ -93659,9 +92972,9 @@ paths: application/json: schema: type: array - items: *649 + items: *646 examples: - default: *650 + default: *647 '404': *6 '403': *29 '500': *40 @@ -93685,8 +92998,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -93698,7 +93011,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *649 + schema: *646 examples: default: value: @@ -93754,8 +93067,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -93814,12 +93127,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 + - *642 + - *643 + - *644 - *645 - - *646 - - *647 - - *648 - *17 - *19 responses: @@ -93829,9 +93142,9 @@ paths: application/json: schema: type: array - items: *651 + items: *648 examples: - default: *652 + default: *649 '404': *6 '403': *29 '500': *40 @@ -93855,8 +93168,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -93868,7 +93181,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *651 + schema: *648 examples: default: value: @@ -93919,8 +93232,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -93958,7 +93271,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *651 + schema: *648 examples: default: value: @@ -94009,8 +93322,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94081,8 +93394,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94115,12 +93428,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - *105 - *106 - *107 - - *367 + - *364 - *17 - *19 responses: @@ -94130,9 +93443,9 @@ paths: application/json: schema: type: array - items: *369 + items: *366 examples: - default: *370 + default: *367 '404': *6 '403': *29 '500': *40 @@ -94157,8 +93470,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94170,7 +93483,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *369 + schema: *366 examples: default: value: @@ -94228,8 +93541,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: alert_number in: path required: true @@ -94298,8 +93611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -94356,8 +93669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -94374,7 +93687,7 @@ paths: type: integer environments: type: array - items: &654 + items: &651 title: Environment description: Details of a deployment environment type: object @@ -94426,7 +93739,7 @@ paths: type: type: string example: wait_timer - wait_timer: &656 + wait_timer: &653 type: integer example: 30 description: The amount of time to delay a job after @@ -94463,11 +93776,11 @@ paths: items: type: object properties: - type: *653 + type: *650 reviewer: anyOf: - *4 - - *328 + - *325 required: - id - node_id @@ -94487,7 +93800,7 @@ paths: - id - node_id - type - deployment_branch_policy: &657 + deployment_branch_policy: &654 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -94603,9 +93916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *494 - - *495 - - &655 + - *491 + - *492 + - &652 name: environment_name in: path required: true @@ -94618,9 +93931,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *651 examples: - default: &658 + default: &655 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -94704,9 +94017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 requestBody: required: false content: @@ -94715,7 +94028,7 @@ paths: type: object nullable: true properties: - wait_timer: *656 + wait_timer: *653 prevent_self_review: type: boolean example: false @@ -94732,13 +94045,13 @@ paths: items: type: object properties: - type: *653 + type: *650 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *657 + deployment_branch_policy: *654 additionalProperties: false examples: default: @@ -94758,9 +94071,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *651 examples: - default: *658 + default: *655 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -94784,9 +94097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 responses: '204': description: Default response @@ -94811,9 +94124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 - *17 - *19 responses: @@ -94831,7 +94144,7 @@ paths: example: 2 branch_policies: type: array - items: &659 + items: &656 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -94888,9 +94201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 requestBody: required: true content: @@ -94936,9 +94249,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *656 examples: - example-wildcard: &660 + example-wildcard: &657 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -94980,10 +94293,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *494 - - *495 - - *655 - - &661 + - *491 + - *492 + - *652 + - &658 name: branch_policy_id in: path required: true @@ -94995,9 +94308,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *656 examples: - default: *660 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95016,10 +94329,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *494 - - *495 - - *655 - - *661 + - *491 + - *492 + - *652 + - *658 requestBody: required: true content: @@ -95047,9 +94360,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *656 examples: - default: *660 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95068,10 +94381,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *494 - - *495 - - *655 - - *661 + - *491 + - *492 + - *652 + - *658 responses: '204': description: Response @@ -95096,9 +94409,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: - - *655 - - *495 - - *494 + - *652 + - *492 + - *491 responses: '200': description: List of deployment protection rules @@ -95114,7 +94427,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &662 + items: &659 title: Deployment protection rule description: Deployment protection rule type: object @@ -95133,7 +94446,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &663 + app: &660 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -95232,9 +94545,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: - - *655 - - *495 - - *494 + - *652 + - *492 + - *491 requestBody: content: application/json: @@ -95255,9 +94568,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *662 + schema: *659 examples: - default: &664 + default: &661 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -95292,9 +94605,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: - - *655 - - *495 - - *494 + - *652 + - *492 + - *491 - *19 - *17 responses: @@ -95313,7 +94626,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *663 + items: *660 examples: default: value: @@ -95348,10 +94661,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: - - *494 - - *495 - - *655 - - &665 + - *491 + - *492 + - *652 + - &662 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -95363,9 +94676,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *659 examples: - default: *664 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95386,10 +94699,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: - - *655 - - *495 - - *494 - - *665 + - *652 + - *492 + - *491 + - *662 responses: '204': description: Response @@ -95415,9 +94728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 - *17 - *19 responses: @@ -95435,9 +94748,9 @@ paths: type: integer secrets: type: array - items: *524 + items: *521 examples: - default: *525 + default: *522 headers: Link: *47 x-github: @@ -95462,17 +94775,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 responses: '200': description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95494,18 +94807,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *494 - - *495 - - *655 - - *302 + - *491 + - *492 + - *652 + - *299 responses: '200': description: Response content: application/json: - schema: *524 + schema: *521 examples: - default: *538 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95527,10 +94840,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *494 - - *495 - - *655 - - *302 + - *491 + - *492 + - *652 + - *299 requestBody: required: true content: @@ -95561,7 +94874,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -95587,10 +94900,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *494 - - *495 - - *655 - - *302 + - *491 + - *492 + - *652 + - *299 responses: '204': description: Default response @@ -95615,10 +94928,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *494 - - *495 - - *655 - - *311 + - *491 + - *492 + - *652 + - *308 - *19 responses: '200': @@ -95635,9 +94948,9 @@ paths: type: integer variables: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -95660,9 +94973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *494 - - *495 - - *655 + - *491 + - *492 + - *652 requestBody: required: true content: @@ -95689,7 +95002,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -95714,18 +95027,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *494 - - *495 - - *655 - - *305 + - *491 + - *492 + - *652 + - *302 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: *539 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95746,10 +95059,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *494 - - *495 - - *305 - - *655 + - *491 + - *492 + - *302 + - *652 requestBody: required: true content: @@ -95791,10 +95104,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *494 - - *495 - - *305 - - *655 + - *491 + - *492 + - *302 + - *652 responses: '204': description: Response @@ -95816,8 +95129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -95827,7 +95140,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: 200-response: value: @@ -95885,8 +95198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *494 - - *495 + - *491 + - *492 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -95908,7 +95221,7 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: default: value: @@ -96045,8 +95358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -96078,9 +95391,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *501 + default: *498 '400': *14 '422': *15 '403': *29 @@ -96101,8 +95414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -96161,8 +95474,8 @@ paths: application/json: schema: oneOf: - - *267 - - *666 + - *264 + - *663 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96187,8 +95500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *494 - - *495 + - *491 + - *492 - name: file_sha in: path required: true @@ -96287,8 +95600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -96397,7 +95710,7 @@ paths: description: Response content: application/json: - schema: &667 + schema: &664 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -96611,15 +95924,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *494 - - *495 - - *611 + - *491 + - *492 + - *608 responses: '200': description: Response content: application/json: - schema: *667 + schema: *664 examples: default: value: @@ -96675,9 +95988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *494 - - *495 - - &668 + - *491 + - *492 + - &665 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. @@ -96694,7 +96007,7 @@ paths: application/json: schema: type: array - items: &669 + items: &666 title: Git Reference description: Git references within a repository type: object @@ -96769,17 +96082,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *494 - - *495 - - *668 + - *491 + - *492 + - *665 responses: '200': description: Response content: application/json: - schema: *669 + schema: *666 examples: - default: &670 + default: &667 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -96808,8 +96121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -96838,9 +96151,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *666 examples: - default: *670 + default: *667 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -96866,9 +96179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *494 - - *495 - - *668 + - *491 + - *492 + - *665 requestBody: required: true content: @@ -96897,9 +96210,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *666 examples: - default: *670 + default: *667 '422': *15 '409': *121 x-github: @@ -96917,9 +96230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *494 - - *495 - - *668 + - *491 + - *492 + - *665 responses: '204': description: Response @@ -96974,8 +96287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -97042,7 +96355,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &669 title: Git Tag description: Metadata for a Git tag type: object @@ -97093,7 +96406,7 @@ paths: - sha - type - url - verification: *671 + verification: *668 required: - sha - url @@ -97103,7 +96416,7 @@ paths: - tag - message examples: - default: &673 + default: &670 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -97176,8 +96489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *494 - - *495 + - *491 + - *492 - name: tag_sha in: path required: true @@ -97188,9 +96501,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *669 examples: - default: *673 + default: *670 '404': *6 '409': *121 x-github: @@ -97214,8 +96527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -97288,7 +96601,7 @@ paths: description: Response content: application/json: - schema: &674 + schema: &671 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -97384,8 +96697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *494 - - *495 + - *491 + - *492 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -97408,7 +96721,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *671 examples: default-response: summary: Default response @@ -97466,8 +96779,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -97510,8 +96823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -97521,7 +96834,7 @@ paths: application/json: schema: type: array - items: &675 + items: &672 title: Webhook description: Webhooks for repositories. type: object @@ -97575,7 +96888,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &939 + last_response: &937 title: Hook Response type: object properties: @@ -97649,8 +96962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -97702,9 +97015,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *672 examples: - default: &676 + default: &673 value: type: Repository id: 12345678 @@ -97752,17 +97065,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 responses: '200': description: Response content: application/json: - schema: *675 + schema: *672 examples: - default: *676 + default: *673 '404': *6 x-github: githubCloudOnly: false @@ -97782,9 +97095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 requestBody: required: true content: @@ -97829,9 +97142,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *672 examples: - default: *676 + default: *673 '422': *15 '404': *6 x-github: @@ -97852,9 +97165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 responses: '204': description: Response @@ -97878,9 +97191,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: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 responses: '200': description: Response @@ -97907,9 +97220,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: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 requestBody: required: false content: @@ -97953,12 +97266,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 - *17 - - *376 - - *377 + - *373 + - *374 responses: '200': description: Response @@ -97966,9 +97279,9 @@ paths: application/json: schema: type: array - items: *378 + items: *375 examples: - default: *379 + default: *376 '400': *14 '422': *15 x-github: @@ -97987,18 +97300,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: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 - *16 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: *381 + default: *378 '400': *14 '422': *15 x-github: @@ -98017,9 +97330,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: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 - *16 responses: '202': *39 @@ -98042,9 +97355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 responses: '204': description: Response @@ -98069,9 +97382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *494 - - *495 - - *375 + - *491 + - *492 + - *372 responses: '204': description: Response @@ -98094,8 +97407,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response if immutable releases are enabled @@ -98141,8 +97454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': *130 '409': *121 @@ -98162,8 +97475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': *130 '409': *121 @@ -98220,14 +97533,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: &677 + schema: &674 title: Import description: A repository import from an external source. type: object @@ -98326,7 +97639,7 @@ paths: - html_url - authors_url examples: - default: &680 + default: &677 value: vcs: subversion use_lfs: true @@ -98342,7 +97655,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': &678 + '503': &675 description: Unavailable due to service under maintenance. content: application/json: @@ -98371,8 +97684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -98420,7 +97733,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *674 examples: default: value: @@ -98445,7 +97758,7 @@ paths: type: string '422': *15 '404': *6 - '503': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98473,8 +97786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -98523,7 +97836,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *674 examples: example-1: summary: Example 1 @@ -98571,7 +97884,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': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98594,12 +97907,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response - '503': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98625,9 +97938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *494 - - *495 - - &864 + - *491 + - *492 + - &862 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -98641,7 +97954,7 @@ paths: application/json: schema: type: array - items: &679 + items: &676 title: Porter Author description: Porter Author type: object @@ -98695,7 +98008,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': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98720,8 +98033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *494 - - *495 + - *491 + - *492 - name: author_id in: path required: true @@ -98751,7 +98064,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *676 examples: default: value: @@ -98764,7 +98077,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98788,8 +98101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -98830,7 +98143,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98858,8 +98171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -98886,11 +98199,11 @@ paths: description: Response content: application/json: - schema: *677 + schema: *674 examples: - default: *680 + default: *677 '422': *15 - '503': *678 + '503': *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98913,8 +98226,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -98922,8 +98235,8 @@ paths: application/json: schema: *22 examples: - default: *393 - '301': *500 + default: *390 + '301': *497 '404': *6 x-github: githubCloudOnly: false @@ -98943,8 +98256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -98952,12 +98265,12 @@ paths: application/json: schema: anyOf: - - *395 + - *392 - type: object properties: {} additionalProperties: false examples: - default: &682 + default: &679 value: limit: collaborators_only origin: repository @@ -98982,13 +98295,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: application/json: - schema: *681 + schema: *678 examples: default: summary: Example request body @@ -99000,9 +98313,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *392 examples: - default: *682 + default: *679 '409': description: Response x-github: @@ -99024,8 +98337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -99036,6 +98349,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: + - *491 + - *492 + 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': *29 + '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: + - *491 + - *492 + requestBody: + required: true + content: + application/json: + schema: &680 + 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 + example: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *29 + '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: + - *491 + - *492 + requestBody: + required: true + content: + application/json: + schema: *680 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *29 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -99048,8 +98512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -99059,9 +98523,9 @@ paths: application/json: schema: type: array - items: *683 + items: *681 examples: - default: &856 + default: &854 value: - id: 1 repository: @@ -99192,9 +98656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *494 - - *495 - - *399 + - *491 + - *492 + - *396 requestBody: required: false content: @@ -99223,7 +98687,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *681 examples: default: value: @@ -99354,9 +98818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *494 - - *495 - - *399 + - *491 + - *492 + - *396 responses: '204': description: Response @@ -99379,8 +98843,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -99388,9 +98852,9 @@ paths: application/json: schema: type: array - items: *403 + items: *400 examples: - default: *684 + default: *682 '404': *6 x-github: githubCloudOnly: false @@ -99419,8 +98883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *494 - - *495 + - *491 + - *492 - 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 @@ -99482,7 +98946,7 @@ paths: required: false schema: type: string - - *406 + - *403 - name: sort description: What to sort results by. in: query @@ -99495,7 +98959,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - *17 - *19 responses: @@ -99505,9 +98969,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: &696 + default: &694 value: - id: 1 node_id: MDU6SXNzdWUx @@ -99656,7 +99120,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *500 + '301': *497 '422': *15 '404': *6 x-github: @@ -99685,8 +99149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -99786,9 +99250,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: &693 + default: &691 value: id: 1 node_id: MDU6SXNzdWUx @@ -99926,7 +99390,7 @@ paths: '422': *15 '503': *200 '404': *6 - '410': *685 + '410': *683 x-github: triggersNotification: true githubCloudOnly: false @@ -99954,9 +99418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *494 - - *495 - - *255 + - *491 + - *492 + - *252 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -99966,7 +99430,7 @@ paths: enum: - asc - desc - - *238 + - *235 - *17 - *19 responses: @@ -99976,9 +99440,9 @@ paths: application/json: schema: type: array - items: *686 + items: *684 examples: - default: &695 + default: &693 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -100036,17 +99500,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '200': description: Response content: application/json: - schema: *686 + schema: *684 examples: - default: &687 + default: &685 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -100101,9 +99565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -100125,9 +99589,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *684 examples: - default: *687 + default: *685 '422': *15 x-github: githubCloudOnly: false @@ -100145,9 +99609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '204': description: Response @@ -100175,15 +99639,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '200': description: Response content: application/json: - schema: *686 + schema: *684 examples: default: value: @@ -100239,7 +99703,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *685 + '410': *683 '422': *15 x-github: githubCloudOnly: false @@ -100256,16 +99720,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *685 + '410': *683 '503': *200 x-github: githubCloudOnly: false @@ -100283,9 +99747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 - 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. @@ -100311,9 +99775,9 @@ paths: application/json: schema: type: array - items: *608 + items: *605 examples: - default: *688 + default: *686 headers: Link: *47 '404': *6 @@ -100334,9 +99798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -100368,16 +99832,16 @@ paths: description: Reaction exists content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '201': description: Reaction created content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '422': *15 x-github: githubCloudOnly: false @@ -100399,10 +99863,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *494 - - *495 - - *247 - - *689 + - *491 + - *492 + - *244 + - *687 responses: '204': description: Response @@ -100422,8 +99886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -100433,7 +99897,7 @@ paths: application/json: schema: type: array - items: &692 + items: &690 title: Issue Event description: Issue Event type: object @@ -100476,8 +99940,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *690 - required: *691 + properties: *688 + required: *689 nullable: true label: title: Issue Event Label @@ -100521,7 +99985,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *328 + requested_team: *325 dismissed_review: title: Issue Event Dismissed Review type: object @@ -100586,7 +100050,7 @@ paths: required: - from - to - author_association: *228 + author_association: *225 lock_reason: type: string nullable: true @@ -100599,8 +100063,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 required: - id - node_id @@ -100785,8 +100249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *494 - - *495 + - *491 + - *492 - name: event_id in: path required: true @@ -100797,7 +100261,7 @@ paths: description: Response content: application/json: - schema: *692 + schema: *690 examples: default: value: @@ -100990,7 +100454,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *685 + '410': *683 '403': *29 x-github: githubCloudOnly: false @@ -101024,9 +100488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *494 - - *495 - - &694 + - *491 + - *492 + - &692 name: issue_number description: The number that identifies the issue. in: path @@ -101038,11 +100502,11 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: default: summary: Issue - value: *693 + value: *691 pinned_comment: summary: Issue with pinned comment value: @@ -101222,9 +100686,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 '304': *37 x-github: githubCloudOnly: false @@ -101249,9 +100713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: false content: @@ -101374,15 +100838,15 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 '422': *15 '503': *200 '403': *29 - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101400,9 +100864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: false content: @@ -101428,9 +100892,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101446,9 +100910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: content: application/json: @@ -101473,9 +100937,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101497,9 +100961,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - name: assignee in: path required: true @@ -101539,10 +101003,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *494 - - *495 - - *694 - - *238 + - *491 + - *492 + - *692 + - *235 - *17 - *19 responses: @@ -101552,13 +101016,13 @@ paths: application/json: schema: type: array - items: *686 + items: *684 examples: - default: *695 + default: *693 headers: Link: *47 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101587,9 +101051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -101611,16 +101075,16 @@ paths: description: Response content: application/json: - schema: *686 + schema: *684 examples: - default: *687 + default: *685 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *685 + '410': *683 '422': *15 '404': *6 x-github: @@ -101648,9 +101112,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -101660,14 +101124,14 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *696 + default: *694 headers: Link: *47 - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101695,9 +101159,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -101719,17 +101183,17 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *500 + '301': *497 '403': *29 - '410': *685 + '410': *683 '422': *15 '404': *6 x-github: @@ -101760,9 +101224,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -101774,15 +101238,15 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 - '301': *500 + default: *691 + '301': *497 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *685 + '410': *683 x-github: triggersNotification: true githubCloudOnly: false @@ -101808,9 +101272,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -101820,14 +101284,14 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *696 + default: *694 headers: Link: *47 - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101844,9 +101308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -101860,7 +101324,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &700 + - &698 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -101891,8 +101355,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 label: type: object properties: @@ -101914,7 +101378,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &699 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -101945,8 +101409,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 label: type: object properties: @@ -102034,8 +101498,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 assignee: *4 assigner: *4 required: @@ -102050,7 +101514,7 @@ paths: - performed_via_github_app - assignee - assigner - - &702 + - &700 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -102081,8 +101545,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 milestone: type: object properties: @@ -102101,7 +101565,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &701 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -102132,8 +101596,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 milestone: type: object properties: @@ -102152,7 +101616,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &702 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -102183,8 +101647,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 rename: type: object properties: @@ -102206,7 +101670,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &703 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -102237,10 +101701,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 review_requester: *4 - requested_team: *328 + requested_team: *325 requested_reviewer: *4 required: - review_requester @@ -102253,7 +101717,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &706 + - &704 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -102284,10 +101748,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 review_requester: *4 - requested_team: *328 + requested_team: *325 requested_reviewer: *4 required: - review_requester @@ -102300,7 +101764,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &707 + - &705 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -102331,8 +101795,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 dismissed_review: type: object properties: @@ -102360,7 +101824,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &706 title: Locked Issue Event description: Locked Issue Event type: object @@ -102391,8 +101855,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 lock_reason: type: string example: '"off-topic"' @@ -102408,7 +101872,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &707 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -102439,8 +101903,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 project_card: type: object properties: @@ -102474,7 +101938,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &710 + - &708 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -102505,8 +101969,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 project_card: type: object properties: @@ -102540,7 +102004,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &711 + - &709 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -102571,8 +102035,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 project_card: type: object properties: @@ -102606,7 +102070,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &712 + - &710 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -102697,7 +102161,7 @@ paths: color: red headers: Link: *47 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102714,9 +102178,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -102726,9 +102190,9 @@ paths: application/json: schema: type: array - items: *697 + items: *695 examples: - default: &698 + default: &696 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -102763,9 +102227,9 @@ paths: color: green headers: Link: *47 - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102794,9 +102258,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -102866,9 +102330,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *697 + items: *695 examples: - default: *698 + default: *696 '400': *14 '403': *29 '404': *6 @@ -102904,9 +102368,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: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -102971,9 +102435,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *697 + items: *695 examples: - default: *698 + default: *696 '400': *14 '403': *29 '404': *6 @@ -103004,10 +102468,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: - - *494 - - *495 - - *694 - - *402 + - *491 + - *492 + - *692 + - *399 responses: '204': description: Issue field value deleted successfully @@ -103032,9 +102496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -103044,9 +102508,9 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: &699 + default: &697 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -103064,9 +102528,9 @@ paths: default: false headers: Link: *47 - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103082,9 +102546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: false content: @@ -103127,12 +102591,12 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *699 - '301': *500 + default: *697 + '301': *497 '404': *6 - '410': *685 + '410': *683 '422': *15 x-github: githubCloudOnly: false @@ -103149,9 +102613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: false content: @@ -103211,12 +102675,12 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *699 - '301': *500 + default: *697 + '301': *497 '404': *6 - '410': *685 + '410': *683 '422': *15 x-github: githubCloudOnly: false @@ -103233,15 +102697,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 responses: '204': description: Response - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103260,9 +102724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - name: name in: path required: true @@ -103275,7 +102739,7 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: default: value: @@ -103286,9 +102750,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *500 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103308,9 +102772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: false content: @@ -103338,7 +102802,7 @@ paths: '204': description: Response '403': *29 - '410': *685 + '410': *683 '404': *6 '422': *15 x-github: @@ -103356,9 +102820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 responses: '204': description: Response @@ -103388,20 +102852,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 responses: '200': description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 - '301': *500 + default: *691 + '301': *497 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103418,9 +102882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - 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. @@ -103446,13 +102910,13 @@ paths: application/json: schema: type: array - items: *608 + items: *605 examples: - default: *688 + default: *686 headers: Link: *47 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103470,9 +102934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -103504,16 +102968,16 @@ paths: description: Response content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '201': description: Response content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '422': *15 x-github: githubCloudOnly: false @@ -103535,10 +102999,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *494 - - *495 - - *694 - - *689 + - *491 + - *492 + - *692 + - *687 responses: '204': description: Response @@ -103567,9 +103031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -103591,9 +103055,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -103626,9 +103090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -103638,13 +103102,13 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *696 + default: *694 headers: Link: *47 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103672,9 +103136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -103701,16 +103165,16 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *685 + '410': *683 '422': *15 '404': *6 x-github: @@ -103730,9 +103194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 requestBody: required: true content: @@ -103763,9 +103227,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *693 + default: *691 '403': *29 '404': *6 '422': *7 @@ -103787,9 +103251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *494 - - *495 - - *694 + - *491 + - *492 + - *692 - *17 - *19 responses: @@ -103804,6 +103268,8 @@ paths: description: Timeline Event type: object anyOf: + - *698 + - *699 - *700 - *701 - *702 @@ -103815,8 +103281,6 @@ paths: - *708 - *709 - *710 - - *711 - - *712 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -103859,7 +103323,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *225 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -103869,16 +103333,16 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *223 + required: *224 + reactions: *226 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *713 - required: *714 + properties: *711 + required: *712 nullable: true required: - event @@ -103910,7 +103374,7 @@ paths: properties: type: type: string - issue: *231 + issue: *228 required: - event - created_at @@ -104110,7 +103574,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *225 required: - event - id @@ -104133,7 +103597,7 @@ paths: type: string comments: type: array - items: &736 + items: &734 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -104228,7 +103692,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *225 _links: type: object properties: @@ -104312,7 +103776,7 @@ paths: enum: - line - file - reactions: *229 + reactions: *226 body_html: type: string example: '"

comment body

"' @@ -104348,7 +103812,7 @@ paths: type: string comments: type: array - items: *607 + items: *604 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -104379,8 +103843,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 assignee: *4 required: - id @@ -104423,8 +103887,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 assignee: *4 required: - id @@ -104467,8 +103931,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 state_reason: type: string nullable: true @@ -104637,7 +104101,7 @@ paths: headers: Link: *47 '404': *6 - '410': *685 + '410': *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104654,8 +104118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -104665,7 +104129,7 @@ paths: application/json: schema: type: array - items: &715 + items: &713 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -104731,8 +104195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -104768,9 +104232,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *713 examples: - default: &716 + default: &714 value: id: 1 key: ssh-rsa AAA... @@ -104804,9 +104268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *494 - - *495 - - &717 + - *491 + - *492 + - &715 name: key_id description: The unique identifier of the key. in: path @@ -104818,9 +104282,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *713 examples: - default: *716 + default: *714 '404': *6 x-github: githubCloudOnly: false @@ -104838,9 +104302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *494 - - *495 - - *717 + - *491 + - *492 + - *715 responses: '204': description: Response @@ -104860,8 +104324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -104871,9 +104335,9 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *699 + default: *697 headers: Link: *47 '404': *6 @@ -104894,8 +104358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -104931,9 +104395,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *227 examples: - default: &718 + default: &716 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -104965,8 +104429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *494 - - *495 + - *491 + - *492 - name: name in: path required: true @@ -104977,9 +104441,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *227 examples: - default: *718 + default: *716 '404': *6 x-github: githubCloudOnly: false @@ -104996,8 +104460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *494 - - *495 + - *491 + - *492 - name: name in: path required: true @@ -105036,7 +104500,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *227 examples: default: value: @@ -105062,8 +104526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *494 - - *495 + - *491 + - *492 - name: name in: path required: true @@ -105089,8 +104553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -105126,8 +104590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '202': *39 '403': @@ -105155,8 +104619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -105182,9 +104646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *494 - - *495 - - *580 + - *491 + - *492 + - *577 responses: '200': description: Response @@ -105246,8 +104710,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true required: - _links @@ -105329,8 +104793,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -105395,8 +104859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -105430,9 +104894,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *610 + schema: *607 examples: - default: *719 + default: *717 '204': description: Response when already merged '404': @@ -105457,8 +104921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *494 - - *495 + - *491 + - *492 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -105499,12 +104963,12 @@ paths: application/json: schema: type: array - items: &720 + items: &718 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *435 + required: *436 examples: default: value: @@ -105560,8 +105024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -105601,9 +105065,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: &721 + default: &719 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -105662,9 +105126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *494 - - *495 - - &722 + - *491 + - *492 + - &720 name: milestone_number description: The number that identifies the milestone. in: path @@ -105676,9 +105140,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *721 + default: *719 '404': *6 x-github: githubCloudOnly: false @@ -105695,9 +105159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *494 - - *495 - - *722 + - *491 + - *492 + - *720 requestBody: required: false content: @@ -105735,9 +105199,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *721 + default: *719 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105753,9 +105217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *494 - - *495 - - *722 + - *491 + - *492 + - *720 responses: '204': description: Response @@ -105776,9 +105240,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: - - *494 - - *495 - - *722 + - *491 + - *492 + - *720 - *17 - *19 responses: @@ -105788,9 +105252,9 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *699 + default: *697 headers: Link: *47 x-github: @@ -105809,12 +105273,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: - - *494 - - *495 + - *491 + - *492 + - *721 + - *722 + - *235 - *723 - - *724 - - *238 - - *725 - *17 - *19 responses: @@ -105824,9 +105288,9 @@ paths: application/json: schema: type: array - items: *258 + items: *255 examples: - default: *726 + default: *724 headers: Link: *47 x-github: @@ -105850,8 +105314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -105909,14 +105373,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: &727 + schema: &725 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -106041,7 +105505,7 @@ paths: - custom_404 - public examples: - default: &728 + default: &726 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -106082,8 +105546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -106137,9 +105601,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *725 examples: - default: *728 + default: *726 '422': *15 '409': *121 x-github: @@ -106162,8 +105626,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -106270,8 +105734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -106297,8 +105761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -106308,7 +105772,7 @@ paths: application/json: schema: type: array - items: &729 + items: &727 title: Page Build description: Page Build type: object @@ -106402,8 +105866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *494 - - *495 + - *491 + - *492 responses: '201': description: Response @@ -106448,16 +105912,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *729 + schema: *727 examples: - default: &730 + default: &728 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -106505,8 +105969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *494 - - *495 + - *491 + - *492 - name: build_id in: path required: true @@ -106517,9 +105981,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *727 examples: - default: *730 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106539,8 +106003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -106645,9 +106109,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: - - *494 - - *495 - - &731 + - *491 + - *492 + - &729 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -106705,9 +106169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *494 - - *495 - - *731 + - *491 + - *492 + - *729 responses: '204': *130 '404': *6 @@ -106734,8 +106198,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -106966,7 +106430,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -106993,8 +106457,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Private vulnerability reporting status @@ -107031,8 +106495,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: - - *494 - - *495 + - *491 + - *492 responses: '204': *130 '422': *14 @@ -107053,8 +106517,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: - - *494 - - *495 + - *491 + - *492 responses: '204': *130 '422': *14 @@ -107076,8 +106540,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -107087,7 +106551,7 @@ paths: type: array items: *160 examples: - default: *732 + default: *730 '403': *29 '404': *6 x-github: @@ -107109,8 +106573,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -107126,7 +106590,7 @@ paths: required: - properties examples: - default: *733 + default: *731 responses: '204': description: No Content when custom property values are successfully created @@ -107164,8 +106628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *494 - - *495 + - *491 + - *492 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -107225,9 +106689,9 @@ paths: application/json: schema: type: array - items: *614 + items: *611 examples: - default: *734 + default: *732 headers: Link: *47 '304': *37 @@ -107259,8 +106723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -107325,7 +106789,7 @@ paths: description: Response content: application/json: - schema: &738 + schema: &736 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -107436,8 +106900,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *435 + required: *436 nullable: true active_lock_reason: type: string @@ -107469,7 +106933,7 @@ paths: items: *4 requested_teams: type: array - items: *478 + items: *475 head: type: object properties: @@ -107507,14 +106971,14 @@ paths: _links: type: object properties: - comments: *440 - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + comments: *437 + commits: *437 + statuses: *437 + html: *437 + issue: *437 + review_comments: *437 + review_comment: *437 + self: *437 required: - comments - commits @@ -107524,8 +106988,8 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: *735 + author_association: *225 + auto_merge: *733 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -107615,7 +107079,7 @@ paths: - merged_by - review_comments examples: - default: &739 + default: &737 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -108122,8 +107586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *494 - - *495 + - *491 + - *492 - name: sort in: query required: false @@ -108142,7 +107606,7 @@ paths: enum: - asc - desc - - *238 + - *235 - *17 - *19 responses: @@ -108152,9 +107616,9 @@ paths: application/json: schema: type: array - items: *736 + items: *734 examples: - default: &741 + default: &739 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -108231,17 +107695,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: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '200': description: Response content: application/json: - schema: *736 + schema: *734 examples: - default: &737 + default: &735 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -108316,9 +107780,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: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -108340,9 +107804,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *734 examples: - default: *737 + default: *735 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108358,9 +107822,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: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 responses: '204': description: Response @@ -108381,9 +107845,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: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 - 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. @@ -108409,9 +107873,9 @@ paths: application/json: schema: type: array - items: *608 + items: *605 examples: - default: *688 + default: *686 headers: Link: *47 '404': *6 @@ -108432,9 +107896,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: - - *494 - - *495 - - *247 + - *491 + - *492 + - *244 requestBody: required: true content: @@ -108466,16 +107930,16 @@ paths: description: Reaction exists content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '201': description: Reaction created content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '422': *15 x-github: githubCloudOnly: false @@ -108497,10 +107961,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *494 - - *495 - - *247 - - *689 + - *491 + - *492 + - *244 + - *687 responses: '204': description: Response @@ -108543,9 +108007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *494 - - *495 - - &740 + - *491 + - *492 + - &738 name: pull_number description: The number that identifies the pull request. in: path @@ -108558,9 +108022,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *738 + schema: *736 examples: - default: *739 + default: *737 '304': *37 '404': *6 '406': @@ -108595,9 +108059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: false content: @@ -108639,9 +108103,9 @@ paths: description: Response content: application/json: - schema: *738 + schema: *736 examples: - default: *739 + default: *737 '422': *15 '403': *29 x-github: @@ -108663,9 +108127,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: true content: @@ -108725,17 +108189,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '401': *25 '403': *29 '404': *6 @@ -108765,10 +108229,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: - - *494 - - *495 - - *740 - - *255 + - *491 + - *492 + - *738 + - *252 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -108778,7 +108242,7 @@ paths: enum: - asc - desc - - *238 + - *235 - *17 - *19 responses: @@ -108788,9 +108252,9 @@ paths: application/json: schema: type: array - items: *736 + items: *734 examples: - default: *741 + default: *739 headers: Link: *47 x-github: @@ -108823,9 +108287,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: true content: @@ -108930,7 +108394,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *734 examples: example-for-a-multi-line-comment: value: @@ -109018,10 +108482,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: - - *494 - - *495 - - *740 - - *247 + - *491 + - *492 + - *738 + - *244 requestBody: required: true content: @@ -109043,7 +108507,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *734 examples: default: value: @@ -109129,9 +108593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 - *17 - *19 responses: @@ -109141,9 +108605,9 @@ paths: application/json: schema: type: array - items: *610 + items: *607 examples: - default: *742 + default: *740 headers: Link: *47 x-github: @@ -109173,9 +108637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 - *17 - *19 responses: @@ -109185,7 +108649,7 @@ paths: application/json: schema: type: array - items: *623 + items: *620 examples: default: value: @@ -109223,9 +108687,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 responses: '204': description: Response if pull request has been merged @@ -109248,9 +108712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: false content: @@ -109361,9 +108825,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 responses: '200': description: Response @@ -109379,7 +108843,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *325 required: - users - teams @@ -109438,9 +108902,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: false content: @@ -109477,7 +108941,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *611 examples: default: value: @@ -110013,9 +109477,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: true content: @@ -110049,7 +109513,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *611 examples: default: value: @@ -110534,9 +109998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 - *17 - *19 responses: @@ -110546,7 +110010,7 @@ paths: application/json: schema: type: array - items: &743 + items: &741 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -110615,7 +110079,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *225 required: - id - node_id @@ -110697,9 +110161,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: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: false content: @@ -110785,9 +110249,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: - default: &745 + default: &743 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -110850,10 +110314,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: - - *494 - - *495 - - *740 - - &744 + - *491 + - *492 + - *738 + - &742 name: review_id description: The unique identifier of the review. in: path @@ -110865,9 +110329,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: - default: &746 + default: &744 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -110926,10 +110390,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: - - *494 - - *495 - - *740 - - *744 + - *491 + - *492 + - *738 + - *742 requestBody: required: true content: @@ -110952,7 +110416,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: default: value: @@ -111014,18 +110478,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: - - *494 - - *495 - - *740 - - *744 + - *491 + - *492 + - *738 + - *742 responses: '200': description: Response content: application/json: - schema: *743 + schema: *741 examples: - default: *745 + default: *743 '422': *7 '404': *6 x-github: @@ -111052,10 +110516,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: - - *494 - - *495 - - *740 - - *744 + - *491 + - *492 + - *738 + - *742 - *17 - *19 responses: @@ -111134,13 +110598,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *225 _links: type: object properties: - self: *440 - html: *440 - pull_request: *440 + self: *437 + html: *437 + pull_request: *437 required: - self - html @@ -111149,7 +110613,7 @@ paths: type: string body_html: type: string - reactions: *229 + reactions: *226 side: description: The side of the first line of the range for a multi-line comment. @@ -111290,10 +110754,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: - - *494 - - *495 - - *740 - - *744 + - *491 + - *492 + - *738 + - *742 requestBody: required: true content: @@ -111321,7 +110785,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: default: value: @@ -111384,10 +110848,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: - - *494 - - *495 - - *740 - - *744 + - *491 + - *492 + - *738 + - *742 requestBody: required: true content: @@ -111422,9 +110886,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: - default: *746 + default: *744 '404': *6 '422': *7 '403': *29 @@ -111446,9 +110910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *494 - - *495 - - *740 + - *491 + - *492 + - *738 requestBody: required: false content: @@ -111511,8 +110975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *494 - - *495 + - *491 + - *492 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -111525,9 +110989,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *745 examples: - default: &748 + default: &746 value: type: file encoding: base64 @@ -111569,8 +111033,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: - - *494 - - *495 + - *491 + - *492 - name: dir description: The alternate path to look for a README file in: path @@ -111590,9 +111054,9 @@ paths: description: Response content: application/json: - schema: *747 + schema: *745 examples: - default: *748 + default: *746 '404': *6 '422': *15 x-github: @@ -111614,8 +111078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -111625,7 +111089,7 @@ paths: application/json: schema: type: array - items: *749 + items: *747 examples: default: value: @@ -111719,8 +111183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -111796,9 +111260,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *747 examples: - default: &753 + default: &751 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -111903,9 +111367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *494 - - *495 - - &751 + - *491 + - *492 + - &749 name: asset_id description: The unique identifier of the asset. in: path @@ -111917,9 +111381,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *748 examples: - default: &752 + default: &750 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 @@ -111954,7 +111418,7 @@ paths: type: User site_admin: false '404': *6 - '302': *627 + '302': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111970,9 +111434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *494 - - *495 - - *751 + - *491 + - *492 + - *749 requestBody: required: false content: @@ -112000,9 +111464,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *748 examples: - default: *752 + default: *750 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112018,9 +111482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *494 - - *495 - - *751 + - *491 + - *492 + - *749 responses: '204': description: Response @@ -112045,8 +111509,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -112131,16 +111595,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response content: application/json: - schema: *749 + schema: *747 examples: - default: *753 + default: *751 '404': *6 x-github: githubCloudOnly: false @@ -112158,8 +111622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *494 - - *495 + - *491 + - *492 - name: tag description: tag parameter in: path @@ -112172,9 +111636,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *747 examples: - default: *753 + default: *751 '404': *6 x-github: githubCloudOnly: false @@ -112196,9 +111660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *494 - - *495 - - &754 + - *491 + - *492 + - &752 name: release_id description: The unique identifier of the release. in: path @@ -112212,9 +111676,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: *749 + schema: *747 examples: - default: *753 + default: *751 '401': description: Unauthorized x-github: @@ -112232,9 +111696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 requestBody: required: false content: @@ -112298,9 +111762,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *747 examples: - default: *753 + default: *751 '404': description: Not Found if the discussion category name is invalid content: @@ -112321,9 +111785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 responses: '204': description: Response @@ -112344,9 +111808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 - *17 - *19 responses: @@ -112356,7 +111820,7 @@ paths: application/json: schema: type: array - items: *750 + items: *748 examples: default: value: @@ -112438,9 +111902,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: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 - name: name in: query required: true @@ -112466,7 +111930,7 @@ paths: description: Response for successful upload content: application/json: - schema: *750 + schema: *748 examples: response-for-successful-upload: value: @@ -112521,9 +111985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 - 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. @@ -112547,9 +112011,9 @@ paths: application/json: schema: type: array - items: *608 + items: *605 examples: - default: *688 + default: *686 headers: Link: *47 '404': *6 @@ -112570,9 +112034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *494 - - *495 - - *754 + - *491 + - *492 + - *752 requestBody: required: true content: @@ -112602,16 +112066,16 @@ paths: description: Reaction exists content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '201': description: Reaction created content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 '422': *15 x-github: githubCloudOnly: false @@ -112633,10 +112097,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *494 - - *495 - - *754 - - *689 + - *491 + - *492 + - *752 + - *687 responses: '204': description: Response @@ -112660,9 +112124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *494 - - *495 - - *546 + - *491 + - *492 + - *543 - *17 - *19 responses: @@ -112679,7 +112143,7 @@ paths: oneOf: - allOf: - *174 - - &755 + - &753 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -112700,67 +112164,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *175 - - *755 + - *753 - allOf: - *176 - - *755 + - *753 - allOf: - *177 - - *755 + - *753 - allOf: - - *756 - - *755 + - *754 + - *753 - allOf: - *178 - - *755 + - *753 - allOf: - *179 - - *755 + - *753 - allOf: - *180 - - *755 + - *753 - allOf: - *181 - - *755 + - *753 - allOf: - *182 - - *755 + - *753 - allOf: - *183 - - *755 + - *753 - allOf: - *184 - - *755 + - *753 - allOf: - *185 - - *755 + - *753 - allOf: - *186 - - *755 + - *753 - allOf: - *187 - - *755 + - *753 - allOf: - *188 - - *755 + - *753 - allOf: - *189 - - *755 + - *753 - allOf: - *190 - - *755 + - *753 - allOf: - *191 - - *755 + - *753 - allOf: - *192 - - *755 + - *753 - allOf: - *193 - - *755 + - *753 - allOf: - *194 - - *755 + - *753 examples: default: value: @@ -112799,8 +112263,8 @@ paths: category: repos subcategory: rules parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 - name: includes_parents @@ -112811,7 +112275,7 @@ paths: schema: type: boolean default: true - - *757 + - *755 responses: '200': description: Response @@ -112866,8 +112330,8 @@ paths: category: repos subcategory: rules parameters: - - *494 - - *495 + - *491 + - *492 requestBody: description: Request body required: true @@ -112896,7 +112360,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *758 + items: *756 required: - name - enforcement @@ -112929,7 +112393,7 @@ paths: application/json: schema: *195 examples: - default: &768 + default: &766 value: id: 42 name: super cool ruleset @@ -112977,13 +112441,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *494 - - *495 - - *759 + - *491 + - *492 + - *757 - *107 + - *758 + - *759 - *760 - - *761 - - *762 - *17 - *19 responses: @@ -112991,9 +112455,9 @@ paths: description: Response content: application/json: - schema: *763 + schema: *761 examples: - default: *764 + default: *762 '404': *6 '500': *40 x-github: @@ -113014,17 +112478,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *494 - - *495 - - *765 + - *491 + - *492 + - *763 responses: '200': description: Response content: application/json: - schema: *766 + schema: *764 examples: - default: *767 + default: *765 '404': *6 '500': *40 x-github: @@ -113052,8 +112516,8 @@ paths: category: repos subcategory: rules parameters: - - *494 - - *495 + - *491 + - *492 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113075,7 +112539,7 @@ paths: application/json: schema: *195 examples: - default: *768 + default: *766 '404': *6 '500': *40 put: @@ -113093,8 +112557,8 @@ paths: category: repos subcategory: rules parameters: - - *494 - - *495 + - *491 + - *492 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113128,7 +112592,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *758 + items: *756 examples: default: value: @@ -113158,7 +112622,7 @@ paths: application/json: schema: *195 examples: - default: *768 + default: *766 '404': *6 '422': *15 '500': *40 @@ -113177,8 +112641,8 @@ paths: category: repos subcategory: rules parameters: - - *494 - - *495 + - *491 + - *492 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113201,8 +112665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 - name: ruleset_id @@ -113220,7 +112684,7 @@ paths: type: array items: *199 examples: - default: *458 + default: *455 '404': *6 '500': *40 x-github: @@ -113239,8 +112703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *494 - - *495 + - *491 + - *492 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113258,7 +112722,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *456 examples: default: value: @@ -113313,26 +112777,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: - - *494 - - *495 + - *491 + - *492 + - *457 + - *458 + - *459 - *460 - *461 - *462 - *463 - *464 - - *465 - - *466 - - *467 - *112 - *19 - *17 - - *769 - - *770 + - *767 + - *768 + - *465 + - *466 + - *467 - *468 - *469 - - *470 - - *471 - - *472 responses: '200': description: Response @@ -113340,7 +112804,7 @@ paths: application/json: schema: type: array - items: &774 + items: &772 type: object properties: number: *131 @@ -113359,8 +112823,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *771 - resolution: *772 + state: *769 + resolution: *770 resolved_at: type: string format: date-time @@ -113466,7 +112930,7 @@ paths: pull request. ' - oneOf: *773 + oneOf: *771 nullable: true has_more_locations: type: boolean @@ -113630,16 +113094,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: - - *494 - - *495 - - *574 - - *471 + - *491 + - *492 + - *571 + - *468 responses: '200': description: Response content: application/json: - schema: *774 + schema: *772 examples: default: value: @@ -113693,9 +113157,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 requestBody: required: true content: @@ -113703,8 +113167,8 @@ paths: schema: type: object properties: - state: *771 - resolution: *772 + state: *769 + resolution: *770 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -113748,7 +113212,7 @@ paths: description: Response content: application/json: - schema: *774 + schema: *772 examples: default: value: @@ -113847,9 +113311,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: - - *494 - - *495 - - *574 + - *491 + - *492 + - *571 - *19 - *17 responses: @@ -113860,7 +113324,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &961 + items: &959 type: object properties: type: @@ -113886,6 +113350,8 @@ paths: example: commit details: oneOf: + - *773 + - *774 - *775 - *776 - *777 @@ -113897,8 +113363,6 @@ paths: - *783 - *784 - *785 - - *786 - - *787 examples: default: value: @@ -113984,8 +113448,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -113993,14 +113457,14 @@ paths: schema: type: object properties: - reason: &789 + reason: &787 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *788 + placeholder_id: *786 required: - reason - placeholder_id @@ -114017,7 +113481,7 @@ paths: schema: type: object properties: - reason: *789 + reason: *787 expire_at: type: string format: date-time @@ -114063,8 +113527,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: - - *494 - - *495 + - *491 + - *492 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -114079,7 +113543,7 @@ paths: properties: incremental_scans: type: array - items: &790 + items: &788 description: Information on a single scan performed by secret scanning on the repository type: object @@ -114110,15 +113574,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *790 + items: *788 backfill_scans: type: array - items: *790 + items: *788 custom_pattern_backfill_scans: type: array items: allOf: - - *790 + - *788 - type: object properties: pattern_name: @@ -114131,7 +113595,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *790 + items: *788 examples: default: value: @@ -114196,8 +113660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *494 - - *495 + - *491 + - *492 - *112 - name: sort description: The property to sort the results by. @@ -114241,9 +113705,9 @@ paths: application/json: schema: type: array - items: *791 + items: *789 examples: - default: *792 + default: *790 '400': *14 '404': *6 x-github: @@ -114266,8 +113730,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -114340,7 +113804,7 @@ paths: login: type: string description: The username of the user credited. - type: *477 + type: *474 required: - login - type @@ -114427,9 +113891,9 @@ paths: description: Response content: application/json: - schema: *791 + schema: *789 examples: - default: &794 + default: &792 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -114659,8 +114123,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: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -114764,7 +114228,7 @@ paths: description: Response content: application/json: - schema: *791 + schema: *789 examples: default: value: @@ -114910,17 +114374,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: - - *494 - - *495 - - *793 + - *491 + - *492 + - *791 responses: '200': description: Response content: application/json: - schema: *791 + schema: *789 examples: - default: *794 + default: *792 '403': *29 '404': *6 x-github: @@ -114944,9 +114408,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: - - *494 - - *495 - - *793 + - *491 + - *492 + - *791 requestBody: required: true content: @@ -115019,7 +114483,7 @@ paths: login: type: string description: The username of the user credited. - type: *477 + type: *474 required: - login - type @@ -115105,17 +114569,17 @@ paths: description: Response content: application/json: - schema: *791 + schema: *789 examples: - default: *794 - add_credit: *794 + default: *792 + add_credit: *792 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *267 + schema: *264 examples: invalid_state_transition: value: @@ -115146,9 +114610,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: - - *494 - - *495 - - *793 + - *491 + - *492 + - *791 responses: '202': *39 '400': *14 @@ -115175,17 +114639,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: - - *494 - - *495 - - *793 + - *491 + - *492 + - *791 responses: '202': description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *501 + default: *498 '400': *14 '422': *15 '403': *29 @@ -115211,8 +114675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -115311,8 +114775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -115321,7 +114785,7 @@ paths: application/json: schema: type: array - items: &795 + items: &793 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -115354,8 +114818,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -115431,8 +114895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -115528,8 +114992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -115683,8 +115147,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: - - *494 - - *495 + - *491 + - *492 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -115694,7 +115158,7 @@ paths: application/json: schema: type: array - items: *795 + items: *793 examples: default: value: @@ -115727,8 +115191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *494 - - *495 + - *491 + - *492 - name: sha in: path required: true @@ -115782,7 +115246,7 @@ paths: description: Response content: application/json: - schema: *796 + schema: *794 examples: default: value: @@ -115836,8 +115300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -115849,7 +115313,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -115869,14 +115333,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &797 + schema: &795 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -115944,8 +115408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: false content: @@ -115971,7 +115435,7 @@ paths: description: Response content: application/json: - schema: *797 + schema: *795 examples: default: value: @@ -115998,8 +115462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -116019,8 +115483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -116099,8 +115563,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *494 - - *495 + - *491 + - *492 - name: ref in: path required: true @@ -116136,8 +115600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *494 - - *495 + - *491 + - *492 - *17 - *19 responses: @@ -116147,9 +115611,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *418 + default: *415 headers: Link: *47 '404': *6 @@ -116169,8 +115633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *494 - - *495 + - *491 + - *492 - *19 - *17 responses: @@ -116178,7 +115642,7 @@ paths: description: Response content: application/json: - schema: &798 + schema: &796 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -116190,7 +115654,7 @@ paths: required: - names examples: - default: &799 + default: &797 value: names: - octocat @@ -116213,8 +115677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -116245,9 +115709,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *796 examples: - default: *799 + default: *797 '404': *6 '422': *7 x-github: @@ -116268,9 +115732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *494 - - *495 - - &800 + - *491 + - *492 + - &798 name: per description: The time frame to display results for. in: query @@ -116299,7 +115763,7 @@ paths: example: 128 clones: type: array - items: &801 + items: &799 title: Traffic type: object properties: @@ -116386,8 +115850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -116477,8 +115941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *494 - - *495 + - *491 + - *492 responses: '200': description: Response @@ -116538,9 +116002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *494 - - *495 - - *800 + - *491 + - *492 + - *798 responses: '200': description: Response @@ -116559,7 +116023,7 @@ paths: example: 3782 views: type: array - items: *801 + items: *799 required: - uniques - count @@ -116636,8 +116100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *494 - - *495 + - *491 + - *492 requestBody: required: true content: @@ -116673,7 +116137,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *289 examples: default: value: @@ -116910,8 +116374,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -116934,8 +116398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -116957,8 +116421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -116984,8 +116448,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *494 - - *495 + - *491 + - *492 - name: ref in: path required: true @@ -117077,9 +116541,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *501 + default: *498 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117120,7 +116584,7 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: default: value: @@ -117230,7 +116694,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &809 + - &807 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -117239,7 +116703,7 @@ paths: schema: type: string example: members - - &814 + - &812 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -117250,7 +116714,7 @@ paths: default: 1 format: int32 example: 1 - - &815 + - &813 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -117292,7 +116756,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &804 + items: &802 allOf: - type: object required: @@ -117367,7 +116831,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: &816 + meta: &814 type: object description: The metadata associated with the creation/updates to the user. @@ -117427,30 +116891,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &805 + '400': &803 description: Bad request content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 - '401': *803 - '403': &806 + schema: *800 + '401': *801 + '403': &804 description: Permission denied - '429': &807 + '429': &805 description: Too many requests content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 - '500': &808 + schema: *800 + '500': &806 description: Internal server error content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 + schema: *800 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117474,7 +116938,7 @@ paths: required: true content: application/json: - schema: &812 + schema: &810 type: object required: - schemas @@ -117534,9 +116998,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *804 + schema: *802 examples: - group: &810 + group: &808 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -117555,13 +117019,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': *805 - '401': *803 - '403': *806 - '409': &813 + '400': *803 + '401': *801 + '403': *804 + '409': &811 description: Duplicate record detected - '429': *807 - '500': *808 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117578,7 +117042,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: - - &811 + - &809 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -117586,22 +117050,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *809 + - *807 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *804 + schema: *802 examples: - default: *810 - '400': *805 - '401': *803 - '403': *806 + default: *808 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '429': *807 - '500': *808 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117620,13 +117084,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: - - *811 + - *809 - *41 requestBody: required: true content: application/json: - schema: *812 + schema: *810 examples: group: summary: Group @@ -117652,17 +117116,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *804 + schema: *802 examples: - group: *810 - groupWithMembers: *810 - '400': *805 - '401': *803 - '403': *806 + group: *808 + groupWithMembers: *808 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '409': *813 - '429': *807 - '500': *808 + '409': *811 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117686,13 +117150,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: - - *811 + - *809 - *41 requestBody: required: true content: application/json: - schema: &823 + schema: &821 type: object required: - Operations @@ -117752,17 +117216,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *804 + schema: *802 examples: - updateGroup: *810 - addMembers: *810 - '400': *805 - '401': *803 - '403': *806 + updateGroup: *808 + addMembers: *808 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '409': *813 - '429': *807 - '500': *808 + '409': *811 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117778,17 +117242,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: - - *811 + - *809 - *41 responses: '204': description: Group was deleted, no content - '400': *805 - '401': *803 - '403': *806 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '429': *807 - '500': *808 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117822,8 +117286,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *814 - - *815 + - *812 + - *813 - *41 responses: '200': @@ -117856,7 +117320,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &818 + items: &816 allOf: - type: object required: @@ -117935,7 +117399,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &817 + roles: &815 type: array description: The roles assigned to the user. items: @@ -117991,7 +117455,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *816 + meta: *814 startIndex: type: integer description: A starting index for the returned page @@ -118028,11 +117492,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *805 - '401': *803 - '403': *806 - '429': *807 - '500': *808 + '400': *803 + '401': *801 + '403': *804 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118056,7 +117520,7 @@ paths: required: true content: application/json: - schema: &821 + schema: &819 type: object required: - schemas @@ -118138,9 +117602,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *817 + roles: *815 examples: - user: &822 + user: &820 summary: User value: schemas: @@ -118187,9 +117651,9 @@ paths: description: User has been created content: application/scim+json: - schema: *818 + schema: *816 examples: - user: &819 + user: &817 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -118215,13 +117679,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: *819 - '400': *805 - '401': *803 - '403': *806 - '409': *813 - '429': *807 - '500': *808 + enterpriseOwner: *817 + '400': *803 + '401': *801 + '403': *804 + '409': *811 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118238,7 +117702,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: - - &820 + - &818 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -118251,15 +117715,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *818 + schema: *816 examples: - default: *819 - '400': *805 - '401': *803 - '403': *806 + default: *817 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '429': *807 - '500': *808 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118310,30 +117774,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: - - *820 + - *818 - *41 requestBody: required: true content: application/json: - schema: *821 + schema: *819 examples: - user: *822 + user: *820 responses: '200': description: User was updated content: application/scim+json: - schema: *818 + schema: *816 examples: - user: *819 - '400': *805 - '401': *803 - '403': *806 + user: *817 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '409': *813 - '429': *807 - '500': *808 + '409': *811 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118374,13 +117838,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: - - *820 + - *818 - *41 requestBody: required: true content: application/json: - schema: *823 + schema: *821 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -118420,18 +117884,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *818 + schema: *816 examples: - userMultiValuedProperties: *819 - userSingleValuedProperties: *819 - disableUser: *819 - '400': *805 - '401': *803 - '403': *806 + userMultiValuedProperties: *817 + userSingleValuedProperties: *817 + disableUser: *817 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '409': *813 - '429': *807 - '500': *808 + '409': *811 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118451,17 +117915,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: - - *820 + - *818 - *41 responses: '204': description: User was deleted, no content - '400': *805 - '401': *803 - '403': *806 + '400': *803 + '401': *801 + '403': *804 '404': *6 - '429': *807 - '500': *808 + '429': *805 + '500': *806 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118548,7 +118012,7 @@ paths: example: 1 Resources: type: array - items: &824 + items: &822 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -118779,22 +118243,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &825 + '404': &823 description: Resource not found content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 - '403': &826 + schema: *800 + '403': &824 description: Forbidden content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 - '400': *805 - '429': *807 + schema: *800 + '400': *803 + '429': *805 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -118820,9 +118284,9 @@ paths: description: Response content: application/scim+json: - schema: *824 + schema: *822 examples: - default: &827 + default: &825 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -118845,17 +118309,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *825 - '403': *826 - '500': *808 + '404': *823 + '403': *824 + '500': *806 '409': description: Conflict content: application/json: - schema: *802 + schema: *800 application/scim+json: - schema: *802 - '400': *805 + schema: *800 + '400': *803 requestBody: required: true content: @@ -118953,17 +118417,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *820 + - *818 responses: '200': description: Response content: application/scim+json: - schema: *824 + schema: *822 examples: - default: *827 - '404': *825 - '403': *826 + default: *825 + '404': *823 + '403': *824 '304': *37 x-github: githubCloudOnly: true @@ -118987,18 +118451,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *820 + - *818 responses: '200': description: Response content: application/scim+json: - schema: *824 + schema: *822 examples: - default: *827 + default: *825 '304': *37 - '404': *825 - '403': *826 + '404': *823 + '403': *824 requestBody: required: true content: @@ -119111,19 +118575,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *820 + - *818 responses: '200': description: Response content: application/scim+json: - schema: *824 + schema: *822 examples: - default: *827 + default: *825 '304': *37 - '404': *825 - '403': *826 - '400': *805 + '404': *823 + '403': *824 + '400': *803 '429': description: Response content: @@ -119214,12 +118678,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *820 + - *818 responses: '204': description: Response - '404': *825 - '403': *826 + '404': *823 + '403': *824 '304': *37 x-github: githubCloudOnly: true @@ -119337,7 +118801,7 @@ paths: html_url: type: string format: uri - repository: *292 + repository: *289 score: type: number file_size: @@ -119355,7 +118819,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &828 + text_matches: &826 title: Search Result Text Matches type: array items: @@ -119518,7 +118982,7 @@ paths: enum: - author-date - committer-date - - &829 + - &827 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 @@ -119589,7 +119053,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *544 + properties: *541 nullable: true comment_count: type: integer @@ -119609,7 +119073,7 @@ paths: url: type: string format: uri - verification: *671 + verification: *668 required: - author - committer @@ -119628,7 +119092,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *544 + properties: *541 nullable: true parents: type: array @@ -119641,12 +119105,12 @@ paths: type: string sha: type: string - repository: *292 + repository: *289 score: type: number node_id: type: string - text_matches: *828 + text_matches: *826 required: - sha - node_id @@ -119839,7 +119303,7 @@ paths: - interactions - created - updated - - *829 + - *827 - *17 - *19 - name: advanced_search @@ -119953,11 +119417,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: type: string state_reason: @@ -119967,8 +119431,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *435 + required: *436 nullable: true comments: type: integer @@ -119982,7 +119446,7 @@ paths: type: string format: date-time nullable: true - text_matches: *828 + text_matches: *826 pull_request: type: object properties: @@ -120015,7 +119479,7 @@ paths: type: string score: type: number - author_association: *228 + author_association: *225 draft: type: boolean repository: *80 @@ -120026,7 +119490,7 @@ paths: timeline_url: type: string format: uri - type: *403 + type: *400 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -120036,17 +119500,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - reactions: *229 + reactions: *226 required: - closed_at - comments @@ -120262,7 +119726,7 @@ paths: enum: - created - updated - - *829 + - *827 - *17 - *19 responses: @@ -120306,7 +119770,7 @@ paths: nullable: true score: type: number - text_matches: *828 + text_matches: *826 required: - id - node_id @@ -120392,7 +119856,7 @@ paths: - forks - help-wanted-issues - updated - - *829 + - *827 - *17 - *19 responses: @@ -120620,8 +120084,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true permissions: type: object @@ -120640,7 +120104,7 @@ paths: - admin - pull - push - text_matches: *828 + text_matches: *826 temp_clone_token: type: string allow_merge_commit: @@ -120941,7 +120405,7 @@ paths: type: string format: uri nullable: true - text_matches: *828 + text_matches: *826 related: type: array nullable: true @@ -121134,7 +120598,7 @@ paths: - followers - repositories - joined - - *829 + - *827 - *17 - *19 responses: @@ -121238,7 +120702,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *828 + text_matches: *826 blog: type: string nullable: true @@ -121317,7 +120781,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &832 + - &830 name: team_id description: The unique identifier of the team. in: path @@ -121329,9 +120793,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '404': *6 x-github: githubCloudOnly: false @@ -121358,7 +120822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *832 + - *830 requestBody: required: true content: @@ -121421,16 +120885,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '201': description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '404': *6 '422': *15 '403': *29 @@ -121458,7 +120922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *832 + - *830 responses: '204': description: Response @@ -121487,7 +120951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *832 + - *830 - *17 - *19 responses: @@ -121497,9 +120961,9 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: - default: *398 + default: *395 headers: Link: *47 x-github: @@ -121525,7 +120989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *832 + - *830 - name: role description: Filters members returned by their role in the team. in: query @@ -121548,7 +121012,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '404': *6 @@ -121576,7 +121040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *832 + - *830 - *148 responses: '204': @@ -121613,7 +121077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *832 + - *830 - *148 responses: '204': @@ -121653,7 +121117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *832 + - *830 - *148 responses: '204': @@ -121690,16 +121154,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: - - *832 + - *830 - *148 responses: '200': description: Response content: application/json: - schema: *493 + schema: *490 examples: - response-if-user-is-a-team-maintainer: *833 + response-if-user-is-a-team-maintainer: *831 '404': *6 x-github: githubCloudOnly: false @@ -121732,7 +121196,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: - - *832 + - *830 - *148 requestBody: required: false @@ -121758,9 +121222,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: - response-if-users-membership-with-team-is-now-pending: *834 + response-if-users-membership-with-team-is-now-pending: *832 '403': description: Forbidden if team synchronization is set up '422': @@ -121794,7 +121258,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: - - *832 + - *830 - *148 responses: '204': @@ -121822,7 +121286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *832 + - *830 - *17 - *19 responses: @@ -121832,9 +121296,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *432 + default: *429 headers: Link: *47 '404': *6 @@ -121864,15 +121328,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: - - *832 - - *494 - - *495 + - *830 + - *491 + - *492 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *835 + schema: *833 examples: alternative-response-with-extra-repository-information: value: @@ -122022,9 +121486,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: - - *832 - - *494 - - *495 + - *830 + - *491 + - *492 requestBody: required: false content: @@ -122074,9 +121538,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: - - *832 - - *494 - - *495 + - *830 + - *491 + - *492 responses: '204': description: Response @@ -122105,15 +121569,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: - - *832 + - *830 responses: '200': description: Response content: application/json: - schema: *496 + schema: *493 examples: - default: *497 + default: *494 '403': *29 '404': *6 x-github: @@ -122140,7 +121604,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: - - *832 + - *830 requestBody: required: true content: @@ -122197,7 +121661,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *493 examples: default: value: @@ -122228,7 +121692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *832 + - *830 - *17 - *19 responses: @@ -122238,9 +121702,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - response-if-child-teams-exist: *836 + response-if-child-teams-exist: *834 headers: Link: *47 '404': *6 @@ -122273,7 +121737,7 @@ paths: application/json: schema: oneOf: - - &837 + - &835 title: Private User description: Private User type: object @@ -122476,7 +121940,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &863 + - &861 title: Public User description: Public User type: object @@ -122788,7 +122252,7 @@ paths: description: Response content: application/json: - schema: *837 + schema: *835 examples: default: value: @@ -122867,7 +122331,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '304': *37 '404': *6 '403': *29 @@ -122991,9 +122455,9 @@ paths: type: integer codespaces: type: array - items: *408 + items: *405 examples: - default: *409 + default: *406 '304': *37 '500': *40 '401': *25 @@ -123132,17 +122596,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '401': *25 '403': *29 '404': *6 @@ -123186,7 +122650,7 @@ paths: type: integer secrets: type: array - items: &838 + items: &836 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -123226,7 +122690,7 @@ paths: - visibility - selected_repositories_url examples: - default: *600 + default: *597 headers: Link: *47 x-github: @@ -123296,13 +122760,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: - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *838 + schema: *836 examples: default: value: @@ -123332,7 +122796,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: - - *302 + - *299 requestBody: required: true content: @@ -123377,7 +122841,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -123405,7 +122869,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: - - *302 + - *299 responses: '204': description: Response @@ -123430,7 +122894,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: - - *302 + - *299 responses: '200': description: Response @@ -123446,9 +122910,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *347 + default: *344 '401': *25 '403': *29 '404': *6 @@ -123473,7 +122937,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: - - *302 + - *299 requestBody: required: true content: @@ -123527,7 +122991,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: - - *302 + - *299 - name: repository_id in: path required: true @@ -123560,7 +123024,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: - - *302 + - *299 - name: repository_id in: path required: true @@ -123592,15 +123056,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: - - *410 + - *407 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '304': *37 '500': *40 '401': *25 @@ -123626,7 +123090,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: - - *410 + - *407 requestBody: required: false content: @@ -123656,9 +123120,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '401': *25 '403': *29 '404': *6 @@ -123680,7 +123144,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: - - *410 + - *407 responses: '202': *39 '304': *37 @@ -123709,13 +123173,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: - - *410 + - *407 responses: '202': description: Response content: application/json: - schema: &839 + schema: &837 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -123756,7 +123220,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &840 + default: &838 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -123788,7 +123252,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *410 + - *407 - name: export_id in: path required: true @@ -123801,9 +123265,9 @@ paths: description: Response content: application/json: - schema: *839 + schema: *837 examples: - default: *840 + default: *838 '404': *6 x-github: githubCloudOnly: false @@ -123824,7 +123288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *410 + - *407 responses: '200': description: Response @@ -123840,9 +123304,9 @@ paths: type: integer machines: type: array - items: *841 + items: *839 examples: - default: *842 + default: *840 '304': *37 '500': *40 '401': *25 @@ -123871,7 +123335,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: - - *410 + - *407 requestBody: required: true content: @@ -123921,13 +123385,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *499 + repository: *496 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *598 - required: *599 + properties: *595 + required: *596 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -124701,15 +124165,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: - - *410 + - *407 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '304': *37 '500': *40 '400': *14 @@ -124741,15 +124205,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: - - *410 + - *407 responses: '200': description: Response content: application/json: - schema: *408 + schema: *405 examples: - default: *597 + default: *594 '500': *40 '401': *25 '403': *29 @@ -124779,9 +124243,9 @@ paths: application/json: schema: type: array - items: *419 + items: *416 examples: - default: &853 + default: &851 value: - id: 197 name: hello_docker @@ -124882,7 +124346,7 @@ paths: application/json: schema: type: array - items: &843 + items: &841 title: Email description: Email type: object @@ -124947,9 +124411,9 @@ paths: application/json: schema: type: array - items: *843 + items: *841 examples: - default: &855 + default: &853 value: - email: octocat@github.com verified: true @@ -125024,7 +124488,7 @@ paths: application/json: schema: type: array - items: *843 + items: *841 examples: default: value: @@ -125134,7 +124598,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '304': *37 @@ -125167,7 +124631,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '304': *37 @@ -125280,7 +124744,7 @@ paths: application/json: schema: type: array - items: &844 + items: &842 title: GPG Key description: A unique encryption key type: object @@ -125411,7 +124875,7 @@ paths: - subkeys - revoked examples: - default: &873 + default: &871 value: - id: 3 name: Octocat's GPG Key @@ -125496,9 +124960,9 @@ paths: description: Response content: application/json: - schema: *844 + schema: *842 examples: - default: &845 + default: &843 value: id: 3 name: Octocat's GPG Key @@ -125555,7 +125019,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: - - &846 + - &844 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -125567,9 +125031,9 @@ paths: description: Response content: application/json: - schema: *844 + schema: *842 examples: - default: *845 + default: *843 '404': *6 '304': *37 '403': *29 @@ -125592,7 +125056,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: - - *846 + - *844 responses: '204': description: Response @@ -125794,7 +125258,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *287 + default: *284 headers: Link: *47 '404': *6 @@ -125820,7 +125284,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *286 + - *283 responses: '204': description: Response @@ -125846,7 +125310,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *286 + - *283 responses: '204': description: Response @@ -125880,12 +125344,12 @@ paths: application/json: schema: anyOf: - - *395 + - *392 - type: object properties: {} additionalProperties: false examples: - default: *396 + default: *393 '204': description: Response when there are no restrictions x-github: @@ -125909,7 +125373,7 @@ paths: required: true content: application/json: - schema: *681 + schema: *678 examples: default: value: @@ -125920,7 +125384,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *392 examples: default: value: @@ -126001,7 +125465,7 @@ paths: - closed - all default: open - - *406 + - *403 - name: sort description: What to sort results by. in: query @@ -126014,7 +125478,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - *17 - *19 responses: @@ -126024,9 +125488,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *407 + default: *404 headers: Link: *47 '404': *6 @@ -126059,7 +125523,7 @@ paths: application/json: schema: type: array - items: &847 + items: &845 title: Key description: Key type: object @@ -126160,9 +125624,9 @@ paths: description: Response content: application/json: - schema: *847 + schema: *845 examples: - default: &848 + default: &846 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -126195,15 +125659,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: - - *717 + - *715 responses: '200': description: Response content: application/json: - schema: *847 + schema: *845 examples: - default: *848 + default: *846 '404': *6 '304': *37 '403': *29 @@ -126226,7 +125690,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: - - *717 + - *715 responses: '204': description: Response @@ -126259,7 +125723,7 @@ paths: application/json: schema: type: array - items: &849 + items: &847 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -126316,7 +125780,7 @@ paths: - id - type - login - plan: *249 + plan: *246 required: - billing_cycle - next_billing_date @@ -126327,7 +125791,7 @@ paths: - account - plan examples: - default: &850 + default: &848 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -126389,9 +125853,9 @@ paths: application/json: schema: type: array - items: *849 + items: *847 examples: - default: *850 + default: *848 headers: Link: *47 '304': *37 @@ -126431,7 +125895,7 @@ paths: application/json: schema: type: array - items: *411 + items: *408 examples: default: value: @@ -126545,7 +126009,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *408 examples: default: value: @@ -126632,7 +126096,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *408 examples: default: value: @@ -126704,7 +126168,7 @@ paths: application/json: schema: type: array - items: *413 + items: *410 examples: default: value: @@ -126957,7 +126421,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *410 examples: default: value: @@ -127137,7 +126601,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *414 + - *411 - name: exclude in: query required: false @@ -127150,7 +126614,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *410 examples: default: value: @@ -127344,7 +126808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *414 + - *411 responses: '302': description: Response @@ -127370,7 +126834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *414 + - *411 responses: '204': description: Response @@ -127399,8 +126863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *414 - - *851 + - *411 + - *849 responses: '204': description: Response @@ -127424,7 +126888,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *414 + - *411 - *17 - *19 responses: @@ -127471,7 +126935,7 @@ paths: type: array items: *75 examples: - default: *262 + default: *259 headers: Link: *47 '304': *37 @@ -127513,7 +126977,7 @@ paths: - docker - nuget - container - - *852 + - *850 - *19 - *17 responses: @@ -127523,10 +126987,10 @@ paths: application/json: schema: type: array - items: *419 + items: *416 examples: - default: *853 - '400': *854 + default: *851 + '400': *852 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -127546,16 +127010,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: - - *421 - - *422 + - *418 + - *419 responses: '200': description: Response content: application/json: - schema: *419 + schema: *416 examples: - default: &874 + default: &872 value: id: 40201 name: octo-name @@ -127668,8 +127132,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: - - *421 - - *422 + - *418 + - *419 responses: '204': description: Response @@ -127699,8 +127163,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: - - *421 - - *422 + - *418 + - *419 - name: token description: package token schema: @@ -127732,8 +127196,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: - - *421 - - *422 + - *418 + - *419 - *19 - *17 - name: state @@ -127753,7 +127217,7 @@ paths: application/json: schema: type: array - items: *423 + items: *420 examples: default: value: @@ -127802,15 +127266,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: + - *418 + - *419 - *421 - - *422 - - *424 responses: '200': description: Response content: application/json: - schema: *423 + schema: *420 examples: default: value: @@ -127846,9 +127310,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: + - *418 + - *419 - *421 - - *422 - - *424 responses: '204': description: Response @@ -127878,9 +127342,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: + - *418 + - *419 - *421 - - *422 - - *424 responses: '204': description: Response @@ -127917,9 +127381,9 @@ paths: application/json: schema: type: array - items: *843 + items: *841 examples: - default: *855 + default: *853 headers: Link: *47 '304': *37 @@ -128032,7 +127496,7 @@ paths: type: array items: *80 examples: - default: &862 + default: &860 summary: Default response value: - id: 1296269 @@ -128336,9 +127800,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *501 + default: *498 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -128377,9 +127841,9 @@ paths: application/json: schema: type: array - items: *683 + items: *681 examples: - default: *856 + default: *854 headers: Link: *47 '304': *37 @@ -128402,7 +127866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *399 + - *396 responses: '204': description: Response @@ -128426,7 +127890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *399 + - *396 responses: '204': description: Response @@ -128459,7 +127923,7 @@ paths: application/json: schema: type: array - items: &857 + items: &855 title: Social account description: Social media account type: object @@ -128474,7 +127938,7 @@ paths: - provider - url examples: - default: &858 + default: &856 value: - provider: twitter url: https://twitter.com/github @@ -128536,9 +128000,9 @@ paths: application/json: schema: type: array - items: *857 + items: *855 examples: - default: *858 + default: *856 '422': *15 '304': *37 '404': *6 @@ -128625,7 +128089,7 @@ paths: application/json: schema: type: array - items: &859 + items: &857 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -128645,7 +128109,7 @@ paths: - title - created_at examples: - default: &888 + default: &886 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -128709,9 +128173,9 @@ paths: description: Response content: application/json: - schema: *859 + schema: *857 examples: - default: &860 + default: &858 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -128741,7 +128205,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: - - &861 + - &859 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -128753,9 +128217,9 @@ paths: description: Response content: application/json: - schema: *859 + schema: *857 examples: - default: *860 + default: *858 '404': *6 '304': *37 '403': *29 @@ -128778,7 +128242,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: - - *861 + - *859 responses: '204': description: Response @@ -128807,7 +128271,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: - - &889 + - &887 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 @@ -128832,11 +128296,11 @@ paths: type: array items: *80 examples: - default-response: *862 + default-response: *860 application/vnd.github.v3.star+json: schema: type: array - items: &890 + items: &888 title: Starred Repository description: Starred Repository type: object @@ -128992,8 +128456,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response if this repository is starred by you @@ -129021,8 +128485,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -129046,8 +128510,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: - - *494 - - *495 + - *491 + - *492 responses: '204': description: Response @@ -129080,9 +128544,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *432 + default: *429 headers: Link: *47 '304': *37 @@ -129119,7 +128583,7 @@ paths: application/json: schema: type: array - items: *486 + items: *483 examples: default: value: @@ -129197,7 +128661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *251 + - *248 responses: '200': description: Response @@ -129205,10 +128669,10 @@ paths: application/json: schema: oneOf: - - *837 - - *863 + - *835 + - *861 examples: - default-response: &867 + default-response: &865 summary: Default response value: login: octocat @@ -129243,7 +128707,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &868 + response-with-git-hub-plan-information: &866 summary: Response with GitHub plan information value: login: octocat @@ -129300,14 +128764,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: - - &865 + - &863 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *437 + - *434 requestBody: required: true description: Details of the draft item to create in the project. @@ -129341,9 +128805,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: - draft_issue: *444 + draft_issue: *441 '304': *37 '403': *29 '401': *25 @@ -129366,7 +128830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *864 + - *862 - *17 responses: '200': @@ -129377,7 +128841,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: example: ; rel="next" @@ -129401,8 +128865,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: - - *865 - - *437 + - *863 + - *434 requestBody: required: true content: @@ -129473,17 +128937,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *866 + schema: *864 examples: table_view: summary: Response for creating a table view - value: *448 + value: *445 board_view: summary: Response for creating a board view with filter - value: *448 + value: *445 roadmap_view: summary: Response for creating a roadmap view - value: *448 + value: *445 '304': *37 '403': *29 '401': *25 @@ -129525,11 +128989,11 @@ paths: application/json: schema: oneOf: - - *837 - - *863 + - *835 + - *861 examples: - default-response: *867 - response-with-git-hub-plan-information: *868 + default-response: *865 + response-with-git-hub-plan-information: *866 '404': *6 x-github: githubCloudOnly: false @@ -129579,8 +129043,8 @@ paths: required: - subject_digests examples: - default: *869 - withPredicateType: *870 + default: *867 + withPredicateType: *868 responses: '200': description: Response @@ -129619,7 +129083,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *871 + default: *869 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -129808,12 +129272,12 @@ paths: initiator: type: string examples: - default: *540 + default: *537 '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -129875,7 +129339,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *343 + items: *340 examples: default: summary: Example response for listing user copilot spaces @@ -130087,9 +129551,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: &872 + default: &870 summary: Example response for a user copilot space value: id: 42 @@ -130188,9 +129652,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *872 + default: *870 '403': *29 '404': *6 x-github: @@ -130311,9 +129775,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *872 + default: *870 '403': *29 '404': *6 '422': *15 @@ -130390,7 +129854,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *345 + items: *342 examples: default: value: @@ -130533,7 +129997,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: default: value: @@ -130644,7 +130108,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: default: value: @@ -130774,7 +130238,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *346 + items: *343 examples: default: value: @@ -130866,7 +130330,7 @@ paths: description: Resource created content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -130882,7 +130346,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -130935,7 +130399,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -131002,7 +130466,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -131079,9 +130543,9 @@ paths: application/json: schema: type: array - items: *419 + items: *416 examples: - default: *853 + default: *851 '403': *29 '401': *25 x-github: @@ -131114,7 +130578,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -131187,7 +130651,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -131274,7 +130738,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -131344,7 +130808,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -131375,7 +130839,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -131422,7 +130886,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *148 - - *238 + - *235 - *17 - *19 responses: @@ -131432,9 +130896,9 @@ paths: application/json: schema: type: array - items: *239 + items: *236 examples: - default: *240 + default: *237 headers: Link: *47 '422': *15 @@ -131465,9 +130929,9 @@ paths: application/json: schema: type: array - items: *844 + items: *842 examples: - default: *873 + default: *871 headers: Link: *47 x-github: @@ -131571,7 +131035,7 @@ paths: application/json: schema: *22 examples: - default: *393 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131656,7 +131120,7 @@ paths: type: array items: *75 examples: - default: *262 + default: *259 headers: Link: *47 x-github: @@ -131695,7 +131159,7 @@ paths: - docker - nuget - container - - *852 + - *850 - *148 - *19 - *17 @@ -131706,12 +131170,12 @@ paths: application/json: schema: type: array - items: *419 + items: *416 examples: - default: *853 + default: *851 '403': *29 '401': *25 - '400': *854 + '400': *852 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131731,17 +131195,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *421 - - *422 + - *418 + - *419 - *148 responses: '200': description: Response content: application/json: - schema: *419 + schema: *416 examples: - default: *874 + default: *872 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -131762,8 +131226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *421 - - *422 + - *418 + - *419 - *148 responses: '204': @@ -131796,8 +131260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *421 - - *422 + - *418 + - *419 - *148 - name: token description: package token @@ -131830,8 +131294,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: - - *421 - - *422 + - *418 + - *419 - *148 responses: '200': @@ -131840,7 +131304,7 @@ paths: application/json: schema: type: array - items: *423 + items: *420 examples: default: value: @@ -131898,16 +131362,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: + - *418 + - *419 - *421 - - *422 - - *424 - *148 responses: '200': description: Response content: application/json: - schema: *423 + schema: *420 examples: default: value: @@ -131942,10 +131406,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *421 - - *422 + - *418 + - *419 - *148 - - *424 + - *421 responses: '204': description: Response @@ -131977,10 +131441,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *421 - - *422 + - *418 + - *419 - *148 - - *424 + - *421 responses: '204': description: Response @@ -132021,9 +131485,9 @@ paths: application/json: schema: type: array - items: *435 + items: *432 examples: - default: *436 + default: *433 headers: Link: *47 '304': *37 @@ -132045,16 +131509,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *437 + - *434 - *148 responses: '200': description: Response content: application/json: - schema: *435 + schema: *432 examples: - default: *436 + default: *433 headers: Link: *47 '304': *37 @@ -132076,7 +131540,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *437 + - *434 - *148 - *17 - *110 @@ -132088,9 +131552,9 @@ paths: application/json: schema: type: array - items: *441 + items: *438 examples: - default: *875 + default: *873 headers: Link: *47 '304': *37 @@ -132112,7 +131576,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *148 - - *437 + - *434 requestBody: required: true content: @@ -132150,7 +131614,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *876 + items: *874 required: - name - data_type @@ -132166,7 +131630,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *877 + iteration_configuration: *875 required: - name - data_type @@ -132188,20 +131652,20 @@ paths: value: name: Due date data_type: date - single_select_field: *878 - iteration_field: *879 + single_select_field: *876 + iteration_field: *877 responses: '201': description: Response content: application/json: - schema: *441 + schema: *438 examples: - text_field: *880 - number_field: *881 - date_field: *882 - single_select_field: *883 - iteration_field: *884 + text_field: *878 + number_field: *879 + date_field: *880 + single_select_field: *881 + iteration_field: *882 '304': *37 '403': *29 '401': *25 @@ -132222,17 +131686,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *437 - - *885 + - *434 + - *883 - *148 responses: '200': description: Response content: application/json: - schema: *441 + schema: *438 examples: - default: *886 + default: *884 headers: Link: *47 '304': *37 @@ -132255,7 +131719,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: - - *437 + - *434 - *148 - *110 - *111 @@ -132288,9 +131752,9 @@ paths: application/json: schema: type: array - items: *445 + items: *442 examples: - default: *446 + default: *443 headers: Link: *47 '304': *37 @@ -132312,7 +131776,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *148 - - *437 + - *434 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -132382,22 +131846,22 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *444 + value: *441 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *444 + value: *441 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *444 + value: *441 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *444 + value: *441 '304': *37 '403': *29 '401': *25 @@ -132417,9 +131881,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: - - *437 + - *434 - *148 - - *447 + - *444 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -132439,9 +131903,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - default: *446 + default: *443 headers: Link: *47 '304': *37 @@ -132462,9 +131926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *437 + - *434 - *148 - - *447 + - *444 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -132534,13 +131998,13 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - text_field: *446 - number_field: *446 - date_field: *446 - single_select_field: *446 - iteration_field: *446 + text_field: *443 + number_field: *443 + date_field: *443 + single_select_field: *443 + iteration_field: *443 '401': *25 '403': *29 '404': *6 @@ -132560,9 +132024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *437 + - *434 - *148 - - *447 + - *444 responses: '204': description: Response @@ -132584,9 +132048,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: - - *437 + - *434 - *148 - - *887 + - *885 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -132612,9 +132076,9 @@ paths: application/json: schema: type: array - items: *445 + items: *442 examples: - default: *446 + default: *443 headers: Link: *47 '304': *37 @@ -132652,7 +132116,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -132727,7 +132191,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -132833,9 +132297,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *432 + default: *429 headers: Link: *47 x-github: @@ -132865,9 +132329,9 @@ paths: application/json: schema: type: array - items: *857 + items: *855 examples: - default: *858 + default: *856 headers: Link: *47 x-github: @@ -132897,9 +132361,9 @@ paths: application/json: schema: type: array - items: *859 + items: *857 examples: - default: *888 + default: *886 headers: Link: *47 x-github: @@ -132924,7 +132388,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *148 - - *889 + - *887 - *112 - *17 - *19 @@ -132936,11 +132400,11 @@ paths: schema: anyOf: - type: array - items: *890 + items: *888 - type: array items: *80 examples: - default-response: *862 + default-response: *860 headers: Link: *47 x-github: @@ -132969,9 +132433,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *432 + default: *429 headers: Link: *47 x-github: @@ -133099,7 +132563,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &891 + enterprise: &889 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -133157,7 +132621,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &892 + installation: &890 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -133176,7 +132640,7 @@ x-webhooks: required: - id - node_id - organization: &893 + organization: &891 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -133236,13 +132700,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &894 + repository: &892 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &933 + properties: &931 id: description: Unique identifier of the repository example: 42 @@ -133262,8 +132726,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true organization: title: Simple User @@ -133926,7 +133390,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &934 + required: &932 - archive_url - assignees_url - blobs_url @@ -134077,10 +133541,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -134156,11 +133620,11 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - rule: &895 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + rule: &893 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) @@ -134383,11 +133847,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - rule: *895 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + rule: *893 sender: *4 required: - action @@ -134570,11 +134034,11 @@ x-webhooks: - everyone required: - from - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - rule: *895 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + rule: *893 sender: *4 required: - action @@ -134647,7 +134111,7 @@ x-webhooks: required: true content: application/json: - schema: &917 + schema: &915 title: Exemption request cancellation event type: object properties: @@ -134655,11 +134119,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - exemption_request: &896 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + exemption_request: &894 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -134963,7 +134427,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &897 + items: &895 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -135073,7 +134537,7 @@ x-webhooks: required: true content: application/json: - schema: &918 + schema: &916 title: Exemption request completed event type: object properties: @@ -135081,11 +134545,11 @@ x-webhooks: type: string enum: - completed - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - exemption_request: *896 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + exemption_request: *894 sender: *4 required: - action @@ -135157,7 +134621,7 @@ x-webhooks: required: true content: application/json: - schema: &915 + schema: &913 title: Exemption request created event type: object properties: @@ -135165,11 +134629,11 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - exemption_request: *896 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + exemption_request: *894 sender: *4 required: - action @@ -135241,7 +134705,7 @@ x-webhooks: required: true content: application/json: - schema: &919 + schema: &917 title: Exemption response dismissed event type: object properties: @@ -135249,12 +134713,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - exemption_request: *896 - exemption_response: *897 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + exemption_request: *894 + exemption_response: *895 sender: *4 required: - action @@ -135328,7 +134792,7 @@ x-webhooks: required: true content: application/json: - schema: &916 + schema: &914 title: Exemption response submitted event type: object properties: @@ -135336,12 +134800,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - exemption_request: *896 - exemption_response: *897 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + exemption_request: *894 + exemption_response: *895 sender: *4 required: - action @@ -135425,7 +134889,7 @@ x-webhooks: type: string enum: - completed - check_run: &899 + check_run: &897 title: CheckRun description: A check performed on the code of a given code change type: object @@ -135478,8 +134942,8 @@ x-webhooks: type: string pull_requests: type: array - items: *236 - repository: *292 + items: *233 + repository: *289 status: example: completed type: string @@ -135516,7 +134980,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *898 + deployment: *896 details_url: example: https://example.com type: string @@ -135566,7 +135030,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *236 + items: *233 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -135601,10 +135065,10 @@ x-webhooks: - output - app - pull_requests - installation: *892 - enterprise: *891 - organization: *893 - repository: *894 + installation: *890 + enterprise: *889 + organization: *891 + repository: *892 sender: *4 required: - check_run @@ -135995,11 +135459,11 @@ x-webhooks: type: string enum: - created - check_run: *899 - installation: *892 - enterprise: *891 - organization: *893 - repository: *894 + check_run: *897 + installation: *890 + enterprise: *889 + organization: *891 + repository: *892 sender: *4 required: - check_run @@ -136393,11 +135857,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *899 - installation: *892 - enterprise: *891 - organization: *893 - repository: *894 + check_run: *897 + installation: *890 + enterprise: *889 + organization: *891 + repository: *892 requested_action: description: The action requested by the user. type: object @@ -136800,11 +136264,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *899 - installation: *892 - enterprise: *891 - organization: *893 - repository: *894 + check_run: *897 + installation: *890 + enterprise: *889 + organization: *891 + repository: *892 sender: *4 required: - check_run @@ -137774,10 +137238,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -138476,10 +137940,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -139172,10 +138636,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -139341,7 +138805,7 @@ x-webhooks: required: - login - id - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -139486,20 +138950,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &900 + commit_oid: &898 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: *891 - installation: *892 - organization: *893 - ref: &901 + enterprise: *889 + installation: *890 + organization: *891 + ref: &899 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: *894 + repository: *892 sender: *4 required: - action @@ -139664,7 +139128,7 @@ x-webhooks: required: - login - id - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -139894,12 +139358,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *900 - enterprise: *891 - installation: *892 - organization: *893 - ref: *901 - repository: *894 + commit_oid: *898 + enterprise: *889 + installation: *890 + organization: *891 + ref: *899 + repository: *892 sender: *4 required: - action @@ -139994,7 +139458,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -140165,12 +139629,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *900 - enterprise: *891 - installation: *892 - organization: *893 - ref: *901 - repository: *894 + commit_oid: *898 + enterprise: *889 + installation: *890 + organization: *891 + ref: *899 + repository: *892 sender: *4 required: - action @@ -140336,7 +139800,7 @@ x-webhooks: required: - login - id - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -140502,12 +139966,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *900 - enterprise: *891 - installation: *892 - organization: *893 - ref: *901 - repository: *894 + commit_oid: *898 + enterprise: *889 + installation: *890 + organization: *891 + ref: *899 + repository: *892 sender: *4 required: - action @@ -140606,7 +140070,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -140781,16 +140245,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *894 + repository: *892 sender: *4 required: - action @@ -140887,7 +140351,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -141027,12 +140491,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *900 - enterprise: *891 - installation: *892 - organization: *893 - ref: *901 - repository: *894 + commit_oid: *898 + enterprise: *889 + installation: *890 + organization: *891 + ref: *899 + repository: *892 sender: *4 required: - action @@ -141198,7 +140662,7 @@ x-webhooks: required: - login - id - dismissed_comment: *569 + dismissed_comment: *566 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -141343,10 +140807,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -141601,10 +141065,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -141684,18 +141148,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *893 - pusher_type: &902 + organization: *891 + pusher_type: &900 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &903 + ref: &901 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -141705,7 +141169,7 @@ x-webhooks: enum: - tag - branch - repository: *894 + repository: *892 sender: *4 required: - ref @@ -141788,9 +141252,9 @@ x-webhooks: enum: - created definition: *161 - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 required: - action @@ -141875,9 +141339,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 required: - action @@ -141955,9 +141419,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *161 - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 required: - action @@ -142035,9 +141499,9 @@ x-webhooks: enum: - updated definition: *161 - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 required: - action @@ -142114,10 +141578,10 @@ x-webhooks: type: string enum: - updated - enterprise: *891 - installation: *892 - repository: *894 - organization: *893 + enterprise: *889 + installation: *890 + repository: *892 + organization: *891 sender: *4 new_property_values: type: array @@ -142202,18 +141666,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *891 - installation: *892 - organization: *893 - pusher_type: *902 - ref: *903 + enterprise: *889 + installation: *890 + organization: *891 + pusher_type: *900 + ref: *901 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *894 + repository: *892 sender: *4 required: - ref @@ -142293,11 +141757,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142377,11 +141841,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142462,11 +141926,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142547,11 +142011,11 @@ x-webhooks: type: string enum: - created - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142630,11 +142094,11 @@ x-webhooks: type: string enum: - dismissed - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142713,11 +142177,11 @@ x-webhooks: type: string enum: - fixed - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142797,11 +142261,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142880,11 +142344,11 @@ x-webhooks: type: string enum: - reopened - alert: *633 - installation: *892 - organization: *893 - enterprise: *891 - repository: *894 + alert: *630 + installation: *890 + organization: *891 + enterprise: *889 + repository: *892 sender: *4 required: - action @@ -142961,9 +142425,9 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - key: &904 + enterprise: *889 + installation: *890 + key: &902 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -142999,8 +142463,8 @@ x-webhooks: - verified - created_at - read_only - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -143077,11 +142541,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - key: *904 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + key: *902 + organization: *891 + repository: *892 sender: *4 required: - action @@ -143637,12 +143101,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - workflow: &910 + workflow: &908 title: Workflow type: object nullable: true @@ -144383,15 +143847,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *905 - required: *906 + properties: *903 + required: *904 nullable: true pull_requests: type: array - items: *738 - repository: *894 - organization: *893 - installation: *892 + items: *736 + repository: *892 + organization: *891 + installation: *890 sender: *4 responses: '200': @@ -144462,7 +143926,7 @@ x-webhooks: type: string enum: - approved - approver: &907 + approver: &905 type: object properties: avatar_url: @@ -144505,11 +143969,11 @@ x-webhooks: type: string comment: type: string - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - reviewers: &908 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + reviewers: &906 type: array items: type: object @@ -144588,7 +144052,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &909 + workflow_job_run: &907 type: object properties: conclusion: @@ -145319,18 +144783,18 @@ x-webhooks: type: string enum: - rejected - approver: *907 + approver: *905 comment: type: string - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - reviewers: *908 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + reviewers: *906 sender: *4 since: type: string - workflow_job_run: *909 + workflow_job_run: *907 workflow_job_runs: type: array items: @@ -146034,13 +145498,13 @@ x-webhooks: type: string enum: - requested - enterprise: *891 + enterprise: *889 environment: type: string - installation: *892 - organization: *893 - repository: *894 - requestor: &920 + installation: *890 + organization: *891 + repository: *892 + requestor: &918 title: User type: object nullable: true @@ -147929,12 +147393,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - workflow: *910 + workflow: *908 workflow_run: title: Deployment Workflow Run type: object @@ -148614,7 +148078,7 @@ x-webhooks: type: string enum: - answered - answer: &913 + answer: &911 type: object properties: author_association: @@ -148771,11 +148235,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -148902,11 +148366,11 @@ x-webhooks: - from required: - category - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -148989,11 +148453,11 @@ x-webhooks: type: string enum: - closed - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149075,7 +148539,7 @@ x-webhooks: type: string enum: - created - comment: &912 + comment: &910 type: object properties: author_association: @@ -149232,11 +148696,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149319,12 +148783,12 @@ x-webhooks: type: string enum: - deleted - comment: *912 - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + comment: *910 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149419,12 +148883,12 @@ x-webhooks: - from required: - body - comment: *912 - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + comment: *910 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149508,11 +148972,11 @@ x-webhooks: type: string enum: - created - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149594,11 +149058,11 @@ x-webhooks: type: string enum: - deleted - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149698,11 +149162,11 @@ x-webhooks: type: string required: - from - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149784,10 +149248,10 @@ x-webhooks: type: string enum: - labeled - discussion: *911 - enterprise: *891 - installation: *892 - label: &914 + discussion: *909 + enterprise: *889 + installation: *890 + label: &912 title: Label type: object properties: @@ -149819,8 +149283,8 @@ x-webhooks: - color - default - description - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149903,11 +149367,11 @@ x-webhooks: type: string enum: - locked - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -149989,11 +149453,11 @@ x-webhooks: type: string enum: - pinned - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150075,11 +149539,11 @@ x-webhooks: type: string enum: - reopened - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150164,16 +149628,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *911 - new_repository: *894 + new_discussion: *909 + new_repository: *892 required: - new_discussion - new_repository - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150256,10 +149720,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *911 - old_answer: *913 - organization: *893 - repository: *894 + discussion: *909 + old_answer: *911 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150341,12 +149805,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *911 - enterprise: *891 - installation: *892 - label: *914 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150429,11 +149893,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150515,11 +149979,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *911 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + discussion: *909 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -150588,7 +150052,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150651,7 +150115,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150714,7 +150178,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *915 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150777,7 +150241,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150840,7 +150304,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150906,7 +150370,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *915 responses: '200': description: Return a 200 status to indicate that the data was received @@ -150972,7 +150436,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *916 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151038,7 +150502,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151104,7 +150568,7 @@ x-webhooks: required: true content: application/json: - schema: *919 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151170,7 +150634,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151235,7 +150699,7 @@ x-webhooks: required: true content: application/json: - schema: *917 + schema: *915 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151300,7 +150764,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *916 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151365,7 +150829,7 @@ x-webhooks: required: true content: application/json: - schema: *915 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151430,7 +150894,7 @@ x-webhooks: required: true content: application/json: - schema: *919 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151496,7 +150960,7 @@ x-webhooks: required: true content: application/json: - schema: *916 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151563,7 +151027,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *891 + enterprise: *889 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -152223,9 +151687,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *892 - organization: *893 - repository: *894 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - forkee @@ -152371,9 +151835,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pages: description: The pages that were updated. type: array @@ -152410,7 +151874,7 @@ x-webhooks: - action - sha - html_url - repository: *894 + repository: *892 sender: *4 required: - pages @@ -152486,10 +151950,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories: &921 + organization: *891 + repositories: &919 description: An array of repository objects that the installation can access. type: array @@ -152515,8 +151979,8 @@ x-webhooks: - name - full_name - private - repository: *894 - requester: *920 + repository: *892 + requester: *918 sender: *4 required: - action @@ -152591,11 +152055,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories: *921 - repository: *894 + organization: *891 + repositories: *919 + repository: *892 requester: nullable: true sender: *4 @@ -152671,11 +152135,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories: *921 - repository: *894 + organization: *891 + repositories: *919 + repository: *892 requester: nullable: true sender: *4 @@ -152751,10 +152215,10 @@ x-webhooks: type: string enum: - added - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories_added: &922 + organization: *891 + repositories_added: &920 description: An array of repository objects, which were added to the installation. type: array @@ -152800,15 +152264,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *894 - repository_selection: &923 + repository: *892 + repository_selection: &921 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *920 + requester: *918 sender: *4 required: - action @@ -152887,10 +152351,10 @@ x-webhooks: type: string enum: - removed - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories_added: *922 + organization: *891 + repositories_added: *920 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -152917,9 +152381,9 @@ x-webhooks: - name - full_name - private - repository: *894 - repository_selection: *923 - requester: *920 + repository: *892 + repository_selection: *921 + requester: *918 sender: *4 required: - action @@ -152998,11 +152462,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories: *921 - repository: *894 + organization: *891 + repositories: *919 + repository: *892 requester: nullable: true sender: *4 @@ -153181,10 +152645,10 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 target_type: type: string @@ -153263,11 +152727,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *891 + enterprise: *889 installation: *22 - organization: *893 - repositories: *921 - repository: *894 + organization: *891 + repositories: *919 + repository: *892 requester: nullable: true sender: *4 @@ -153391,8 +152855,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 reactions: title: Reactions type: object @@ -153441,8 +152905,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *713 - required: *714 + properties: *711 + required: *712 nullable: true user: title: User @@ -153527,8 +152991,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -154317,8 +153781,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154334,7 +153798,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -154667,8 +154131,8 @@ x-webhooks: - state - locked - assignee - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -154748,7 +154212,7 @@ x-webhooks: type: string enum: - deleted - comment: &924 + comment: &922 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -154905,8 +154369,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *713 - required: *714 + properties: *711 + required: *712 nullable: true required: - url @@ -154921,8 +154385,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -155707,8 +155171,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155724,7 +155188,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -156059,8 +155523,8 @@ x-webhooks: - state - locked - assignee - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -156140,7 +155604,7 @@ x-webhooks: type: string enum: - edited - changes: &953 + changes: &951 description: The changes to the comment. type: object properties: @@ -156152,9 +155616,9 @@ x-webhooks: type: string required: - from - comment: *924 - enterprise: *891 - installation: *892 + comment: *922 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -156942,8 +156406,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156959,7 +156423,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -157292,8 +156756,8 @@ x-webhooks: - state - locked - assignee - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -157374,9 +156838,9 @@ x-webhooks: type: string enum: - pinned - comment: *924 - enterprise: *891 - installation: *892 + comment: *922 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158166,8 +157630,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158183,7 +157647,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -158518,8 +157982,8 @@ x-webhooks: - state - locked - assignee - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -158599,9 +158063,9 @@ x-webhooks: type: string enum: - unpinned - comment: *924 - enterprise: *891 - installation: *892 + comment: *922 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -159391,8 +158855,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159408,7 +158872,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -159743,8 +159207,8 @@ x-webhooks: - state - locked - assignee - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -159827,15 +159291,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *228 blocking_issue_repo: *80 - installation: *892 - organization: *893 - repository: *894 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -159918,15 +159382,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *228 blocking_issue_repo: *80 - installation: *892 - organization: *893 - repository: *894 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -160008,15 +159472,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *892 - organization: *893 - repository: *894 + blocking_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -160099,15 +159563,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *892 - organization: *893 - repository: *894 + blocking_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -160187,10 +159651,10 @@ x-webhooks: type: string enum: - assigned - assignee: *920 - enterprise: *891 - installation: *892 - issue: &925 + assignee: *918 + enterprise: *889 + installation: *890 + issue: &923 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -160979,14 +160443,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161002,7 +160466,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -161103,8 +160567,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -161184,8 +160648,8 @@ x-webhooks: type: string enum: - closed - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -161979,14 +161443,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162002,7 +161466,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -162238,8 +161702,8 @@ x-webhooks: required: - state - closed_at - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -162318,8 +161782,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -163104,14 +162568,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163127,7 +162591,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -163227,8 +162691,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -163307,8 +162771,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -164115,14 +163579,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164138,7 +163602,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -164217,7 +163681,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &926 + milestone: &924 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164355,8 +163819,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -164455,8 +163919,8 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -165245,14 +164709,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165265,7 +164729,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *400 title: description: Title of the issue type: string @@ -165369,9 +164833,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *914 - organization: *893 - repository: *894 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -165451,9 +164915,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *891 - installation: *892 - issue: *925 + enterprise: *889 + installation: *890 + issue: *923 issue_field: type: object description: The issue field whose value was set or updated on the @@ -165607,8 +165071,8 @@ x-webhooks: - id required: - from - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -165688,9 +165152,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *891 - installation: *892 - issue: *925 + enterprise: *889 + installation: *890 + issue: *923 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -165771,8 +165235,8 @@ x-webhooks: nullable: true required: - id - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -165852,8 +165316,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166641,14 +166105,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166661,7 +166125,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *400 title: description: Title of the issue type: string @@ -166765,9 +166229,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *914 - organization: *893 - repository: *894 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -166847,8 +166311,8 @@ x-webhooks: type: string enum: - locked - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167660,14 +167124,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167680,7 +167144,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *403 + type: *400 title: description: Title of the issue type: string @@ -167761,8 +167225,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -167841,8 +167305,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168648,14 +168112,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168671,7 +168135,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -168749,9 +168213,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *926 - organization: *893 - repository: *894 + milestone: *924 + organization: *891 + repository: *892 sender: *4 required: - action @@ -169614,11 +169078,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169646,8 +169110,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true user: title: User @@ -169719,7 +169183,7 @@ x-webhooks: required: - login - id - type: *403 + type: *400 required: - id - number @@ -170199,8 +169663,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170984,11 +170448,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171004,7 +170468,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -171017,8 +170481,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true user: title: User @@ -171112,8 +170576,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -171193,9 +170657,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *891 - installation: *892 - issue: &927 + enterprise: *889 + installation: *890 + issue: &925 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -171978,14 +171442,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172001,7 +171465,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -172101,8 +171565,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -172181,8 +171645,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172992,14 +172456,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173093,9 +172557,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *403 - organization: *893 - repository: *894 + type: *400 + organization: *891 + repository: *892 sender: *4 required: - action @@ -173961,14 +173425,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173984,7 +173448,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -174563,11 +174027,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *891 - installation: *892 - issue: *927 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *925 + organization: *891 + repository: *892 sender: *4 required: - action @@ -174647,12 +174111,12 @@ x-webhooks: type: string enum: - typed - enterprise: *891 - installation: *892 - issue: *925 - type: *403 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *923 + type: *400 + organization: *891 + repository: *892 sender: *4 required: - action @@ -174733,7 +174197,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &956 + assignee: &954 title: User type: object nullable: true @@ -174803,11 +174267,11 @@ x-webhooks: required: - login - id - enterprise: *891 - installation: *892 - issue: *925 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *923 + organization: *891 + repository: *892 sender: *4 required: - action @@ -174886,12 +174350,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *891 - installation: *892 - issue: *925 - label: *914 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *923 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -174971,8 +174435,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175782,14 +175246,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *830 - issue_dependencies_summary: *831 + sub_issues_summary: *828 + issue_dependencies_summary: *829 issue_field_values: type: array - items: *697 + items: *695 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175805,7 +175269,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *403 + type: *400 updated_at: type: string format: date-time @@ -175883,8 +175347,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -175964,11 +175428,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *891 - installation: *892 - issue: *927 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *925 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176047,12 +175511,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *891 - installation: *892 - issue: *925 - type: *403 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + issue: *923 + type: *400 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176132,11 +175596,11 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - label: *914 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176214,11 +175678,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - label: *914 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176328,11 +175792,11 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - label: *914 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + label: *912 + organization: *891 + repository: *892 sender: *4 required: - action @@ -176414,9 +175878,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *891 - installation: *892 - marketplace_purchase: &928 + enterprise: *889 + installation: *890 + marketplace_purchase: &926 title: Marketplace Purchase type: object required: @@ -176499,8 +175963,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *893 - previous_marketplace_purchase: &929 + organization: *891 + previous_marketplace_purchase: &927 title: Marketplace Purchase type: object properties: @@ -176580,7 +176044,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *894 + repository: *892 sender: *4 required: - action @@ -176660,10 +176124,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *891 - installation: *892 - marketplace_purchase: *928 - organization: *893 + enterprise: *889 + installation: *890 + marketplace_purchase: *926 + organization: *891 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -176746,7 +176210,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *894 + repository: *892 sender: *4 required: - action @@ -176828,10 +176292,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *891 - installation: *892 - marketplace_purchase: *928 - organization: *893 + enterprise: *889 + installation: *890 + marketplace_purchase: *926 + organization: *891 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -176913,7 +176377,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *894 + repository: *892 sender: *4 required: - action @@ -176994,8 +176458,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 marketplace_purchase: title: Marketplace Purchase type: object @@ -177077,9 +176541,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *893 - previous_marketplace_purchase: *929 - repository: *894 + organization: *891 + previous_marketplace_purchase: *927 + repository: *892 sender: *4 required: - action @@ -177159,12 +176623,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *891 - installation: *892 - marketplace_purchase: *928 - organization: *893 - previous_marketplace_purchase: *929 - repository: *894 + enterprise: *889 + installation: *890 + marketplace_purchase: *926 + organization: *891 + previous_marketplace_purchase: *927 + repository: *892 sender: *4 required: - action @@ -177266,11 +176730,11 @@ x-webhooks: type: string required: - to - enterprise: *891 - installation: *892 - member: *920 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + member: *918 + organization: *891 + repository: *892 sender: *4 required: - action @@ -177370,11 +176834,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *891 - installation: *892 - member: *920 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + member: *918 + organization: *891 + repository: *892 sender: *4 required: - action @@ -177453,11 +176917,11 @@ x-webhooks: type: string enum: - removed - enterprise: *891 - installation: *892 - member: *920 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + member: *918 + organization: *891 + repository: *892 sender: *4 required: - action @@ -177535,11 +176999,11 @@ x-webhooks: type: string enum: - added - enterprise: *891 - installation: *892 - member: *920 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + member: *918 + organization: *891 + repository: *892 scope: description: The scope of the membership. Currently, can only be `team`. @@ -177615,7 +177079,7 @@ x-webhooks: required: - login - id - team: &930 + team: &928 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -177838,11 +177302,11 @@ x-webhooks: type: string enum: - removed - enterprise: *891 - installation: *892 - member: *920 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + member: *918 + organization: *891 + repository: *892 scope: description: The scope of the membership. Currently, can only be `team`. @@ -177919,7 +177383,7 @@ x-webhooks: required: - login - id - team: *930 + team: *928 required: - action - scope @@ -178001,8 +177465,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *892 - merge_group: &932 + installation: *890 + merge_group: &930 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -178021,15 +177485,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *931 + head_commit: *929 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -178115,10 +177579,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *892 - merge_group: *932 - organization: *893 - repository: *894 + installation: *890 + merge_group: *930 + organization: *891 + repository: *892 sender: *4 required: - action @@ -178191,7 +177655,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 + enterprise: *889 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -178300,16 +177764,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *892 - organization: *893 + installation: *890 + organization: *891 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *933 - required: *934 + properties: *931 + required: *932 nullable: true sender: *4 required: @@ -178390,11 +177854,11 @@ x-webhooks: type: string enum: - closed - enterprise: *891 - installation: *892 - milestone: *926 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + milestone: *924 + organization: *891 + repository: *892 sender: *4 required: - action @@ -178473,9 +177937,9 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - milestone: &935 + enterprise: *889 + installation: *890 + milestone: &933 title: Milestone description: A collection of related issues and pull requests. type: object @@ -178612,8 +178076,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -178692,11 +178156,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - milestone: *926 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + milestone: *924 + organization: *891 + repository: *892 sender: *4 required: - action @@ -178806,11 +178270,11 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - milestone: *926 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + milestone: *924 + organization: *891 + repository: *892 sender: *4 required: - action @@ -178890,11 +178354,11 @@ x-webhooks: type: string enum: - opened - enterprise: *891 - installation: *892 - milestone: *935 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + milestone: *933 + organization: *891 + repository: *892 sender: *4 required: - action @@ -178973,11 +178437,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *920 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + blocked_user: *918 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -179056,11 +178520,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *920 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + blocked_user: *918 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -179136,7 +178600,7 @@ x-webhooks: enum: - created definition: *156 - enterprise: *891 + enterprise: *889 sender: *4 required: - action @@ -179216,8 +178680,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 sender: *4 required: - action @@ -179290,8 +178754,8 @@ x-webhooks: enum: - updated definition: *156 - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 sender: *4 required: - action @@ -179363,9 +178827,9 @@ x-webhooks: type: string enum: - updated - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 new_property_values: type: array @@ -179453,9 +178917,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - membership: &936 + enterprise: *889 + installation: *890 + membership: &934 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -179562,8 +179026,8 @@ x-webhooks: - role - organization_url - user - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 required: - action @@ -179641,11 +179105,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *891 - installation: *892 - membership: *936 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + membership: *934 + organization: *891 + repository: *892 sender: *4 required: - action @@ -179724,8 +179188,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -179841,10 +179305,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 - user: *920 + user: *918 required: - action - invitation @@ -179922,11 +179386,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *891 - installation: *892 - membership: *936 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + membership: *934 + organization: *891 + repository: *892 sender: *4 required: - action @@ -180013,11 +179477,11 @@ x-webhooks: properties: from: type: string - enterprise: *891 - installation: *892 - membership: *936 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + membership: *934 + organization: *891 + repository: *892 sender: *4 required: - action @@ -180095,9 +179559,9 @@ x-webhooks: type: string enum: - published - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 package: description: Information about the package. type: object @@ -180596,7 +180060,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &937 + items: &935 title: Ruby Gems metadata type: object properties: @@ -180691,7 +180155,7 @@ x-webhooks: - owner - package_version - registry - repository: *894 + repository: *892 sender: *4 required: - action @@ -180768,9 +180232,9 @@ x-webhooks: type: string enum: - updated - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 package: description: Information about the package. type: object @@ -181123,7 +180587,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *937 + items: *935 source_url: type: string format: uri @@ -181193,7 +180657,7 @@ x-webhooks: - owner - package_version - registry - repository: *894 + repository: *892 sender: *4 required: - action @@ -181369,12 +180833,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *891 + enterprise: *889 id: type: integer - installation: *892 - organization: *893 - repository: *894 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - id @@ -181451,7 +180915,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &938 + personal_access_token_request: &936 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -181597,10 +181061,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *891 - organization: *893 + enterprise: *889 + organization: *891 sender: *4 - installation: *892 + installation: *890 required: - action - personal_access_token_request @@ -181677,11 +181141,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *938 - enterprise: *891 - organization: *893 + personal_access_token_request: *936 + enterprise: *889 + organization: *891 sender: *4 - installation: *892 + installation: *890 required: - action - personal_access_token_request @@ -181757,11 +181221,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *938 - enterprise: *891 - organization: *893 + personal_access_token_request: *936 + enterprise: *889 + organization: *891 sender: *4 - installation: *892 + installation: *890 required: - action - personal_access_token_request @@ -181836,11 +181300,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *938 - organization: *893 - enterprise: *891 + personal_access_token_request: *936 + organization: *891 + enterprise: *889 sender: *4 - installation: *892 + installation: *890 required: - action - personal_access_token_request @@ -181945,7 +181409,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *939 + last_response: *937 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -181977,8 +181441,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 zen: description: Random string of GitHub zen. @@ -182223,10 +181687,10 @@ x-webhooks: - from required: - note - enterprise: *891 - installation: *892 - organization: *893 - project_card: &940 + enterprise: *889 + installation: *890 + organization: *891 + project_card: &938 title: Project Card type: object properties: @@ -182345,7 +181809,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *894 + repository: *892 sender: *4 required: - action @@ -182426,11 +181890,11 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - project_card: *940 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project_card: *938 + repository: *892 sender: *4 required: - action @@ -182510,9 +181974,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 project_card: title: Project Card type: object @@ -182640,8 +182104,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *933 - required: *934 + properties: *931 + required: *932 nullable: true sender: *4 required: @@ -182735,11 +182199,11 @@ x-webhooks: - from required: - note - enterprise: *891 - installation: *892 - organization: *893 - project_card: *940 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project_card: *938 + repository: *892 sender: *4 required: - action @@ -182833,9 +182297,9 @@ x-webhooks: - from required: - column_id - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 project_card: allOf: - title: Project Card @@ -183025,7 +182489,7 @@ x-webhooks: type: string required: - after_id - repository: *894 + repository: *892 sender: *4 required: - action @@ -183105,10 +182569,10 @@ x-webhooks: type: string enum: - closed - enterprise: *891 - installation: *892 - organization: *893 - project: &942 + enterprise: *889 + installation: *890 + organization: *891 + project: &940 title: Project type: object properties: @@ -183232,7 +182696,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *894 + repository: *892 sender: *4 required: - action @@ -183312,10 +182776,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - project_column: &941 + enterprise: *889 + installation: *890 + organization: *891 + project_column: &939 title: Project Column type: object properties: @@ -183354,7 +182818,7 @@ x-webhooks: - name - created_at - updated_at - repository: *894 + repository: *892 sender: *4 required: - action @@ -183433,18 +182897,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - project_column: *941 + enterprise: *889 + installation: *890 + organization: *891 + project_column: *939 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *933 - required: *934 + properties: *931 + required: *932 nullable: true sender: *4 required: @@ -183534,11 +182998,11 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - organization: *893 - project_column: *941 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project_column: *939 + repository: *892 sender: *4 required: - action @@ -183618,11 +183082,11 @@ x-webhooks: type: string enum: - moved - enterprise: *891 - installation: *892 - organization: *893 - project_column: *941 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project_column: *939 + repository: *892 sender: *4 required: - action @@ -183702,11 +183166,11 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - project: *942 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project: *940 + repository: *892 sender: *4 required: - action @@ -183786,18 +183250,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - project: *942 + enterprise: *889 + installation: *890 + organization: *891 + project: *940 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *933 - required: *934 + properties: *931 + required: *932 nullable: true sender: *4 required: @@ -183899,11 +183363,11 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - organization: *893 - project: *942 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project: *940 + repository: *892 sender: *4 required: - action @@ -183982,11 +183446,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *891 - installation: *892 - organization: *893 - project: *942 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + project: *940 + repository: *892 sender: *4 required: - action @@ -184067,9 +183531,9 @@ x-webhooks: type: string enum: - closed - installation: *892 - organization: *893 - projects_v2: *435 + installation: *890 + organization: *891 + projects_v2: *432 sender: *4 required: - action @@ -184150,9 +183614,9 @@ x-webhooks: type: string enum: - created - installation: *892 - organization: *893 - projects_v2: *435 + installation: *890 + organization: *891 + projects_v2: *432 sender: *4 required: - action @@ -184233,9 +183697,9 @@ x-webhooks: type: string enum: - deleted - installation: *892 - organization: *893 - projects_v2: *435 + installation: *890 + organization: *891 + projects_v2: *432 sender: *4 required: - action @@ -184352,9 +183816,9 @@ x-webhooks: type: string to: type: string - installation: *892 - organization: *893 - projects_v2: *435 + installation: *890 + organization: *891 + projects_v2: *432 sender: *4 required: - action @@ -184437,7 +183901,7 @@ x-webhooks: type: string enum: - archived - changes: &946 + changes: &944 type: object properties: archived_at: @@ -184451,9 +183915,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *892 - organization: *893 - projects_v2_item: &943 + installation: *890 + organization: *891 + projects_v2_item: &941 title: Projects v2 Item description: An item belonging to a project type: object @@ -184471,7 +183935,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *442 + content_type: *439 creator: *4 created_at: type: string @@ -184588,9 +184052,9 @@ x-webhooks: nullable: true to: type: string - installation: *892 - organization: *893 - projects_v2_item: *943 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -184672,9 +184136,9 @@ x-webhooks: type: string enum: - created - installation: *892 - organization: *893 - projects_v2_item: *943 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -184755,9 +184219,9 @@ x-webhooks: type: string enum: - deleted - installation: *892 - organization: *893 - projects_v2_item: *943 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -184863,7 +184327,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &944 + - &942 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -184885,7 +184349,7 @@ x-webhooks: required: - id - name - - &945 + - &943 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -184919,8 +184383,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *944 - - *945 + - *942 + - *943 required: - field_value - type: object @@ -184936,9 +184400,9 @@ x-webhooks: nullable: true required: - body - installation: *892 - organization: *893 - projects_v2_item: *943 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -185033,9 +184497,9 @@ x-webhooks: to: type: string nullable: true - installation: *892 - organization: *893 - projects_v2_item: *943 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -185118,10 +184582,10 @@ x-webhooks: type: string enum: - restored - changes: *946 - installation: *892 - organization: *893 - projects_v2_item: *943 + changes: *944 + installation: *890 + organization: *891 + projects_v2_item: *941 sender: *4 required: - action @@ -185203,9 +184667,9 @@ x-webhooks: type: string enum: - reopened - installation: *892 - organization: *893 - projects_v2: *435 + installation: *890 + organization: *891 + projects_v2: *432 sender: *4 required: - action @@ -185286,14 +184750,14 @@ x-webhooks: type: string enum: - created - installation: *892 - organization: *893 - projects_v2_status_update: &949 + installation: *890 + organization: *891 + projects_v2_status_update: &947 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *947 - required: *948 + properties: *945 + required: *946 sender: *4 required: - action @@ -185374,9 +184838,9 @@ x-webhooks: type: string enum: - deleted - installation: *892 - organization: *893 - projects_v2_status_update: *949 + installation: *890 + organization: *891 + projects_v2_status_update: *947 sender: *4 required: - action @@ -185512,9 +184976,9 @@ x-webhooks: type: string format: date nullable: true - installation: *892 - organization: *893 - projects_v2_status_update: *949 + installation: *890 + organization: *891 + projects_v2_status_update: *947 sender: *4 required: - action @@ -185585,10 +185049,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - repository @@ -185665,13 +185129,13 @@ x-webhooks: type: string enum: - assigned - assignee: *920 - enterprise: *891 - installation: *892 - number: &950 + assignee: *918 + enterprise: *889 + installation: *890 + number: &948 description: The pull request number. type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -187958,7 +187422,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -188040,11 +187504,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -190326,7 +189790,7 @@ x-webhooks: - draft reason: type: string - repository: *894 + repository: *892 sender: *4 required: - action @@ -190408,11 +189872,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -192694,7 +192158,7 @@ x-webhooks: - draft reason: type: string - repository: *894 + repository: *892 sender: *4 required: - action @@ -192776,13 +192240,13 @@ x-webhooks: type: string enum: - closed - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: &951 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: &949 allOf: - - *738 + - *736 - type: object properties: allow_auto_merge: @@ -192844,7 +192308,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *894 + repository: *892 sender: *4 required: - action @@ -192925,12 +192389,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: *951 - repository: *894 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: *949 + repository: *892 sender: *4 required: - action @@ -193010,11 +192474,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *891 - milestone: *720 - number: *950 - organization: *893 - pull_request: &952 + enterprise: *889 + milestone: *718 + number: *948 + organization: *891 + pull_request: &950 title: Pull Request type: object properties: @@ -195295,7 +194759,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -195374,11 +194838,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -197678,7 +197142,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *894 + repository: *892 sender: *4 required: - action @@ -197802,12 +197266,12 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: *951 - repository: *894 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: *949 + repository: *892 sender: *4 required: - action @@ -197887,11 +197351,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -200176,7 +199640,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -200256,11 +199720,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *891 - installation: *892 - label: *914 - number: *950 - organization: *893 + enterprise: *889 + installation: *890 + label: *912 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -202546,7 +202010,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -202627,10 +202091,10 @@ x-webhooks: type: string enum: - locked - enterprise: *891 - installation: *892 - number: *950 - organization: *893 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -204914,7 +204378,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -204994,12 +204458,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *891 - milestone: *720 - number: *950 - organization: *893 - pull_request: *952 - repository: *894 + enterprise: *889 + milestone: *718 + number: *948 + organization: *891 + pull_request: *950 + repository: *892 sender: *4 required: - action @@ -205078,12 +204542,12 @@ x-webhooks: type: string enum: - opened - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: *951 - repository: *894 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: *949 + repository: *892 sender: *4 required: - action @@ -205164,12 +204628,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: *951 - repository: *894 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: *949 + repository: *892 sender: *4 required: - action @@ -205249,12 +204713,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *891 - installation: *892 - number: *950 - organization: *893 - pull_request: *951 - repository: *894 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 + pull_request: *949 + repository: *892 sender: *4 required: - action @@ -205620,9 +205084,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: type: object properties: @@ -207796,7 +207260,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *894 + repository: *892 sender: *4 required: - action @@ -207876,7 +207340,7 @@ x-webhooks: type: string enum: - deleted - comment: &954 + comment: &952 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. @@ -208161,9 +207625,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: type: object properties: @@ -210325,7 +209789,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *894 + repository: *892 sender: *4 required: - action @@ -210405,11 +209869,11 @@ x-webhooks: type: string enum: - edited - changes: *953 - comment: *954 - enterprise: *891 - installation: *892 - organization: *893 + changes: *951 + comment: *952 + enterprise: *889 + installation: *890 + organization: *891 pull_request: type: object properties: @@ -212574,7 +212038,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *894 + repository: *892 sender: *4 required: - action @@ -212655,9 +212119,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: title: Simple Pull Request type: object @@ -214834,7 +214298,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *894 + repository: *892 review: description: The review that was affected. type: object @@ -215081,9 +214545,9 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: title: Simple Pull Request type: object @@ -217133,8 +216597,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *894 - review: &955 + repository: *892 + review: &953 description: The review that was affected. type: object properties: @@ -217367,12 +216831,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: description: The pull request number. type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -219659,7 +219123,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 requested_reviewer: title: User type: object @@ -219743,12 +219207,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: description: The pull request number. type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -222042,7 +221506,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 requested_team: title: Team description: Groups of organization members that gives permissions @@ -222234,12 +221698,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: description: The pull request number. type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -224528,7 +223992,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 requested_reviewer: title: User type: object @@ -224613,12 +224077,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *891 - installation: *892 + enterprise: *889 + installation: *890 number: description: The pull request number. type: integer - organization: *893 + organization: *891 pull_request: title: Pull Request type: object @@ -226898,7 +226362,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 requested_team: title: Team description: Groups of organization members that gives permissions @@ -227079,9 +226543,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: title: Simple Pull Request type: object @@ -229260,8 +228724,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *894 - review: *955 + repository: *892 + review: *953 sender: *4 required: - action @@ -229341,9 +228805,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: title: Simple Pull Request type: object @@ -231431,7 +230895,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *894 + repository: *892 sender: *4 thread: type: object @@ -231818,9 +231282,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 pull_request: title: Simple Pull Request type: object @@ -233894,7 +233358,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *894 + repository: *892 sender: *4 thread: type: object @@ -234284,10 +233748,10 @@ x-webhooks: type: string before: type: string - enterprise: *891 - installation: *892 - number: *950 - organization: *893 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -236562,7 +236026,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -236644,11 +236108,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *956 - enterprise: *891 - installation: *892 - number: *950 - organization: *893 + assignee: *954 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -238935,7 +238399,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -239014,11 +238478,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *891 - installation: *892 - label: *914 - number: *950 - organization: *893 + enterprise: *889 + installation: *890 + label: *912 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -241295,7 +240759,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -241376,10 +240840,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *891 - installation: *892 - number: *950 - organization: *893 + enterprise: *889 + installation: *890 + number: *948 + organization: *891 pull_request: title: Pull Request type: object @@ -243648,7 +243112,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *894 + repository: *892 sender: *4 required: - action @@ -243848,7 +243312,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *891 + enterprise: *889 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -243940,8 +243404,8 @@ x-webhooks: - url - author - committer - installation: *892 - organization: *893 + installation: *890 + organization: *891 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -244527,9 +243991,9 @@ x-webhooks: type: string enum: - published - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 registry_package: type: object properties: @@ -244975,7 +244439,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *937 + items: *935 summary: type: string tag_name: @@ -245029,7 +244493,7 @@ x-webhooks: - owner - package_version - registry - repository: *894 + repository: *892 sender: *4 required: - action @@ -245107,9 +244571,9 @@ x-webhooks: type: string enum: - updated - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 registry_package: type: object properties: @@ -245417,7 +244881,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *937 + items: *935 summary: type: string tag_name: @@ -245466,7 +244930,7 @@ x-webhooks: - owner - package_version - registry - repository: *894 + repository: *892 sender: *4 required: - action @@ -245543,10 +245007,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - release: &957 + enterprise: *889 + installation: *890 + organization: *891 + release: &955 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -245864,7 +245328,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *894 + repository: *892 sender: *4 required: - action @@ -245941,11 +245405,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - release: *957 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + release: *955 + repository: *892 sender: *4 required: - action @@ -246062,11 +245526,11 @@ x-webhooks: type: boolean required: - to - enterprise: *891 - installation: *892 - organization: *893 - release: *957 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + release: *955 + repository: *892 sender: *4 required: - action @@ -246144,9 +245608,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -246468,7 +245932,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *894 + repository: *892 sender: *4 required: - action @@ -246544,10 +246008,10 @@ x-webhooks: type: string enum: - published - enterprise: *891 - installation: *892 - organization: *893 - release: &958 + enterprise: *889 + installation: *890 + organization: *891 + release: &956 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -246866,7 +246330,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *894 + repository: *892 sender: *4 required: - action @@ -246942,11 +246406,11 @@ x-webhooks: type: string enum: - released - enterprise: *891 - installation: *892 - organization: *893 - release: *957 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + release: *955 + repository: *892 sender: *4 required: - action @@ -247022,11 +246486,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *891 - installation: *892 - organization: *893 - release: *958 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + release: *956 + repository: *892 sender: *4 required: - action @@ -247102,11 +246566,11 @@ x-webhooks: type: string enum: - published - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - repository_advisory: *791 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + repository_advisory: *789 sender: *4 required: - action @@ -247182,11 +246646,11 @@ x-webhooks: type: string enum: - reported - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - repository_advisory: *791 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + repository_advisory: *789 sender: *4 required: - action @@ -247262,10 +246726,10 @@ x-webhooks: type: string enum: - archived - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -247342,10 +246806,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -247423,10 +246887,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -247510,10 +246974,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -247625,10 +247089,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -247700,10 +247164,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 status: type: string @@ -247784,10 +247248,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -247864,10 +247328,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -247961,10 +247425,10 @@ x-webhooks: - name required: - repository - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248044,10 +247508,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 repository_ruleset: *195 sender: *4 required: @@ -248126,10 +247590,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 repository_ruleset: *195 sender: *4 required: @@ -248208,10 +247672,10 @@ x-webhooks: type: string enum: - edited - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 repository_ruleset: *195 changes: type: object @@ -248273,16 +247737,16 @@ x-webhooks: properties: added: type: array - items: *758 + items: *756 deleted: type: array - items: *758 + items: *756 updated: type: array items: type: object properties: - rule: *758 + rule: *756 changes: type: object properties: @@ -248516,10 +247980,10 @@ x-webhooks: - from required: - owner - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248597,10 +248061,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -248678,7 +248142,7 @@ x-webhooks: type: string enum: - create - alert: &959 + alert: &957 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -248800,10 +248264,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -249009,10 +248473,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -249090,11 +248554,11 @@ x-webhooks: type: string enum: - reopen - alert: *959 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *957 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -249293,10 +248757,10 @@ x-webhooks: enum: - fixed - open - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -249374,7 +248838,7 @@ x-webhooks: type: string enum: - assigned - alert: &960 + alert: &958 type: object properties: number: *131 @@ -249517,10 +248981,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -249598,11 +249062,11 @@ x-webhooks: type: string enum: - created - alert: *960 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *958 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -249683,11 +249147,11 @@ x-webhooks: type: string enum: - created - alert: *960 - installation: *892 - location: *961 - organization: *893 - repository: *894 + alert: *958 + installation: *890 + location: *959 + organization: *891 + repository: *892 sender: *4 required: - location @@ -249925,11 +249389,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *960 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *958 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250007,11 +249471,11 @@ x-webhooks: type: string enum: - reopened - alert: *960 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *958 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250089,11 +249553,11 @@ x-webhooks: type: string enum: - resolved - alert: *960 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *958 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250171,12 +249635,12 @@ x-webhooks: type: string enum: - unassigned - alert: *960 + alert: *958 assignee: *4 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250254,11 +249718,11 @@ x-webhooks: type: string enum: - validated - alert: *960 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + alert: *958 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -250384,10 +249848,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *894 - enterprise: *891 - installation: *892 - organization: *893 + repository: *892 + enterprise: *889 + installation: *890 + organization: *891 sender: *4 required: - action @@ -250465,11 +249929,11 @@ x-webhooks: type: string enum: - published - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - security_advisory: &962 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + security_advisory: &960 description: The details of the security advisory, including summary, description, and severity. type: object @@ -250640,11 +250104,11 @@ x-webhooks: type: string enum: - updated - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 - security_advisory: *962 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 + security_advisory: *960 sender: *4 required: - action @@ -250717,10 +250181,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -250892,11 +250356,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *452 - enterprise: *891 - installation: *892 - organization: *893 - repository: *499 + security_and_analysis: *449 + enterprise: *889 + installation: *890 + organization: *891 + repository: *496 sender: *4 required: - changes @@ -250974,12 +250438,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: &963 + sponsorship: &961 type: object properties: created_at: @@ -251280,12 +250744,12 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: *963 + sponsorship: *961 required: - action - sponsorship @@ -251373,12 +250837,12 @@ x-webhooks: type: string required: - from - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: *963 + sponsorship: *961 required: - action - changes @@ -251455,17 +250919,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &964 + effective_date: &962 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: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: *963 + sponsorship: *961 required: - action - sponsorship @@ -251539,7 +251003,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &965 + changes: &963 type: object properties: tier: @@ -251583,13 +251047,13 @@ x-webhooks: - from required: - tier - effective_date: *964 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + effective_date: *962 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: *963 + sponsorship: *961 required: - action - changes @@ -251666,13 +251130,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *965 - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + changes: *963 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - sponsorship: *963 + sponsorship: *961 required: - action - changes @@ -251746,10 +251210,10 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -251832,10 +251296,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -252255,15 +251719,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *891 + enterprise: *889 id: description: The unique identifier of the status. type: integer - installation: *892 + installation: *890 name: type: string - organization: *893 - repository: *894 + organization: *891 + repository: *892 sender: *4 sha: description: The Commit SHA. @@ -252372,15 +251836,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *228 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *892 - organization: *893 - repository: *894 + sub_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -252463,15 +251927,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *228 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *892 - organization: *893 - repository: *894 + sub_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -252554,15 +252018,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *228 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *892 - organization: *893 - repository: *894 + parent_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -252645,15 +252109,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *228 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *892 - organization: *893 - repository: *894 + parent_issue: *228 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -252729,12 +252193,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - team: &966 + team: &964 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -252957,9 +252421,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 repository: title: Repository description: A git repository @@ -253417,7 +252881,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *966 + team: *964 required: - action - team @@ -253493,9 +252957,9 @@ x-webhooks: type: string enum: - created - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 repository: title: Repository description: A git repository @@ -253953,7 +253417,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *966 + team: *964 required: - action - team @@ -254030,9 +253494,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 repository: title: Repository description: A git repository @@ -254490,7 +253954,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *966 + team: *964 required: - action - team @@ -254634,9 +254098,9 @@ x-webhooks: - from required: - permissions - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 repository: title: Repository description: A git repository @@ -255094,7 +254558,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *966 + team: *964 required: - action - changes @@ -255172,9 +254636,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *891 - installation: *892 - organization: *893 + enterprise: *889 + installation: *890 + organization: *891 repository: title: Repository description: A git repository @@ -255632,7 +255096,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *966 + team: *964 required: - action - team @@ -255708,10 +255172,10 @@ x-webhooks: type: string enum: - started - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 required: - action @@ -255784,16 +255248,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *891 + enterprise: *889 inputs: type: object nullable: true additionalProperties: true - installation: *892 - organization: *893 + installation: *890 + organization: *891 ref: type: string - repository: *894 + repository: *892 sender: *4 workflow: type: string @@ -255875,10 +255339,10 @@ x-webhooks: type: string enum: - completed - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 workflow_job: allOf: @@ -256115,7 +255579,7 @@ x-webhooks: type: string required: - conclusion - deployment: *640 + deployment: *637 required: - action - repository @@ -256194,10 +255658,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 workflow_job: allOf: @@ -256457,7 +255921,7 @@ x-webhooks: required: - status - steps - deployment: *640 + deployment: *637 required: - action - repository @@ -256536,10 +256000,10 @@ x-webhooks: type: string enum: - queued - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 workflow_job: type: object @@ -256674,7 +256138,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *640 + deployment: *637 required: - action - repository @@ -256753,10 +256217,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 workflow_job: type: object @@ -256892,7 +256356,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *640 + deployment: *637 required: - action - repository @@ -256972,12 +256436,12 @@ x-webhooks: type: string enum: - completed - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - workflow: *910 + workflow: *908 workflow_run: title: Workflow Run type: object @@ -257976,12 +257440,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - workflow: *910 + workflow: *908 workflow_run: title: Workflow Run type: object @@ -258965,12 +258429,12 @@ x-webhooks: type: string enum: - requested - enterprise: *891 - installation: *892 - organization: *893 - repository: *894 + enterprise: *889 + installation: *890 + organization: *891 + repository: *892 sender: *4 - workflow: *910 + workflow: *908 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 970b7ce50b..be6048ed27 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -47953,646 +47953,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -78437,655 +77797,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -150793,7 +149504,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" ], @@ -177551,646 +176262,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -289890,655 +287961,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", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -297739,7 +295161,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" ], @@ -297906,7 +295328,7 @@ "used" ] }, - "code_scanning_upload": { + "actions_runner_registration": { "title": "Rate Limit", "type": "object", "properties": { @@ -297930,7 +295352,7 @@ "used" ] }, - "actions_runner_registration": { + "scim": { "title": "Rate Limit", "type": "object", "properties": { @@ -297954,7 +295376,7 @@ "used" ] }, - "scim": { + "dependency_snapshots": { "title": "Rate Limit", "type": "object", "properties": { @@ -297978,7 +295400,7 @@ "used" ] }, - "dependency_snapshots": { + "dependency_sbom": { "title": "Rate Limit", "type": "object", "properties": { @@ -298002,7 +295424,7 @@ "used" ] }, - "dependency_sbom": { + "code_scanning_autofix": { "title": "Rate Limit", "type": "object", "properties": { @@ -298026,7 +295448,7 @@ "used" ] }, - "code_scanning_autofix": { + "copilot_usage_records": { "title": "Rate Limit", "type": "object", "properties": { @@ -298134,12 +295556,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -413457,7 +410873,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" } @@ -455553,6 +452969,665 @@ } } }, + "/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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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" + }, + "example": [ + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index b867fa3c9e..1e03228c52 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &479 + type: &476 type: string description: The type of credit the user is receiving. enum: @@ -1056,7 +1056,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &268 + schema: &265 title: Validation Error Simple description: Validation Error Simple type: object @@ -1089,7 +1089,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: - - &796 + - &794 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -3739,7 +3739,7 @@ paths: GitHub. type: object nullable: true - properties: &226 + properties: &223 id: description: Unique identifier of the GitHub app example: 37 @@ -3872,7 +3872,7 @@ paths: about itself. example: 5 type: integer - required: &227 + required: &224 - id - node_id - owner @@ -4177,7 +4177,7 @@ paths: schema: type: integer default: 30 - - &377 + - &374 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 @@ -4186,7 +4186,7 @@ paths: required: false schema: type: string - - &378 + - &375 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4206,7 +4206,7 @@ paths: application/json: schema: type: array - items: &379 + items: &376 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4286,7 +4286,7 @@ paths: - installation_id - repository_id examples: - default: &380 + default: &377 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4318,7 +4318,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &805 + schema: &803 title: Scim Error description: Scim Error type: object @@ -4345,7 +4345,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &267 + schema: &264 title: Validation Error description: Validation Error type: object @@ -4414,7 +4414,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &378 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4528,7 +4528,7 @@ paths: - request - response examples: - default: &382 + default: &379 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4729,7 +4729,7 @@ paths: parameters: - *17 - *19 - - &238 + - &235 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) @@ -5547,7 +5547,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &451 + properties: &448 id: description: Unique identifier of the repository example: 42 @@ -5567,7 +5567,7 @@ paths: title: License Simple description: License Simple type: object - properties: &234 + properties: &231 key: type: string example: mit @@ -5589,7 +5589,7 @@ paths: html_url: type: string format: uri - required: &235 + required: &232 - key - name - url @@ -5998,7 +5998,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &452 + required: &449 - archive_url - assignees_url - blobs_url @@ -6072,7 +6072,7 @@ paths: - watchers_count - created_at - updated_at - x-github-breaking-changes: &453 + x-github-breaking-changes: &450 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -10403,7 +10403,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &266 type: object properties: total_active_caches_count: @@ -10418,7 +10418,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &270 + default: &267 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -10611,7 +10611,7 @@ paths: - public_ip_enabled - platform examples: - default: &271 + default: &268 value: total_count: 2 runners: @@ -10906,7 +10906,7 @@ paths: application/json: schema: *49 examples: - default: &272 + default: &269 value: id: 1 platform: linux-x64 @@ -11046,7 +11046,7 @@ paths: application/json: schema: *52 examples: - default: &273 + default: &270 value: version: 1.0.0 size_gb: 75 @@ -11210,7 +11210,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &271 type: object properties: public_ips: @@ -11235,7 +11235,7 @@ paths: required: - public_ips examples: - default: &275 + default: &272 value: public_ips: current_usage: 17 @@ -11275,7 +11275,7 @@ paths: type: array items: *56 examples: - default: &276 + default: &273 value: id: 4-core cpu_cores: 4 @@ -11590,7 +11590,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &274 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -11701,7 +11701,7 @@ paths: - all - local_only - selected - selected_actions_url: &279 + selected_actions_url: &276 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` @@ -11781,7 +11781,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &281 + schema: &278 type: object properties: days: @@ -11799,7 +11799,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &806 + '401': &804 description: Authorization failure '404': *6 x-github: @@ -11827,7 +11827,7 @@ paths: required: true content: application/json: - schema: &282 + schema: &279 type: object properties: days: @@ -11876,7 +11876,7 @@ paths: required: - approval_policy examples: - default: &283 + default: &280 value: approval_policy: first_time_contributors '404': *6 @@ -11934,7 +11934,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &281 type: object required: - run_workflows_from_fork_pull_requests @@ -11988,7 +11988,7 @@ paths: required: true content: application/json: - schema: &285 + schema: &282 type: object required: - run_workflows_from_fork_pull_requests @@ -12411,7 +12411,7 @@ paths: description: Success response content: application/json: - schema: &288 + schema: &285 type: object properties: default_workflow_permissions: &69 @@ -12459,7 +12459,7 @@ paths: required: true content: application/json: - schema: &289 + schema: &286 type: object properties: default_workflow_permissions: *69 @@ -13304,7 +13304,7 @@ paths: application/json: schema: type: array - items: &293 + items: &290 title: Runner Application description: Runner Application type: object @@ -13329,7 +13329,7 @@ paths: - download_url - filename examples: - default: &294 + default: &291 value: - os: osx architecture: x64 @@ -13413,7 +13413,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &295 + '201': &292 description: Response content: application/json: @@ -13528,7 +13528,7 @@ paths: - token - expires_at examples: - default: &296 + default: &293 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -13568,7 +13568,7 @@ paths: application/json: schema: *81 examples: - default: &297 + default: &294 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -13600,7 +13600,7 @@ paths: application/json: schema: *78 examples: - default: &298 + default: &295 value: id: 23 name: MBP @@ -13817,7 +13817,7 @@ paths: - *41 - *77 responses: - '200': &299 + '200': &296 description: Response content: application/json: @@ -13873,7 +13873,7 @@ paths: parameters: - *41 - *77 - - &300 + - &297 name: name description: The name of a self-hosted runner's custom label. in: path @@ -13964,7 +13964,7 @@ paths: required: true content: application/json: - schema: &314 + schema: &311 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14605,7 +14605,7 @@ paths: required: false schema: type: string - - &317 + - &314 name: include description: |- The event types to include: @@ -14623,7 +14623,7 @@ paths: - web - git - all - - &318 + - &315 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. @@ -14631,7 +14631,7 @@ paths: required: false schema: type: string - - &319 + - &316 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. @@ -14639,7 +14639,7 @@ paths: required: false schema: type: string - - &320 + - &317 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14661,7 +14661,7 @@ paths: application/json: schema: type: array - items: &321 + items: &318 type: object properties: "@timestamp": @@ -14783,7 +14783,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &322 + default: &319 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15449,7 +15449,7 @@ paths: application/json: schema: type: array - items: &323 + items: &320 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15610,7 +15610,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &324 + default: &321 value: - id: 21 number: 42 @@ -15715,7 +15715,7 @@ paths: application/json: schema: type: array - items: &326 + items: &323 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15840,7 +15840,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &327 + default: &324 value: - id: 21 number: 42 @@ -15925,7 +15925,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &332 + - &329 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`, @@ -15935,7 +15935,7 @@ paths: schema: &113 type: string description: The name of the tool used to generate the code scanning analysis. - - &333 + - &330 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 @@ -15958,7 +15958,7 @@ paths: be returned. in: query required: false - schema: &334 + schema: &331 type: string description: State of a code scanning alert. enum: @@ -15991,7 +15991,7 @@ paths: application/json: schema: type: array - items: &335 + items: &332 type: object properties: number: &131 @@ -16020,7 +16020,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &569 + instances_url: &566 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -16055,7 +16055,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &570 + dismissed_reason: &567 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -16064,13 +16064,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &571 + dismissed_comment: &568 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &572 + rule: &569 type: object properties: id: @@ -16123,7 +16123,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &573 + tool: &570 type: object properties: name: *113 @@ -16133,26 +16133,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *114 - most_recent_instance: &574 + most_recent_instance: &571 type: object properties: - ref: &567 + ref: &564 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &584 + analysis_key: &581 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: &585 + environment: &582 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: &586 + category: &583 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16172,7 +16172,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: &587 + location: &584 type: object description: Describe a region within a file for the alert. properties: @@ -16193,7 +16193,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: &588 + items: &585 type: string description: A classification of the file. For example to identify it as generated. @@ -16506,7 +16506,7 @@ paths: - most_recent_instance - repository examples: - default: &336 + default: &333 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17389,7 +17389,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &335 type: array description: A list of default code security configurations items: @@ -17405,7 +17405,7 @@ paths: default configuration: *116 examples: - default: &339 + default: &336 value: - default_for_new_repos: public configuration: @@ -17863,7 +17863,7 @@ paths: default: value: default_for_new_repos: all - configuration: &337 + configuration: &334 value: id: 1325 target_type: organization @@ -17953,7 +17953,7 @@ paths: application/json: schema: type: array - items: &340 + items: &337 type: object description: Repositories associated with a code security configuration and attachment status @@ -17977,7 +17977,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &341 + repository: &338 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18466,7 +18466,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &328 + - &325 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18541,7 +18541,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &417 + properties: &414 id: description: Unique identifier of the team type: integer @@ -18613,7 +18613,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &418 + required: &415 - id - node_id - url @@ -19294,7 +19294,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &348 + '413': &345 description: Payload Too Large content: application/json: @@ -19664,479 +19664,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: - - *41 - - 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: &215 - 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 - description: Usage metrics for Copilot editor code completions - in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model - (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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: &216 - 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': *40 - '403': *29 - '404': *6 - '422': &217 - 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 @@ -20698,7 +20225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &353 + - &350 name: classification in: query description: |- @@ -20707,7 +20234,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &354 + - &351 name: state in: query description: |- @@ -20716,7 +20243,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &355 + - &352 name: severity in: query description: |- @@ -20725,7 +20252,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &356 + - &353 name: ecosystem in: query description: |- @@ -20734,14 +20261,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &357 + - &354 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 - - &358 + - &355 name: epss_percentage in: query description: |- @@ -20753,7 +20280,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 - - &631 + - &628 name: has in: query description: |- @@ -20767,7 +20294,7 @@ paths: type: string enum: - patch - - &359 + - &356 name: assignee in: query description: |- @@ -20776,7 +20303,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &360 + - &357 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20786,7 +20313,7 @@ paths: enum: - development - runtime - - &361 + - &358 name: sort in: query description: |- @@ -20812,7 +20339,7 @@ paths: application/json: schema: type: array - items: &362 + items: &359 type: object description: A Dependabot alert. properties: @@ -20876,7 +20403,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &632 + security_advisory: &629 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -21134,14 +20661,14 @@ paths: nullable: true maxLength: 280 fixed_at: *141 - auto_dismissed_at: &633 + auto_dismissed_at: &630 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &634 + dismissal_request: &631 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21203,7 +20730,7 @@ paths: - repository additionalProperties: false examples: - default: &363 + default: &360 value: - number: 2 state: dismissed @@ -21588,7 +21115,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &361 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21614,7 +21141,7 @@ paths: nullable: true additionalProperties: false examples: - default: &365 + default: &362 value: default_level: public accessible_repositories: @@ -21836,7 +21363,7 @@ paths: - *105 - *106 - *107 - - &367 + - &364 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21862,7 +21389,7 @@ paths: application/json: schema: type: array - items: &369 + items: &366 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21983,7 +21510,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &370 + default: &367 value: - id: 21 number: 42 @@ -22514,7 +22041,7 @@ paths: type: array items: *150 examples: - default: &218 + default: &215 value: - id: 1 name: Justice League @@ -22677,7 +22204,7 @@ paths: application/json: schema: *22 examples: - default: &394 + default: &391 value: id: 1 account: @@ -22931,7 +22458,7 @@ paths: - name - created_on examples: - default: &484 + default: &481 value: total_count: 2 network_configurations: @@ -23182,7 +22709,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: - *41 - - &485 + - &482 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23194,7 +22721,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &483 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23228,7 +22755,7 @@ paths: - subnet_id - region examples: - default: &487 + default: &484 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -24047,7 +23574,7 @@ paths: required: true content: application/json: - schema: &450 + schema: &447 title: Custom Property Set Payload description: Custom property set payload type: object @@ -25241,7 +24768,7 @@ paths: nullable: true anyOf: - *166 - - &457 + - &454 title: Organization ruleset conditions type: object description: |- @@ -25288,7 +24815,7 @@ paths: - *169 rules: type: array - items: &761 + items: &759 title: Repository Rule type: object description: A repository rule. @@ -25297,7 +24824,7 @@ paths: - *175 - *176 - *177 - - &759 + - &757 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25625,7 +25152,7 @@ paths: type: string format: date-time examples: - default: &460 + default: &457 value: - version_id: 3 actor: @@ -25678,7 +25205,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &458 allOf: - *199 - type: object @@ -25733,7 +25260,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &462 + - &459 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -25744,7 +25271,7 @@ paths: enum: - open - resolved - - &463 + - &460 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -25754,7 +25281,7 @@ paths: required: false schema: type: string - - &464 + - &461 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -25765,7 +25292,7 @@ paths: required: false schema: type: string - - &465 + - &462 name: exclude_providers in: query description: |- @@ -25776,7 +25303,7 @@ paths: required: false schema: type: string - - &466 + - &463 name: providers in: query description: |- @@ -25787,7 +25314,7 @@ paths: required: false schema: type: string - - &467 + - &464 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -25796,7 +25323,7 @@ paths: required: false schema: type: string - - &468 + - &465 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -25815,7 +25342,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &469 + - &466 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. @@ -25831,7 +25358,7 @@ paths: - *17 - *110 - *111 - - &470 + - &467 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -25840,7 +25367,7 @@ paths: required: false schema: type: string - - &471 + - &468 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -25849,7 +25376,7 @@ paths: schema: type: boolean default: false - - &472 + - &469 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -25858,7 +25385,7 @@ paths: schema: type: boolean default: false - - &473 + - &470 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -25867,7 +25394,7 @@ paths: schema: type: boolean default: false - - &474 + - &471 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -25885,7 +25412,7 @@ paths: application/json: schema: type: array - items: &475 + items: &472 type: object properties: number: *131 @@ -25904,14 +25431,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &774 + state: &772 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: &775 + resolution: &773 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -26028,8 +25555,8 @@ paths: pull request. ' - oneOf: &776 - - &778 + oneOf: &774 + - &776 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26087,7 +25614,7 @@ paths: - blob_url - commit_sha - commit_url - - &779 + - &777 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. @@ -26142,7 +25669,7 @@ paths: - page_url - commit_sha - commit_url - - &780 + - &778 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26162,7 +25689,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &781 + - &779 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26182,7 +25709,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &782 + - &780 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26202,7 +25729,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &783 + - &781 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26216,7 +25743,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &784 + - &782 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26230,7 +25757,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &785 + - &783 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26244,7 +25771,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &786 + - &784 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. @@ -26264,7 +25791,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &787 + - &785 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. @@ -26284,7 +25811,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &788 + - &786 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. @@ -26304,7 +25831,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &789 + - &787 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. @@ -26324,7 +25851,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &790 + - &788 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 request. @@ -26372,7 +25899,7 @@ paths: required: *21 nullable: true examples: - default: &476 + default: &473 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26581,7 +26108,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &474 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -26664,7 +26191,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *201 examples: - default: &478 + default: &475 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -26800,7 +26327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &481 + - &478 name: advanced_security_product in: query description: | @@ -26820,7 +26347,7 @@ paths: description: Success content: application/json: - schema: &482 + schema: &479 type: object properties: total_advanced_security_committers: @@ -26875,7 +26402,7 @@ paths: required: - repositories examples: - default: &483 + default: &480 value: total_advanced_security_committers: 2 total_count: 2 @@ -29267,78 +28794,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: - - *41 - - *146 - - 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: *215 - examples: - default: *216 - '500': *40 - '403': *29 - '404': *6 - '422': *217 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -29362,7 +28817,7 @@ paths: type: array items: *150 examples: - default: *218 + default: *215 headers: Link: *47 '403': *29 @@ -29451,7 +28906,7 @@ paths: application/json: schema: *150 examples: - default: &223 + default: &220 value: id: 1 name: Justice League @@ -29480,7 +28935,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &219 + - &216 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -29499,7 +28954,7 @@ paths: type: array items: *4 examples: - default: &220 + default: &217 value: - login: octocat id: 1 @@ -29538,7 +28993,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29569,7 +29024,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29587,7 +29042,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29618,7 +29073,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29636,7 +29091,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *219 + - *216 - *148 responses: '200': @@ -29645,7 +29100,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &221 + exampleKey1: &218 value: login: octocat id: 1 @@ -29681,7 +29136,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *219 + - *216 - *148 responses: '201': @@ -29690,7 +29145,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *221 + exampleKey1: *218 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29708,7 +29163,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *219 + - *216 - *148 responses: '204': @@ -29731,7 +29186,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *219 + - *216 - *17 - *19 responses: @@ -29743,7 +29198,7 @@ paths: type: array items: *75 examples: - default: &222 + default: &219 value: login: github id: 1 @@ -29774,7 +29229,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29804,7 +29259,7 @@ paths: type: array items: *75 examples: - default: &262 + default: &259 value: - login: github id: 1 @@ -29835,7 +29290,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *219 + - *216 requestBody: required: true content: @@ -29876,7 +29331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *219 + - *216 - *89 responses: '200': @@ -29885,7 +29340,7 @@ paths: application/json: schema: *75 examples: - default: *222 + default: *219 '404': description: The team is not assigned to the organization x-github: @@ -29904,7 +29359,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *219 + - *216 - *89 responses: '201': @@ -29913,7 +29368,7 @@ paths: application/json: schema: *75 examples: - default: *222 + default: *219 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29930,7 +29385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *219 + - *216 - *89 responses: '204': @@ -29955,7 +29410,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &224 + - &221 name: team_slug description: The slug of the team name. in: path @@ -29969,7 +29424,7 @@ paths: application/json: schema: *150 examples: - default: *223 + default: *220 headers: Link: *47 '403': *29 @@ -29989,7 +29444,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *224 + - *221 requestBody: required: true content: @@ -30056,7 +29511,7 @@ paths: application/json: schema: *150 examples: - default: *223 + default: *220 headers: Link: *47 '403': *29 @@ -30079,7 +29534,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *224 + - *221 responses: '204': description: Response @@ -30178,7 +29633,7 @@ paths: application/json: schema: type: array - items: &257 + items: &254 title: Event description: Event type: object @@ -30188,7 +29643,7 @@ paths: type: type: string nullable: true - actor: &225 + actor: &222 title: Actor description: Actor type: object @@ -30228,7 +29683,7 @@ paths: - id - name - url - org: *225 + org: *222 payload: oneOf: - title: CreateEvent @@ -30274,7 +29729,7 @@ paths: properties: action: type: string - discussion: &914 + discussion: &912 title: Discussion description: A Discussion in a repository. type: object @@ -30561,7 +30016,7 @@ paths: - id labels: type: array - items: &230 + items: &227 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -30636,12 +30091,12 @@ paths: properties: action: type: string - issue: &231 + issue: &228 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &692 + properties: &690 id: type: integer format: int64 @@ -30754,7 +30209,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &439 + properties: &436 url: type: string format: uri @@ -30824,7 +30279,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &440 + required: &437 - closed_issues - creator - description @@ -30903,7 +30358,7 @@ paths: timeline_url: type: string format: uri - type: &404 + type: &401 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -30966,9 +30421,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - author_association: &228 + properties: *223 + required: *224 + author_association: &225 title: author_association type: string example: OWNER @@ -30983,7 +30438,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &229 + reactions: &226 title: Reaction Rollup type: object properties: @@ -31019,7 +30474,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &833 + sub_issues_summary: &831 title: Sub-issues Summary type: object properties: @@ -31044,7 +30499,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &232 + properties: &229 id: description: Unique identifier of the issue comment example: 42 @@ -31087,7 +30542,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *225 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -31098,15 +30553,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *223 + required: *224 + reactions: *226 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &716 + properties: &714 pinned_at: type: string format: date-time @@ -31118,11 +30573,11 @@ paths: properties: *20 required: *21 nullable: true - required: &717 + required: &715 - pinned_at - pinned_by nullable: true - required: &233 + required: &230 - id - node_id - html_url @@ -31132,7 +30587,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &834 + issue_dependencies_summary: &832 title: Issue Dependencies Summary type: object properties: @@ -31151,7 +30606,7 @@ paths: - total_blocking issue_field_values: type: array - items: &700 + items: &698 title: Issue Field Value description: A value assigned to an issue field type: object @@ -31238,7 +30693,7 @@ paths: - node_id - data_type - value - required: &693 + required: &691 - assignee - closed_at - comments @@ -31259,7 +30714,7 @@ paths: - user - created_at - updated_at - x-github-breaking-changes: &694 + x-github-breaking-changes: &692 - changeset: deprecate_beta_media_type patch: properties: @@ -31306,10 +30761,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *227 labels: type: array - items: *230 + items: *227 required: - action - issue @@ -31318,14 +30773,14 @@ paths: properties: action: type: string - issue: *231 - comment: &688 + issue: *228 + comment: &686 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 required: - action - issue @@ -31498,8 +30953,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true allow_forking: type: boolean @@ -31588,7 +31043,7 @@ paths: type: string number: type: integer - pull_request: &236 + pull_request: &233 title: Pull Request Minimal type: object properties: @@ -31659,10 +31114,10 @@ paths: assignees: type: array items: *4 - label: *230 + label: *227 labels: type: array - items: *230 + items: *227 required: - action - number @@ -31672,7 +31127,7 @@ paths: properties: action: type: string - pull_request: *236 + pull_request: *233 comment: type: object properties: @@ -31923,7 +31378,7 @@ paths: - pull_request updated_at: type: string - pull_request: *236 + pull_request: *233 required: - action - review @@ -31972,7 +31427,7 @@ paths: updated_at: type: string format: date-time - reactions: *229 + reactions: *226 required: - action - comment @@ -31983,7 +31438,7 @@ paths: type: string release: allOf: - - &752 + - &750 title: Release description: A release. type: object @@ -32054,7 +31509,7 @@ paths: author: *4 assets: type: array - items: &753 + items: &751 title: Release Asset description: Data related to a release. type: object @@ -32129,7 +31584,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *229 + reactions: *226 required: - assets_url - upload_url @@ -32302,7 +31757,7 @@ paths: _links: type: object properties: - timeline: &237 + timeline: &234 title: Link With Type description: Hypermedia Link with Type type: object @@ -32314,17 +31769,17 @@ paths: required: - href - type - user: *237 - security_advisories: *237 - current_user: *237 - current_user_public: *237 - current_user_actor: *237 - current_user_organization: *237 + user: *234 + security_advisories: *234 + current_user: *234 + current_user_public: *234 + current_user_actor: *234 + current_user_organization: *234 current_user_organizations: type: array - items: *237 - repository_discussions: *237 - repository_discussions_category: *237 + items: *234 + repository_discussions: *234 + repository_discussions_category: *234 required: - timeline - user @@ -32386,7 +31841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *238 + - *235 - *17 - *19 responses: @@ -32396,7 +31851,7 @@ paths: application/json: schema: type: array - items: &239 + items: &236 title: Base Gist description: Base Gist type: object @@ -32524,7 +31979,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &240 + default: &237 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -32645,7 +32100,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &238 title: Gist Simple description: Gist Simple type: object @@ -32662,7 +32117,7 @@ paths: url: type: string format: uri - user: &840 + user: &838 title: Public User description: Public User type: object @@ -33032,7 +32487,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &242 + default: &239 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -33136,7 +32591,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists parameters: - - *238 + - *235 - *17 - *19 responses: @@ -33146,9 +32601,9 @@ paths: application/json: schema: type: array - items: *239 + items: *236 examples: - default: *240 + default: *237 headers: Link: *47 '422': *15 @@ -33170,7 +32625,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists parameters: - - *238 + - *235 - *17 - *19 responses: @@ -33180,9 +32635,9 @@ paths: application/json: schema: type: array - items: *239 + items: *236 examples: - default: *240 + default: *237 headers: Link: *47 '401': *25 @@ -33209,7 +32664,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist parameters: - - &243 + - &240 name: gist_id description: The unique identifier of the gist. in: path @@ -33221,10 +32676,10 @@ paths: description: Response content: application/json: - schema: *241 + schema: *238 examples: - default: *242 - '403': &246 + default: *239 + '403': &243 description: Forbidden Gist content: application/json: @@ -33271,7 +32726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist parameters: - - *243 + - *240 requestBody: required: true content: @@ -33331,9 +32786,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *238 examples: - updateGist: *242 + updateGist: *239 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -33491,7 +32946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist parameters: - - *243 + - *240 responses: '204': description: Response @@ -33519,7 +32974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments parameters: - - *243 + - *240 - *17 - *19 responses: @@ -33529,7 +32984,7 @@ paths: application/json: schema: type: array - items: &244 + items: &241 title: Gist Comment description: A comment made to a gist. type: object @@ -33564,7 +33019,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *228 + author_association: *225 required: - url - id @@ -33628,7 +33083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment parameters: - - *243 + - *240 requestBody: required: true content: @@ -33653,9 +33108,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *241 examples: - default: &245 + default: &242 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -33712,8 +33167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment parameters: - - *243 - - &247 + - *240 + - &244 name: comment_id description: The unique identifier of the comment. in: path @@ -33726,12 +33181,12 @@ paths: description: Response content: application/json: - schema: *244 + schema: *241 examples: - default: *245 + default: *242 '304': *37 '404': *6 - '403': *246 + '403': *243 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33752,8 +33207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment parameters: - - *243 - - *247 + - *240 + - *244 requestBody: required: true content: @@ -33778,9 +33233,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *241 examples: - default: *245 + default: *242 '404': *6 x-github: githubCloudOnly: false @@ -33797,8 +33252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment parameters: - - *243 - - *247 + - *240 + - *244 responses: '204': description: Response @@ -33821,7 +33276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits parameters: - - *243 + - *240 - *17 - *19 responses: @@ -33922,7 +33377,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks parameters: - - *243 + - *240 - *17 - *19 responses: @@ -33932,7 +33387,7 @@ paths: application/json: schema: type: array - items: *241 + items: *238 examples: default: value: @@ -33997,13 +33452,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist parameters: - - *243 + - *240 responses: '201': description: Response content: application/json: - schema: *239 + schema: *236 examples: default: value: @@ -34080,7 +33535,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *243 + - *240 responses: '204': description: Response if gist is starred @@ -34110,7 +33565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist parameters: - - *243 + - *240 responses: '204': description: Response @@ -34132,7 +33587,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist parameters: - - *243 + - *240 responses: '204': description: Response @@ -34160,7 +33615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision parameters: - - *243 + - *240 - name: sha in: path required: true @@ -34171,9 +33626,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *238 examples: - default: *242 + default: *239 '422': *15 '404': *6 '403': *29 @@ -34553,7 +34008,7 @@ paths: - closed - all default: open - - &407 + - &404 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -34572,7 +34027,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - name: collab in: query required: false @@ -34602,9 +34057,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: &408 + default: &405 value: - id: 1 node_id: MDU6SXNzdWUx @@ -34888,8 +34343,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 examples: default: value: @@ -35174,7 +34629,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &248 + X-CommonMarker-Version: &245 example: 0.17.4 schema: type: string @@ -35229,7 +34684,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *248 + X-CommonMarker-Version: *245 content: text/html: schema: @@ -35258,7 +34713,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: - - &251 + - &248 name: account_id description: account_id parameter in: path @@ -35270,7 +34725,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &247 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -35300,7 +34755,7 @@ paths: nullable: true id: type: integer - plan: &249 + plan: &246 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -35389,7 +34844,7 @@ paths: nullable: true updated_at: type: string - plan: *249 + plan: *246 required: - url - id @@ -35397,7 +34852,7 @@ paths: - login - marketplace_purchase examples: - default: &252 + default: &249 value: url: https://api.github.com/orgs/github type: Organization @@ -35482,9 +34937,9 @@ paths: application/json: schema: type: array - items: *249 + items: *246 examples: - default: &253 + default: &250 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -35524,14 +34979,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &254 + - &251 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &255 + - &252 name: sort description: The property to sort the results by. in: query @@ -35561,9 +35016,9 @@ paths: application/json: schema: type: array - items: *250 + items: *247 examples: - default: &256 + default: &253 value: - url: https://api.github.com/orgs/github type: Organization @@ -35637,15 +35092,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: - - *251 + - *248 responses: '200': description: Response content: application/json: - schema: *250 + schema: *247 examples: - default: *252 + default: *249 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -35677,9 +35132,9 @@ paths: application/json: schema: type: array - items: *249 + items: *246 examples: - default: *253 + default: *250 headers: Link: *47 '401': *25 @@ -35702,8 +35157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *254 - - *255 + - *251 + - *252 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -35723,9 +35178,9 @@ paths: application/json: schema: type: array - items: *250 + items: *247 examples: - default: *256 + default: *253 headers: Link: *47 '401': *25 @@ -35989,14 +35444,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: - - &496 + - &493 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &497 + - &494 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -36013,7 +35468,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -36058,7 +35513,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &502 + '301': &499 description: Moved permanently content: application/json: @@ -36080,7 +35535,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &726 + - &724 name: all description: If `true`, show notifications marked as read. in: query @@ -36088,7 +35543,7 @@ paths: schema: type: boolean default: false - - &727 + - &725 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -36097,8 +35552,8 @@ paths: schema: type: boolean default: false - - *238 - - &728 + - *235 + - &726 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: @@ -36123,18 +35578,18 @@ paths: application/json: schema: type: array - items: &258 + items: &255 title: Thread description: Thread type: object properties: id: type: string - repository: &292 + repository: &289 title: Minimal Repository description: Minimal Repository type: object - properties: &371 + properties: &368 id: type: integer format: int64 @@ -36420,7 +35875,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &454 + security_and_analysis: &451 nullable: true type: object properties: @@ -36548,7 +36003,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &372 + required: &369 - archive_url - assignees_url - blobs_url @@ -36595,7 +36050,7 @@ paths: - teams_url - trees_url - url - x-github-breaking-changes: &373 + x-github-breaking-changes: &370 - changeset: remove_has_downloads patch: properties: @@ -36642,7 +36097,7 @@ paths: - url - subscription_url examples: - default: &729 + default: &727 value: - id: '1' repository: @@ -36808,7 +36263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread parameters: - - &259 + - &256 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 @@ -36822,7 +36277,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *255 examples: default: value: @@ -36925,7 +36380,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read parameters: - - *259 + - *256 responses: '205': description: Reset Content @@ -36948,7 +36403,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done parameters: - - *259 + - *256 responses: '204': description: No content @@ -36971,13 +36426,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: - - *259 + - *256 responses: '200': description: Response content: application/json: - schema: &260 + schema: &257 title: Thread Subscription description: Thread Subscription type: object @@ -37014,7 +36469,7 @@ paths: - url - subscribed examples: - default: &261 + default: &258 value: subscribed: true ignored: false @@ -37045,7 +36500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription parameters: - - *259 + - *256 requestBody: required: false content: @@ -37066,9 +36521,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *257 examples: - default: *261 + default: *258 '304': *37 '403': *29 '401': *25 @@ -37091,7 +36546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription parameters: - - *259 + - *256 responses: '204': description: Response @@ -37188,7 +36643,7 @@ paths: type: array items: *75 examples: - default: *262 + default: *259 headers: Link: example: ; rel="next" @@ -37239,7 +36694,7 @@ paths: type: integer custom_roles: type: array - items: &349 + items: &346 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -37287,7 +36742,7 @@ paths: - created_at - updated_at examples: - default: &350 + default: &347 value: id: 8030 name: Security Engineer @@ -37353,7 +36808,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &260 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -37391,7 +36846,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *260 examples: selected_actions: *44 responses: @@ -37426,7 +36881,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &261 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -37464,7 +36919,7 @@ paths: required: true content: application/json: - schema: *264 + schema: *261 examples: selected_actions: *46 responses: @@ -37507,7 +36962,7 @@ paths: type: array items: *160 examples: - default: &735 + default: &733 value: - property_name: environment value: production @@ -37557,7 +37012,7 @@ paths: required: - properties examples: - default: &736 + default: &734 value: properties: - property_name: environment @@ -37604,7 +37059,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &262 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -37943,7 +37398,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &266 + default-response: &263 value: login: github id: 1 @@ -38274,17 +37729,17 @@ paths: description: Response content: application/json: - schema: *265 + schema: *262 examples: - default: *266 + default: *263 '422': description: Validation failed content: application/json: schema: oneOf: - - *267 - - *268 + - *264 + - *265 '409': *121 x-github: githubCloudOnly: false @@ -38355,9 +37810,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *266 examples: - default: *270 + default: *267 headers: Link: *47 x-github: @@ -38398,7 +37853,7 @@ paths: type: integer repository_cache_usages: type: array - items: &509 + items: &506 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -38473,7 +37928,7 @@ paths: type: array items: *48 examples: - default: *271 + default: *268 headers: Link: *47 x-github: @@ -38639,7 +38094,7 @@ paths: application/json: schema: *49 examples: - default: *272 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38731,7 +38186,7 @@ paths: application/json: schema: *52 examples: - default: *273 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38850,9 +38305,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *271 examples: - default: *275 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38888,7 +38343,7 @@ paths: type: array items: *56 examples: - default: *276 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39131,7 +38586,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *274 examples: default: *60 responses: @@ -39224,7 +38679,7 @@ paths: required: - include_claim_keys examples: - default: &278 + default: &275 value: include_claim_keys: - repo @@ -39269,13 +38724,13 @@ paths: format. type: boolean examples: - default: *278 + default: *275 responses: '201': description: Empty response content: application/json: - schema: &303 + schema: &300 title: Empty Object description: An object without any properties. type: object @@ -39314,7 +38769,7 @@ paths: schema: type: object properties: - enabled_repositories: &280 + enabled_repositories: &277 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -39328,7 +38783,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *62 - selected_actions_url: *279 + selected_actions_url: *276 sha_pinning_required: *63 required: - enabled_repositories @@ -39370,7 +38825,7 @@ paths: schema: type: object properties: - enabled_repositories: *280 + enabled_repositories: *277 allowed_actions: *62 sha_pinning_required: *63 required: @@ -39406,7 +38861,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *278 examples: response: summary: Example response @@ -39437,7 +38892,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *279 examples: application/json: value: @@ -39475,7 +38930,7 @@ paths: application/json: schema: *64 examples: - default: *283 + default: *280 '404': *6 x-github: enabledForGitHubApps: true @@ -39532,7 +38987,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *281 examples: default: *65 '403': *29 @@ -39557,7 +39012,7 @@ paths: required: true content: application/json: - schema: *285 + schema: *282 examples: default: *65 responses: @@ -39609,7 +39064,7 @@ paths: type: array items: *80 examples: - default: &287 + default: &284 value: total_count: 1 repositories: @@ -39794,7 +39249,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - &286 + - &283 name: repository_id description: The unique identifier of the repository. in: path @@ -39823,7 +39278,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - *286 + - *283 responses: '204': description: Response @@ -40019,7 +39474,7 @@ paths: type: array items: *80 examples: - default: *287 + default: *284 '403': *29 '404': *6 x-github: @@ -40088,7 +39543,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: - *89 - - *286 + - *283 responses: '204': description: No content @@ -40115,7 +39570,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: - *89 - - *286 + - *283 responses: '204': description: No content @@ -40149,7 +39604,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *285 examples: default: *71 x-github: @@ -40183,7 +39638,7 @@ paths: required: false content: application/json: - schema: *289 + schema: *286 examples: default: *71 x-github: @@ -40230,7 +39685,7 @@ paths: type: number runner_groups: type: array - items: &290 + items: &287 type: object properties: id: @@ -40418,9 +39873,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *287 examples: - default: &291 + default: &288 value: id: 2 name: octo-runner-group @@ -40462,7 +39917,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *287 examples: default: value: @@ -40553,9 +40008,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *287 examples: - default: *291 + default: *288 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -40619,7 +40074,7 @@ paths: type: array items: *48 examples: - default: *271 + default: *268 headers: Link: *47 x-github: @@ -40660,9 +40115,9 @@ paths: type: number repositories: type: array - items: *292 + items: *289 examples: - default: &347 + default: &344 value: total_count: 1 repositories: @@ -40961,7 +40416,7 @@ paths: parameters: - *89 - *74 - - *286 + - *283 responses: '204': description: Response @@ -40985,7 +40440,7 @@ paths: parameters: - *89 - *74 - - *286 + - *283 responses: '204': description: Response @@ -41203,9 +40658,9 @@ paths: application/json: schema: type: array - items: *293 + items: *290 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41270,7 +40725,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *292 '404': *6 '422': *7 '409': *121 @@ -41309,7 +40764,7 @@ paths: application/json: schema: *81 examples: - default: *296 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41345,7 +40800,7 @@ paths: application/json: schema: *81 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41376,7 +40831,7 @@ paths: application/json: schema: *78 examples: - default: *298 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41551,7 +41006,7 @@ paths: - *89 - *77 responses: - '200': *299 + '200': *296 '404': *6 x-github: githubCloudOnly: false @@ -41580,7 +41035,7 @@ paths: parameters: - *89 - *77 - - *300 + - *297 responses: '200': *83 '404': *6 @@ -41625,7 +41080,7 @@ paths: type: integer secrets: type: array - items: &301 + items: &298 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -41657,7 +41112,7 @@ paths: - updated_at - visibility examples: - default: &307 + default: &304 value: total_count: 3 secrets: @@ -41704,7 +41159,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &305 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -41733,7 +41188,7 @@ paths: - key_id - key examples: - default: &309 + default: &306 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41759,7 +41214,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret parameters: - *89 - - &302 + - &299 name: secret_name description: The name of the secret. in: path @@ -41771,9 +41226,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *298 examples: - default: &310 + default: &307 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41802,7 +41257,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -41859,7 +41314,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -41886,7 +41341,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -41913,7 +41368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -41931,9 +41386,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: &306 + default: &303 value: total_count: 1 repositories: @@ -42026,7 +41481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -42079,7 +41534,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -42113,7 +41568,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -42146,7 +41601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables parameters: - *89 - - &311 + - &308 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)." @@ -42170,7 +41625,7 @@ paths: type: integer variables: type: array - items: &304 + items: &301 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -42213,7 +41668,7 @@ paths: - updated_at - visibility examples: - default: &312 + default: &309 value: total_count: 3 variables: @@ -42303,7 +41758,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -42329,7 +41784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable parameters: - *89 - - &305 + - &302 name: name description: The name of the variable. in: path @@ -42341,9 +41796,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *301 examples: - default: &313 + default: &310 value: name: USERNAME value: octocat @@ -42372,7 +41827,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -42435,7 +41890,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable parameters: - *89 - - *305 + - *302 responses: '204': description: Response @@ -42462,7 +41917,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 - *19 - *17 responses: @@ -42480,9 +41935,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 '409': description: Response when the visibility of the variable is not set to `selected` @@ -42509,7 +41964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -42559,7 +42014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -42594,7 +42049,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -42646,9 +42101,9 @@ paths: type: integer secrets: type: array - items: *301 + items: *298 examples: - default: *307 + default: *304 headers: Link: *47 x-github: @@ -42679,9 +42134,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42704,15 +42159,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *301 + schema: *298 examples: - default: *310 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42735,7 +42190,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -42792,7 +42247,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -42819,7 +42274,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -42846,7 +42301,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -42864,9 +42319,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42890,7 +42345,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -42943,7 +42398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -42977,7 +42432,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -43011,7 +42466,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *89 - - *311 + - *308 - *19 responses: '200': @@ -43028,9 +42483,9 @@ paths: type: integer variables: type: array - items: *304 + items: *301 examples: - default: *312 + default: *309 headers: Link: *47 x-github: @@ -43101,7 +42556,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -43127,15 +42582,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *89 - - *305 + - *302 responses: '200': description: Response content: application/json: - schema: *304 + schema: *301 examples: - default: *313 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43157,7 +42612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -43220,7 +42675,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *89 - - *305 + - *302 responses: '204': description: Response @@ -43247,7 +42702,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 - *19 - *17 responses: @@ -43265,9 +42720,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 '409': description: Response when the visibility of the variable is not set to `selected` @@ -43294,7 +42749,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *305 + - *302 requestBody: required: true content: @@ -43344,7 +42799,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -43379,7 +42834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *305 + - *302 - name: repository_id in: path required: true @@ -43437,7 +42892,7 @@ paths: required: true content: application/json: - schema: *314 + schema: *311 examples: default: *87 parameters: @@ -43621,7 +43076,7 @@ paths: type: integer deployment_records: type: array - items: &315 + items: &312 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -43667,7 +43122,7 @@ paths: required: - total_count examples: - default: &316 + default: &313 value: total_count: 1 deployment_records: @@ -43847,11 +43302,11 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *312 required: - total_count examples: - default: *316 + default: *313 '403': description: Forbidden content: @@ -44090,9 +43545,9 @@ paths: type: integer deployment_records: type: array - items: *315 + items: *312 examples: - default: *316 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44102,9 +43557,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 @@ -44221,12 +43676,12 @@ paths: required: - subject_digests examples: - default: &872 + default: &870 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &873 + withPredicateType: &871 value: subject_digests: - sha256:abc123 @@ -44284,7 +43739,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &874 + default: &872 value: attestations_subject_digests: - sha256:abc: @@ -44649,7 +44104,7 @@ paths: initiator: type: string examples: - default: &542 + default: &539 value: attestations: - bundle: @@ -44789,10 +44244,10 @@ paths: required: false schema: type: string + - *314 + - *315 + - *316 - *317 - - *318 - - *319 - - *320 - *17 responses: '200': @@ -44801,9 +44256,9 @@ paths: application/json: schema: type: array - items: *321 + items: *318 examples: - default: *322 + default: *319 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44832,7 +44287,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44926,7 +44381,7 @@ paths: subcategory: bypass-requests parameters: - *89 - - &325 + - &322 name: repository_name description: The name of the repository to filter on. in: query @@ -44945,9 +44400,9 @@ paths: application/json: schema: type: array - items: *323 + items: *320 examples: - default: *324 + default: *321 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -44971,7 +44426,7 @@ paths: subcategory: delegated-bypass parameters: - *89 - - *325 + - *322 - *105 - *106 - *107 @@ -44985,9 +44440,9 @@ paths: application/json: schema: type: array - items: *326 + items: *323 examples: - default: *327 + default: *324 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -45014,7 +44469,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &329 + schema: &326 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -45040,7 +44495,7 @@ paths: application/json: schema: type: array - items: &330 + items: &327 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -45071,7 +44526,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *328 + items: *325 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -45089,7 +44544,7 @@ paths: type: string format: date-time nullable: true - state: *329 + state: *326 contact_link: description: The contact link of the campaign. type: string @@ -45309,9 +44764,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: &331 + default: &328 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -45394,9 +44849,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: *331 + default: *328 '404': *6 '422': description: Unprocessable Entity @@ -45473,7 +44928,7 @@ paths: type: string format: uri nullable: true - state: *329 + state: *326 examples: default: value: @@ -45483,9 +44938,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *327 examples: - default: *331 + default: *328 '400': description: Bad Request content: @@ -45552,8 +45007,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - *332 - - *333 + - *329 + - *330 - *110 - *111 - *19 @@ -45564,7 +45019,7 @@ paths: be returned. in: query required: false - schema: *334 + schema: *331 - name: sort description: The property by which to sort the results. in: query @@ -45580,7 +45035,7 @@ paths: be returned. in: query required: false - schema: &568 + schema: &565 type: string description: Severity of a code scanning alert. enum: @@ -45606,9 +45061,9 @@ paths: application/json: schema: type: array - items: *335 + items: *332 examples: - default: *336 + default: *333 headers: Link: *47 '404': *6 @@ -45983,7 +45438,7 @@ paths: application/json: schema: *116 examples: - default: *337 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46011,9 +45466,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *335 examples: - default: *339 + default: *336 '304': *37 '403': *29 '404': *6 @@ -46102,7 +45557,7 @@ paths: application/json: schema: *116 examples: - default: *337 + default: *334 '304': *37 '403': *29 '404': *6 @@ -46547,7 +46002,7 @@ paths: default: value: default_for_new_repos: all - configuration: *337 + configuration: *334 '403': *29 '404': *6 x-github: @@ -46600,13 +46055,13 @@ paths: application/json: schema: type: array - items: *340 + items: *337 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *341 + repository: *338 '403': *29 '404': *6 x-github: @@ -46646,7 +46101,7 @@ paths: type: integer codespaces: type: array - items: &409 + items: &406 type: object title: Codespace description: A codespace. @@ -46671,12 +46126,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *292 + repository: *289 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &600 + properties: &597 name: type: string description: The name of the machine. @@ -46718,7 +46173,7 @@ paths: - ready - in_progress nullable: true - required: &601 + required: &598 - name - display_name - operating_system @@ -46923,7 +46378,7 @@ paths: - pulls_url - recent_folders examples: - default: &410 + default: &407 value: total_count: 3 codespaces: @@ -47547,7 +47002,7 @@ paths: type: integer secrets: type: array - items: &342 + items: &339 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -47586,7 +47041,7 @@ paths: - updated_at - visibility examples: - default: &602 + default: &599 value: total_count: 2 secrets: @@ -47624,7 +47079,7 @@ paths: description: Response content: application/json: - schema: &603 + schema: &600 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -47653,7 +47108,7 @@ paths: - key_id - key examples: - default: &604 + default: &601 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -47677,15 +47132,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *342 + schema: *339 examples: - default: &606 + default: &603 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47713,7 +47168,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -47768,7 +47223,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -47795,7 +47250,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -47821,7 +47276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -47839,9 +47294,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 '404': *6 x-github: githubCloudOnly: false @@ -47864,7 +47319,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -47915,7 +47370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -47949,7 +47404,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -48019,7 +47474,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &343 + items: &340 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -48400,9 +47855,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: &344 + default: &341 summary: Example response for an organization copilot space value: id: 84 @@ -48507,9 +47962,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *344 + default: *341 '403': *29 '404': *6 x-github: @@ -48635,9 +48090,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *344 + default: *341 '403': *29 '404': *6 '422': *15 @@ -48720,7 +48175,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &345 + items: &342 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -48943,7 +48398,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: user: value: @@ -49073,7 +48528,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: user: value: @@ -49224,7 +48679,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &346 + items: &343 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -49367,7 +48822,7 @@ paths: description: Resource created content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -49383,7 +48838,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -49438,7 +48893,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -49507,7 +48962,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -50235,12 +49690,12 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 required: - total_count - repositories examples: - default: *347 + default: *344 '500': *40 '401': *25 '403': *29 @@ -50326,7 +49781,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: - *89 - - *286 + - *283 responses: '204': description: No Content @@ -50360,7 +49815,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: - *89 - - *286 + - *283 responses: '204': description: No Content @@ -50508,81 +49963,13 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *348 + '413': *345 '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: - - *89 - - 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: *215 - examples: - default: *216 - '500': *40 - '403': *29 - '404': *6 - '422': *217 - 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 @@ -50980,7 +50367,7 @@ paths: type: integer custom_roles: type: array - items: *349 + items: *346 examples: default: value: @@ -51072,7 +50459,7 @@ paths: required: true content: application/json: - schema: &351 + schema: &348 type: object properties: name: @@ -51113,9 +50500,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -51146,9 +50533,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '404': *6 x-github: githubCloudOnly: true @@ -51176,7 +50563,7 @@ paths: required: true content: application/json: - schema: &352 + schema: &349 type: object properties: name: @@ -51214,9 +50601,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -51274,7 +50661,7 @@ paths: required: true content: application/json: - schema: *351 + schema: *348 examples: default: value: @@ -51288,9 +50675,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -51327,9 +50714,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '404': *6 x-github: githubCloudOnly: true @@ -51363,7 +50750,7 @@ paths: required: true content: application/json: - schema: *352 + schema: *349 examples: default: value: @@ -51378,9 +50765,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *346 examples: - default: *350 + default: *347 '422': *15 '404': *6 x-github: @@ -51440,12 +50827,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 + - *350 + - *351 + - *352 - *353 - *354 - *355 - - *356 - - *357 - - *358 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -51475,7 +50862,7 @@ paths: enum: - patch - deployment - - *359 + - *356 - name: runtime_risk in: query description: |- @@ -51484,8 +50871,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *360 - - *361 + - *357 + - *358 - *112 - *110 - *111 @@ -51497,9 +50884,9 @@ paths: application/json: schema: type: array - items: *362 + items: *359 examples: - default: *363 + default: *360 '304': *37 '400': *14 '403': *29 @@ -51548,9 +50935,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *361 examples: - default: *365 + default: *362 '403': *29 '404': *6 x-github: @@ -51713,7 +51100,7 @@ paths: type: integer secrets: type: array - items: &366 + items: &363 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -51790,7 +51177,7 @@ paths: description: Response content: application/json: - schema: &637 + schema: &634 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -51807,7 +51194,7 @@ paths: - key_id - key examples: - default: &638 + default: &635 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -51831,13 +51218,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *366 + schema: *363 examples: default: value: @@ -51866,7 +51253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -51923,7 +51310,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -51956,7 +51343,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -51981,7 +51368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 - *19 - *17 responses: @@ -51999,9 +51386,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52023,7 +51410,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -52074,7 +51461,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -52106,7 +51493,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *302 + - *299 - name: repository_id in: path required: true @@ -52143,7 +51530,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - &647 + - &644 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -52151,7 +51538,7 @@ paths: required: false schema: type: string - - &648 + - &645 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -52159,7 +51546,7 @@ paths: required: false schema: type: string - - &649 + - &646 name: time_period description: |- The time period to filter by. @@ -52175,7 +51562,7 @@ paths: - week - month default: month - - &650 + - &647 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -52190,7 +51577,7 @@ paths: - denied - all default: all - - *325 + - *322 - *17 - *19 responses: @@ -52200,7 +51587,7 @@ paths: application/json: schema: type: array - items: &651 + items: &648 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -52306,7 +51693,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &368 + items: &365 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -52356,7 +51743,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &652 + default: &649 value: - id: 21 number: 42 @@ -52444,11 +51831,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *325 + - *322 - *105 - *106 - *107 - - *367 + - *364 - *17 - *19 responses: @@ -52458,7 +51845,7 @@ paths: application/json: schema: type: array - items: &653 + items: &650 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -52564,7 +51951,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *368 + items: *365 url: type: string format: uri @@ -52575,7 +51962,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &654 + default: &651 value: - id: 21 number: 42 @@ -52663,11 +52050,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *325 + - *322 - *105 - *106 - *107 - - *367 + - *364 - *17 - *19 responses: @@ -52677,9 +52064,9 @@ paths: application/json: schema: type: array - items: *369 + items: *366 examples: - default: *370 + default: *367 '404': *6 '403': *29 '500': *40 @@ -52705,7 +52092,7 @@ paths: application/json: schema: type: array - items: &420 + items: &417 title: Package description: A software package type: object @@ -52755,9 +52142,9 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *371 - required: *372 - x-github-breaking-changes: *373 + properties: *368 + required: *369 + x-github-breaking-changes: *370 nullable: true created_at: type: string @@ -52776,7 +52163,7 @@ paths: - created_at - updated_at examples: - default: &421 + default: &418 value: - id: 197 name: hello_docker @@ -52864,7 +52251,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: 200-response: value: @@ -52963,7 +52350,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &490 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -53044,7 +52431,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &494 + default: &491 value: group_id: '123' group_name: Octocat admins @@ -53099,7 +52486,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &487 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -53136,7 +52523,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &491 + default: &488 value: groups: - group_id: '123' @@ -53181,7 +52568,7 @@ paths: application/json: schema: type: array - items: &398 + items: &395 title: Organization Invitation description: Organization Invitation type: object @@ -53228,7 +52615,7 @@ paths: - invitation_teams_url - node_id examples: - default: &399 + default: &396 value: - id: 1 login: monalisa @@ -53295,7 +52682,7 @@ paths: application/json: schema: type: array - items: &455 + items: &452 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -53309,7 +52696,7 @@ paths: - name - description examples: - default: &456 + default: &453 value: - name: add_assignee description: Assign or remove a user @@ -53350,7 +52737,7 @@ paths: application/json: schema: type: array - items: &374 + items: &371 title: Org Hook description: Org Hook type: object @@ -53519,9 +52906,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *371 examples: - default: &375 + default: &372 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -53566,7 +52953,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *89 - - &376 + - &373 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. @@ -53579,9 +52966,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *371 examples: - default: *375 + default: *372 '404': *6 x-github: githubCloudOnly: false @@ -53603,7 +52990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *89 - - *376 + - *373 requestBody: required: false content: @@ -53648,7 +53035,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *371 examples: default: value: @@ -53688,7 +53075,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *89 - - *376 + - *373 responses: '204': description: Response @@ -53714,7 +53101,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *89 - - *376 + - *373 responses: '200': description: Response @@ -53743,7 +53130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *89 - - *376 + - *373 requestBody: required: false content: @@ -53792,10 +53179,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *89 - - *376 + - *373 - *17 - - *377 - - *378 + - *374 + - *375 responses: '200': description: Response @@ -53803,9 +53190,9 @@ paths: application/json: schema: type: array - items: *379 + items: *376 examples: - default: *380 + default: *377 '400': *14 '422': *15 x-github: @@ -53829,16 +53216,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *89 - - *376 + - *373 - *16 responses: '200': description: Response content: application/json: - schema: *381 + schema: *378 examples: - default: *382 + default: *379 '400': *14 '422': *15 x-github: @@ -53862,7 +53249,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *89 - - *376 + - *373 - *16 responses: '202': *39 @@ -53889,7 +53276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *89 - - *376 + - *373 responses: '204': description: Response @@ -53912,7 +53299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &387 + - &384 name: actor_type in: path description: The type of the actor @@ -53925,14 +53312,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &388 + - &385 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &383 + - &380 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`.' @@ -53940,7 +53327,7 @@ paths: required: true schema: type: string - - &384 + - &381 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) @@ -54034,12 +53421,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *383 - - *384 + - *380 + - *381 - *19 - *17 - *112 - - &393 + - &390 name: sort description: The property to sort the results by. in: query @@ -54117,14 +53504,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *383 - - *384 + - *380 + - *381 responses: '200': description: Response content: application/json: - schema: &385 + schema: &382 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -54140,7 +53527,7 @@ paths: type: integer format: int64 examples: - default: &386 + default: &383 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -54161,23 +53548,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &389 + - &386 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *383 - - *384 + - *380 + - *381 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: *386 + default: *383 x-github: enabledForGitHubApps: true category: orgs @@ -54196,18 +53583,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *383 + - *380 + - *381 - *384 - - *387 - - *388 + - *385 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: *386 + default: *383 x-github: enabledForGitHubApps: true category: orgs @@ -54225,9 +53612,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *89 - - *383 - - *384 - - &390 + - *380 + - *381 + - &387 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -54240,7 +53627,7 @@ paths: description: Response content: application/json: - schema: &391 + schema: &388 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -54256,7 +53643,7 @@ paths: type: integer format: int64 examples: - default: &392 + default: &389 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -54293,18 +53680,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *389 - - *383 - - *384 - - *390 + - *386 + - *380 + - *381 + - *387 responses: '200': description: Response content: application/json: - schema: *391 + schema: *388 examples: - default: *392 + default: *389 x-github: enabledForGitHubApps: true category: orgs @@ -54322,19 +53709,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *387 - - *388 - - *383 - *384 - - *390 + - *385 + - *380 + - *381 + - *387 responses: '200': description: Response content: application/json: - schema: *391 + schema: *388 examples: - default: *392 + default: *389 x-github: enabledForGitHubApps: true category: orgs @@ -54352,13 +53739,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *89 - - *389 - - *383 - - *384 + - *386 + - *380 + - *381 - *19 - *17 - *112 - - *393 + - *390 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -54439,7 +53826,7 @@ paths: application/json: schema: *22 examples: - default: *394 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54559,12 +53946,12 @@ paths: application/json: schema: anyOf: - - &396 + - &393 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &395 + limit: &392 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -54589,7 +53976,7 @@ paths: properties: {} additionalProperties: false examples: - default: &397 + default: &394 value: limit: collaborators_only origin: organization @@ -54618,13 +54005,13 @@ paths: required: true content: application/json: - schema: &683 + schema: &680 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *395 + limit: *392 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -54648,9 +54035,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *393 examples: - default: *397 + default: *394 '422': *15 x-github: githubCloudOnly: false @@ -54728,9 +54115,9 @@ paths: application/json: schema: type: array - items: *398 + items: *395 examples: - default: *399 + default: *396 headers: Link: *47 '404': *6 @@ -54808,7 +54195,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *395 examples: default: value: @@ -54865,7 +54252,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &400 + - &397 name: invitation_id description: The unique identifier of the invitation. in: path @@ -54899,7 +54286,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *400 + - *397 - *17 - *19 responses: @@ -54909,9 +54296,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: &419 + default: &416 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -54954,7 +54341,7 @@ paths: application/json: schema: type: array - items: &401 + items: &398 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -55207,9 +54594,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: &402 + default: &399 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -55265,7 +54652,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *89 - - &403 + - &400 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -55373,9 +54760,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: *402 + default: *399 '404': *6 '422': *7 x-github: @@ -55400,7 +54787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *89 - - *403 + - *400 responses: '204': *130 '404': *6 @@ -55430,9 +54817,9 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: &686 + default: &684 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -55515,9 +54902,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *401 examples: - default: &405 + default: &402 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -55550,7 +54937,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *89 - - &406 + - &403 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -55603,9 +54990,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *401 examples: - default: *405 + default: *402 '404': *6 '422': *7 x-github: @@ -55630,7 +55017,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *89 - - *406 + - *403 responses: '204': description: Response @@ -55693,7 +55080,7 @@ paths: - closed - all default: open - - *407 + - *404 - name: type description: Can be the name of an issue type. in: query @@ -55712,7 +55099,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - *17 - *19 responses: @@ -55722,9 +55109,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *408 + default: *405 headers: Link: *47 '404': *6 @@ -55784,7 +55171,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '422': *15 @@ -55889,9 +55276,9 @@ paths: type: integer codespaces: type: array - items: *409 + items: *406 examples: - default: *410 + default: *407 '304': *37 '500': *40 '401': *25 @@ -55918,7 +55305,7 @@ paths: parameters: - *89 - *148 - - &411 + - &408 name: codespace_name in: path required: true @@ -55953,15 +55340,15 @@ paths: parameters: - *89 - *148 - - *411 + - *408 responses: '200': description: Response content: application/json: - schema: *409 + schema: *406 examples: - default: &599 + default: &596 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -56217,7 +55604,7 @@ paths: description: Response content: application/json: - schema: &412 + schema: &409 title: Org Membership description: Org Membership type: object @@ -56284,7 +55671,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &413 + response-if-user-has-an-active-admin-membership-with-organization: &410 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -56385,9 +55772,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *409 examples: - response-if-user-already-had-membership-with-organization: *413 + response-if-user-already-had-membership-with-organization: *410 '422': *15 '403': *29 x-github: @@ -56464,7 +55851,7 @@ paths: application/json: schema: type: array - items: &414 + items: &411 title: Migration description: A migration. type: object @@ -56804,7 +56191,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *411 examples: default: value: @@ -56983,7 +56370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &415 + - &412 name: migration_id description: The unique identifier of the migration. in: path @@ -57010,7 +56397,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *414 + schema: *411 examples: default: value: @@ -57180,7 +56567,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *415 + - *412 responses: '302': description: Response @@ -57202,7 +56589,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *415 + - *412 responses: '204': description: Response @@ -57226,8 +56613,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *415 - - &855 + - *412 + - &853 name: repo_name description: repo_name parameter in: path @@ -57255,7 +56642,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *415 + - *412 - *17 - *19 responses: @@ -57265,9 +56652,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: &426 + default: &423 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57496,7 +56883,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &416 + items: &413 title: Organization Role description: Organization roles type: object @@ -57703,7 +57090,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *413 examples: default: value: @@ -57755,7 +57142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response @@ -57781,7 +57168,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *89 - - *224 + - *221 - *147 responses: '204': @@ -57812,7 +57199,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *89 - - *224 + - *221 - *147 responses: '204': @@ -57933,7 +57320,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *413 examples: default: value: @@ -58030,7 +57417,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *413 examples: default: value: @@ -58188,8 +57575,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *417 - required: *418 + properties: *414 + required: *415 nullable: true type: description: The ownership type of the team @@ -58221,7 +57608,7 @@ paths: - type - parent examples: - default: *419 + default: *416 headers: Link: *47 '404': @@ -58279,13 +57666,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &480 + items: &477 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *417 - required: *418 + properties: *414 + required: *415 name: nullable: true type: string @@ -58380,7 +57767,7 @@ paths: - type - url examples: - default: *220 + default: *217 headers: Link: *47 '404': @@ -58431,7 +57818,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -58573,7 +57960,7 @@ paths: - nuget - container - *89 - - &856 + - &854 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -58609,12 +57996,12 @@ paths: application/json: schema: type: array - items: *420 + items: *417 examples: - default: *421 + default: *418 '403': *29 '401': *25 - '400': &858 + '400': &856 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -58636,7 +58023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &422 + - &419 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 @@ -58654,7 +58041,7 @@ paths: - docker - nuget - container - - &423 + - &420 name: package_name description: The name of the package. in: path @@ -58667,7 +58054,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *417 examples: default: value: @@ -58719,8 +58106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *422 - - *423 + - *419 + - *420 - *89 responses: '204': @@ -58753,8 +58140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *422 - - *423 + - *419 + - *420 - *89 - name: token description: package token @@ -58787,8 +58174,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: - - *422 - - *423 + - *419 + - *420 - *89 - *19 - *17 @@ -58809,7 +58196,7 @@ paths: application/json: schema: type: array - items: &424 + items: &421 title: Package Version description: A version of a software package type: object @@ -58934,10 +58321,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: - - *422 - - *423 + - *419 + - *420 - *89 - - &425 + - &422 name: package_version_id description: Unique identifier of the package version. in: path @@ -58949,7 +58336,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *421 examples: default: value: @@ -58985,10 +58372,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *422 - - *423 + - *419 + - *420 - *89 - - *425 + - *422 responses: '204': description: Response @@ -59020,10 +58407,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *422 - - *423 + - *419 + - *420 - *89 - - *425 + - *422 responses: '204': description: Response @@ -59053,7 +58440,7 @@ paths: - *89 - *17 - *19 - - &427 + - &424 name: sort description: The property by which to sort the results. in: query @@ -59064,7 +58451,7 @@ paths: - created_at default: created_at - *112 - - &428 + - &425 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -59075,7 +58462,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &429 + - &426 name: repository description: The name of the repository to use to filter the results. in: query @@ -59083,7 +58470,7 @@ paths: schema: type: string example: Hello-World - - &430 + - &427 name: permission description: The permission to use to filter the results. in: query @@ -59091,7 +58478,7 @@ paths: schema: type: string example: issues_read - - &431 + - &428 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) @@ -59101,7 +58488,7 @@ paths: schema: type: string format: date-time - - &432 + - &429 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) @@ -59111,7 +58498,7 @@ paths: schema: type: string format: date-time - - &433 + - &430 name: token_id description: The ID of the token in: query @@ -59422,9 +58809,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *426 + default: *423 headers: Link: *47 x-github: @@ -59450,14 +58837,14 @@ paths: - *89 - *17 - *19 - - *427 + - *424 - *112 + - *425 + - *426 + - *427 - *428 - *429 - *430 - - *431 - - *432 - - *433 responses: '500': *40 '422': *15 @@ -59737,9 +59124,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *426 + default: *423 headers: Link: *47 x-github: @@ -59781,7 +59168,7 @@ paths: type: integer configurations: type: array - items: &434 + items: &431 title: Organization private registry description: Private registry configuration for an organization type: object @@ -60292,7 +59679,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &435 + org-private-registry-with-selected-visibility: &432 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -60382,15 +59769,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *89 - - *302 + - *299 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *434 + schema: *431 examples: - default: *435 + default: *432 '404': *6 x-github: githubCloudOnly: false @@ -60413,7 +59800,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *89 - - *302 + - *299 requestBody: required: true content: @@ -60601,7 +59988,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *89 - - *302 + - *299 responses: '204': description: Response @@ -60641,7 +60028,7 @@ paths: application/json: schema: type: array - items: &436 + items: &433 title: Projects v2 Project description: A projects v2 project type: object @@ -60711,7 +60098,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &951 + properties: &949 id: type: number description: The unique identifier of the status update. @@ -60759,7 +60146,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &952 + required: &950 - id - node_id - created_at @@ -60784,7 +60171,7 @@ paths: - deleted_at - deleted_by examples: - default: &437 + default: &434 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -60887,7 +60274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &438 + - &435 name: project_number description: The project's number. in: path @@ -60900,9 +60287,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *433 examples: - default: *437 + default: *434 headers: Link: *47 '304': *37 @@ -60925,7 +60312,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *89 - - *438 + - *435 requestBody: required: true description: Details of the draft item to create in the project. @@ -60959,7 +60346,7 @@ paths: description: Response content: application/json: - schema: &444 + schema: &441 title: Projects v2 Item description: An item belonging to a project type: object @@ -60972,8 +60359,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *231 - - &616 + - *228 + - &613 title: Pull Request Simple description: Pull Request Simple type: object @@ -61079,8 +60466,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *439 - required: *440 + properties: *436 + required: *437 nullable: true active_lock_reason: type: string @@ -61123,7 +60510,7 @@ paths: items: *4 requested_teams: type: array - items: *328 + items: *325 head: type: object properties: @@ -61173,7 +60560,7 @@ paths: _links: type: object properties: - comments: &441 + comments: &438 title: Link description: Hypermedia Link type: object @@ -61182,13 +60569,13 @@ paths: type: string required: - href - commits: *441 - statuses: *441 - html: *441 - issue: *441 - review_comments: *441 - review_comment: *441 - self: *441 + commits: *438 + statuses: *438 + html: *438 + issue: *438 + review_comments: *438 + review_comment: *438 + self: *438 required: - comments - commits @@ -61198,8 +60585,8 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: &738 + author_association: *225 + auto_merge: &736 title: Auto merge description: The status of auto merging a pull request. type: object @@ -61373,7 +60760,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &443 + content_type: &440 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -61413,7 +60800,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &445 + draft_issue: &442 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -61487,7 +60874,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *438 + - *435 - *89 - *17 - *110 @@ -61499,7 +60886,7 @@ paths: application/json: schema: type: array - items: &442 + items: &439 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -61649,7 +61036,7 @@ paths: - updated_at - project_url examples: - default: &878 + default: &876 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61779,7 +61166,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: - - *438 + - *435 - *89 requestBody: required: true @@ -61826,7 +61213,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &879 + items: &877 type: object properties: name: @@ -61863,7 +61250,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &880 + iteration_configuration: &878 type: object description: The configuration for iteration fields. properties: @@ -61913,7 +61300,7 @@ paths: value: name: Due date data_type: date - single_select_field: &881 + single_select_field: &879 summary: Create a single select field value: name: Priority @@ -61940,7 +61327,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &882 + iteration_field: &880 summary: Create an iteration field value: name: Sprint @@ -61964,9 +61351,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *442 + schema: *439 examples: - text_field: &883 + text_field: &881 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -61975,7 +61362,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: &884 + number_field: &882 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -61984,7 +61371,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: &885 + date_field: &883 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -61993,7 +61380,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: &886 + single_select_field: &884 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62027,7 +61414,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &887 + iteration_field: &885 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -62072,8 +61459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *438 - - &888 + - *435 + - &886 name: field_id description: The unique identifier of the field. in: path @@ -62086,9 +61473,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *439 examples: - default: &889 + default: &887 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62144,7 +61531,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: - - *438 + - *435 - *89 - 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) @@ -62177,7 +61564,7 @@ paths: application/json: schema: type: array - items: &446 + items: &443 title: Projects v2 Item description: An item belonging to a project type: object @@ -62193,7 +61580,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *443 + content_type: *440 content: type: object additionalProperties: true @@ -62236,7 +61623,7 @@ paths: - updated_at - archived_at examples: - default: &447 + default: &444 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -62934,7 +62321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *89 - - *438 + - *435 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -63004,22 +62391,22 @@ paths: description: Response content: application/json: - schema: *444 + schema: *441 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *445 + value: *442 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *445 + value: *442 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *445 + value: *442 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *445 + value: *442 '304': *37 '403': *29 '401': *25 @@ -63039,9 +62426,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: - - *438 + - *435 - *89 - - &448 + - &445 name: item_id description: The unique identifier of the project item. in: path @@ -63067,9 +62454,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *443 examples: - default: *447 + default: *444 headers: Link: *47 '304': *37 @@ -63090,9 +62477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *438 + - *435 - *89 - - *448 + - *445 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -63162,13 +62549,13 @@ paths: description: Response content: application/json: - schema: *446 + schema: *443 examples: - text_field: *447 - number_field: *447 - date_field: *447 - single_select_field: *447 - iteration_field: *447 + text_field: *444 + number_field: *444 + date_field: *444 + single_select_field: *444 + iteration_field: *444 '401': *25 '403': *29 '404': *6 @@ -63188,9 +62575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *438 + - *435 - *89 - - *448 + - *445 responses: '204': description: Response @@ -63214,7 +62601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *89 - - *438 + - *435 requestBody: required: true content: @@ -63285,7 +62672,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &869 + schema: &867 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -63383,7 +62770,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &449 + value: &446 value: id: 1 number: 1 @@ -63429,10 +62816,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *449 + value: *446 roadmap_view: summary: Response for creating a roadmap view - value: *449 + value: *446 '304': *37 '403': *29 '401': *25 @@ -63460,9 +62847,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: - - *438 + - *435 - *89 - - &890 + - &888 name: view_number description: The number that identifies the project view. in: path @@ -63494,9 +62881,9 @@ paths: application/json: schema: type: array - items: *446 + items: *443 examples: - default: *447 + default: *444 headers: Link: *47 '304': *37 @@ -63660,7 +63047,7 @@ paths: required: true content: application/json: - schema: *450 + schema: *447 examples: default: value: @@ -63885,7 +63272,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -64023,9 +63410,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *426 + default: *423 headers: Link: *47 x-github: @@ -64228,7 +63615,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &498 title: Full Repository description: Full Repository type: object @@ -64516,9 +63903,9 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *451 - required: *452 - x-github-breaking-changes: *453 + properties: *448 + required: *449 + x-github-breaking-changes: *450 nullable: true temp_clone_token: type: string @@ -64605,8 +63992,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true organization: title: Simple User @@ -64633,7 +64020,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &621 + properties: &618 url: type: string format: uri @@ -64649,12 +64036,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &622 + required: &619 - url - key - name - html_url - security_and_analysis: *454 + security_and_analysis: *451 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -64749,7 +64136,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &503 + default: &500 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -65287,9 +64674,9 @@ paths: application/json: schema: type: array - items: *455 + items: *452 examples: - default: *456 + default: *453 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -65314,7 +64701,7 @@ paths: - *89 - *17 - *19 - - &760 + - &758 name: targets description: | A comma-separated list of rule targets to filter by. @@ -65405,11 +64792,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *173 - conditions: *457 + conditions: *454 rules: type: array description: An array of rules within the ruleset. - items: &459 + items: &456 title: Repository Rule type: object description: A repository rule. @@ -65474,7 +64861,7 @@ paths: application/json: schema: *195 examples: - default: &458 + default: &455 value: id: 21 name: super cool ruleset @@ -65530,7 +64917,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &762 + - &760 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 @@ -65540,16 +64927,16 @@ paths: schema: type: string x-multi-segment: true - - *325 + - *322 - *107 - - &763 + - &761 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 - - &764 + - &762 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -65562,7 +64949,7 @@ paths: - bypass - all default: all - - &765 + - &763 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. @@ -65585,7 +64972,7 @@ paths: description: Response content: application/json: - schema: &766 + schema: &764 title: Rule Suites description: Response type: array @@ -65640,7 +65027,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &767 + default: &765 value: - id: 21 actor_id: 12 @@ -65684,7 +65071,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &768 + - &766 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -65700,7 +65087,7 @@ paths: description: Response content: application/json: - schema: &769 + schema: &767 title: Rule Suite description: Response type: object @@ -65799,7 +65186,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &770 + default: &768 value: id: 21 actor_id: 12 @@ -65874,7 +65261,7 @@ paths: application/json: schema: *195 examples: - default: *458 + default: *455 '404': *6 '500': *40 put: @@ -65923,11 +65310,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *173 - conditions: *457 + conditions: *454 rules: description: An array of rules within the ruleset. type: array - items: *459 + items: *456 examples: default: value: @@ -65964,7 +65351,7 @@ paths: application/json: schema: *195 examples: - default: *458 + default: *455 '404': *6 '422': *15 '500': *40 @@ -66024,7 +65411,7 @@ paths: type: array items: *199 examples: - default: *460 + default: *457 '404': *6 '500': *40 x-github: @@ -66061,7 +65448,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: default: value: @@ -66124,18 +65511,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 + - *459 + - *460 + - *461 - *462 - *463 - *464 - *465 - *466 - - *467 - - *468 - - *469 - *112 - *19 - *17 - - &772 + - &770 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 @@ -66145,7 +65532,7 @@ paths: required: false schema: type: string - - &773 + - &771 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 @@ -66155,11 +65542,11 @@ paths: required: false schema: type: string + - *467 + - *468 + - *469 - *470 - *471 - - *472 - - *473 - - *474 responses: '200': description: Response @@ -66167,9 +65554,9 @@ paths: application/json: schema: type: array - items: *475 + items: *472 examples: - default: *476 + default: *473 headers: Link: *47 '404': *6 @@ -66204,9 +65591,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: *478 + default: *475 '403': *29 '404': *6 patch: @@ -66359,7 +65746,7 @@ paths: application/json: schema: type: array - items: &794 + items: &792 description: A repository security advisory. type: object properties: @@ -66579,7 +65966,7 @@ paths: login: type: string description: The username of the user credited. - type: *479 + type: *476 credits_detailed: type: array nullable: true @@ -66589,7 +65976,7 @@ paths: type: object properties: user: *4 - type: *479 + type: *476 state: type: string description: The state of the user's acceptance of the @@ -66613,7 +66000,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *328 + items: *325 private_fork: readOnly: true nullable: true @@ -66682,7 +66069,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &795 + default: &793 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -67069,7 +66456,7 @@ paths: application/json: schema: type: array - items: *480 + items: *477 examples: default: value: @@ -67110,7 +66497,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response @@ -67136,7 +66523,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response @@ -67168,7 +66555,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *89 - - *481 + - *478 - *17 - *19 responses: @@ -67176,9 +66563,9 @@ paths: description: Success content: application/json: - schema: *482 + schema: *479 examples: - default: *483 + default: *480 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -67322,9 +66709,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *306 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67393,7 +66780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *286 + - *283 responses: '204': description: Response @@ -67416,7 +66803,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *286 + - *283 responses: '204': description: Response @@ -67459,7 +66846,7 @@ paths: type: array items: *153 examples: - default: *484 + default: *481 headers: Link: *47 x-github: @@ -67688,15 +67075,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: - *89 - - *485 + - *482 responses: '200': description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 headers: Link: *47 x-github: @@ -67734,7 +67121,7 @@ paths: description: Response content: application/json: - schema: &498 + schema: &495 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -67780,7 +67167,7 @@ paths: type: string nullable: true examples: - default: &499 + default: &496 value: groups: - group_id: '123' @@ -67801,75 +67188,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: - - *89 - - *224 - - 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: *215 - examples: - default: *216 - '500': *40 - '403': *29 - '404': *6 - '422': *217 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-metrics "/orgs/{org}/teams": get: summary: List teams @@ -67904,9 +67222,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *419 + default: *416 headers: Link: *47 '403': *29 @@ -68000,7 +67318,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &485 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -68063,8 +67381,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *417 - required: *418 + properties: *414 + required: *415 nullable: true members_count: type: integer @@ -68327,7 +67645,7 @@ paths: - repos_count - organization examples: - default: &489 + default: &486 value: id: 1 node_id: MDQ6VGVhbTE= @@ -68409,15 +67727,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name parameters: - *89 - - *224 + - *221 responses: '200': description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -68439,7 +67757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team parameters: - *89 - - *224 + - *221 requestBody: required: false content: @@ -68501,16 +67819,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '201': description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '404': *6 '422': *15 '403': *29 @@ -68536,11 +67854,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team parameters: - *89 - - *224 + - *221 responses: '204': description: Response - '422': &492 + '422': &489 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -68563,16 +67881,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: - *89 - - *224 + - *221 responses: '200': description: Response content: application/json: - schema: *490 + schema: *487 examples: - default: *491 - '422': *492 + default: *488 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68592,7 +67910,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: - *89 - - *224 + - *221 requestBody: required: true content: @@ -68615,10 +67933,10 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: - default: *494 - '422': *492 + default: *491 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -68638,11 +67956,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: - *89 - - *224 + - *221 responses: '204': description: Response - '422': *492 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -68664,7 +67982,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations parameters: - *89 - - *224 + - *221 - *17 - *19 responses: @@ -68674,12 +67992,12 @@ paths: application/json: schema: type: array - items: *398 + items: *395 examples: - default: *399 + default: *396 headers: Link: *47 - '422': *492 + '422': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68700,7 +68018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members parameters: - *89 - - *224 + - *221 - name: role description: Filters members returned by their role in the team. in: query @@ -68723,7 +68041,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -68754,14 +68072,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user parameters: - *89 - - *224 + - *221 - *148 responses: '200': description: Response content: application/json: - schema: &495 + schema: &492 title: Team Membership description: Team Membership type: object @@ -68788,7 +68106,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &836 + response-if-user-is-a-team-maintainer: &834 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -68825,7 +68143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *89 - - *224 + - *221 - *148 requestBody: required: false @@ -68851,9 +68169,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *492 examples: - response-if-users-membership-with-team-is-now-pending: &837 + response-if-users-membership-with-team-is-now-pending: &835 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -68889,7 +68207,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user parameters: - *89 - - *224 + - *221 - *148 responses: '204': @@ -68917,7 +68235,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories parameters: - *89 - - *224 + - *221 - *17 - *19 responses: @@ -68927,9 +68245,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *426 + default: *423 headers: Link: *47 x-github: @@ -68959,15 +68277,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *89 - - *224 - - *496 - - *497 + - *221 + - *493 + - *494 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &838 + schema: &836 title: Team Repository description: A team's access to a repository. type: object @@ -68990,8 +68308,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true forks: type: integer @@ -69622,9 +68940,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *89 - - *224 - - *496 - - *497 + - *221 + - *493 + - *494 requestBody: required: false content: @@ -69670,9 +68988,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team parameters: - *89 - - *224 - - *496 - - *497 + - *221 + - *493 + - *494 responses: '204': description: Response @@ -69699,16 +69017,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *89 - - *224 + - *221 responses: '200': description: Response content: application/json: - schema: *498 + schema: *495 examples: - default: *499 - '422': *492 + default: *496 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69731,7 +69049,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *89 - - *224 + - *221 requestBody: required: true content: @@ -69774,7 +69092,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: default: value: @@ -69786,7 +69104,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *492 + '422': *489 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69808,7 +69126,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams parameters: - *89 - - *224 + - *221 - *17 - *19 responses: @@ -69818,9 +69136,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - response-if-child-teams-exist: &839 + response-if-child-teams-exist: &837 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -69948,7 +69266,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)." @@ -69974,7 +69291,7 @@ paths: resources: type: object properties: - core: &500 + core: &497 title: Rate Limit type: object properties: @@ -69991,21 +69308,21 @@ paths: - remaining - reset - used - graphql: *500 - search: *500 - code_search: *500 - source_import: *500 - integration_manifest: *500 - code_scanning_upload: *500 - actions_runner_registration: *500 - scim: *500 - dependency_snapshots: *500 - dependency_sbom: *500 - code_scanning_autofix: *500 + graphql: *497 + search: *497 + code_search: *497 + source_import: *497 + integration_manifest: *497 + actions_runner_registration: *497 + scim: *497 + dependency_snapshots: *497 + dependency_sbom: *497 + code_scanning_autofix: *497 + copilot_usage_records: *497 required: - core - search - rate: *500 + rate: *497 required: - rate - resources @@ -70046,11 +69363,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 @@ -70124,14 +69436,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *501 + schema: *498 examples: default-response: summary: Default response @@ -70646,7 +69958,7 @@ paths: version: '2026-03-10' '403': *29 '404': *6 - '301': *502 + '301': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70664,8 +69976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: false content: @@ -70985,10 +70297,10 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: *503 - '307': &504 + default: *500 + '307': &501 description: Temporary Redirect content: application/json: @@ -71017,8 +70329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -71040,7 +70352,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': *504 + '307': *501 '404': *6 '409': *121 x-github: @@ -71064,11 +70376,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 - - &520 + - &517 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -71091,7 +70403,7 @@ paths: type: integer artifacts: type: array - items: &505 + items: &502 title: Artifact description: An artifact type: object @@ -71169,7 +70481,7 @@ paths: - expires_at - updated_at examples: - default: &521 + default: &518 value: total_count: 2 artifacts: @@ -71230,9 +70542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *496 - - *497 - - &506 + - *493 + - *494 + - &503 name: artifact_id description: The unique identifier of the artifact. in: path @@ -71244,7 +70556,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *502 examples: default: value: @@ -71282,9 +70594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *496 - - *497 - - *506 + - *493 + - *494 + - *503 responses: '204': description: Response @@ -71308,9 +70620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *496 - - *497 - - *506 + - *493 + - *494 + - *503 - name: archive_format in: path required: true @@ -71320,11 +70632,11 @@ paths: '302': description: Response headers: - Location: &640 + Location: &637 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': &687 + '410': &685 description: Gone content: application/json: @@ -71349,14 +70661,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &507 + schema: &504 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -71389,13 +70701,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *507 + schema: *504 examples: selected_actions: *44 responses: @@ -71424,14 +70736,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &508 + schema: &505 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -71464,13 +70776,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *508 + schema: *505 examples: selected_actions: *46 responses: @@ -71501,14 +70813,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: default: value: @@ -71534,11 +70846,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: - - *496 - - *497 + - *493 + - *494 - *17 - *19 - - &510 + - &507 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 @@ -71572,7 +70884,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &508 title: Repository actions caches description: Repository actions caches type: object @@ -71614,7 +70926,7 @@ paths: - total_count - actions_caches examples: - default: &512 + default: &509 value: total_count: 1 actions_caches: @@ -71646,23 +70958,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: - - *496 - - *497 + - *493 + - *494 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *510 + - *507 responses: '200': description: Response content: application/json: - schema: *511 + schema: *508 examples: - default: *512 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71682,8 +70994,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: - - *496 - - *497 + - *493 + - *494 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -71712,8 +71024,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: - - *496 - - *497 + - *493 + - *494 - *17 - *111 responses: @@ -71795,8 +71107,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: - - *496 - - *497 + - *493 + - *494 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -71948,9 +71260,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: - - *496 - - *497 - - &513 + - *493 + - *494 + - &510 name: job_id description: The unique identifier of the job. in: path @@ -71962,7 +71274,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &521 title: Job description: Information of a job execution in a workflow run type: object @@ -72269,9 +71581,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: - - *496 - - *497 - - *513 + - *493 + - *494 + - *510 responses: '302': description: Response @@ -72299,9 +71611,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: - - *496 - - *497 - - *513 + - *493 + - *494 + - *510 requestBody: required: false content: @@ -72327,7 +71639,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -72351,8 +71663,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Status response @@ -72411,8 +71723,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -72451,7 +71763,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -72480,8 +71792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -72499,7 +71811,7 @@ paths: type: integer secrets: type: array - items: &526 + items: &523 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -72519,7 +71831,7 @@ paths: - created_at - updated_at examples: - default: &527 + default: &524 value: total_count: 2 secrets: @@ -72552,9 +71864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *496 - - *497 - - *311 + - *493 + - *494 + - *308 - *19 responses: '200': @@ -72571,7 +71883,7 @@ paths: type: integer variables: type: array - items: &528 + items: &525 title: Actions Variable type: object properties: @@ -72601,7 +71913,7 @@ paths: - created_at - updated_at examples: - default: &529 + default: &526 value: total_count: 2 variables: @@ -72634,8 +71946,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -72644,11 +71956,11 @@ paths: schema: type: object properties: - enabled: &514 + enabled: &511 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 - selected_actions_url: *279 + selected_actions_url: *276 sha_pinning_required: *63 required: - enabled @@ -72679,8 +71991,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: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -72691,7 +72003,7 @@ paths: schema: type: object properties: - enabled: *514 + enabled: *511 allowed_actions: *62 sha_pinning_required: *63 required: @@ -72724,14 +72036,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &515 + schema: &512 type: object properties: access_level: @@ -72749,7 +72061,7 @@ paths: required: - access_level examples: - default: &516 + default: &513 value: access_level: organization x-github: @@ -72774,15 +72086,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *515 + schema: *512 examples: - default: *516 + default: *513 responses: '204': description: Response @@ -72806,14 +72118,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *281 + schema: *278 examples: default: value: @@ -72837,8 +72149,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: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Empty response for successful settings update @@ -72848,7 +72160,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *279 examples: default: summary: Set retention days @@ -72872,8 +72184,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -72881,7 +72193,7 @@ paths: application/json: schema: *64 examples: - default: *283 + default: *280 '404': *6 x-github: enabledForGitHubApps: true @@ -72900,8 +72212,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: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -72935,14 +72247,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *284 + schema: *281 examples: default: *65 '403': *29 @@ -72964,13 +72276,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *285 + schema: *282 examples: default: *65 responses: @@ -72996,8 +72308,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -73028,8 +72340,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: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -73061,14 +72373,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *288 + schema: *285 examples: default: *71 x-github: @@ -73091,8 +72403,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: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Success response @@ -73103,7 +72415,7 @@ paths: required: true content: application/json: - schema: *289 + schema: *286 examples: default: *71 x-github: @@ -73132,8 +72444,8 @@ paths: in: query schema: type: string - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -73177,8 +72489,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -73186,9 +72498,9 @@ paths: application/json: schema: type: array - items: *293 + items: *290 examples: - default: *294 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73210,8 +72522,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -73254,7 +72566,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *295 + '201': *292 '404': *6 '422': *7 '409': *121 @@ -73285,8 +72597,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: - - *496 - - *497 + - *493 + - *494 responses: '201': description: Response @@ -73294,7 +72606,7 @@ paths: application/json: schema: *81 examples: - default: *296 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73322,8 +72634,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: - - *496 - - *497 + - *493 + - *494 responses: '201': description: Response @@ -73331,7 +72643,7 @@ paths: application/json: schema: *81 examples: - default: *297 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73353,8 +72665,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: - - *496 - - *497 + - *493 + - *494 - *77 responses: '200': @@ -73363,7 +72675,7 @@ paths: application/json: schema: *78 examples: - default: *298 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73384,8 +72696,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: - - *496 - - *497 + - *493 + - *494 - *77 responses: '204': @@ -73412,8 +72724,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: - - *496 - - *497 + - *493 + - *494 - *77 responses: '200': *83 @@ -73438,8 +72750,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: - - *496 - - *497 + - *493 + - *494 - *77 requestBody: required: true @@ -73488,8 +72800,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: - - *496 - - *497 + - *493 + - *494 - *77 requestBody: required: true @@ -73539,11 +72851,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: - - *496 - - *497 + - *493 + - *494 - *77 responses: - '200': *299 + '200': *296 '404': *6 x-github: githubCloudOnly: false @@ -73570,10 +72882,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: - - *496 - - *497 + - *493 + - *494 - *77 - - *300 + - *297 responses: '200': *83 '404': *6 @@ -73601,9 +72913,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: - - *496 - - *497 - - &532 + - *493 + - *494 + - &529 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. @@ -73611,7 +72923,7 @@ paths: required: false schema: type: string - - &533 + - &530 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -73619,7 +72931,7 @@ paths: required: false schema: type: string - - &534 + - &531 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -73628,7 +72940,7 @@ paths: required: false schema: type: string - - &535 + - &532 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 @@ -73655,7 +72967,7 @@ paths: - pending - *17 - *19 - - &536 + - &533 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)." @@ -73664,7 +72976,7 @@ paths: schema: type: string format: date-time - - &517 + - &514 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -73673,13 +72985,13 @@ paths: schema: type: boolean default: false - - &537 + - &534 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &538 + - &535 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -73702,7 +73014,7 @@ paths: type: integer workflow_runs: type: array - items: &518 + items: &515 title: Workflow Run description: An invocation of a workflow type: object @@ -73797,7 +73109,7 @@ paths: that triggered the run. type: array nullable: true - items: *236 + items: *233 created_at: type: string format: date-time @@ -73850,7 +73162,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &562 + properties: &559 id: type: string description: SHA for the commit @@ -73901,7 +73213,7 @@ paths: - name - email nullable: true - required: &563 + required: &560 - id - tree_id - message @@ -73909,8 +73221,8 @@ paths: - author - committer nullable: true - repository: *292 - head_repository: *292 + repository: *289 + head_repository: *289 head_repository_id: type: integer example: 5 @@ -73948,7 +73260,7 @@ paths: - workflow_url - pull_requests examples: - default: &539 + default: &536 value: total_count: 1 workflow_runs: @@ -74184,24 +73496,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *496 - - *497 - - &519 + - *493 + - *494 + - &516 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *517 + - *514 responses: '200': description: Response content: application/json: - schema: *518 + schema: *515 examples: - default: &522 + default: &519 value: id: 30433642 name: Build @@ -74442,9 +73754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 responses: '204': description: Response @@ -74467,9 +73779,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: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -74588,15 +73900,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: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 responses: '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -74623,12 +73935,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 - *17 - *19 - - *520 + - *517 - *112 responses: '200': @@ -74645,9 +73957,9 @@ paths: type: integer artifacts: type: array - items: *505 + items: *502 examples: - default: *521 + default: *518 headers: Link: *47 x-github: @@ -74671,25 +73983,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *496 - - *497 - - *519 - - &523 + - *493 + - *494 + - *516 + - &520 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *517 + - *514 responses: '200': description: Response content: application/json: - schema: *518 + schema: *515 examples: - default: *522 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74712,10 +74024,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: - - *496 - - *497 - - *519 - - *523 + - *493 + - *494 + - *516 + - *520 - *17 - *19 responses: @@ -74733,9 +74045,9 @@ paths: type: integer jobs: type: array - items: *524 + items: *521 examples: - default: &525 + default: &522 value: total_count: 1 jobs: @@ -74848,10 +74160,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *496 - - *497 - - *519 - - *523 + - *493 + - *494 + - *516 + - *520 responses: '302': description: Response @@ -74879,15 +74191,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 responses: '202': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -74927,9 +74239,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: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 - *17 - *110 - *111 @@ -75100,9 +74412,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: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 requestBody: required: true content: @@ -75169,15 +74481,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 responses: '202': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -75204,9 +74516,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: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 - 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 @@ -75236,9 +74548,9 @@ paths: type: integer jobs: type: array - items: *524 + items: *521 examples: - default: *525 + default: *522 headers: Link: *47 x-github: @@ -75263,9 +74575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 responses: '302': description: Response @@ -75292,9 +74604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 responses: '204': description: Response @@ -75321,9 +74633,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: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -75383,7 +74695,7 @@ paths: items: type: object properties: - type: &655 + type: &652 type: string description: The type of reviewer. enum: @@ -75393,7 +74705,7 @@ paths: reviewer: anyOf: - *4 - - *328 + - *325 required: - environment - wait_timer @@ -75468,9 +74780,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: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 requestBody: required: true content: @@ -75517,12 +74829,12 @@ paths: application/json: schema: type: array - items: &642 + items: &639 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &908 + properties: &906 url: type: string format: uri @@ -75605,9 +74917,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - required: &909 + properties: *223 + required: *224 + required: &907 - id - node_id - sha @@ -75623,7 +74935,7 @@ paths: - created_at - updated_at examples: - default: &643 + default: &640 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -75679,9 +74991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 requestBody: required: false content: @@ -75702,7 +75014,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -75725,9 +75037,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: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 requestBody: required: false content: @@ -75748,7 +75060,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -75781,9 +75093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *496 - - *497 - - *519 + - *493 + - *494 + - *516 responses: '200': description: Response @@ -75920,8 +75232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -75939,9 +75251,9 @@ paths: type: integer secrets: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -75966,16 +75278,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75997,17 +75309,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: &540 + default: &537 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -76033,9 +75345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 requestBody: required: true content: @@ -76066,7 +75378,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -76092,9 +75404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 responses: '204': description: Response @@ -76119,9 +75431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *496 - - *497 - - *311 + - *493 + - *494 + - *308 - *19 responses: '200': @@ -76138,9 +75450,9 @@ paths: type: integer variables: type: array - items: *528 + items: *525 examples: - default: *529 + default: *526 headers: Link: *47 x-github: @@ -76163,8 +75475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -76191,7 +75503,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -76216,17 +75528,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *496 - - *497 - - *305 + - *493 + - *494 + - *302 responses: '200': description: Response content: application/json: - schema: *528 + schema: *525 examples: - default: &541 + default: &538 value: name: USERNAME value: octocat @@ -76252,9 +75564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *496 - - *497 - - *305 + - *493 + - *494 + - *302 requestBody: required: true content: @@ -76296,9 +75608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *496 - - *497 - - *305 + - *493 + - *494 + - *302 responses: '204': description: Response @@ -76323,8 +75635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -76342,7 +75654,7 @@ paths: type: integer workflows: type: array - items: &530 + items: &527 title: Workflow description: A GitHub Actions workflow type: object @@ -76449,9 +75761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *496 - - *497 - - &531 + - *493 + - *494 + - &528 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -76466,7 +75778,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *527 examples: default: value: @@ -76499,9 +75811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *496 - - *497 - - *531 + - *493 + - *494 + - *528 responses: '204': description: Response @@ -76526,9 +75838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *496 - - *497 - - *531 + - *493 + - *494 + - *528 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -76626,9 +75938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *496 - - *497 - - *531 + - *493 + - *494 + - *528 responses: '204': description: Response @@ -76655,19 +75967,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: - - *496 - - *497 + - *493 + - *494 + - *528 + - *529 + - *530 - *531 - *532 + - *17 + - *19 - *533 + - *514 - *534 - *535 - - *17 - - *19 - - *536 - - *517 - - *537 - - *538 responses: '200': description: Response @@ -76683,9 +75995,9 @@ paths: type: integer workflow_runs: type: array - items: *518 + items: *515 examples: - default: *539 + default: *536 headers: Link: *47 x-github: @@ -76718,9 +76030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *496 - - *497 - - *531 + - *493 + - *494 + - *528 responses: '200': description: Response @@ -76781,8 +76093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *496 - - *497 + - *493 + - *494 - *112 - *17 - *110 @@ -76951,8 +76263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -76970,9 +76282,9 @@ paths: type: integer secrets: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -76996,9 +76308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *496 - - *497 - - *311 + - *493 + - *494 + - *308 - *19 responses: '200': @@ -77015,9 +76327,9 @@ paths: type: integer variables: type: array - items: *528 + items: *525 examples: - default: *529 + default: *526 headers: Link: *47 x-github: @@ -77042,8 +76354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -77061,9 +76373,9 @@ paths: type: integer secrets: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -77088,16 +76400,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77119,17 +76431,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: *540 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77151,9 +76463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 requestBody: required: true content: @@ -77184,7 +76496,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -77210,9 +76522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 responses: '204': description: Response @@ -77237,9 +76549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *496 - - *497 - - *311 + - *493 + - *494 + - *308 - *19 responses: '200': @@ -77256,9 +76568,9 @@ paths: type: integer variables: type: array - items: *528 + items: *525 examples: - default: *529 + default: *526 headers: Link: *47 x-github: @@ -77281,8 +76593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -77309,7 +76621,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -77334,17 +76646,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *496 - - *497 - - *305 + - *493 + - *494 + - *302 responses: '200': description: Response content: application/json: - schema: *528 + schema: *525 examples: - default: *541 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77365,9 +76677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *496 - - *497 - - *305 + - *493 + - *494 + - *302 requestBody: required: true content: @@ -77409,9 +76721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *496 - - *497 - - *305 + - *493 + - *494 + - *302 responses: '204': description: Response @@ -77432,8 +76744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -77445,7 +76757,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '404': *6 @@ -77470,8 +76782,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: - - *496 - - *497 + - *493 + - *494 - name: assignee in: path required: true @@ -77507,8 +76819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -77618,8 +76930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *110 - *111 @@ -77676,7 +76988,7 @@ paths: initiator: type: string examples: - default: *542 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77710,8 +77022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -77719,7 +77031,7 @@ paths: application/json: schema: type: array - items: &543 + items: &540 title: Autolink reference description: An autolink reference. type: object @@ -77773,8 +77085,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -77813,9 +77125,9 @@ paths: description: response content: application/json: - schema: *543 + schema: *540 examples: - default: &544 + default: &541 value: id: 1 key_prefix: TICKET- @@ -77846,9 +77158,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: - - *496 - - *497 - - &545 + - *493 + - *494 + - &542 name: autolink_id description: The unique identifier of the autolink. in: path @@ -77860,9 +77172,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *540 examples: - default: *544 + default: *541 '404': *6 x-github: githubCloudOnly: false @@ -77882,9 +77194,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: - - *496 - - *497 - - *545 + - *493 + - *494 + - *542 responses: '204': description: Response @@ -77908,8 +77220,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response if Dependabot is enabled @@ -77957,8 +77269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -77979,8 +77291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -78000,8 +77312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *496 - - *497 + - *493 + - *494 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -78039,7 +77351,7 @@ paths: - url protected: type: boolean - protection: &547 + protection: &544 title: Branch Protection description: Branch Protection type: object @@ -78081,7 +77393,7 @@ paths: required: - contexts - checks - enforce_admins: &550 + enforce_admins: &547 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -78096,7 +77408,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &552 + required_pull_request_reviews: &549 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -78117,7 +77429,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *328 + items: *325 apps: description: The list of apps with review dismissal access. @@ -78146,7 +77458,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *328 + items: *325 apps: description: The list of apps allowed to bypass pull request requirements. @@ -78172,7 +77484,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &549 + restrictions: &546 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -78235,7 +77547,7 @@ paths: type: string teams: type: array - items: *328 + items: *325 apps: type: array items: @@ -78449,9 +77761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *496 - - *497 - - &548 + - *493 + - *494 + - &545 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). @@ -78465,14 +77777,14 @@ paths: description: Response content: application/json: - schema: &558 + schema: &555 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &612 + commit: &609 title: Commit description: Commit type: object @@ -78506,7 +77818,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &546 + properties: &543 name: type: string example: '"Chris Wanstrath"' @@ -78522,7 +77834,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *546 + properties: *543 nullable: true message: type: string @@ -78543,7 +77855,7 @@ paths: required: - sha - url - verification: &673 + verification: &670 title: Verification type: object properties: @@ -78577,12 +77889,12 @@ paths: nullable: true oneOf: - *4 - - *303 + - *300 committer: nullable: true oneOf: - *4 - - *303 + - *300 parents: type: array items: @@ -78613,7 +77925,7 @@ paths: type: integer files: type: array - items: &625 + items: &622 title: Diff Entry description: Diff Entry type: object @@ -78697,7 +78009,7 @@ paths: - self protected: type: boolean - protection: *547 + protection: *544 protection_url: type: string format: uri @@ -78804,7 +78116,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *502 + '301': *499 '404': *6 x-github: githubCloudOnly: false @@ -78826,15 +78138,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *547 + schema: *544 examples: default: value: @@ -79028,9 +78340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -79285,7 +78597,7 @@ paths: url: type: string format: uri - required_status_checks: &555 + required_status_checks: &552 title: Status Check Policy description: Status Check Policy type: object @@ -79361,7 +78673,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *325 apps: type: array items: *5 @@ -79379,7 +78691,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *325 apps: type: array items: *5 @@ -79437,7 +78749,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *549 + restrictions: *546 required_conversation_resolution: type: object properties: @@ -79549,9 +78861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -79576,17 +78888,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: &551 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -79608,17 +78920,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: *551 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79637,9 +78949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -79664,17 +78976,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: &553 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -79770,9 +79082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -79870,9 +79182,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: *553 + default: *550 '422': *15 x-github: githubCloudOnly: false @@ -79893,9 +79205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -79922,17 +79234,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: &554 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -79955,17 +79267,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: *554 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -79985,9 +79297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -80012,17 +79324,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *555 + schema: *552 examples: - default: &556 + default: &553 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -80048,9 +79360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -80102,9 +79414,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *552 examples: - default: *556 + default: *553 '404': *6 '422': *15 x-github: @@ -80126,9 +79438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -80152,9 +79464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -80188,9 +79500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -80257,9 +79569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -80323,9 +79635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: content: application/json: @@ -80391,15 +79703,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response content: application/json: - schema: *549 + schema: *546 examples: default: value: @@ -80490,9 +79802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '204': description: Response @@ -80515,9 +79827,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: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -80527,7 +79839,7 @@ paths: type: array items: *5 examples: - default: &557 + default: &554 value: - id: 1 slug: octoapp @@ -80584,9 +79896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -80620,7 +79932,7 @@ paths: type: array items: *5 examples: - default: *557 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -80641,9 +79953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -80677,7 +79989,7 @@ paths: type: array items: *5 examples: - default: *557 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -80698,9 +80010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -80734,7 +80046,7 @@ paths: type: array items: *5 examples: - default: *557 + default: *554 '422': *15 x-github: githubCloudOnly: false @@ -80756,9 +80068,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: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -80766,9 +80078,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *419 + default: *416 '404': *6 x-github: githubCloudOnly: false @@ -80788,9 +80100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -80826,9 +80138,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *419 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -80849,9 +80161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: false content: @@ -80887,9 +80199,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *419 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -80910,9 +80222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: content: application/json: @@ -80947,9 +80259,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *419 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -80971,9 +80283,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: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 responses: '200': description: Response @@ -80983,7 +80295,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '404': *6 x-github: githubCloudOnly: false @@ -81007,9 +80319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -81042,7 +80354,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -81067,9 +80379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -81102,7 +80414,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -81127,9 +80439,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -81162,7 +80474,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -81189,9 +80501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 requestBody: required: true content: @@ -81213,7 +80525,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *555 examples: default: value: @@ -81327,8 +80639,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *496 - - *497 + - *493 + - *494 - *105 - *106 - *107 @@ -81342,9 +80654,9 @@ paths: application/json: schema: type: array - items: *323 + items: *320 examples: - default: *324 + default: *321 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -81364,8 +80676,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *496 - - *497 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -81379,7 +80691,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *320 examples: default: value: @@ -81438,8 +80750,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *496 - - *497 + - *493 + - *494 - *105 - *106 - *107 @@ -81453,9 +80765,9 @@ paths: application/json: schema: type: array - items: *326 + items: *323 examples: - default: *327 + default: *324 '404': *6 '403': *29 '500': *40 @@ -81479,8 +80791,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *496 - - *497 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -81492,7 +80804,7 @@ paths: description: A single bypass request. content: application/json: - schema: *326 + schema: *323 examples: default: value: @@ -81550,8 +80862,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *496 - - *497 + - *493 + - *494 - name: bypass_request_number in: path required: true @@ -81622,8 +80934,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *496 - - *497 + - *493 + - *494 - name: bypass_response_id in: path required: true @@ -81656,8 +80968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -81936,7 +81248,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &556 title: CheckRun description: A check performed on the code of a given code change type: object @@ -82047,16 +81359,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *236 - deployment: &901 + items: *233 + deployment: &899 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -82123,8 +81435,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 required: - id - node_id @@ -82336,9 +81648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *496 - - *497 - - &560 + - *493 + - *494 + - &557 name: check_run_id description: The unique identifier of the check run. in: path @@ -82350,9 +81662,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *556 examples: - default: &561 + default: &558 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -82452,9 +81764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *496 - - *497 - - *560 + - *493 + - *494 + - *557 requestBody: required: true content: @@ -82694,9 +82006,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *556 examples: - default: *561 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82716,9 +82028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *496 - - *497 - - *560 + - *493 + - *494 + - *557 - *17 - *19 responses: @@ -82813,15 +82125,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *496 - - *497 - - *560 + - *493 + - *494 + - *557 responses: '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -82859,8 +82171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -82882,7 +82194,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &564 + schema: &561 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -82946,7 +82258,7 @@ paths: nullable: true pull_requests: type: array - items: *236 + items: *233 nullable: true app: title: GitHub app @@ -82957,9 +82269,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - repository: *292 + properties: *223 + required: *224 + repository: *289 created_at: type: string format: date-time @@ -82968,12 +82280,12 @@ paths: type: string format: date-time nullable: true - head_commit: &934 + head_commit: &932 title: Simple Commit description: A commit. type: object - properties: *562 - required: *563 + properties: *559 + required: *560 latest_check_runs_count: type: integer check_runs_url: @@ -83001,7 +82313,7 @@ paths: - check_runs_url - pull_requests examples: - default: &565 + default: &562 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -83292,9 +82604,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *564 + schema: *561 examples: - default: *565 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83313,8 +82625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -83375,7 +82687,7 @@ paths: required: - app_id - setting - repository: *292 + repository: *289 examples: default: value: @@ -83623,9 +82935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *496 - - *497 - - &566 + - *493 + - *494 + - &563 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -83637,9 +82949,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *561 examples: - default: *565 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83662,17 +82974,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: - - *496 - - *497 - - *566 - - &618 + - *493 + - *494 + - *563 + - &615 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &619 + - &616 name: status description: Returns check runs with the specified `status`. in: query @@ -83711,9 +83023,9 @@ paths: type: integer check_runs: type: array - items: *559 + items: *556 examples: - default: &620 + default: &617 value: total_count: 1 check_runs: @@ -83815,15 +83127,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *496 - - *497 - - *566 + - *493 + - *494 + - *563 responses: '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -83850,21 +83162,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: - - *496 - - *497 - - *332 - - *333 + - *493 + - *494 + - *329 + - *330 - *19 - *17 - - &582 + - &579 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: *567 - - &583 + schema: *564 + - &580 name: pr description: The number of the pull request for the results you want to list. in: query @@ -83889,13 +83201,13 @@ paths: be returned. in: query required: false - schema: *334 + schema: *331 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *568 + schema: *565 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -83919,7 +83231,7 @@ paths: updated_at: *139 url: *136 html_url: *137 - instances_url: *569 + instances_url: *566 state: *115 fixed_at: *141 dismissed_by: @@ -83930,11 +83242,11 @@ paths: required: *21 nullable: true dismissed_at: *140 - dismissed_reason: *570 - dismissed_comment: *571 - rule: *572 - tool: *573 - most_recent_instance: *574 + dismissed_reason: *567 + dismissed_comment: *568 + rule: *569 + tool: *570 + most_recent_instance: *571 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -84060,7 +83372,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &575 + '403': &572 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -84087,9 +83399,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: - - *496 - - *497 - - &576 + - *493 + - *494 + - &573 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -84103,7 +83415,7 @@ paths: description: Response content: application/json: - schema: &577 + schema: &574 type: object properties: number: *131 @@ -84111,7 +83423,7 @@ paths: updated_at: *139 url: *136 html_url: *137 - instances_url: *569 + instances_url: *566 state: *115 fixed_at: *141 dismissed_by: @@ -84122,8 +83434,8 @@ paths: required: *21 nullable: true dismissed_at: *140 - dismissed_reason: *570 - dismissed_comment: *571 + dismissed_reason: *567 + dismissed_comment: *568 rule: type: object properties: @@ -84177,8 +83489,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *573 - most_recent_instance: *574 + tool: *570 + most_recent_instance: *571 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -84277,7 +83589,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *575 + '403': *572 '404': *6 '503': *200 x-github: @@ -84297,9 +83609,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: - - *496 - - *497 - - *576 + - *493 + - *494 + - *573 requestBody: required: true content: @@ -84314,8 +83626,8 @@ paths: enum: - open - dismissed - dismissed_reason: *570 - dismissed_comment: *571 + dismissed_reason: *567 + dismissed_comment: *568 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -84343,7 +83655,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *574 examples: default: value: @@ -84419,7 +83731,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &581 + '403': &578 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -84446,15 +83758,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: - - *496 - - *497 - - *576 + - *493 + - *494 + - *573 responses: '200': description: Response content: application/json: - schema: &578 + schema: &575 type: object properties: status: @@ -84480,13 +83792,13 @@ paths: - description - started_at examples: - default: &579 + default: &576 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &580 + '400': &577 description: Bad Request content: application/json: @@ -84497,7 +83809,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': *575 + '403': *572 '404': *6 '503': *200 x-github: @@ -84522,29 +83834,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: - - *496 - - *497 - - *576 + - *493 + - *494 + - *573 responses: '200': description: OK content: application/json: - schema: *578 + schema: *575 examples: - default: *579 + default: *576 '202': description: Accepted content: application/json: - schema: *578 + schema: *575 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *580 + '400': *577 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -84576,9 +83888,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: - - *496 - - *497 - - *576 + - *493 + - *494 + - *573 requestBody: required: false content: @@ -84623,8 +83935,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *580 - '403': *581 + '400': *577 + '403': *578 '404': *6 '422': description: Unprocessable Entity @@ -84648,13 +83960,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: - - *496 - - *497 - - *576 + - *493 + - *494 + - *573 - *19 - *17 - - *582 - - *583 + - *579 + - *580 responses: '200': description: Response @@ -84665,10 +83977,10 @@ paths: items: type: object properties: - ref: *567 - analysis_key: *584 - environment: *585 - category: *586 + ref: *564 + analysis_key: *581 + environment: *582 + category: *583 state: type: string description: State of a code scanning alert instance. @@ -84683,7 +83995,7 @@ paths: properties: text: type: string - location: *587 + location: *584 html_url: type: string classifications: @@ -84691,7 +84003,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: *588 + items: *585 examples: default: value: @@ -84728,7 +84040,7 @@ paths: end_column: 50 classifications: - source - '403': *575 + '403': *572 '404': *6 '503': *200 x-github: @@ -84762,25 +84074,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: - - *496 - - *497 - - *332 - - *333 + - *493 + - *494 + - *329 + - *330 - *19 - *17 - - *583 + - *580 - 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: *567 + schema: *564 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &589 + schema: &586 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -84801,23 +84113,23 @@ paths: application/json: schema: type: array - items: &590 + items: &587 type: object properties: - ref: *567 - commit_sha: &598 + ref: *564 + commit_sha: &595 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: *584 + analysis_key: *581 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *586 + category: *583 error: type: string example: error reading field xyz @@ -84841,8 +84153,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *589 - tool: *573 + sarif_id: *586 + tool: *570 deletable: type: boolean warning: @@ -84903,7 +84215,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *575 + '403': *572 '404': *6 '503': *200 x-github: @@ -84939,8 +84251,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: - - *496 - - *497 + - *493 + - *494 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -84953,7 +84265,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *587 examples: response: summary: application/json response @@ -85007,7 +84319,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *575 + '403': *572 '404': *6 '422': description: Response if analysis could not be processed @@ -85094,8 +84406,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: - - *496 - - *497 + - *493 + - *494 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -85148,7 +84460,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': *581 + '403': *578 '404': *6 '503': *200 x-github: @@ -85170,8 +84482,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -85179,7 +84491,7 @@ paths: application/json: schema: type: array - items: &591 + items: &588 title: CodeQL Database description: A CodeQL database. type: object @@ -85290,7 +84602,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': *575 + '403': *572 '404': *6 '503': *200 x-github: @@ -85319,8 +84631,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: - - *496 - - *497 + - *493 + - *494 - name: language in: path description: The language of the CodeQL database. @@ -85332,7 +84644,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *588 examples: default: value: @@ -85364,9 +84676,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': &629 + '302': &626 description: Found - '403': *575 + '403': *572 '404': *6 '503': *200 x-github: @@ -85388,8 +84700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *496 - - *497 + - *493 + - *494 - name: language in: path description: The language of the CodeQL database. @@ -85399,7 +84711,7 @@ paths: responses: '204': description: Response - '403': *581 + '403': *578 '404': *6 '503': *200 x-github: @@ -85427,8 +84739,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -85437,7 +84749,7 @@ paths: type: object additionalProperties: false properties: - language: &592 + language: &589 type: string description: The language targeted by the CodeQL query enum: @@ -85517,7 +84829,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &596 + schema: &593 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -85527,7 +84839,7 @@ paths: description: The ID of the variant analysis. controller_repo: *122 actor: *4 - query_language: *592 + query_language: *589 query_pack_url: type: string description: The download url for the query pack. @@ -85574,7 +84886,7 @@ paths: items: type: object properties: - repository: &593 + repository: &590 title: Repository Identifier description: Repository Identifier type: object @@ -85610,7 +84922,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &597 + analysis_status: &594 type: string description: The new status of the CodeQL variant analysis repository task. @@ -85642,7 +84954,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &594 + access_mismatch_repos: &591 type: object properties: repository_count: @@ -85656,7 +84968,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: *593 + items: *590 required: - repository_count - repositories @@ -85678,8 +84990,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *594 - over_limit_repos: *594 + no_codeql_db_repos: *591 + over_limit_repos: *591 required: - access_mismatch_repos - not_found_repos @@ -85695,7 +85007,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &595 + value: &592 summary: Default response value: id: 1 @@ -85841,10 +85153,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *595 + value: *592 repository_lists: summary: Response for a successful variant analysis submission - value: *595 + value: *592 '404': *6 '422': description: Unable to process variant analysis submission @@ -85872,8 +85184,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: - - *496 - - *497 + - *493 + - *494 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -85885,9 +85197,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *593 examples: - default: *595 + default: *592 '404': *6 '503': *200 x-github: @@ -85910,7 +85222,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: - - *496 + - *493 - name: repo in: path description: The name of the controller repository. @@ -85945,7 +85257,7 @@ paths: type: object properties: repository: *122 - analysis_status: *597 + analysis_status: *594 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -86070,8 +85382,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -86173,7 +85485,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *575 + '403': *572 '404': *6 '503': *200 x-github: @@ -86194,8 +85506,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -86262,7 +85574,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -86287,7 +85599,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *581 + '403': *578 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -86358,8 +85670,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -86367,7 +85679,7 @@ paths: schema: type: object properties: - commit_sha: *598 + commit_sha: *595 ref: type: string description: |- @@ -86425,7 +85737,7 @@ paths: schema: type: object properties: - id: *589 + id: *586 url: type: string description: The REST API URL for checking the status of the upload. @@ -86439,7 +85751,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': *581 + '403': *578 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -86462,8 +85774,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: - - *496 - - *497 + - *493 + - *494 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -86509,7 +85821,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': *575 + '403': *572 '404': description: Not Found if the sarif id does not match any upload '503': *200 @@ -86534,8 +85846,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -86616,8 +85928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *496 - - *497 + - *493 + - *494 - 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 @@ -86737,8 +86049,8 @@ paths: parameters: - *17 - *19 - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -86754,7 +86066,7 @@ paths: type: integer codespaces: type: array - items: *409 + items: *406 examples: default: value: @@ -87052,8 +86364,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -87116,17 +86428,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *409 + schema: *406 examples: - default: *599 + default: *596 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *409 + schema: *406 examples: - default: *599 + default: *596 '400': *14 '401': *25 '403': *29 @@ -87155,8 +86467,8 @@ paths: parameters: - *17 - *19 - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -87220,8 +86532,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: - - *496 - - *497 + - *493 + - *494 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -87256,14 +86568,14 @@ paths: type: integer machines: type: array - items: &845 + items: &843 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *600 - required: *601 + properties: *597 + required: *598 examples: - default: &846 + default: &844 value: total_count: 2 machines: @@ -87303,8 +86615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *496 - - *497 + - *493 + - *494 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -87388,8 +86700,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: - - *496 - - *497 + - *493 + - *494 - 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 @@ -87455,8 +86767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -87474,7 +86786,7 @@ paths: type: integer secrets: type: array - items: &605 + items: &602 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -87494,7 +86806,7 @@ paths: - created_at - updated_at examples: - default: *602 + default: *599 headers: Link: *47 x-github: @@ -87517,16 +86829,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *603 + schema: *600 examples: - default: *604 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87546,17 +86858,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 responses: '200': description: Response content: application/json: - schema: *605 + schema: *602 examples: - default: *606 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87576,9 +86888,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: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 requestBody: required: true content: @@ -87606,7 +86918,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -87630,9 +86942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 responses: '204': description: Response @@ -87660,8 +86972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *496 - - *497 + - *493 + - *494 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -87703,7 +87015,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &607 + properties: &604 login: type: string example: octocat @@ -87796,7 +87108,7 @@ paths: user_view_type: type: string example: public - required: &608 + required: &605 - avatar_url - events_url - followers_url @@ -87870,8 +87182,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: - - *496 - - *497 + - *493 + - *494 - *148 responses: '204': @@ -87918,8 +87230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *496 - - *497 + - *493 + - *494 - *148 requestBody: required: false @@ -87946,7 +87258,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &685 + schema: &683 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87957,7 +87269,7 @@ paths: example: 42 type: integer format: int64 - repository: *292 + repository: *289 invitee: title: Simple User description: A GitHub user. @@ -88135,7 +87447,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *267 + schema: *264 '403': *29 x-github: triggersNotification: true @@ -88175,8 +87487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *496 - - *497 + - *493 + - *494 - *148 responses: '204': @@ -88208,8 +87520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *496 - - *497 + - *493 + - *494 - *148 responses: '200': @@ -88230,8 +87542,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *607 - required: *608 + properties: *604 + required: *605 nullable: true required: - permission @@ -88286,8 +87598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -88297,7 +87609,7 @@ paths: application/json: schema: type: array - items: &609 + items: &606 title: Commit Comment description: Commit Comment type: object @@ -88338,8 +87650,8 @@ paths: updated_at: type: string format: date-time - author_association: *228 - reactions: *229 + author_association: *225 + reactions: *226 required: - url - html_url @@ -88355,7 +87667,7 @@ paths: - created_at - updated_at examples: - default: &614 + default: &611 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -88414,17 +87726,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 responses: '200': description: Response content: application/json: - schema: *609 + schema: *606 examples: - default: &615 + default: &612 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -88481,9 +87793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 requestBody: required: true content: @@ -88505,7 +87817,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *606 examples: default: value: @@ -88556,9 +87868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 responses: '204': description: Response @@ -88579,9 +87891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 - 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. @@ -88607,7 +87919,7 @@ paths: application/json: schema: type: array - items: &610 + items: &607 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -88650,7 +87962,7 @@ paths: - content - created_at examples: - default: &690 + default: &688 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -88695,9 +88007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 requestBody: required: true content: @@ -88729,9 +88041,9 @@ paths: description: Reaction exists content: application/json: - schema: *610 + schema: *607 examples: - default: &611 + default: &608 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -88760,9 +88072,9 @@ paths: description: Reaction created content: application/json: - schema: *610 + schema: *607 examples: - default: *611 + default: *608 '422': *15 x-github: githubCloudOnly: false @@ -88784,10 +88096,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *496 - - *497 - - *247 - - &691 + - *493 + - *494 + - *244 + - &689 name: reaction_id description: The unique identifier of the reaction. in: path @@ -88842,8 +88154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *496 - - *497 + - *493 + - *494 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -88899,9 +88211,9 @@ paths: application/json: schema: type: array - items: *612 + items: *609 examples: - default: &745 + default: &743 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -88995,9 +88307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *496 - - *497 - - &613 + - *493 + - *494 + - &610 name: commit_sha description: The SHA of the commit. in: path @@ -89069,9 +88381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *496 - - *497 - - *613 + - *493 + - *494 + - *610 - *17 - *19 responses: @@ -89081,9 +88393,9 @@ paths: application/json: schema: type: array - items: *609 + items: *606 examples: - default: *614 + default: *611 headers: Link: *47 x-github: @@ -89111,9 +88423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *496 - - *497 - - *613 + - *493 + - *494 + - *610 requestBody: required: true content: @@ -89148,9 +88460,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *606 examples: - default: *615 + default: *612 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -89178,9 +88490,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: - - *496 - - *497 - - *613 + - *493 + - *494 + - *610 - *17 - *19 responses: @@ -89190,9 +88502,9 @@ paths: application/json: schema: type: array - items: *616 + items: *613 examples: - default: &737 + default: &735 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -89729,11 +89041,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *496 - - *497 + - *493 + - *494 - *19 - *17 - - &617 + - &614 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)" @@ -89748,9 +89060,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *609 examples: - default: &722 + default: &720 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -89838,7 +89150,7 @@ paths: schema: type: string examples: - default: &626 + default: &623 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -89851,7 +89163,7 @@ paths: schema: type: string examples: - default: &627 + default: &624 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -89904,11 +89216,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: - - *496 - - *497 - - *617 - - *618 - - *619 + - *493 + - *494 + - *614 + - *615 + - *616 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -89942,9 +89254,9 @@ paths: type: integer check_runs: type: array - items: *559 + items: *556 examples: - default: *620 + default: *617 headers: Link: *47 x-github: @@ -89969,9 +89281,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: - - *496 - - *497 - - *617 + - *493 + - *494 + - *614 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -89979,7 +89291,7 @@ paths: schema: type: integer example: 1 - - *618 + - *615 - *17 - *19 responses: @@ -89997,7 +89309,7 @@ paths: type: integer check_suites: type: array - items: *564 + items: *561 examples: default: value: @@ -90197,9 +89509,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: - - *496 - - *497 - - *617 + - *493 + - *494 + - *614 - *17 - *19 responses: @@ -90266,7 +89578,7 @@ paths: type: string total_count: type: integer - repository: *292 + repository: *289 commit_url: type: string format: uri @@ -90397,9 +89709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *496 - - *497 - - *617 + - *493 + - *494 + - *614 - *17 - *19 responses: @@ -90409,7 +89721,7 @@ paths: application/json: schema: type: array - items: &799 + items: &797 title: Status description: The status of a commit. type: object @@ -90490,7 +89802,7 @@ paths: site_admin: false headers: Link: *47 - '301': *502 + '301': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90518,8 +89830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -90548,20 +89860,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *621 - required: *622 + properties: *618 + required: *619 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &623 + properties: &620 url: type: string format: uri html_url: type: string format: uri - required: &624 + required: &621 - url - html_url nullable: true @@ -90569,32 +89881,32 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true contributing: title: Community Health File type: object - properties: *623 - required: *624 + properties: *620 + required: *621 nullable: true readme: title: Community Health File type: object - properties: *623 - required: *624 + properties: *620 + required: *621 nullable: true issue_template: title: Community Health File type: object - properties: *623 - required: *624 + properties: *620 + required: *621 nullable: true pull_request_template: title: Community Health File type: object - properties: *623 - required: *624 + properties: *620 + required: *621 nullable: true required: - code_of_conduct @@ -90721,8 +90033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *496 - - *497 + - *493 + - *494 - *19 - *17 - name: basehead @@ -90765,8 +90077,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *612 - merge_base_commit: *612 + base_commit: *609 + merge_base_commit: *609 status: type: string enum: @@ -90786,10 +90098,10 @@ paths: example: 6 commits: type: array - items: *612 + items: *609 files: type: array - items: *625 + items: *622 required: - url - html_url @@ -91035,12 +90347,12 @@ paths: schema: type: string examples: - default: *626 + default: *623 application/vnd.github.patch: schema: type: string examples: - default: *627 + default: *624 '404': *6 '500': *40 '503': *200 @@ -91085,8 +90397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *496 - - *497 + - *493 + - *494 - name: path description: path parameter in: path @@ -91246,7 +90558,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &628 + response-if-content-is-a-file-github-object: &625 summary: Response if content is a file value: type: file @@ -91378,7 +90690,7 @@ paths: - size - type - url - - &750 + - &748 title: Content File description: Content File type: object @@ -91579,7 +90891,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *628 + response-if-content-is-a-file: *625 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -91648,7 +90960,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *629 + '302': *626 '304': *37 x-github: githubCloudOnly: false @@ -91701,8 +91013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *496 - - *497 + - *493 + - *494 - name: path description: path parameter in: path @@ -91795,7 +91107,7 @@ paths: description: Response content: application/json: - schema: &630 + schema: &627 title: File Commit description: File Commit type: object @@ -91947,7 +91259,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *627 examples: example-for-creating-a-file: value: @@ -92001,7 +91313,7 @@ paths: schema: oneOf: - *3 - - &668 + - &665 description: Repository rule violation was detected type: object properties: @@ -92022,7 +91334,7 @@ paths: items: type: object properties: - placeholder_id: &791 + placeholder_id: &789 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -92054,8 +91366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *496 - - *497 + - *493 + - *494 - name: path description: path parameter in: path @@ -92116,7 +91428,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *627 examples: default: value: @@ -92171,8 +91483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *496 - - *497 + - *493 + - *494 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -92301,8 +91613,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -92434,24 +91746,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *496 - - *497 + - *493 + - *494 + - *350 + - *351 + - *352 - *353 - *354 - - *355 - - *356 - - *357 - 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 + - *355 + - *628 + - *356 + - *357 - *358 - - *631 - - *359 - - *360 - - *361 - *112 - *110 - *111 @@ -92463,7 +91775,7 @@ paths: application/json: schema: type: array - items: &635 + items: &632 type: object description: A Dependabot alert. properties: @@ -92510,7 +91822,7 @@ paths: - direct - transitive - inconclusive - security_advisory: *632 + security_advisory: *629 security_vulnerability: *135 url: *136 html_url: *137 @@ -92541,8 +91853,8 @@ paths: nullable: true maxLength: 280 fixed_at: *141 - auto_dismissed_at: *633 - dismissal_request: *634 + auto_dismissed_at: *630 + dismissal_request: *631 assignees: type: array description: The users assigned to this alert. @@ -92797,9 +92109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *496 - - *497 - - &636 + - *493 + - *494 + - &633 name: alert_number in: path description: |- @@ -92814,7 +92126,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: default: value: @@ -92946,9 +92258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *496 - - *497 - - *636 + - *493 + - *494 + - *633 requestBody: required: true content: @@ -92985,6 +92297,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: @@ -93004,7 +92317,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: default: value: @@ -93134,8 +92447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -93153,7 +92466,7 @@ paths: type: integer secrets: type: array - items: &639 + items: &636 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -93206,16 +92519,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *637 + schema: *634 examples: - default: *638 + default: *635 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93235,15 +92548,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 responses: '200': description: Response content: application/json: - schema: *639 + schema: *636 examples: default: value: @@ -93269,9 +92582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 requestBody: required: true content: @@ -93299,7 +92612,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -93323,9 +92636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *496 - - *497 - - *302 + - *493 + - *494 + - *299 responses: '204': description: Response @@ -93347,8 +92660,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: - - *496 - - *497 + - *493 + - *494 - 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 @@ -93511,8 +92824,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -93750,8 +93063,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: - - *496 - - *497 + - *493 + - *494 - name: sbom_uuid in: path required: true @@ -93762,7 +93075,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *640 + Location: *637 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -93783,8 +93096,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: - - *496 - - *497 + - *493 + - *494 responses: '201': description: Response @@ -93822,8 +93135,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -93898,7 +93211,7 @@ paths: - version - url additionalProperties: false - metadata: &641 + metadata: &638 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -93931,7 +93244,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *641 + metadata: *638 resolved: type: object description: A collection of resolved package dependencies. @@ -93944,7 +93257,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *641 + metadata: *638 relationship: type: string description: A notation of whether a dependency is requested @@ -94073,8 +93386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *496 - - *497 + - *493 + - *494 - name: sha description: The SHA recorded at creation time. in: query @@ -94114,9 +93427,9 @@ paths: application/json: schema: type: array - items: *642 + items: *639 examples: - default: *643 + default: *640 headers: Link: *47 x-github: @@ -94182,8 +93495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -94264,7 +93577,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *639 examples: simple-example: summary: Simple example @@ -94337,9 +93650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *496 - - *497 - - &644 + - *493 + - *494 + - &641 name: deployment_id description: deployment_id parameter in: path @@ -94351,7 +93664,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *639 examples: default: value: @@ -94416,9 +93729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *496 - - *497 - - *644 + - *493 + - *494 + - *641 responses: '204': description: Response @@ -94440,9 +93753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *496 - - *497 - - *644 + - *493 + - *494 + - *641 - *17 - *19 responses: @@ -94452,7 +93765,7 @@ paths: application/json: schema: type: array - items: &645 + items: &642 title: Deployment Status description: The status of a deployment. type: object @@ -94543,8 +93856,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 required: - id - node_id @@ -94613,9 +93926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *496 - - *497 - - *644 + - *493 + - *494 + - *641 requestBody: required: true content: @@ -94690,9 +94003,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: &646 + default: &643 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -94748,9 +94061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *496 - - *497 - - *644 + - *493 + - *494 + - *641 - name: status_id in: path required: true @@ -94761,9 +94074,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: *646 + default: *643 '404': *6 x-github: githubCloudOnly: false @@ -94790,12 +94103,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 + - *644 + - *645 + - *646 - *647 - - *648 - - *649 - - *650 - *17 - *19 responses: @@ -94805,9 +94118,9 @@ paths: application/json: schema: type: array - items: *651 + items: *648 examples: - default: *652 + default: *649 '404': *6 '403': *29 '500': *40 @@ -94831,8 +94144,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 - name: alert_number in: path required: true @@ -94844,7 +94157,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *651 + schema: *648 examples: default: value: @@ -94900,8 +94213,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 - name: alert_number in: path required: true @@ -94960,12 +94273,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 + - *644 + - *645 + - *646 - *647 - - *648 - - *649 - - *650 - *17 - *19 responses: @@ -94975,9 +94288,9 @@ paths: application/json: schema: type: array - items: *653 + items: *650 examples: - default: *654 + default: *651 '404': *6 '403': *29 '500': *40 @@ -95001,8 +94314,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 - name: alert_number in: path required: true @@ -95014,7 +94327,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *653 + schema: *650 examples: default: value: @@ -95065,8 +94378,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 - name: alert_number in: path required: true @@ -95104,7 +94417,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *653 + schema: *650 examples: default: value: @@ -95155,8 +94468,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 - name: alert_number in: path required: true @@ -95227,8 +94540,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 - name: alert_number in: path required: true @@ -95261,12 +94574,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 - *105 - *106 - *107 - - *367 + - *364 - *17 - *19 responses: @@ -95276,9 +94589,9 @@ paths: application/json: schema: type: array - items: *369 + items: *366 examples: - default: *370 + default: *367 '404': *6 '403': *29 '500': *40 @@ -95303,8 +94616,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 - name: alert_number in: path required: true @@ -95316,7 +94629,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *369 + schema: *366 examples: default: value: @@ -95374,8 +94687,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *496 - - *497 + - *493 + - *494 - name: alert_number in: path required: true @@ -95444,8 +94757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -95502,8 +94815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -95520,7 +94833,7 @@ paths: type: integer environments: type: array - items: &656 + items: &653 title: Environment description: Details of a deployment environment type: object @@ -95572,7 +94885,7 @@ paths: type: type: string example: wait_timer - wait_timer: &658 + wait_timer: &655 type: integer example: 30 description: The amount of time to delay a job after @@ -95609,11 +94922,11 @@ paths: items: type: object properties: - type: *655 + type: *652 reviewer: anyOf: - *4 - - *328 + - *325 required: - id - node_id @@ -95633,7 +94946,7 @@ paths: - id - node_id - type - deployment_branch_policy: &659 + deployment_branch_policy: &656 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -95749,9 +95062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *496 - - *497 - - &657 + - *493 + - *494 + - &654 name: environment_name in: path required: true @@ -95764,9 +95077,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *653 examples: - default: &660 + default: &657 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -95850,9 +95163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *496 - - *497 - - *657 + - *493 + - *494 + - *654 requestBody: required: false content: @@ -95861,7 +95174,7 @@ paths: type: object nullable: true properties: - wait_timer: *658 + wait_timer: *655 prevent_self_review: type: boolean example: false @@ -95878,13 +95191,13 @@ paths: items: type: object properties: - type: *655 + type: *652 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *659 + deployment_branch_policy: *656 additionalProperties: false examples: default: @@ -95904,9 +95217,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *653 examples: - default: *660 + default: *657 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -95930,9 +95243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *496 - - *497 - - *657 + - *493 + - *494 + - *654 responses: '204': description: Default response @@ -95957,9 +95270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *496 - - *497 - - *657 + - *493 + - *494 + - *654 - *17 - *19 responses: @@ -95977,7 +95290,7 @@ paths: example: 2 branch_policies: type: array - items: &661 + items: &658 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -96034,9 +95347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *496 - - *497 - - *657 + - *493 + - *494 + - *654 requestBody: required: true content: @@ -96082,9 +95395,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *658 examples: - example-wildcard: &662 + example-wildcard: &659 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -96126,10 +95439,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *496 - - *497 - - *657 - - &663 + - *493 + - *494 + - *654 + - &660 name: branch_policy_id in: path required: true @@ -96141,9 +95454,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *658 examples: - default: *662 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96162,10 +95475,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *496 - - *497 - - *657 - - *663 + - *493 + - *494 + - *654 + - *660 requestBody: required: true content: @@ -96193,9 +95506,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *658 examples: - default: *662 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96214,10 +95527,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *496 - - *497 - - *657 - - *663 + - *493 + - *494 + - *654 + - *660 responses: '204': description: Response @@ -96242,9 +95555,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: - - *657 - - *497 - - *496 + - *654 + - *494 + - *493 responses: '200': description: List of deployment protection rules @@ -96260,7 +95573,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &664 + items: &661 title: Deployment protection rule description: Deployment protection rule type: object @@ -96279,7 +95592,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &665 + app: &662 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -96378,9 +95691,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: - - *657 - - *497 - - *496 + - *654 + - *494 + - *493 requestBody: content: application/json: @@ -96401,9 +95714,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *664 + schema: *661 examples: - default: &666 + default: &663 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -96438,9 +95751,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: - - *657 - - *497 - - *496 + - *654 + - *494 + - *493 - *19 - *17 responses: @@ -96459,7 +95772,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *665 + items: *662 examples: default: value: @@ -96494,10 +95807,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: - - *496 - - *497 - - *657 - - &667 + - *493 + - *494 + - *654 + - &664 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -96509,9 +95822,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *661 examples: - default: *666 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96532,10 +95845,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: - - *657 - - *497 - - *496 - - *667 + - *654 + - *494 + - *493 + - *664 responses: '204': description: Response @@ -96561,9 +95874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *496 - - *497 - - *657 + - *493 + - *494 + - *654 - *17 - *19 responses: @@ -96581,9 +95894,9 @@ paths: type: integer secrets: type: array - items: *526 + items: *523 examples: - default: *527 + default: *524 headers: Link: *47 x-github: @@ -96608,17 +95921,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *496 - - *497 - - *657 + - *493 + - *494 + - *654 responses: '200': description: Response content: application/json: - schema: *308 + schema: *305 examples: - default: *309 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96640,18 +95953,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *496 - - *497 - - *657 - - *302 + - *493 + - *494 + - *654 + - *299 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: *540 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96673,10 +95986,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *496 - - *497 - - *657 - - *302 + - *493 + - *494 + - *654 + - *299 requestBody: required: true content: @@ -96707,7 +96020,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -96733,10 +96046,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *496 - - *497 - - *657 - - *302 + - *493 + - *494 + - *654 + - *299 responses: '204': description: Default response @@ -96761,10 +96074,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *496 - - *497 - - *657 - - *311 + - *493 + - *494 + - *654 + - *308 - *19 responses: '200': @@ -96781,9 +96094,9 @@ paths: type: integer variables: type: array - items: *528 + items: *525 examples: - default: *529 + default: *526 headers: Link: *47 x-github: @@ -96806,9 +96119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *496 - - *497 - - *657 + - *493 + - *494 + - *654 requestBody: required: true content: @@ -96835,7 +96148,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -96860,18 +96173,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *496 - - *497 - - *657 - - *305 + - *493 + - *494 + - *654 + - *302 responses: '200': description: Response content: application/json: - schema: *528 + schema: *525 examples: - default: *541 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96892,10 +96205,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *496 - - *497 - - *305 - - *657 + - *493 + - *494 + - *302 + - *654 requestBody: required: true content: @@ -96937,10 +96250,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *496 - - *497 - - *305 - - *657 + - *493 + - *494 + - *302 + - *654 responses: '204': description: Response @@ -96962,8 +96275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -96973,7 +96286,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: 200-response: value: @@ -97031,8 +96344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *496 - - *497 + - *493 + - *494 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -97054,7 +96367,7 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: default: value: @@ -97191,8 +96504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: false content: @@ -97224,9 +96537,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: *503 + default: *500 '400': *14 '422': *15 '403': *29 @@ -97247,8 +96560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -97307,8 +96620,8 @@ paths: application/json: schema: oneOf: - - *267 - - *668 + - *264 + - *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97333,8 +96646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *496 - - *497 + - *493 + - *494 - name: file_sha in: path required: true @@ -97433,8 +96746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -97543,7 +96856,7 @@ paths: description: Response content: application/json: - schema: &669 + schema: &666 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -97757,15 +97070,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *496 - - *497 - - *613 + - *493 + - *494 + - *610 responses: '200': description: Response content: application/json: - schema: *669 + schema: *666 examples: default: value: @@ -97821,9 +97134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *496 - - *497 - - &670 + - *493 + - *494 + - &667 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. @@ -97840,7 +97153,7 @@ paths: application/json: schema: type: array - items: &671 + items: &668 title: Git Reference description: Git references within a repository type: object @@ -97915,17 +97228,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *496 - - *497 - - *670 + - *493 + - *494 + - *667 responses: '200': description: Response content: application/json: - schema: *671 + schema: *668 examples: - default: &672 + default: &669 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -97954,8 +97267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -97984,9 +97297,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *668 examples: - default: *672 + default: *669 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -98012,9 +97325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *496 - - *497 - - *670 + - *493 + - *494 + - *667 requestBody: required: true content: @@ -98043,9 +97356,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *668 examples: - default: *672 + default: *669 '422': *15 '409': *121 x-github: @@ -98063,9 +97376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *496 - - *497 - - *670 + - *493 + - *494 + - *667 responses: '204': description: Response @@ -98120,8 +97433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -98188,7 +97501,7 @@ paths: description: Response content: application/json: - schema: &674 + schema: &671 title: Git Tag description: Metadata for a Git tag type: object @@ -98239,7 +97552,7 @@ paths: - sha - type - url - verification: *673 + verification: *670 required: - sha - url @@ -98249,7 +97562,7 @@ paths: - tag - message examples: - default: &675 + default: &672 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -98322,8 +97635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *496 - - *497 + - *493 + - *494 - name: tag_sha in: path required: true @@ -98334,9 +97647,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *671 examples: - default: *675 + default: *672 '404': *6 '409': *121 x-github: @@ -98360,8 +97673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -98434,7 +97747,7 @@ paths: description: Response content: application/json: - schema: &676 + schema: &673 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -98530,8 +97843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *496 - - *497 + - *493 + - *494 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -98554,7 +97867,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *673 examples: default-response: summary: Default response @@ -98612,8 +97925,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -98656,8 +97969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -98667,7 +97980,7 @@ paths: application/json: schema: type: array - items: &677 + items: &674 title: Webhook description: Webhooks for repositories. type: object @@ -98721,7 +98034,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &943 + last_response: &941 title: Hook Response type: object properties: @@ -98795,8 +98108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: false content: @@ -98848,9 +98161,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *674 examples: - default: &678 + default: &675 value: type: Repository id: 12345678 @@ -98898,17 +98211,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *496 - - *497 - - *376 + - *493 + - *494 + - *373 responses: '200': description: Response content: application/json: - schema: *677 + schema: *674 examples: - default: *678 + default: *675 '404': *6 x-github: githubCloudOnly: false @@ -98928,9 +98241,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *496 - - *497 - - *376 + - *493 + - *494 + - *373 requestBody: required: true content: @@ -98975,9 +98288,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *674 examples: - default: *678 + default: *675 '422': *15 '404': *6 x-github: @@ -98998,9 +98311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *496 - - *497 - - *376 + - *493 + - *494 + - *373 responses: '204': description: Response @@ -99024,9 +98337,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: - - *496 - - *497 - - *376 + - *493 + - *494 + - *373 responses: '200': description: Response @@ -99053,9 +98366,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: - - *496 - - *497 - - *376 + - *493 + - *494 + - *373 requestBody: required: false content: @@ -99099,12 +98412,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *496 - - *497 - - *376 + - *493 + - *494 + - *373 - *17 - - *377 - - *378 + - *374 + - *375 responses: '200': description: Response @@ -99112,9 +98425,9 @@ paths: application/json: schema: type: array - items: *379 + items: *376 examples: - default: *380 + default: *377 '400': *14 '422': *15 x-github: @@ -99133,18 +98446,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: - - *496 - - *497 - - *376 + - *493 + - *494 + - *373 - *16 responses: '200': description: Response content: application/json: - schema: *381 + schema: *378 examples: - default: *382 + default: *379 '400': *14 '422': *15 x-github: @@ -99163,9 +98476,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: - - *496 - - *497 - - *376 + - *493 + - *494 + - *373 - *16 responses: '202': *39 @@ -99188,9 +98501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *496 - - *497 - - *376 + - *493 + - *494 + - *373 responses: '204': description: Response @@ -99215,9 +98528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *496 - - *497 - - *376 + - *493 + - *494 + - *373 responses: '204': description: Response @@ -99240,8 +98553,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response if immutable releases are enabled @@ -99287,8 +98600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': *130 '409': *121 @@ -99308,8 +98621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': *130 '409': *121 @@ -99366,14 +98679,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &679 + schema: &676 title: Import description: A repository import from an external source. type: object @@ -99472,7 +98785,7 @@ paths: - html_url - authors_url examples: - default: &682 + default: &679 value: vcs: subversion use_lfs: true @@ -99488,7 +98801,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': &680 + '503': &677 description: Unavailable due to service under maintenance. content: application/json: @@ -99517,8 +98830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -99566,7 +98879,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *676 examples: default: value: @@ -99591,7 +98904,7 @@ paths: type: string '422': *15 '404': *6 - '503': *680 + '503': *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99619,8 +98932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: false content: @@ -99669,7 +98982,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *676 examples: example-1: summary: Example 1 @@ -99717,7 +99030,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': *680 + '503': *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99740,12 +99053,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response - '503': *680 + '503': *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99771,9 +99084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *496 - - *497 - - &867 + - *493 + - *494 + - &865 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -99787,7 +99100,7 @@ paths: application/json: schema: type: array - items: &681 + items: &678 title: Porter Author description: Porter Author type: object @@ -99841,7 +99154,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': *680 + '503': *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99866,8 +99179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *496 - - *497 + - *493 + - *494 - name: author_id in: path required: true @@ -99897,7 +99210,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *678 examples: default: value: @@ -99910,7 +99223,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *680 + '503': *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99934,8 +99247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -99976,7 +99289,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *680 + '503': *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100004,8 +99317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -100032,11 +99345,11 @@ paths: description: Response content: application/json: - schema: *679 + schema: *676 examples: - default: *682 + default: *679 '422': *15 - '503': *680 + '503': *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100059,8 +99372,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -100068,8 +99381,8 @@ paths: application/json: schema: *22 examples: - default: *394 - '301': *502 + default: *391 + '301': *499 '404': *6 x-github: githubCloudOnly: false @@ -100089,8 +99402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -100098,12 +99411,12 @@ paths: application/json: schema: anyOf: - - *396 + - *393 - type: object properties: {} additionalProperties: false examples: - default: &684 + default: &681 value: limit: collaborators_only origin: repository @@ -100128,13 +99441,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: application/json: - schema: *683 + schema: *680 examples: default: summary: Example request body @@ -100146,9 +99459,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *393 examples: - default: *684 + default: *681 '409': description: Response x-github: @@ -100170,8 +99483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -100182,6 +99495,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: + - *493 + - *494 + 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': *29 + '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: + - *493 + - *494 + requestBody: + required: true + content: + application/json: + schema: &682 + 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 + example: + - octocat + - monalisa + required: + - users + examples: + default: + summary: Example request body + value: + users: + - octocat + - monalisa + responses: + '204': + description: Response + '403': *29 + '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: + - *493 + - *494 + requestBody: + required: true + content: + application/json: + schema: *682 + examples: + default: + summary: Example request body + value: + users: + - octocat + responses: + '204': + description: Response + '403': *29 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: repos "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -100194,8 +99658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -100205,9 +99669,9 @@ paths: application/json: schema: type: array - items: *685 + items: *683 examples: - default: &860 + default: &858 value: - id: 1 repository: @@ -100338,9 +99802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *496 - - *497 - - *400 + - *493 + - *494 + - *397 requestBody: required: false content: @@ -100369,7 +99833,7 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: default: value: @@ -100500,9 +99964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *496 - - *497 - - *400 + - *493 + - *494 + - *397 responses: '204': description: Response @@ -100525,8 +99989,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -100534,9 +99998,9 @@ paths: application/json: schema: type: array - items: *404 + items: *401 examples: - default: *686 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -100565,8 +100029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *496 - - *497 + - *493 + - *494 - 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 @@ -100628,7 +100092,7 @@ paths: required: false schema: type: string - - *407 + - *404 - name: sort description: What to sort results by. in: query @@ -100641,7 +100105,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - *17 - *19 responses: @@ -100651,9 +100115,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: &699 + default: &697 value: - id: 1 node_id: MDU6SXNzdWUx @@ -100802,7 +100266,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *502 + '301': *499 '422': *15 '404': *6 x-github: @@ -100831,8 +100295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -100939,9 +100403,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: &696 + default: &694 value: id: 1 node_id: MDU6SXNzdWUx @@ -101104,7 +100568,7 @@ paths: '422': *15 '503': *200 '404': *6 - '410': *687 + '410': *685 x-github: triggersNotification: true githubCloudOnly: false @@ -101142,9 +100606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *496 - - *497 - - *255 + - *493 + - *494 + - *252 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -101154,7 +100618,7 @@ paths: enum: - asc - desc - - *238 + - *235 - *17 - *19 responses: @@ -101164,9 +100628,9 @@ paths: application/json: schema: type: array - items: *688 + items: *686 examples: - default: &698 + default: &696 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -101224,17 +100688,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 responses: '200': description: Response content: application/json: - schema: *688 + schema: *686 examples: - default: &689 + default: &687 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -101289,9 +100753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 requestBody: required: true content: @@ -101313,9 +100777,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *686 examples: - default: *689 + default: *687 '422': *15 x-github: githubCloudOnly: false @@ -101333,9 +100797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 responses: '204': description: Response @@ -101363,15 +100827,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 responses: '200': description: Response content: application/json: - schema: *688 + schema: *686 examples: default: value: @@ -101427,7 +100891,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *687 + '410': *685 '422': *15 x-github: githubCloudOnly: false @@ -101444,16 +100908,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *687 + '410': *685 '503': *200 x-github: githubCloudOnly: false @@ -101471,9 +100935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 - 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. @@ -101499,9 +100963,9 @@ paths: application/json: schema: type: array - items: *610 + items: *607 examples: - default: *690 + default: *688 headers: Link: *47 '404': *6 @@ -101522,9 +100986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 requestBody: required: true content: @@ -101556,16 +101020,16 @@ paths: description: Reaction exists content: application/json: - schema: *610 + schema: *607 examples: - default: *611 + default: *608 '201': description: Reaction created content: application/json: - schema: *610 + schema: *607 examples: - default: *611 + default: *608 '422': *15 x-github: githubCloudOnly: false @@ -101587,10 +101051,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *496 - - *497 - - *247 - - *691 + - *493 + - *494 + - *244 + - *689 responses: '204': description: Response @@ -101610,8 +101074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -101621,7 +101085,7 @@ paths: application/json: schema: type: array - items: &695 + items: &693 title: Issue Event description: Issue Event type: object @@ -101664,9 +101128,9 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *692 - required: *693 - x-github-breaking-changes: *694 + properties: *690 + required: *691 + x-github-breaking-changes: *692 nullable: true label: title: Issue Event Label @@ -101710,7 +101174,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *328 + requested_team: *325 dismissed_review: title: Issue Event Dismissed Review type: object @@ -101775,7 +101239,7 @@ paths: required: - from - to - author_association: *228 + author_association: *225 lock_reason: type: string nullable: true @@ -101788,8 +101252,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 required: - id - node_id @@ -101974,8 +101438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *496 - - *497 + - *493 + - *494 - name: event_id in: path required: true @@ -101986,7 +101450,7 @@ paths: description: Response content: application/json: - schema: *695 + schema: *693 examples: default: value: @@ -102179,7 +101643,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *687 + '410': *685 '403': *29 x-github: githubCloudOnly: false @@ -102213,9 +101677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *496 - - *497 - - &697 + - *493 + - *494 + - &695 name: issue_number description: The number that identifies the issue. in: path @@ -102227,11 +101691,11 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: default: summary: Issue - value: *696 + value: *694 pinned_comment: summary: Issue with pinned comment value: @@ -102436,9 +101900,9 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *502 + '301': *499 '404': *6 - '410': *687 + '410': *685 '304': *37 x-github: githubCloudOnly: false @@ -102463,9 +101927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: false content: @@ -102593,15 +102057,15 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *696 + default: *694 '422': *15 '503': *200 '403': *29 - '301': *502 + '301': *499 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102629,9 +102093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: false content: @@ -102657,9 +102121,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *696 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102675,9 +102139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: content: application/json: @@ -102702,9 +102166,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *696 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102726,9 +102190,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: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - name: assignee in: path required: true @@ -102768,10 +102232,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *496 - - *497 - - *697 - - *238 + - *493 + - *494 + - *695 + - *235 - *17 - *19 responses: @@ -102781,13 +102245,13 @@ paths: application/json: schema: type: array - items: *688 + items: *686 examples: - default: *698 + default: *696 headers: Link: *47 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102816,9 +102280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: true content: @@ -102840,16 +102304,16 @@ paths: description: Response content: application/json: - schema: *688 + schema: *686 examples: - default: *689 + default: *687 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *687 + '410': *685 '422': *15 '404': *6 x-github: @@ -102877,9 +102341,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: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - *17 - *19 responses: @@ -102889,14 +102353,14 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *699 + default: *697 headers: Link: *47 - '301': *502 + '301': *499 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102924,9 +102388,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: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: true content: @@ -102948,17 +102412,17 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *696 + default: *694 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *502 + '301': *499 '403': *29 - '410': *687 + '410': *685 '422': *15 '404': *6 x-github: @@ -102989,9 +102453,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: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -103003,15 +102467,15 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *696 - '301': *502 + default: *694 + '301': *499 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *687 + '410': *685 x-github: triggersNotification: true githubCloudOnly: false @@ -103037,9 +102501,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: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - *17 - *19 responses: @@ -103049,14 +102513,14 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *699 + default: *697 headers: Link: *47 - '301': *502 + '301': *499 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103073,9 +102537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - *17 - *19 responses: @@ -103089,7 +102553,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &703 + - &701 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -103120,8 +102584,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 label: type: object properties: @@ -103143,7 +102607,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &702 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -103174,8 +102638,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 label: type: object properties: @@ -103263,8 +102727,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 assignee: *4 assigner: *4 required: @@ -103279,7 +102743,7 @@ paths: - performed_via_github_app - assignee - assigner - - &705 + - &703 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -103310,8 +102774,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 milestone: type: object properties: @@ -103330,7 +102794,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &706 + - &704 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -103361,8 +102825,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 milestone: type: object properties: @@ -103381,7 +102845,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &707 + - &705 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -103412,8 +102876,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 rename: type: object properties: @@ -103435,7 +102899,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &706 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -103466,10 +102930,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 review_requester: *4 - requested_team: *328 + requested_team: *325 requested_reviewer: *4 required: - review_requester @@ -103482,7 +102946,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &707 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -103513,10 +102977,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 review_requester: *4 - requested_team: *328 + requested_team: *325 requested_reviewer: *4 required: - review_requester @@ -103529,7 +102993,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &710 + - &708 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -103560,8 +103024,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 dismissed_review: type: object properties: @@ -103589,7 +103053,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &711 + - &709 title: Locked Issue Event description: Locked Issue Event type: object @@ -103620,8 +103084,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 lock_reason: type: string example: '"off-topic"' @@ -103637,7 +103101,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &712 + - &710 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -103668,8 +103132,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 project_card: type: object properties: @@ -103703,7 +103167,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &713 + - &711 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -103734,8 +103198,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 project_card: type: object properties: @@ -103769,7 +103233,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &714 + - &712 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -103800,8 +103264,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 project_card: type: object properties: @@ -103835,7 +103299,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &715 + - &713 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -103926,7 +103390,7 @@ paths: color: red headers: Link: *47 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103943,9 +103407,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: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - *17 - *19 responses: @@ -103955,9 +103419,9 @@ paths: application/json: schema: type: array - items: *700 + items: *698 examples: - default: &701 + default: &699 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -103992,9 +103456,9 @@ paths: color: green headers: Link: *47 - '301': *502 + '301': *499 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104023,9 +103487,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: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: true content: @@ -104095,9 +103559,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *700 + items: *698 examples: - default: *701 + default: *699 '400': *14 '403': *29 '404': *6 @@ -104133,9 +103597,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: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: true content: @@ -104200,9 +103664,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *700 + items: *698 examples: - default: *701 + default: *699 '400': *14 '403': *29 '404': *6 @@ -104233,10 +103697,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: - - *496 - - *497 - - *697 - - *403 + - *493 + - *494 + - *695 + - *400 responses: '204': description: Issue field value deleted successfully @@ -104261,9 +103725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - *17 - *19 responses: @@ -104273,9 +103737,9 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: &702 + default: &700 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -104293,9 +103757,9 @@ paths: default: false headers: Link: *47 - '301': *502 + '301': *499 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104311,9 +103775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: false content: @@ -104356,12 +103820,12 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *702 - '301': *502 + default: *700 + '301': *499 '404': *6 - '410': *687 + '410': *685 '422': *15 x-github: githubCloudOnly: false @@ -104378,9 +103842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: false content: @@ -104440,12 +103904,12 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *702 - '301': *502 + default: *700 + '301': *499 '404': *6 - '410': *687 + '410': *685 '422': *15 x-github: githubCloudOnly: false @@ -104462,15 +103926,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 responses: '204': description: Response - '301': *502 + '301': *499 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104489,9 +103953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - name: name in: path required: true @@ -104504,7 +103968,7 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: default: value: @@ -104515,9 +103979,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *502 + '301': *499 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104537,9 +104001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: false content: @@ -104567,7 +104031,7 @@ paths: '204': description: Response '403': *29 - '410': *687 + '410': *685 '404': *6 '422': *15 x-github: @@ -104585,9 +104049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 responses: '204': description: Response @@ -104617,20 +104081,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 responses: '200': description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *696 - '301': *502 + default: *694 + '301': *499 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104647,9 +104111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - 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. @@ -104675,13 +104139,13 @@ paths: application/json: schema: type: array - items: *610 + items: *607 examples: - default: *690 + default: *688 headers: Link: *47 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104699,9 +104163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: true content: @@ -104733,16 +104197,16 @@ paths: description: Response content: application/json: - schema: *610 + schema: *607 examples: - default: *611 + default: *608 '201': description: Response content: application/json: - schema: *610 + schema: *607 examples: - default: *611 + default: *608 '422': *15 x-github: githubCloudOnly: false @@ -104764,10 +104228,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *496 - - *497 - - *697 - - *691 + - *493 + - *494 + - *695 + - *689 responses: '204': description: Response @@ -104796,9 +104260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: true content: @@ -104820,9 +104284,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *696 + default: *694 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -104855,9 +104319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - *17 - *19 responses: @@ -104867,13 +104331,13 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *699 + default: *697 headers: Link: *47 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104901,9 +104365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: true content: @@ -104930,16 +104394,16 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *696 + default: *694 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *687 + '410': *685 '422': *15 '404': *6 x-github: @@ -104959,9 +104423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 requestBody: required: true content: @@ -104992,9 +104456,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *228 examples: - default: *696 + default: *694 '403': *29 '404': *6 '422': *7 @@ -105016,9 +104480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *496 - - *497 - - *697 + - *493 + - *494 + - *695 - *17 - *19 responses: @@ -105033,6 +104497,8 @@ paths: description: Timeline Event type: object anyOf: + - *701 + - *702 - *703 - *704 - *705 @@ -105044,8 +104510,6 @@ paths: - *711 - *712 - *713 - - *714 - - *715 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -105088,7 +104552,7 @@ paths: issue_url: type: string format: uri - author_association: *228 + author_association: *225 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -105098,16 +104562,16 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 - reactions: *229 + properties: *223 + required: *224 + reactions: *226 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *716 - required: *717 + properties: *714 + required: *715 nullable: true required: - event @@ -105139,7 +104603,7 @@ paths: properties: type: type: string - issue: *231 + issue: *228 required: - event - created_at @@ -105339,7 +104803,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *225 required: - event - id @@ -105362,7 +104826,7 @@ paths: type: string comments: type: array - items: &739 + items: &737 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -105457,7 +104921,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *225 _links: type: object properties: @@ -105541,7 +105005,7 @@ paths: enum: - line - file - reactions: *229 + reactions: *226 body_html: type: string example: '"

comment body

"' @@ -105577,7 +105041,7 @@ paths: type: string comments: type: array - items: *609 + items: *606 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -105608,8 +105072,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 assignee: *4 required: - id @@ -105652,8 +105116,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 assignee: *4 required: - id @@ -105696,8 +105160,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 state_reason: type: string nullable: true @@ -105866,7 +105330,7 @@ paths: headers: Link: *47 '404': *6 - '410': *687 + '410': *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105883,8 +105347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -105894,7 +105358,7 @@ paths: application/json: schema: type: array - items: &718 + items: &716 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -105960,8 +105424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -105997,9 +105461,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: &719 + default: &717 value: id: 1 key: ssh-rsa AAA... @@ -106033,9 +105497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *496 - - *497 - - &720 + - *493 + - *494 + - &718 name: key_id description: The unique identifier of the key. in: path @@ -106047,9 +105511,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: *719 + default: *717 '404': *6 x-github: githubCloudOnly: false @@ -106067,9 +105531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *496 - - *497 - - *720 + - *493 + - *494 + - *718 responses: '204': description: Response @@ -106089,8 +105553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -106100,9 +105564,9 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *702 + default: *700 headers: Link: *47 '404': *6 @@ -106123,8 +105587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -106160,9 +105624,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *227 examples: - default: &721 + default: &719 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -106194,8 +105658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *496 - - *497 + - *493 + - *494 - name: name in: path required: true @@ -106206,9 +105670,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *227 examples: - default: *721 + default: *719 '404': *6 x-github: githubCloudOnly: false @@ -106225,8 +105689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *496 - - *497 + - *493 + - *494 - name: name in: path required: true @@ -106265,7 +105729,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *227 examples: default: value: @@ -106291,8 +105755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *496 - - *497 + - *493 + - *494 - name: name in: path required: true @@ -106318,8 +105782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -106355,8 +105819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *496 - - *497 + - *493 + - *494 responses: '202': *39 '403': @@ -106384,8 +105848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -106411,9 +105875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *496 - - *497 - - *582 + - *493 + - *494 + - *579 responses: '200': description: Response @@ -106475,8 +105939,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true required: - _links @@ -106558,8 +106022,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -106624,8 +106088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -106659,9 +106123,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *612 + schema: *609 examples: - default: *722 + default: *720 '204': description: Response when already merged '404': @@ -106686,8 +106150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *496 - - *497 + - *493 + - *494 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -106728,12 +106192,12 @@ paths: application/json: schema: type: array - items: &723 + items: &721 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *439 - required: *440 + properties: *436 + required: *437 examples: default: value: @@ -106789,8 +106253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -106830,9 +106294,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *721 examples: - default: &724 + default: &722 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -106891,9 +106355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *496 - - *497 - - &725 + - *493 + - *494 + - &723 name: milestone_number description: The number that identifies the milestone. in: path @@ -106905,9 +106369,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *721 examples: - default: *724 + default: *722 '404': *6 x-github: githubCloudOnly: false @@ -106924,9 +106388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *496 - - *497 - - *725 + - *493 + - *494 + - *723 requestBody: required: false content: @@ -106964,9 +106428,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *721 examples: - default: *724 + default: *722 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106982,9 +106446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *496 - - *497 - - *725 + - *493 + - *494 + - *723 responses: '204': description: Response @@ -107005,9 +106469,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: - - *496 - - *497 - - *725 + - *493 + - *494 + - *723 - *17 - *19 responses: @@ -107017,9 +106481,9 @@ paths: application/json: schema: type: array - items: *230 + items: *227 examples: - default: *702 + default: *700 headers: Link: *47 x-github: @@ -107038,12 +106502,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: - - *496 - - *497 + - *493 + - *494 + - *724 + - *725 + - *235 - *726 - - *727 - - *238 - - *728 - *17 - *19 responses: @@ -107053,9 +106517,9 @@ paths: application/json: schema: type: array - items: *258 + items: *255 examples: - default: *729 + default: *727 headers: Link: *47 x-github: @@ -107079,8 +106543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: false content: @@ -107138,14 +106602,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: &730 + schema: &728 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -107270,7 +106734,7 @@ paths: - custom_404 - public examples: - default: &731 + default: &729 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -107311,8 +106775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -107366,9 +106830,9 @@ paths: description: Response content: application/json: - schema: *730 + schema: *728 examples: - default: *731 + default: *729 '422': *15 '409': *121 x-github: @@ -107391,8 +106855,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -107499,8 +106963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -107526,8 +106990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -107537,7 +107001,7 @@ paths: application/json: schema: type: array - items: &732 + items: &730 title: Page Build description: Page Build type: object @@ -107631,8 +107095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *496 - - *497 + - *493 + - *494 responses: '201': description: Response @@ -107677,16 +107141,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *732 + schema: *730 examples: - default: &733 + default: &731 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -107734,8 +107198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *496 - - *497 + - *493 + - *494 - name: build_id in: path required: true @@ -107746,9 +107210,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *730 examples: - default: *733 + default: *731 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107768,8 +107232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -107874,9 +107338,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: - - *496 - - *497 - - &734 + - *493 + - *494 + - &732 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -107934,9 +107398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *496 - - *497 - - *734 + - *493 + - *494 + - *732 responses: '204': *130 '404': *6 @@ -107963,8 +107427,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -108195,7 +107659,7 @@ paths: description: Empty response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -108222,8 +107686,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Private vulnerability reporting status @@ -108260,8 +107724,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: - - *496 - - *497 + - *493 + - *494 responses: '204': *130 '422': *14 @@ -108282,8 +107746,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: - - *496 - - *497 + - *493 + - *494 responses: '204': *130 '422': *14 @@ -108305,8 +107769,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -108316,7 +107780,7 @@ paths: type: array items: *160 examples: - default: *735 + default: *733 '403': *29 '404': *6 x-github: @@ -108338,8 +107802,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -108355,7 +107819,7 @@ paths: required: - properties examples: - default: *736 + default: *734 responses: '204': description: No Content when custom property values are successfully created @@ -108393,8 +107857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *496 - - *497 + - *493 + - *494 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -108454,9 +107918,9 @@ paths: application/json: schema: type: array - items: *616 + items: *613 examples: - default: *737 + default: *735 headers: Link: *47 '304': *37 @@ -108488,8 +107952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -108554,7 +108018,7 @@ paths: description: Response content: application/json: - schema: &741 + schema: &739 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -108665,8 +108129,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *439 - required: *440 + properties: *436 + required: *437 nullable: true active_lock_reason: type: string @@ -108709,7 +108173,7 @@ paths: items: *4 requested_teams: type: array - items: *480 + items: *477 head: type: object properties: @@ -108747,14 +108211,14 @@ paths: _links: type: object properties: - comments: *441 - commits: *441 - statuses: *441 - html: *441 - issue: *441 - review_comments: *441 - review_comment: *441 - self: *441 + comments: *438 + commits: *438 + statuses: *438 + html: *438 + issue: *438 + review_comments: *438 + review_comment: *438 + self: *438 required: - comments - commits @@ -108764,8 +108228,8 @@ paths: - review_comments - review_comment - self - author_association: *228 - auto_merge: *738 + author_association: *225 + auto_merge: *736 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -108951,7 +108415,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &742 + default: &740 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -109489,8 +108953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *496 - - *497 + - *493 + - *494 - name: sort in: query required: false @@ -109509,7 +108973,7 @@ paths: enum: - asc - desc - - *238 + - *235 - *17 - *19 responses: @@ -109519,9 +108983,9 @@ paths: application/json: schema: type: array - items: *739 + items: *737 examples: - default: &744 + default: &742 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -109598,17 +109062,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: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 responses: '200': description: Response content: application/json: - schema: *739 + schema: *737 examples: - default: &740 + default: &738 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -109683,9 +109147,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: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 requestBody: required: true content: @@ -109707,9 +109171,9 @@ paths: description: Response content: application/json: - schema: *739 + schema: *737 examples: - default: *740 + default: *738 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109725,9 +109189,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: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 responses: '204': description: Response @@ -109748,9 +109212,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: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 - 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. @@ -109776,9 +109240,9 @@ paths: application/json: schema: type: array - items: *610 + items: *607 examples: - default: *690 + default: *688 headers: Link: *47 '404': *6 @@ -109799,9 +109263,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: - - *496 - - *497 - - *247 + - *493 + - *494 + - *244 requestBody: required: true content: @@ -109833,16 +109297,16 @@ paths: description: Reaction exists content: application/json: - schema: *610 + schema: *607 examples: - default: *611 + default: *608 '201': description: Reaction created content: application/json: - schema: *610 + schema: *607 examples: - default: *611 + default: *608 '422': *15 x-github: githubCloudOnly: false @@ -109864,10 +109328,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *496 - - *497 - - *247 - - *691 + - *493 + - *494 + - *244 + - *689 responses: '204': description: Response @@ -109910,9 +109374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *496 - - *497 - - &743 + - *493 + - *494 + - &741 name: pull_number description: The number that identifies the pull request. in: path @@ -109925,9 +109389,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *741 + schema: *739 examples: - default: *742 + default: *740 '304': *37 '404': *6 '406': @@ -109962,9 +109426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 requestBody: required: false content: @@ -110006,9 +109470,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *739 examples: - default: *742 + default: *740 '422': *15 '403': *29 x-github: @@ -110030,9 +109494,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: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 requestBody: required: true content: @@ -110092,17 +109556,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *409 + schema: *406 examples: - default: *599 + default: *596 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *409 + schema: *406 examples: - default: *599 + default: *596 '401': *25 '403': *29 '404': *6 @@ -110132,10 +109596,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: - - *496 - - *497 - - *743 - - *255 + - *493 + - *494 + - *741 + - *252 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -110145,7 +109609,7 @@ paths: enum: - asc - desc - - *238 + - *235 - *17 - *19 responses: @@ -110155,9 +109619,9 @@ paths: application/json: schema: type: array - items: *739 + items: *737 examples: - default: *744 + default: *742 headers: Link: *47 x-github: @@ -110190,9 +109654,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: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 requestBody: required: true content: @@ -110297,7 +109761,7 @@ paths: description: Response content: application/json: - schema: *739 + schema: *737 examples: example-for-a-multi-line-comment: value: @@ -110385,10 +109849,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: - - *496 - - *497 - - *743 - - *247 + - *493 + - *494 + - *741 + - *244 requestBody: required: true content: @@ -110410,7 +109874,7 @@ paths: description: Response content: application/json: - schema: *739 + schema: *737 examples: default: value: @@ -110496,9 +109960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 - *17 - *19 responses: @@ -110508,9 +109972,9 @@ paths: application/json: schema: type: array - items: *612 + items: *609 examples: - default: *745 + default: *743 headers: Link: *47 x-github: @@ -110540,9 +110004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 - *17 - *19 responses: @@ -110552,7 +110016,7 @@ paths: application/json: schema: type: array - items: *625 + items: *622 examples: default: value: @@ -110590,9 +110054,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: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 responses: '204': description: Response if pull request has been merged @@ -110615,9 +110079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 requestBody: required: false content: @@ -110728,9 +110192,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: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 responses: '200': description: Response @@ -110746,7 +110210,7 @@ paths: items: *4 teams: type: array - items: *328 + items: *325 required: - users - teams @@ -110805,9 +110269,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: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 requestBody: required: false content: @@ -110844,7 +110308,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *613 examples: default: value: @@ -111380,9 +110844,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: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 requestBody: required: true content: @@ -111416,7 +110880,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *613 examples: default: value: @@ -111932,9 +111396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 - *17 - *19 responses: @@ -111944,7 +111408,7 @@ paths: application/json: schema: type: array - items: &746 + items: &744 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -112013,7 +111477,7 @@ paths: type: string body_text: type: string - author_association: *228 + author_association: *225 required: - id - node_id @@ -112095,9 +111559,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: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 requestBody: required: false content: @@ -112183,9 +111647,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *744 examples: - default: &748 + default: &746 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -112248,10 +111712,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: - - *496 - - *497 - - *743 - - &747 + - *493 + - *494 + - *741 + - &745 name: review_id description: The unique identifier of the review. in: path @@ -112263,9 +111727,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *744 examples: - default: &749 + default: &747 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -112324,10 +111788,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: - - *496 - - *497 - - *743 - - *747 + - *493 + - *494 + - *741 + - *745 requestBody: required: true content: @@ -112350,7 +111814,7 @@ paths: description: Response content: application/json: - schema: *746 + schema: *744 examples: default: value: @@ -112412,18 +111876,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: - - *496 - - *497 - - *743 - - *747 + - *493 + - *494 + - *741 + - *745 responses: '200': description: Response content: application/json: - schema: *746 + schema: *744 examples: - default: *748 + default: *746 '422': *7 '404': *6 x-github: @@ -112450,10 +111914,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: - - *496 - - *497 - - *743 - - *747 + - *493 + - *494 + - *741 + - *745 - *17 - *19 responses: @@ -112532,13 +111996,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *228 + author_association: *225 _links: type: object properties: - self: *441 - html: *441 - pull_request: *441 + self: *438 + html: *438 + pull_request: *438 required: - self - html @@ -112547,7 +112011,7 @@ paths: type: string body_html: type: string - reactions: *229 + reactions: *226 side: description: The side of the first line of the range for a multi-line comment. @@ -112688,10 +112152,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: - - *496 - - *497 - - *743 - - *747 + - *493 + - *494 + - *741 + - *745 requestBody: required: true content: @@ -112719,7 +112183,7 @@ paths: description: Response content: application/json: - schema: *746 + schema: *744 examples: default: value: @@ -112782,10 +112246,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: - - *496 - - *497 - - *743 - - *747 + - *493 + - *494 + - *741 + - *745 requestBody: required: true content: @@ -112820,9 +112284,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *744 examples: - default: *749 + default: *747 '404': *6 '422': *7 '403': *29 @@ -112844,9 +112308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *496 - - *497 - - *743 + - *493 + - *494 + - *741 requestBody: required: false content: @@ -112909,8 +112373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *496 - - *497 + - *493 + - *494 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -112923,9 +112387,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *748 examples: - default: &751 + default: &749 value: type: file encoding: base64 @@ -112967,8 +112431,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: - - *496 - - *497 + - *493 + - *494 - name: dir description: The alternate path to look for a README file in: path @@ -112988,9 +112452,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *748 examples: - default: *751 + default: *749 '404': *6 '422': *15 x-github: @@ -113012,8 +112476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -113023,7 +112487,7 @@ paths: application/json: schema: type: array - items: *752 + items: *750 examples: default: value: @@ -113117,8 +112581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -113194,9 +112658,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *750 examples: - default: &756 + default: &754 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -113301,9 +112765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *496 - - *497 - - &754 + - *493 + - *494 + - &752 name: asset_id description: The unique identifier of the asset. in: path @@ -113315,9 +112779,9 @@ paths: description: Response content: application/json: - schema: *753 + schema: *751 examples: - default: &755 + default: &753 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 @@ -113352,7 +112816,7 @@ paths: type: User site_admin: false '404': *6 - '302': *629 + '302': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113368,9 +112832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *496 - - *497 - - *754 + - *493 + - *494 + - *752 requestBody: required: false content: @@ -113398,9 +112862,9 @@ paths: description: Response content: application/json: - schema: *753 + schema: *751 examples: - default: *755 + default: *753 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113416,9 +112880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *496 - - *497 - - *754 + - *493 + - *494 + - *752 responses: '204': description: Response @@ -113443,8 +112907,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -113529,16 +112993,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *752 + schema: *750 examples: - default: *756 + default: *754 '404': *6 x-github: githubCloudOnly: false @@ -113556,8 +113020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *496 - - *497 + - *493 + - *494 - name: tag description: tag parameter in: path @@ -113570,9 +113034,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *750 examples: - default: *756 + default: *754 '404': *6 x-github: githubCloudOnly: false @@ -113594,9 +113058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *496 - - *497 - - &757 + - *493 + - *494 + - &755 name: release_id description: The unique identifier of the release. in: path @@ -113610,9 +113074,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: *752 + schema: *750 examples: - default: *756 + default: *754 '401': description: Unauthorized x-github: @@ -113630,9 +113094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *496 - - *497 - - *757 + - *493 + - *494 + - *755 requestBody: required: false content: @@ -113696,9 +113160,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *750 examples: - default: *756 + default: *754 '404': description: Not Found if the discussion category name is invalid content: @@ -113719,9 +113183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *496 - - *497 - - *757 + - *493 + - *494 + - *755 responses: '204': description: Response @@ -113742,9 +113206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *496 - - *497 - - *757 + - *493 + - *494 + - *755 - *17 - *19 responses: @@ -113754,7 +113218,7 @@ paths: application/json: schema: type: array - items: *753 + items: *751 examples: default: value: @@ -113836,9 +113300,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: - - *496 - - *497 - - *757 + - *493 + - *494 + - *755 - name: name in: query required: true @@ -113864,7 +113328,7 @@ paths: description: Response for successful upload content: application/json: - schema: *753 + schema: *751 examples: response-for-successful-upload: value: @@ -113919,9 +113383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *496 - - *497 - - *757 + - *493 + - *494 + - *755 - 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. @@ -113945,9 +113409,9 @@ paths: application/json: schema: type: array - items: *610 + items: *607 examples: - default: *690 + default: *688 headers: Link: *47 '404': *6 @@ -113968,9 +113432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *496 - - *497 - - *757 + - *493 + - *494 + - *755 requestBody: required: true content: @@ -114000,16 +113464,16 @@ paths: description: Reaction exists content: application/json: - schema: *610 + schema: *607 examples: - default: *611 + default: *608 '201': description: Reaction created content: application/json: - schema: *610 + schema: *607 examples: - default: *611 + default: *608 '422': *15 x-github: githubCloudOnly: false @@ -114031,10 +113495,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *496 - - *497 - - *757 - - *691 + - *493 + - *494 + - *755 + - *689 responses: '204': description: Response @@ -114058,9 +113522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *496 - - *497 - - *548 + - *493 + - *494 + - *545 - *17 - *19 responses: @@ -114077,7 +113541,7 @@ paths: oneOf: - allOf: - *174 - - &758 + - &756 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -114098,67 +113562,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *175 - - *758 + - *756 - allOf: - *176 - - *758 + - *756 - allOf: - *177 - - *758 + - *756 - allOf: - - *759 - - *758 + - *757 + - *756 - allOf: - *178 - - *758 + - *756 - allOf: - *179 - - *758 + - *756 - allOf: - *180 - - *758 + - *756 - allOf: - *181 - - *758 + - *756 - allOf: - *182 - - *758 + - *756 - allOf: - *183 - - *758 + - *756 - allOf: - *184 - - *758 + - *756 - allOf: - *185 - - *758 + - *756 - allOf: - *186 - - *758 + - *756 - allOf: - *187 - - *758 + - *756 - allOf: - *188 - - *758 + - *756 - allOf: - *189 - - *758 + - *756 - allOf: - *190 - - *758 + - *756 - allOf: - *191 - - *758 + - *756 - allOf: - *192 - - *758 + - *756 - allOf: - *193 - - *758 + - *756 - allOf: - *194 - - *758 + - *756 examples: default: value: @@ -114197,8 +113661,8 @@ paths: category: repos subcategory: rules parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 - name: includes_parents @@ -114209,7 +113673,7 @@ paths: schema: type: boolean default: true - - *760 + - *758 responses: '200': description: Response @@ -114264,8 +113728,8 @@ paths: category: repos subcategory: rules parameters: - - *496 - - *497 + - *493 + - *494 requestBody: description: Request body required: true @@ -114294,7 +113758,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *761 + items: *759 required: - name - enforcement @@ -114327,7 +113791,7 @@ paths: application/json: schema: *195 examples: - default: &771 + default: &769 value: id: 42 name: super cool ruleset @@ -114375,13 +113839,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *496 - - *497 - - *762 + - *493 + - *494 + - *760 - *107 + - *761 + - *762 - *763 - - *764 - - *765 - *17 - *19 responses: @@ -114389,9 +113853,9 @@ paths: description: Response content: application/json: - schema: *766 + schema: *764 examples: - default: *767 + default: *765 '404': *6 '500': *40 x-github: @@ -114412,17 +113876,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *496 - - *497 - - *768 + - *493 + - *494 + - *766 responses: '200': description: Response content: application/json: - schema: *769 + schema: *767 examples: - default: *770 + default: *768 '404': *6 '500': *40 x-github: @@ -114450,8 +113914,8 @@ paths: category: repos subcategory: rules parameters: - - *496 - - *497 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -114473,7 +113937,7 @@ paths: application/json: schema: *195 examples: - default: *771 + default: *769 '404': *6 '500': *40 put: @@ -114491,8 +113955,8 @@ paths: category: repos subcategory: rules parameters: - - *496 - - *497 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -114526,7 +113990,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *761 + items: *759 examples: default: value: @@ -114556,7 +114020,7 @@ paths: application/json: schema: *195 examples: - default: *771 + default: *769 '404': *6 '422': *15 '500': *40 @@ -114575,8 +114039,8 @@ paths: category: repos subcategory: rules parameters: - - *496 - - *497 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -114599,8 +114063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 - name: ruleset_id @@ -114618,7 +114082,7 @@ paths: type: array items: *199 examples: - default: *460 + default: *457 '404': *6 '500': *40 x-github: @@ -114637,8 +114101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *496 - - *497 + - *493 + - *494 - name: ruleset_id description: The ID of the ruleset. in: path @@ -114656,7 +114120,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: default: value: @@ -114711,26 +114175,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: - - *496 - - *497 + - *493 + - *494 + - *459 + - *460 + - *461 - *462 - *463 - *464 - *465 - *466 - - *467 - - *468 - - *469 - *112 - *19 - *17 - - *772 - - *773 + - *770 + - *771 + - *467 + - *468 + - *469 - *470 - *471 - - *472 - - *473 - - *474 responses: '200': description: Response @@ -114738,7 +114202,7 @@ paths: application/json: schema: type: array - items: &777 + items: &775 type: object properties: number: *131 @@ -114757,8 +114221,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *774 - resolution: *775 + state: *772 + resolution: *773 resolved_at: type: string format: date-time @@ -114864,7 +114328,7 @@ paths: pull request. ' - oneOf: *776 + oneOf: *774 nullable: true has_more_locations: type: boolean @@ -115028,16 +114492,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: - - *496 - - *497 - - *576 - - *473 + - *493 + - *494 + - *573 + - *470 responses: '200': description: Response content: application/json: - schema: *777 + schema: *775 examples: default: value: @@ -115091,9 +114555,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: - - *496 - - *497 - - *576 + - *493 + - *494 + - *573 requestBody: required: true content: @@ -115101,8 +114565,8 @@ paths: schema: type: object properties: - state: *774 - resolution: *775 + state: *772 + resolution: *773 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -115146,7 +114610,7 @@ paths: description: Response content: application/json: - schema: *777 + schema: *775 examples: default: value: @@ -115245,9 +114709,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: - - *496 - - *497 - - *576 + - *493 + - *494 + - *573 - *19 - *17 responses: @@ -115258,7 +114722,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &965 + items: &963 type: object properties: type: @@ -115284,6 +114748,8 @@ paths: example: commit details: oneOf: + - *776 + - *777 - *778 - *779 - *780 @@ -115295,8 +114761,6 @@ paths: - *786 - *787 - *788 - - *789 - - *790 examples: default: value: @@ -115382,8 +114846,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -115391,14 +114855,14 @@ paths: schema: type: object properties: - reason: &792 + reason: &790 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *791 + placeholder_id: *789 required: - reason - placeholder_id @@ -115415,7 +114879,7 @@ paths: schema: type: object properties: - reason: *792 + reason: *790 expire_at: type: string format: date-time @@ -115461,8 +114925,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: - - *496 - - *497 + - *493 + - *494 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -115477,7 +114941,7 @@ paths: properties: incremental_scans: type: array - items: &793 + items: &791 description: Information on a single scan performed by secret scanning on the repository type: object @@ -115508,15 +114972,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *793 + items: *791 backfill_scans: type: array - items: *793 + items: *791 custom_pattern_backfill_scans: type: array items: allOf: - - *793 + - *791 - type: object properties: pattern_name: @@ -115529,7 +114993,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *793 + items: *791 examples: default: value: @@ -115594,8 +115058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *496 - - *497 + - *493 + - *494 - *112 - name: sort description: The property to sort the results by. @@ -115639,9 +115103,9 @@ paths: application/json: schema: type: array - items: *794 + items: *792 examples: - default: *795 + default: *793 '400': *14 '404': *6 x-github: @@ -115664,8 +115128,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -115738,7 +115202,7 @@ paths: login: type: string description: The username of the user credited. - type: *479 + type: *476 required: - login - type @@ -115825,9 +115289,9 @@ paths: description: Response content: application/json: - schema: *794 + schema: *792 examples: - default: &797 + default: &795 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -116066,8 +115530,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: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -116171,7 +115635,7 @@ paths: description: Response content: application/json: - schema: *794 + schema: *792 examples: default: value: @@ -116324,17 +115788,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: - - *496 - - *497 - - *796 + - *493 + - *494 + - *794 responses: '200': description: Response content: application/json: - schema: *794 + schema: *792 examples: - default: *797 + default: *795 '403': *29 '404': *6 x-github: @@ -116358,9 +115822,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: - - *496 - - *497 - - *796 + - *493 + - *494 + - *794 requestBody: required: true content: @@ -116433,7 +115897,7 @@ paths: login: type: string description: The username of the user credited. - type: *479 + type: *476 required: - login - type @@ -116519,17 +115983,17 @@ paths: description: Response content: application/json: - schema: *794 + schema: *792 examples: - default: *797 - add_credit: *797 + default: *795 + add_credit: *795 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *267 + schema: *264 examples: invalid_state_transition: value: @@ -116560,9 +116024,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: - - *496 - - *497 - - *796 + - *493 + - *494 + - *794 responses: '202': *39 '400': *14 @@ -116589,17 +116053,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: - - *496 - - *497 - - *796 + - *493 + - *494 + - *794 responses: '202': description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: *503 + default: *500 '400': *14 '422': *15 '403': *29 @@ -116625,8 +116089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -116725,8 +116189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -116735,7 +116199,7 @@ paths: application/json: schema: type: array - items: &798 + items: &796 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -116768,8 +116232,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -116845,8 +116309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -116942,8 +116406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -117097,8 +116561,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: - - *496 - - *497 + - *493 + - *494 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -117108,7 +116572,7 @@ paths: application/json: schema: type: array - items: *798 + items: *796 examples: default: value: @@ -117141,8 +116605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *496 - - *497 + - *493 + - *494 - name: sha in: path required: true @@ -117196,7 +116660,7 @@ paths: description: Response content: application/json: - schema: *799 + schema: *797 examples: default: value: @@ -117250,8 +116714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -117263,7 +116727,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -117283,14 +116747,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &800 + schema: &798 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -117358,8 +116822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: false content: @@ -117385,7 +116849,7 @@ paths: description: Response content: application/json: - schema: *800 + schema: *798 examples: default: value: @@ -117412,8 +116876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -117433,8 +116897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -117513,8 +116977,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *496 - - *497 + - *493 + - *494 - name: ref in: path required: true @@ -117550,8 +117014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *496 - - *497 + - *493 + - *494 - *17 - *19 responses: @@ -117561,9 +117025,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - default: *419 + default: *416 headers: Link: *47 '404': *6 @@ -117583,8 +117047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *496 - - *497 + - *493 + - *494 - *19 - *17 responses: @@ -117592,7 +117056,7 @@ paths: description: Response content: application/json: - schema: &801 + schema: &799 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -117604,7 +117068,7 @@ paths: required: - names examples: - default: &802 + default: &800 value: names: - octocat @@ -117627,8 +117091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -117659,9 +117123,9 @@ paths: description: Response content: application/json: - schema: *801 + schema: *799 examples: - default: *802 + default: *800 '404': *6 '422': *7 x-github: @@ -117682,9 +117146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *496 - - *497 - - &803 + - *493 + - *494 + - &801 name: per description: The time frame to display results for. in: query @@ -117713,7 +117177,7 @@ paths: example: 128 clones: type: array - items: &804 + items: &802 title: Traffic type: object properties: @@ -117800,8 +117264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -117891,8 +117355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *496 - - *497 + - *493 + - *494 responses: '200': description: Response @@ -117952,9 +117416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *496 - - *497 - - *803 + - *493 + - *494 + - *801 responses: '200': description: Response @@ -117973,7 +117437,7 @@ paths: example: 3782 views: type: array - items: *804 + items: *802 required: - uniques - count @@ -118050,8 +117514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *496 - - *497 + - *493 + - *494 requestBody: required: true content: @@ -118087,7 +117551,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *289 examples: default: value: @@ -118331,8 +117795,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: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -118355,8 +117819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -118378,8 +117842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -118405,8 +117869,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *496 - - *497 + - *493 + - *494 - name: ref in: path required: true @@ -118498,9 +117962,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: *503 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118541,7 +118005,7 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: default: value: @@ -118651,7 +118115,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &812 + - &810 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -118660,7 +118124,7 @@ paths: schema: type: string example: members - - &817 + - &815 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -118671,7 +118135,7 @@ paths: default: 1 format: int32 example: 1 - - &818 + - &816 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -118713,7 +118177,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &807 + items: &805 allOf: - type: object required: @@ -118788,7 +118252,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: &819 + meta: &817 type: object description: The metadata associated with the creation/updates to the user. @@ -118848,30 +118312,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &808 + '400': &806 description: Bad request content: application/json: - schema: *805 + schema: *803 application/scim+json: - schema: *805 - '401': *806 - '403': &809 + schema: *803 + '401': *804 + '403': &807 description: Permission denied - '429': &810 + '429': &808 description: Too many requests content: application/json: - schema: *805 + schema: *803 application/scim+json: - schema: *805 - '500': &811 + schema: *803 + '500': &809 description: Internal server error content: application/json: - schema: *805 + schema: *803 application/scim+json: - schema: *805 + schema: *803 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118895,7 +118359,7 @@ paths: required: true content: application/json: - schema: &815 + schema: &813 type: object required: - schemas @@ -118955,9 +118419,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *807 + schema: *805 examples: - group: &813 + group: &811 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -118976,13 +118440,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': *808 - '401': *806 - '403': *809 - '409': &816 + '400': *806 + '401': *804 + '403': *807 + '409': &814 description: Duplicate record detected - '429': *810 - '500': *811 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118999,7 +118463,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: - - &814 + - &812 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -119007,22 +118471,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *812 + - *810 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *807 + schema: *805 examples: - default: *813 - '400': *808 - '401': *806 - '403': *809 + default: *811 + '400': *806 + '401': *804 + '403': *807 '404': *6 - '429': *810 - '500': *811 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119041,13 +118505,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: - - *814 + - *812 - *41 requestBody: required: true content: application/json: - schema: *815 + schema: *813 examples: group: summary: Group @@ -119073,17 +118537,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *807 + schema: *805 examples: - group: *813 - groupWithMembers: *813 - '400': *808 - '401': *806 - '403': *809 + group: *811 + groupWithMembers: *811 + '400': *806 + '401': *804 + '403': *807 '404': *6 - '409': *816 - '429': *810 - '500': *811 + '409': *814 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119107,13 +118571,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: - - *814 + - *812 - *41 requestBody: required: true content: application/json: - schema: &826 + schema: &824 type: object required: - Operations @@ -119173,17 +118637,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *807 + schema: *805 examples: - updateGroup: *813 - addMembers: *813 - '400': *808 - '401': *806 - '403': *809 + updateGroup: *811 + addMembers: *811 + '400': *806 + '401': *804 + '403': *807 '404': *6 - '409': *816 - '429': *810 - '500': *811 + '409': *814 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119199,17 +118663,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: - - *814 + - *812 - *41 responses: '204': description: Group was deleted, no content - '400': *808 - '401': *806 - '403': *809 + '400': *806 + '401': *804 + '403': *807 '404': *6 - '429': *810 - '500': *811 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119243,8 +118707,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *817 - - *818 + - *815 + - *816 - *41 responses: '200': @@ -119277,7 +118741,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &821 + items: &819 allOf: - type: object required: @@ -119356,7 +118820,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &820 + roles: &818 type: array description: The roles assigned to the user. items: @@ -119412,7 +118876,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *819 + meta: *817 startIndex: type: integer description: A starting index for the returned page @@ -119449,11 +118913,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *808 - '401': *806 - '403': *809 - '429': *810 - '500': *811 + '400': *806 + '401': *804 + '403': *807 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119477,7 +118941,7 @@ paths: required: true content: application/json: - schema: &824 + schema: &822 type: object required: - schemas @@ -119559,9 +119023,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *820 + roles: *818 examples: - user: &825 + user: &823 summary: User value: schemas: @@ -119608,9 +119072,9 @@ paths: description: User has been created content: application/scim+json: - schema: *821 + schema: *819 examples: - user: &822 + user: &820 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -119636,13 +119100,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: *822 - '400': *808 - '401': *806 - '403': *809 - '409': *816 - '429': *810 - '500': *811 + enterpriseOwner: *820 + '400': *806 + '401': *804 + '403': *807 + '409': *814 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119659,7 +119123,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: - - &823 + - &821 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -119672,15 +119136,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *821 + schema: *819 examples: - default: *822 - '400': *808 - '401': *806 - '403': *809 + default: *820 + '400': *806 + '401': *804 + '403': *807 '404': *6 - '429': *810 - '500': *811 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119731,30 +119195,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: - - *823 + - *821 - *41 requestBody: required: true content: application/json: - schema: *824 + schema: *822 examples: - user: *825 + user: *823 responses: '200': description: User was updated content: application/scim+json: - schema: *821 + schema: *819 examples: - user: *822 - '400': *808 - '401': *806 - '403': *809 + user: *820 + '400': *806 + '401': *804 + '403': *807 '404': *6 - '409': *816 - '429': *810 - '500': *811 + '409': *814 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119795,13 +119259,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: - - *823 + - *821 - *41 requestBody: required: true content: application/json: - schema: *826 + schema: *824 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -119841,18 +119305,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *821 + schema: *819 examples: - userMultiValuedProperties: *822 - userSingleValuedProperties: *822 - disableUser: *822 - '400': *808 - '401': *806 - '403': *809 + userMultiValuedProperties: *820 + userSingleValuedProperties: *820 + disableUser: *820 + '400': *806 + '401': *804 + '403': *807 '404': *6 - '409': *816 - '429': *810 - '500': *811 + '409': *814 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119872,17 +119336,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: - - *823 + - *821 - *41 responses: '204': description: User was deleted, no content - '400': *808 - '401': *806 - '403': *809 + '400': *806 + '401': *804 + '403': *807 '404': *6 - '429': *810 - '500': *811 + '429': *808 + '500': *809 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119969,7 +119433,7 @@ paths: example: 1 Resources: type: array - items: &827 + items: &825 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -120200,22 +119664,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &828 + '404': &826 description: Resource not found content: application/json: - schema: *805 + schema: *803 application/scim+json: - schema: *805 - '403': &829 + schema: *803 + '403': &827 description: Forbidden content: application/json: - schema: *805 + schema: *803 application/scim+json: - schema: *805 - '400': *808 - '429': *810 + schema: *803 + '400': *806 + '429': *808 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -120241,9 +119705,9 @@ paths: description: Response content: application/scim+json: - schema: *827 + schema: *825 examples: - default: &830 + default: &828 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -120266,17 +119730,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *828 - '403': *829 - '500': *811 + '404': *826 + '403': *827 + '500': *809 '409': description: Conflict content: application/json: - schema: *805 + schema: *803 application/scim+json: - schema: *805 - '400': *808 + schema: *803 + '400': *806 requestBody: required: true content: @@ -120374,17 +119838,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *823 + - *821 responses: '200': description: Response content: application/scim+json: - schema: *827 + schema: *825 examples: - default: *830 - '404': *828 - '403': *829 + default: *828 + '404': *826 + '403': *827 '304': *37 x-github: githubCloudOnly: true @@ -120408,18 +119872,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *823 + - *821 responses: '200': description: Response content: application/scim+json: - schema: *827 + schema: *825 examples: - default: *830 + default: *828 '304': *37 - '404': *828 - '403': *829 + '404': *826 + '403': *827 requestBody: required: true content: @@ -120532,19 +119996,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *823 + - *821 responses: '200': description: Response content: application/scim+json: - schema: *827 + schema: *825 examples: - default: *830 + default: *828 '304': *37 - '404': *828 - '403': *829 - '400': *808 + '404': *826 + '403': *827 + '400': *806 '429': description: Response content: @@ -120635,12 +120099,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *823 + - *821 responses: '204': description: Response - '404': *828 - '403': *829 + '404': *826 + '403': *827 '304': *37 x-github: githubCloudOnly: true @@ -120758,7 +120222,7 @@ paths: html_url: type: string format: uri - repository: *292 + repository: *289 score: type: number file_size: @@ -120776,7 +120240,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &831 + text_matches: &829 title: Search Result Text Matches type: array items: @@ -120939,7 +120403,7 @@ paths: enum: - author-date - committer-date - - &832 + - &830 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 @@ -121010,7 +120474,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *546 + properties: *543 nullable: true comment_count: type: integer @@ -121030,7 +120494,7 @@ paths: url: type: string format: uri - verification: *673 + verification: *670 required: - author - committer @@ -121049,7 +120513,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *546 + properties: *543 nullable: true parents: type: array @@ -121062,12 +120526,12 @@ paths: type: string sha: type: string - repository: *292 + repository: *289 score: type: number node_id: type: string - text_matches: *831 + text_matches: *829 required: - sha - node_id @@ -121260,7 +120724,7 @@ paths: - interactions - created - updated - - *832 + - *830 - *17 - *19 - name: advanced_search @@ -121374,11 +120838,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: type: string state_reason: @@ -121395,8 +120859,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *439 - required: *440 + properties: *436 + required: *437 nullable: true comments: type: integer @@ -121410,7 +120874,7 @@ paths: type: string format: date-time nullable: true - text_matches: *831 + text_matches: *829 pull_request: type: object properties: @@ -121443,7 +120907,7 @@ paths: type: string score: type: number - author_association: *228 + author_association: *225 draft: type: boolean repository: *80 @@ -121454,7 +120918,7 @@ paths: timeline_url: type: string format: uri - type: *404 + type: *401 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -121464,17 +120928,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - reactions: *229 + reactions: *226 required: - assignee - closed_at @@ -121726,7 +121190,7 @@ paths: enum: - created - updated - - *832 + - *830 - *17 - *19 responses: @@ -121770,7 +121234,7 @@ paths: nullable: true score: type: number - text_matches: *831 + text_matches: *829 required: - id - node_id @@ -121856,7 +121320,7 @@ paths: - forks - help-wanted-issues - updated - - *832 + - *830 - *17 - *19 responses: @@ -122084,8 +121548,8 @@ paths: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true permissions: type: object @@ -122104,7 +121568,7 @@ paths: - admin - pull - push - text_matches: *831 + text_matches: *829 temp_clone_token: type: string allow_merge_commit: @@ -122405,7 +121869,7 @@ paths: type: string format: uri nullable: true - text_matches: *831 + text_matches: *829 related: type: array nullable: true @@ -122598,7 +122062,7 @@ paths: - followers - repositories - joined - - *832 + - *830 - *17 - *19 responses: @@ -122702,7 +122166,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *831 + text_matches: *829 blog: type: string nullable: true @@ -122781,7 +122245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &835 + - &833 name: team_id description: The unique identifier of the team. in: path @@ -122793,9 +122257,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -122822,7 +122286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *835 + - *833 requestBody: required: true content: @@ -122885,16 +122349,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '201': description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '404': *6 '422': *15 '403': *29 @@ -122922,7 +122386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *835 + - *833 responses: '204': description: Response @@ -122951,7 +122415,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *835 + - *833 - *17 - *19 responses: @@ -122961,9 +122425,9 @@ paths: application/json: schema: type: array - items: *398 + items: *395 examples: - default: *399 + default: *396 headers: Link: *47 x-github: @@ -122989,7 +122453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *835 + - *833 - name: role description: Filters members returned by their role in the team. in: query @@ -123012,7 +122476,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '404': *6 @@ -123040,7 +122504,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *835 + - *833 - *148 responses: '204': @@ -123077,7 +122541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *835 + - *833 - *148 responses: '204': @@ -123117,7 +122581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *835 + - *833 - *148 responses: '204': @@ -123154,16 +122618,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: - - *835 + - *833 - *148 responses: '200': description: Response content: application/json: - schema: *495 + schema: *492 examples: - response-if-user-is-a-team-maintainer: *836 + response-if-user-is-a-team-maintainer: *834 '404': *6 x-github: githubCloudOnly: false @@ -123196,7 +122660,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: - - *835 + - *833 - *148 requestBody: required: false @@ -123222,9 +122686,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *492 examples: - response-if-users-membership-with-team-is-now-pending: *837 + response-if-users-membership-with-team-is-now-pending: *835 '403': description: Forbidden if team synchronization is set up '422': @@ -123258,7 +122722,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: - - *835 + - *833 - *148 responses: '204': @@ -123286,7 +122750,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *835 + - *833 - *17 - *19 responses: @@ -123296,9 +122760,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *426 + default: *423 headers: Link: *47 '404': *6 @@ -123328,15 +122792,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: - - *835 - - *496 - - *497 + - *833 + - *493 + - *494 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *838 + schema: *836 examples: alternative-response-with-extra-repository-information: value: @@ -123493,9 +122957,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: - - *835 - - *496 - - *497 + - *833 + - *493 + - *494 requestBody: required: false content: @@ -123545,9 +123009,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: - - *835 - - *496 - - *497 + - *833 + - *493 + - *494 responses: '204': description: Response @@ -123576,15 +123040,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: - - *835 + - *833 responses: '200': description: Response content: application/json: - schema: *498 + schema: *495 examples: - default: *499 + default: *496 '403': *29 '404': *6 x-github: @@ -123611,7 +123075,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: - - *835 + - *833 requestBody: required: true content: @@ -123668,7 +123132,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: default: value: @@ -123699,7 +123163,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *835 + - *833 - *17 - *19 responses: @@ -123709,9 +123173,9 @@ paths: application/json: schema: type: array - items: *328 + items: *325 examples: - response-if-child-teams-exist: *839 + response-if-child-teams-exist: *837 headers: Link: *47 '404': *6 @@ -123744,7 +123208,7 @@ paths: application/json: schema: oneOf: - - &841 + - &839 title: Private User description: Private User type: object @@ -123947,7 +123411,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *840 + - *838 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -124100,7 +123564,7 @@ paths: description: Response content: application/json: - schema: *841 + schema: *839 examples: default: value: @@ -124179,7 +123643,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 '304': *37 '404': *6 '403': *29 @@ -124303,9 +123767,9 @@ paths: type: integer codespaces: type: array - items: *409 + items: *406 examples: - default: *410 + default: *407 '304': *37 '500': *40 '401': *25 @@ -124444,17 +123908,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *409 + schema: *406 examples: - default: *599 + default: *596 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *409 + schema: *406 examples: - default: *599 + default: *596 '401': *25 '403': *29 '404': *6 @@ -124498,7 +123962,7 @@ paths: type: integer secrets: type: array - items: &842 + items: &840 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -124538,7 +124002,7 @@ paths: - visibility - selected_repositories_url examples: - default: *602 + default: *599 headers: Link: *47 x-github: @@ -124608,13 +124072,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: - - *302 + - *299 responses: '200': description: Response content: application/json: - schema: *842 + schema: *840 examples: default: value: @@ -124644,7 +124108,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: - - *302 + - *299 requestBody: required: true content: @@ -124689,7 +124153,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -124717,7 +124181,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: - - *302 + - *299 responses: '204': description: Response @@ -124742,7 +124206,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: - - *302 + - *299 responses: '200': description: Response @@ -124758,9 +124222,9 @@ paths: type: integer repositories: type: array - items: *292 + items: *289 examples: - default: *347 + default: *344 '401': *25 '403': *29 '404': *6 @@ -124785,7 +124249,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: - - *302 + - *299 requestBody: required: true content: @@ -124839,7 +124303,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: - - *302 + - *299 - name: repository_id in: path required: true @@ -124872,7 +124336,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: - - *302 + - *299 - name: repository_id in: path required: true @@ -124904,15 +124368,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: - - *411 + - *408 responses: '200': description: Response content: application/json: - schema: *409 + schema: *406 examples: - default: *599 + default: *596 '304': *37 '500': *40 '401': *25 @@ -124938,7 +124402,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: - - *411 + - *408 requestBody: required: false content: @@ -124968,9 +124432,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *406 examples: - default: *599 + default: *596 '401': *25 '403': *29 '404': *6 @@ -124992,7 +124456,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: - - *411 + - *408 responses: '202': *39 '304': *37 @@ -125021,13 +124485,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: - - *411 + - *408 responses: '202': description: Response content: application/json: - schema: &843 + schema: &841 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -125068,7 +124532,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &844 + default: &842 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -125100,7 +124564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *411 + - *408 - name: export_id in: path required: true @@ -125113,9 +124577,9 @@ paths: description: Response content: application/json: - schema: *843 + schema: *841 examples: - default: *844 + default: *842 '404': *6 x-github: githubCloudOnly: false @@ -125136,7 +124600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *411 + - *408 responses: '200': description: Response @@ -125152,9 +124616,9 @@ paths: type: integer machines: type: array - items: *845 + items: *843 examples: - default: *846 + default: *844 '304': *37 '500': *40 '401': *25 @@ -125183,7 +124647,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: - - *411 + - *408 requestBody: required: true content: @@ -125233,13 +124697,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *501 + repository: *498 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *600 - required: *601 + properties: *597 + required: *598 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -126013,15 +125477,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: - - *411 + - *408 responses: '200': description: Response content: application/json: - schema: *409 + schema: *406 examples: - default: *599 + default: *596 '304': *37 '500': *40 '400': *14 @@ -126053,15 +125517,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: - - *411 + - *408 responses: '200': description: Response content: application/json: - schema: *409 + schema: *406 examples: - default: *599 + default: *596 '500': *40 '401': *25 '403': *29 @@ -126091,9 +125555,9 @@ paths: application/json: schema: type: array - items: *420 + items: *417 examples: - default: &857 + default: &855 value: - id: 197 name: hello_docker @@ -126194,7 +125658,7 @@ paths: application/json: schema: type: array - items: &847 + items: &845 title: Email description: Email type: object @@ -126259,9 +125723,9 @@ paths: application/json: schema: type: array - items: *847 + items: *845 examples: - default: &859 + default: &857 value: - email: octocat@github.com verified: true @@ -126336,7 +125800,7 @@ paths: application/json: schema: type: array - items: *847 + items: *845 examples: default: value: @@ -126446,7 +125910,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '304': *37 @@ -126479,7 +125943,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 '304': *37 @@ -126592,7 +126056,7 @@ paths: application/json: schema: type: array - items: &848 + items: &846 title: GPG Key description: A unique encryption key type: object @@ -126723,7 +126187,7 @@ paths: - subkeys - revoked examples: - default: &876 + default: &874 value: - id: 3 name: Octocat's GPG Key @@ -126808,9 +126272,9 @@ paths: description: Response content: application/json: - schema: *848 + schema: *846 examples: - default: &849 + default: &847 value: id: 3 name: Octocat's GPG Key @@ -126867,7 +126331,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: - - &850 + - &848 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -126879,9 +126343,9 @@ paths: description: Response content: application/json: - schema: *848 + schema: *846 examples: - default: *849 + default: *847 '404': *6 '304': *37 '403': *29 @@ -126904,7 +126368,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: - - *850 + - *848 responses: '204': description: Response @@ -127106,7 +126570,7 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *287 + default: *284 headers: Link: *47 '404': *6 @@ -127132,7 +126596,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *286 + - *283 responses: '204': description: Response @@ -127158,7 +126622,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *286 + - *283 responses: '204': description: Response @@ -127192,12 +126656,12 @@ paths: application/json: schema: anyOf: - - *396 + - *393 - type: object properties: {} additionalProperties: false examples: - default: *397 + default: *394 '204': description: Response when there are no restrictions x-github: @@ -127221,7 +126685,7 @@ paths: required: true content: application/json: - schema: *683 + schema: *680 examples: default: value: @@ -127232,7 +126696,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *393 examples: default: value: @@ -127313,7 +126777,7 @@ paths: - closed - all default: open - - *407 + - *404 - name: sort description: What to sort results by. in: query @@ -127326,7 +126790,7 @@ paths: - comments default: created - *112 - - *238 + - *235 - *17 - *19 responses: @@ -127336,9 +126800,9 @@ paths: application/json: schema: type: array - items: *231 + items: *228 examples: - default: *408 + default: *405 headers: Link: *47 '404': *6 @@ -127371,7 +126835,7 @@ paths: application/json: schema: type: array - items: &851 + items: &849 title: Key description: Key type: object @@ -127472,9 +126936,9 @@ paths: description: Response content: application/json: - schema: *851 + schema: *849 examples: - default: &852 + default: &850 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -127507,15 +126971,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: - - *720 + - *718 responses: '200': description: Response content: application/json: - schema: *851 + schema: *849 examples: - default: *852 + default: *850 '404': *6 '304': *37 '403': *29 @@ -127538,7 +127002,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: - - *720 + - *718 responses: '204': description: Response @@ -127571,7 +127035,7 @@ paths: application/json: schema: type: array - items: &853 + items: &851 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -127628,7 +127092,7 @@ paths: - id - type - login - plan: *249 + plan: *246 required: - billing_cycle - next_billing_date @@ -127639,7 +127103,7 @@ paths: - account - plan examples: - default: &854 + default: &852 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -127701,9 +127165,9 @@ paths: application/json: schema: type: array - items: *853 + items: *851 examples: - default: *854 + default: *852 headers: Link: *47 '304': *37 @@ -127743,7 +127207,7 @@ paths: application/json: schema: type: array - items: *412 + items: *409 examples: default: value: @@ -127857,7 +127321,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *409 examples: default: value: @@ -127944,7 +127408,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *409 examples: default: value: @@ -128016,7 +127480,7 @@ paths: application/json: schema: type: array - items: *414 + items: *411 examples: default: value: @@ -128269,7 +127733,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *411 examples: default: value: @@ -128449,7 +127913,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *415 + - *412 - name: exclude in: query required: false @@ -128462,7 +127926,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *411 examples: default: value: @@ -128656,7 +128120,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *415 + - *412 responses: '302': description: Response @@ -128682,7 +128146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *415 + - *412 responses: '204': description: Response @@ -128711,8 +128175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *415 - - *855 + - *412 + - *853 responses: '204': description: Response @@ -128736,7 +128200,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *415 + - *412 - *17 - *19 responses: @@ -128746,9 +128210,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *426 + default: *423 headers: Link: *47 '404': *6 @@ -128803,7 +128267,7 @@ paths: type: array items: *75 examples: - default: *262 + default: *259 headers: Link: *47 '304': *37 @@ -128845,7 +128309,7 @@ paths: - docker - nuget - container - - *856 + - *854 - *19 - *17 responses: @@ -128855,10 +128319,10 @@ paths: application/json: schema: type: array - items: *420 + items: *417 examples: - default: *857 - '400': *858 + default: *855 + '400': *856 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -128878,16 +128342,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: - - *422 - - *423 + - *419 + - *420 responses: '200': description: Response content: application/json: - schema: *420 + schema: *417 examples: - default: &877 + default: &875 value: id: 40201 name: octo-name @@ -129000,8 +128464,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: - - *422 - - *423 + - *419 + - *420 responses: '204': description: Response @@ -129031,8 +128495,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: - - *422 - - *423 + - *419 + - *420 - name: token description: package token schema: @@ -129064,8 +128528,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: - - *422 - - *423 + - *419 + - *420 - *19 - *17 - name: state @@ -129085,7 +128549,7 @@ paths: application/json: schema: type: array - items: *424 + items: *421 examples: default: value: @@ -129134,15 +128598,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: + - *419 + - *420 - *422 - - *423 - - *425 responses: '200': description: Response content: application/json: - schema: *424 + schema: *421 examples: default: value: @@ -129178,9 +128642,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: + - *419 + - *420 - *422 - - *423 - - *425 responses: '204': description: Response @@ -129210,9 +128674,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: + - *419 + - *420 - *422 - - *423 - - *425 responses: '204': description: Response @@ -129249,9 +128713,9 @@ paths: application/json: schema: type: array - items: *847 + items: *845 examples: - default: *859 + default: *857 headers: Link: *47 '304': *37 @@ -129364,7 +128828,7 @@ paths: type: array items: *80 examples: - default: &866 + default: &864 summary: Default response value: - id: 1296269 @@ -129668,9 +129132,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: - default: *503 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -129714,9 +129178,9 @@ paths: application/json: schema: type: array - items: *685 + items: *683 examples: - default: *860 + default: *858 headers: Link: *47 '304': *37 @@ -129739,7 +129203,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *400 + - *397 responses: '204': description: Response @@ -129768,7 +129232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *400 + - *397 responses: '204': description: Response @@ -129801,7 +129265,7 @@ paths: application/json: schema: type: array - items: &861 + items: &859 title: Social account description: Social media account type: object @@ -129816,7 +129280,7 @@ paths: - provider - url examples: - default: &862 + default: &860 value: - provider: twitter url: https://twitter.com/github @@ -129878,9 +129342,9 @@ paths: application/json: schema: type: array - items: *861 + items: *859 examples: - default: *862 + default: *860 '422': *15 '304': *37 '404': *6 @@ -129967,7 +129431,7 @@ paths: application/json: schema: type: array - items: &863 + items: &861 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -129987,7 +129451,7 @@ paths: - title - created_at examples: - default: &891 + default: &889 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -130051,9 +129515,9 @@ paths: description: Response content: application/json: - schema: *863 + schema: *861 examples: - default: &864 + default: &862 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -130083,7 +129547,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: - - &865 + - &863 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -130095,9 +129559,9 @@ paths: description: Response content: application/json: - schema: *863 + schema: *861 examples: - default: *864 + default: *862 '404': *6 '304': *37 '403': *29 @@ -130120,7 +129584,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: - - *865 + - *863 responses: '204': description: Response @@ -130149,7 +129613,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: - - &892 + - &890 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 @@ -130174,11 +129638,11 @@ paths: type: array items: *80 examples: - default-response: *866 + default-response: *864 application/vnd.github.v3.star+json: schema: type: array - items: &893 + items: &891 title: Starred Repository description: Starred Repository type: object @@ -130334,8 +129798,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: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response if this repository is starred by you @@ -130363,8 +129827,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: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -130388,8 +129852,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: - - *496 - - *497 + - *493 + - *494 responses: '204': description: Response @@ -130422,9 +129886,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *426 + default: *423 headers: Link: *47 '304': *37 @@ -130461,7 +129925,7 @@ paths: application/json: schema: type: array - items: *488 + items: *485 examples: default: value: @@ -130539,7 +130003,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id parameters: - - *251 + - *248 responses: '200': description: Response @@ -130547,10 +130011,10 @@ paths: application/json: schema: oneOf: - - *841 - - *840 + - *839 + - *838 examples: - default-response: &870 + default-response: &868 summary: Default response value: login: octocat @@ -130585,7 +130049,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &871 + response-with-git-hub-plan-information: &869 summary: Response with GitHub plan information value: login: octocat @@ -130642,14 +130106,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: - - &868 + - &866 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *438 + - *435 requestBody: required: true description: Details of the draft item to create in the project. @@ -130683,9 +130147,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *441 examples: - draft_issue: *445 + draft_issue: *442 '304': *37 '403': *29 '401': *25 @@ -130708,7 +130172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *867 + - *865 - *17 responses: '200': @@ -130719,7 +130183,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: example: ; rel="next" @@ -130743,8 +130207,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: - - *868 - - *438 + - *866 + - *435 requestBody: required: true content: @@ -130815,17 +130279,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *869 + schema: *867 examples: table_view: summary: Response for creating a table view - value: *449 + value: *446 board_view: summary: Response for creating a board view with filter - value: *449 + value: *446 roadmap_view: summary: Response for creating a roadmap view - value: *449 + value: *446 '304': *37 '403': *29 '401': *25 @@ -130867,11 +130331,11 @@ paths: application/json: schema: oneOf: - - *841 - - *840 + - *839 + - *838 examples: - default-response: *870 - response-with-git-hub-plan-information: *871 + default-response: *868 + response-with-git-hub-plan-information: *869 '404': *6 x-github: githubCloudOnly: false @@ -130921,8 +130385,8 @@ paths: required: - subject_digests examples: - default: *872 - withPredicateType: *873 + default: *870 + withPredicateType: *871 responses: '200': description: Response @@ -130975,7 +130439,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *874 + default: *872 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -131195,12 +130659,12 @@ paths: initiator: type: string examples: - default: *542 + default: *539 '201': description: Response content: application/json: - schema: *303 + schema: *300 examples: default: value: @@ -131276,7 +130740,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *343 + items: *340 examples: default: summary: Example response for listing user copilot spaces @@ -131488,9 +130952,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: &875 + default: &873 summary: Example response for a user copilot space value: id: 42 @@ -131589,9 +131053,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *875 + default: *873 '403': *29 '404': *6 x-github: @@ -131712,9 +131176,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *340 examples: - default: *875 + default: *873 '403': *29 '404': *6 '422': *15 @@ -131791,7 +131255,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *345 + items: *342 examples: default: value: @@ -131934,7 +131398,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: default: value: @@ -132045,7 +131509,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *342 examples: default: value: @@ -132175,7 +131639,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *346 + items: *343 examples: default: value: @@ -132267,7 +131731,7 @@ paths: description: Resource created content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -132283,7 +131747,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -132336,7 +131800,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -132403,7 +131867,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: default: value: @@ -132480,9 +131944,9 @@ paths: application/json: schema: type: array - items: *420 + items: *417 examples: - default: *857 + default: *855 '403': *29 '401': *25 x-github: @@ -132515,7 +131979,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -132588,7 +132052,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -132675,7 +132139,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -132745,7 +132209,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -132776,7 +132240,7 @@ paths: type: array items: *4 examples: - default: *220 + default: *217 headers: Link: *47 x-github: @@ -132823,7 +132287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user parameters: - *148 - - *238 + - *235 - *17 - *19 responses: @@ -132833,9 +132297,9 @@ paths: application/json: schema: type: array - items: *239 + items: *236 examples: - default: *240 + default: *237 headers: Link: *47 '422': *15 @@ -132866,9 +132330,9 @@ paths: application/json: schema: type: array - items: *848 + items: *846 examples: - default: *876 + default: *874 headers: Link: *47 x-github: @@ -132972,7 +132436,7 @@ paths: application/json: schema: *22 examples: - default: *394 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -133057,7 +132521,7 @@ paths: type: array items: *75 examples: - default: *262 + default: *259 headers: Link: *47 x-github: @@ -133096,7 +132560,7 @@ paths: - docker - nuget - container - - *856 + - *854 - *148 - *19 - *17 @@ -133107,12 +132571,12 @@ paths: application/json: schema: type: array - items: *420 + items: *417 examples: - default: *857 + default: *855 '403': *29 '401': *25 - '400': *858 + '400': *856 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -133132,17 +132596,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *422 - - *423 + - *419 + - *420 - *148 responses: '200': description: Response content: application/json: - schema: *420 + schema: *417 examples: - default: *877 + default: *875 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -133163,8 +132627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *422 - - *423 + - *419 + - *420 - *148 responses: '204': @@ -133197,8 +132661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *422 - - *423 + - *419 + - *420 - *148 - name: token description: package token @@ -133231,8 +132695,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: - - *422 - - *423 + - *419 + - *420 - *148 responses: '200': @@ -133241,7 +132705,7 @@ paths: application/json: schema: type: array - items: *424 + items: *421 examples: default: value: @@ -133299,16 +132763,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: + - *419 + - *420 - *422 - - *423 - - *425 - *148 responses: '200': description: Response content: application/json: - schema: *424 + schema: *421 examples: default: value: @@ -133343,10 +132807,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *422 - - *423 + - *419 + - *420 - *148 - - *425 + - *422 responses: '204': description: Response @@ -133378,10 +132842,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *422 - - *423 + - *419 + - *420 - *148 - - *425 + - *422 responses: '204': description: Response @@ -133422,9 +132886,9 @@ paths: application/json: schema: type: array - items: *436 + items: *433 examples: - default: *437 + default: *434 headers: Link: *47 '304': *37 @@ -133446,16 +132910,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *438 + - *435 - *148 responses: '200': description: Response content: application/json: - schema: *436 + schema: *433 examples: - default: *437 + default: *434 headers: Link: *47 '304': *37 @@ -133477,7 +132941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *438 + - *435 - *148 - *17 - *110 @@ -133489,9 +132953,9 @@ paths: application/json: schema: type: array - items: *442 + items: *439 examples: - default: *878 + default: *876 headers: Link: *47 '304': *37 @@ -133513,7 +132977,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *148 - - *438 + - *435 requestBody: required: true content: @@ -133551,7 +133015,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *879 + items: *877 required: - name - data_type @@ -133567,7 +133031,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *880 + iteration_configuration: *878 required: - name - data_type @@ -133589,20 +133053,20 @@ paths: value: name: Due date data_type: date - single_select_field: *881 - iteration_field: *882 + single_select_field: *879 + iteration_field: *880 responses: '201': description: Response content: application/json: - schema: *442 + schema: *439 examples: - text_field: *883 - number_field: *884 - date_field: *885 - single_select_field: *886 - iteration_field: *887 + text_field: *881 + number_field: *882 + date_field: *883 + single_select_field: *884 + iteration_field: *885 '304': *37 '403': *29 '401': *25 @@ -133623,17 +133087,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *438 - - *888 + - *435 + - *886 - *148 responses: '200': description: Response content: application/json: - schema: *442 + schema: *439 examples: - default: *889 + default: *887 headers: Link: *47 '304': *37 @@ -133656,7 +133120,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: - - *438 + - *435 - *148 - *110 - *111 @@ -133689,9 +133153,9 @@ paths: application/json: schema: type: array - items: *446 + items: *443 examples: - default: *447 + default: *444 headers: Link: *47 '304': *37 @@ -133713,7 +133177,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *148 - - *438 + - *435 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -133783,22 +133247,22 @@ paths: description: Response content: application/json: - schema: *444 + schema: *441 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *445 + value: *442 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *445 + value: *442 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *445 + value: *442 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *445 + value: *442 '304': *37 '403': *29 '401': *25 @@ -133818,9 +133282,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: - - *438 + - *435 - *148 - - *448 + - *445 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -133840,9 +133304,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *443 examples: - default: *447 + default: *444 headers: Link: *47 '304': *37 @@ -133863,9 +133327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *438 + - *435 - *148 - - *448 + - *445 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -133935,13 +133399,13 @@ paths: description: Response content: application/json: - schema: *446 + schema: *443 examples: - text_field: *447 - number_field: *447 - date_field: *447 - single_select_field: *447 - iteration_field: *447 + text_field: *444 + number_field: *444 + date_field: *444 + single_select_field: *444 + iteration_field: *444 '401': *25 '403': *29 '404': *6 @@ -133961,9 +133425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *438 + - *435 - *148 - - *448 + - *445 responses: '204': description: Response @@ -133985,9 +133449,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: - - *438 + - *435 - *148 - - *890 + - *888 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -134013,9 +133477,9 @@ paths: application/json: schema: type: array - items: *446 + items: *443 examples: - default: *447 + default: *444 headers: Link: *47 '304': *37 @@ -134053,7 +133517,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -134128,7 +133592,7 @@ paths: application/json: schema: type: array - items: *257 + items: *254 examples: default: value: @@ -134234,9 +133698,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *426 + default: *423 headers: Link: *47 x-github: @@ -134266,9 +133730,9 @@ paths: application/json: schema: type: array - items: *861 + items: *859 examples: - default: *862 + default: *860 headers: Link: *47 x-github: @@ -134298,9 +133762,9 @@ paths: application/json: schema: type: array - items: *863 + items: *861 examples: - default: *891 + default: *889 headers: Link: *47 x-github: @@ -134325,7 +133789,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *148 - - *892 + - *890 - *112 - *17 - *19 @@ -134337,11 +133801,11 @@ paths: schema: anyOf: - type: array - items: *893 + items: *891 - type: array items: *80 examples: - default-response: *866 + default-response: *864 headers: Link: *47 x-github: @@ -134370,9 +133834,9 @@ paths: application/json: schema: type: array - items: *292 + items: *289 examples: - default: *426 + default: *423 headers: Link: *47 x-github: @@ -134500,7 +133964,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &894 + enterprise: &892 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -134558,7 +134022,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &895 + installation: &893 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -134577,7 +134041,7 @@ x-webhooks: required: - id - node_id - organization: &896 + organization: &894 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -134637,13 +134101,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &897 + repository: &895 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &936 + properties: &934 id: description: Unique identifier of the repository example: 42 @@ -134663,8 +134127,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *234 - required: *235 + properties: *231 + required: *232 nullable: true organization: title: Simple User @@ -135338,7 +134802,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &937 + required: &935 - archive_url - assignees_url - blobs_url @@ -135412,7 +134876,7 @@ x-webhooks: - watchers_count - created_at - updated_at - x-github-breaking-changes: &938 + x-github-breaking-changes: &936 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -135503,10 +134967,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -135582,11 +135046,11 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - rule: &898 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + rule: &896 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) @@ -135809,11 +135273,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - rule: *898 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + rule: *896 sender: *4 required: - action @@ -135996,11 +135460,11 @@ x-webhooks: - everyone required: - from - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - rule: *898 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + rule: *896 sender: *4 required: - action @@ -136073,7 +135537,7 @@ x-webhooks: required: true content: application/json: - schema: &920 + schema: &918 title: Exemption request cancellation event type: object properties: @@ -136081,11 +135545,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - exemption_request: &899 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + exemption_request: &897 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -136389,7 +135853,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &900 + items: &898 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -136499,7 +135963,7 @@ x-webhooks: required: true content: application/json: - schema: &921 + schema: &919 title: Exemption request completed event type: object properties: @@ -136507,11 +135971,11 @@ x-webhooks: type: string enum: - completed - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - exemption_request: *899 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + exemption_request: *897 sender: *4 required: - action @@ -136583,7 +136047,7 @@ x-webhooks: required: true content: application/json: - schema: &918 + schema: &916 title: Exemption request created event type: object properties: @@ -136591,11 +136055,11 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - exemption_request: *899 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + exemption_request: *897 sender: *4 required: - action @@ -136667,7 +136131,7 @@ x-webhooks: required: true content: application/json: - schema: &922 + schema: &920 title: Exemption response dismissed event type: object properties: @@ -136675,12 +136139,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - exemption_request: *899 - exemption_response: *900 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + exemption_request: *897 + exemption_response: *898 sender: *4 required: - action @@ -136754,7 +136218,7 @@ x-webhooks: required: true content: application/json: - schema: &919 + schema: &917 title: Exemption response submitted event type: object properties: @@ -136762,12 +136226,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - exemption_request: *899 - exemption_response: *900 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + exemption_request: *897 + exemption_response: *898 sender: *4 required: - action @@ -136851,7 +136315,7 @@ x-webhooks: type: string enum: - completed - check_run: &902 + check_run: &900 title: CheckRun description: A check performed on the code of a given code change type: object @@ -136904,8 +136368,8 @@ x-webhooks: type: string pull_requests: type: array - items: *236 - repository: *292 + items: *233 + repository: *289 status: example: completed type: string @@ -136942,7 +136406,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *901 + deployment: *899 details_url: example: https://example.com type: string @@ -136992,7 +136456,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *236 + items: *233 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -137027,10 +136491,10 @@ x-webhooks: - output - app - pull_requests - installation: *895 - enterprise: *894 - organization: *896 - repository: *897 + installation: *893 + enterprise: *892 + organization: *894 + repository: *895 sender: *4 required: - check_run @@ -137421,11 +136885,11 @@ x-webhooks: type: string enum: - created - check_run: *902 - installation: *895 - enterprise: *894 - organization: *896 - repository: *897 + check_run: *900 + installation: *893 + enterprise: *892 + organization: *894 + repository: *895 sender: *4 required: - check_run @@ -137819,11 +137283,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *902 - installation: *895 - enterprise: *894 - organization: *896 - repository: *897 + check_run: *900 + installation: *893 + enterprise: *892 + organization: *894 + repository: *895 requested_action: description: The action requested by the user. type: object @@ -138226,11 +137690,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *902 - installation: *895 - enterprise: *894 - organization: *896 - repository: *897 + check_run: *900 + installation: *893 + enterprise: *892 + organization: *894 + repository: *895 sender: *4 required: - check_run @@ -139200,10 +138664,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -139902,10 +139366,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -140598,10 +140062,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -140767,7 +140231,7 @@ x-webhooks: required: - login - id - dismissed_comment: *571 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -140912,20 +140376,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &903 + commit_oid: &901 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: *894 - installation: *895 - organization: *896 - ref: &904 + enterprise: *892 + installation: *893 + organization: *894 + ref: &902 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: *897 + repository: *895 sender: *4 required: - action @@ -141090,7 +140554,7 @@ x-webhooks: required: - login - id - dismissed_comment: *571 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -141320,12 +140784,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *903 - enterprise: *894 - installation: *895 - organization: *896 - ref: *904 - repository: *897 + commit_oid: *901 + enterprise: *892 + installation: *893 + organization: *894 + ref: *902 + repository: *895 sender: *4 required: - action @@ -141420,7 +140884,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *571 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -141591,12 +141055,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *903 - enterprise: *894 - installation: *895 - organization: *896 - ref: *904 - repository: *897 + commit_oid: *901 + enterprise: *892 + installation: *893 + organization: *894 + ref: *902 + repository: *895 sender: *4 required: - action @@ -141762,7 +141226,7 @@ x-webhooks: required: - login - id - dismissed_comment: *571 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -141928,12 +141392,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *903 - enterprise: *894 - installation: *895 - organization: *896 - ref: *904 - repository: *897 + commit_oid: *901 + enterprise: *892 + installation: *893 + organization: *894 + ref: *902 + repository: *895 sender: *4 required: - action @@ -142032,7 +141496,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *571 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -142207,16 +141671,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *897 + repository: *895 sender: *4 required: - action @@ -142313,7 +141777,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *571 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -142453,12 +141917,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *903 - enterprise: *894 - installation: *895 - organization: *896 - ref: *904 - repository: *897 + commit_oid: *901 + enterprise: *892 + installation: *893 + organization: *894 + ref: *902 + repository: *895 sender: *4 required: - action @@ -142624,7 +142088,7 @@ x-webhooks: required: - login - id - dismissed_comment: *571 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -142769,10 +142233,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -143027,10 +142491,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -143110,18 +142574,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *896 - pusher_type: &905 + organization: *894 + pusher_type: &903 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &906 + ref: &904 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -143131,7 +142595,7 @@ x-webhooks: enum: - tag - branch - repository: *897 + repository: *895 sender: *4 required: - ref @@ -143214,9 +142678,9 @@ x-webhooks: enum: - created definition: *161 - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 sender: *4 required: - action @@ -143301,9 +142765,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 sender: *4 required: - action @@ -143381,9 +142845,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *161 - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 sender: *4 required: - action @@ -143461,9 +142925,9 @@ x-webhooks: enum: - updated definition: *161 - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 sender: *4 required: - action @@ -143540,10 +143004,10 @@ x-webhooks: type: string enum: - updated - enterprise: *894 - installation: *895 - repository: *897 - organization: *896 + enterprise: *892 + installation: *893 + repository: *895 + organization: *894 sender: *4 new_property_values: type: array @@ -143628,18 +143092,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *894 - installation: *895 - organization: *896 - pusher_type: *905 - ref: *906 + enterprise: *892 + installation: *893 + organization: *894 + pusher_type: *903 + ref: *904 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *897 + repository: *895 sender: *4 required: - ref @@ -143719,11 +143183,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *635 - installation: *895 - organization: *896 - enterprise: *894 - repository: *897 + alert: *632 + installation: *893 + organization: *894 + enterprise: *892 + repository: *895 sender: *4 required: - action @@ -143803,11 +143267,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *635 - installation: *895 - organization: *896 - enterprise: *894 - repository: *897 + alert: *632 + installation: *893 + organization: *894 + enterprise: *892 + repository: *895 sender: *4 required: - action @@ -143888,11 +143352,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *635 - installation: *895 - organization: *896 - enterprise: *894 - repository: *897 + alert: *632 + installation: *893 + organization: *894 + enterprise: *892 + repository: *895 sender: *4 required: - action @@ -143973,11 +143437,11 @@ x-webhooks: type: string enum: - created - alert: *635 - installation: *895 - organization: *896 - enterprise: *894 - repository: *897 + alert: *632 + installation: *893 + organization: *894 + enterprise: *892 + repository: *895 sender: *4 required: - action @@ -144056,11 +143520,11 @@ x-webhooks: type: string enum: - dismissed - alert: *635 - installation: *895 - organization: *896 - enterprise: *894 - repository: *897 + alert: *632 + installation: *893 + organization: *894 + enterprise: *892 + repository: *895 sender: *4 required: - action @@ -144139,11 +143603,11 @@ x-webhooks: type: string enum: - fixed - alert: *635 - installation: *895 - organization: *896 - enterprise: *894 - repository: *897 + alert: *632 + installation: *893 + organization: *894 + enterprise: *892 + repository: *895 sender: *4 required: - action @@ -144223,11 +143687,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *635 - installation: *895 - organization: *896 - enterprise: *894 - repository: *897 + alert: *632 + installation: *893 + organization: *894 + enterprise: *892 + repository: *895 sender: *4 required: - action @@ -144306,11 +143770,11 @@ x-webhooks: type: string enum: - reopened - alert: *635 - installation: *895 - organization: *896 - enterprise: *894 - repository: *897 + alert: *632 + installation: *893 + organization: *894 + enterprise: *892 + repository: *895 sender: *4 required: - action @@ -144387,9 +143851,9 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - key: &907 + enterprise: *892 + installation: *893 + key: &905 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -144425,8 +143889,8 @@ x-webhooks: - verified - created_at - read_only - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -144503,11 +143967,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - key: *907 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + key: *905 + organization: *894 + repository: *895 sender: *4 required: - action @@ -145063,12 +144527,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - workflow: &913 + workflow: &911 title: Workflow type: object nullable: true @@ -145809,15 +145273,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *908 - required: *909 + properties: *906 + required: *907 nullable: true pull_requests: type: array - items: *741 - repository: *897 - organization: *896 - installation: *895 + items: *739 + repository: *895 + organization: *894 + installation: *893 sender: *4 responses: '200': @@ -145888,7 +145352,7 @@ x-webhooks: type: string enum: - approved - approver: &910 + approver: &908 type: object properties: avatar_url: @@ -145931,11 +145395,11 @@ x-webhooks: type: string comment: type: string - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - reviewers: &911 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + reviewers: &909 type: array items: type: object @@ -146014,7 +145478,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &912 + workflow_job_run: &910 type: object properties: conclusion: @@ -146745,18 +146209,18 @@ x-webhooks: type: string enum: - rejected - approver: *910 + approver: *908 comment: type: string - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - reviewers: *911 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + reviewers: *909 sender: *4 since: type: string - workflow_job_run: *912 + workflow_job_run: *910 workflow_job_runs: type: array items: @@ -147460,13 +146924,13 @@ x-webhooks: type: string enum: - requested - enterprise: *894 + enterprise: *892 environment: type: string - installation: *895 - organization: *896 - repository: *897 - requestor: &923 + installation: *893 + organization: *894 + repository: *895 + requestor: &921 title: User type: object nullable: true @@ -149355,12 +148819,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - workflow: *913 + workflow: *911 workflow_run: title: Deployment Workflow Run type: object @@ -150040,7 +149504,7 @@ x-webhooks: type: string enum: - answered - answer: &916 + answer: &914 type: object properties: author_association: @@ -150197,11 +149661,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -150328,11 +149792,11 @@ x-webhooks: - from required: - category - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -150415,11 +149879,11 @@ x-webhooks: type: string enum: - closed - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -150501,7 +149965,7 @@ x-webhooks: type: string enum: - created - comment: &915 + comment: &913 type: object properties: author_association: @@ -150658,11 +150122,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -150745,12 +150209,12 @@ x-webhooks: type: string enum: - deleted - comment: *915 - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + comment: *913 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -150845,12 +150309,12 @@ x-webhooks: - from required: - body - comment: *915 - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + comment: *913 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -150934,11 +150398,11 @@ x-webhooks: type: string enum: - created - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151020,11 +150484,11 @@ x-webhooks: type: string enum: - deleted - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151124,11 +150588,11 @@ x-webhooks: type: string required: - from - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151210,10 +150674,10 @@ x-webhooks: type: string enum: - labeled - discussion: *914 - enterprise: *894 - installation: *895 - label: &917 + discussion: *912 + enterprise: *892 + installation: *893 + label: &915 title: Label type: object properties: @@ -151245,8 +150709,8 @@ x-webhooks: - color - default - description - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151329,11 +150793,11 @@ x-webhooks: type: string enum: - locked - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151415,11 +150879,11 @@ x-webhooks: type: string enum: - pinned - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151501,11 +150965,11 @@ x-webhooks: type: string enum: - reopened - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151590,16 +151054,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *914 - new_repository: *897 + new_discussion: *912 + new_repository: *895 required: - new_discussion - new_repository - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151682,10 +151146,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *914 - old_answer: *916 - organization: *896 - repository: *897 + discussion: *912 + old_answer: *914 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151767,12 +151231,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *914 - enterprise: *894 - installation: *895 - label: *917 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + label: *915 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151855,11 +151319,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -151941,11 +151405,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *914 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + discussion: *912 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -152014,7 +151478,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *916 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152077,7 +151541,7 @@ x-webhooks: required: true content: application/json: - schema: *919 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152140,7 +151604,7 @@ x-webhooks: required: true content: application/json: - schema: *920 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152203,7 +151667,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *916 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152266,7 +151730,7 @@ x-webhooks: required: true content: application/json: - schema: *919 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152332,7 +151796,7 @@ x-webhooks: required: true content: application/json: - schema: *920 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152398,7 +151862,7 @@ x-webhooks: required: true content: application/json: - schema: *921 + schema: *919 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152464,7 +151928,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *916 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152530,7 +151994,7 @@ x-webhooks: required: true content: application/json: - schema: *922 + schema: *920 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152596,7 +152060,7 @@ x-webhooks: required: true content: application/json: - schema: *919 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152661,7 +152125,7 @@ x-webhooks: required: true content: application/json: - schema: *920 + schema: *918 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152726,7 +152190,7 @@ x-webhooks: required: true content: application/json: - schema: *921 + schema: *919 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152791,7 +152255,7 @@ x-webhooks: required: true content: application/json: - schema: *918 + schema: *916 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152856,7 +152320,7 @@ x-webhooks: required: true content: application/json: - schema: *922 + schema: *920 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152922,7 +152386,7 @@ x-webhooks: required: true content: application/json: - schema: *919 + schema: *917 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152989,7 +152453,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *894 + enterprise: *892 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -153649,9 +153113,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *895 - organization: *896 - repository: *897 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - forkee @@ -153797,9 +153261,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 pages: description: The pages that were updated. type: array @@ -153836,7 +153300,7 @@ x-webhooks: - action - sha - html_url - repository: *897 + repository: *895 sender: *4 required: - pages @@ -153912,10 +153376,10 @@ x-webhooks: type: string enum: - created - enterprise: *894 + enterprise: *892 installation: *22 - organization: *896 - repositories: &924 + organization: *894 + repositories: &922 description: An array of repository objects that the installation can access. type: array @@ -153941,8 +153405,8 @@ x-webhooks: - name - full_name - private - repository: *897 - requester: *923 + repository: *895 + requester: *921 sender: *4 required: - action @@ -154017,11 +153481,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 + enterprise: *892 installation: *22 - organization: *896 - repositories: *924 - repository: *897 + organization: *894 + repositories: *922 + repository: *895 requester: nullable: true sender: *4 @@ -154097,11 +153561,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *894 + enterprise: *892 installation: *22 - organization: *896 - repositories: *924 - repository: *897 + organization: *894 + repositories: *922 + repository: *895 requester: nullable: true sender: *4 @@ -154177,10 +153641,10 @@ x-webhooks: type: string enum: - added - enterprise: *894 + enterprise: *892 installation: *22 - organization: *896 - repositories_added: &925 + organization: *894 + repositories_added: &923 description: An array of repository objects, which were added to the installation. type: array @@ -154226,15 +153690,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *897 - repository_selection: &926 + repository: *895 + repository_selection: &924 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *923 + requester: *921 sender: *4 required: - action @@ -154313,10 +153777,10 @@ x-webhooks: type: string enum: - removed - enterprise: *894 + enterprise: *892 installation: *22 - organization: *896 - repositories_added: *925 + organization: *894 + repositories_added: *923 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -154343,9 +153807,9 @@ x-webhooks: - name - full_name - private - repository: *897 - repository_selection: *926 - requester: *923 + repository: *895 + repository_selection: *924 + requester: *921 sender: *4 required: - action @@ -154424,11 +153888,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *894 + enterprise: *892 installation: *22 - organization: *896 - repositories: *924 - repository: *897 + organization: *894 + repositories: *922 + repository: *895 requester: nullable: true sender: *4 @@ -154607,10 +154071,10 @@ x-webhooks: type: string required: - from - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 target_type: type: string @@ -154689,11 +154153,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *894 + enterprise: *892 installation: *22 - organization: *896 - repositories: *924 - repository: *897 + organization: *894 + repositories: *922 + repository: *895 requester: nullable: true sender: *4 @@ -154817,8 +154281,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *226 - required: *227 + properties: *223 + required: *224 reactions: title: Reactions type: object @@ -154867,8 +154331,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *716 - required: *717 + properties: *714 + required: *715 nullable: true user: title: User @@ -154953,8 +154417,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -155743,8 +155207,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155760,7 +155224,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -156093,8 +155557,8 @@ x-webhooks: - state - locked - assignee - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -156174,7 +155638,7 @@ x-webhooks: type: string enum: - deleted - comment: &927 + comment: &925 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -156331,8 +155795,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *716 - required: *717 + properties: *714 + required: *715 nullable: true required: - url @@ -156347,8 +155811,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157133,8 +156597,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157150,7 +156614,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -157485,8 +156949,8 @@ x-webhooks: - state - locked - assignee - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -157566,7 +157030,7 @@ x-webhooks: type: string enum: - edited - changes: &957 + changes: &955 description: The changes to the comment. type: object properties: @@ -157578,9 +157042,9 @@ x-webhooks: type: string required: - from - comment: *927 - enterprise: *894 - installation: *895 + comment: *925 + enterprise: *892 + installation: *893 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158368,8 +157832,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158385,7 +157849,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -158718,8 +158182,8 @@ x-webhooks: - state - locked - assignee - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -158800,9 +158264,9 @@ x-webhooks: type: string enum: - pinned - comment: *927 - enterprise: *894 - installation: *895 + comment: *925 + enterprise: *892 + installation: *893 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -159592,8 +159056,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159609,7 +159073,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -159944,8 +159408,8 @@ x-webhooks: - state - locked - assignee - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -160025,9 +159489,9 @@ x-webhooks: type: string enum: - unpinned - comment: *927 - enterprise: *894 - installation: *895 + comment: *925 + enterprise: *892 + installation: *893 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -160817,8 +160281,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160834,7 +160298,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -161169,8 +160633,8 @@ x-webhooks: - state - locked - assignee - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -161253,15 +160717,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *228 blocking_issue_repo: *80 - installation: *895 - organization: *896 - repository: *897 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -161344,15 +160808,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 + blocking_issue: *228 blocking_issue_repo: *80 - installation: *895 - organization: *896 - repository: *897 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -161434,15 +160898,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *895 - organization: *896 - repository: *897 + blocking_issue: *228 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -161525,15 +160989,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *231 + blocked_issue: *228 blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *231 - installation: *895 - organization: *896 - repository: *897 + blocking_issue: *228 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -161613,10 +161077,10 @@ x-webhooks: type: string enum: - assigned - assignee: *923 - enterprise: *894 - installation: *895 - issue: &928 + assignee: *921 + enterprise: *892 + installation: *893 + issue: &926 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -162405,14 +161869,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162428,7 +161892,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -162529,8 +161993,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -162610,8 +162074,8 @@ x-webhooks: type: string enum: - closed - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -163405,14 +162869,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163428,7 +162892,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -163664,8 +163128,8 @@ x-webhooks: required: - state - closed_at - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -163744,8 +163208,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -164530,14 +163994,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164553,7 +164017,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -164653,8 +164117,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -164733,8 +164197,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -165541,14 +165005,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165564,7 +165028,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -165643,7 +165107,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &929 + milestone: &927 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165781,8 +165245,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -165881,8 +165345,8 @@ x-webhooks: type: string required: - from - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166671,14 +166135,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166691,7 +166155,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *404 + type: *401 title: description: Title of the issue type: string @@ -166795,9 +166259,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *917 - organization: *896 - repository: *897 + label: *915 + organization: *894 + repository: *895 sender: *4 required: - action @@ -166877,9 +166341,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *894 - installation: *895 - issue: *928 + enterprise: *892 + installation: *893 + issue: *926 issue_field: type: object description: The issue field whose value was set or updated on the @@ -167033,8 +166497,8 @@ x-webhooks: - id required: - from - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -167114,9 +166578,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *894 - installation: *895 - issue: *928 + enterprise: *892 + installation: *893 + issue: *926 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -167197,8 +166661,8 @@ x-webhooks: nullable: true required: - id - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -167278,8 +166742,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168067,14 +167531,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168087,7 +167551,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *404 + type: *401 title: description: Title of the issue type: string @@ -168191,9 +167655,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *917 - organization: *896 - repository: *897 + label: *915 + organization: *894 + repository: *895 sender: *4 required: - action @@ -168273,8 +167737,8 @@ x-webhooks: type: string enum: - locked - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -169086,14 +168550,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169106,7 +168570,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *404 + type: *401 title: description: Title of the issue type: string @@ -169187,8 +168651,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -169267,8 +168731,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170074,14 +169538,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170097,7 +169561,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -170175,9 +169639,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *929 - organization: *896 - repository: *897 + milestone: *927 + organization: *894 + repository: *895 sender: *4 required: - action @@ -171040,11 +170504,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171072,8 +170536,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true user: title: User @@ -171145,7 +170609,7 @@ x-webhooks: required: - login - id - type: *404 + type: *401 required: - id - number @@ -171625,8 +171089,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172410,11 +171874,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172430,7 +171894,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -172443,8 +171907,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true user: title: User @@ -172538,8 +172002,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -172619,9 +172083,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *894 - installation: *895 - issue: &930 + enterprise: *892 + installation: *893 + issue: &928 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -173404,14 +172868,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173427,7 +172891,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -173527,8 +172991,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -173607,8 +173071,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174418,14 +173882,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174519,9 +173983,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *404 - organization: *896 - repository: *897 + type: *401 + organization: *894 + repository: *895 sender: *4 required: - action @@ -175387,14 +174851,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175410,7 +174874,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -175989,11 +175453,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *894 - installation: *895 - issue: *930 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + issue: *928 + organization: *894 + repository: *895 sender: *4 required: - action @@ -176073,12 +175537,12 @@ x-webhooks: type: string enum: - typed - enterprise: *894 - installation: *895 - issue: *928 - type: *404 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + issue: *926 + type: *401 + organization: *894 + repository: *895 sender: *4 required: - action @@ -176159,7 +175623,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &960 + assignee: &958 title: User type: object nullable: true @@ -176229,11 +175693,11 @@ x-webhooks: required: - login - id - enterprise: *894 - installation: *895 - issue: *928 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + issue: *926 + organization: *894 + repository: *895 sender: *4 required: - action @@ -176312,12 +175776,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *894 - installation: *895 - issue: *928 - label: *917 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + issue: *926 + label: *915 + organization: *894 + repository: *895 sender: *4 required: - action @@ -176397,8 +175861,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177208,14 +176672,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *232 - required: *233 + properties: *229 + required: *230 nullable: true - sub_issues_summary: *833 - issue_dependencies_summary: *834 + sub_issues_summary: *831 + issue_dependencies_summary: *832 issue_field_values: type: array - items: *700 + items: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177231,7 +176695,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *404 + type: *401 updated_at: type: string format: date-time @@ -177309,8 +176773,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -177390,11 +176854,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *894 - installation: *895 - issue: *930 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + issue: *928 + organization: *894 + repository: *895 sender: *4 required: - action @@ -177473,12 +176937,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *894 - installation: *895 - issue: *928 - type: *404 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + issue: *926 + type: *401 + organization: *894 + repository: *895 sender: *4 required: - action @@ -177558,11 +177022,11 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - label: *917 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + label: *915 + organization: *894 + repository: *895 sender: *4 required: - action @@ -177640,11 +177104,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - label: *917 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + label: *915 + organization: *894 + repository: *895 sender: *4 required: - action @@ -177754,11 +177218,11 @@ x-webhooks: type: string required: - from - enterprise: *894 - installation: *895 - label: *917 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + label: *915 + organization: *894 + repository: *895 sender: *4 required: - action @@ -177840,9 +177304,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *894 - installation: *895 - marketplace_purchase: &931 + enterprise: *892 + installation: *893 + marketplace_purchase: &929 title: Marketplace Purchase type: object required: @@ -177925,8 +177389,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *896 - previous_marketplace_purchase: &932 + organization: *894 + previous_marketplace_purchase: &930 title: Marketplace Purchase type: object properties: @@ -178006,7 +177470,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *897 + repository: *895 sender: *4 required: - action @@ -178086,10 +177550,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *894 - installation: *895 - marketplace_purchase: *931 - organization: *896 + enterprise: *892 + installation: *893 + marketplace_purchase: *929 + organization: *894 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -178172,7 +177636,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *897 + repository: *895 sender: *4 required: - action @@ -178254,10 +177718,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *894 - installation: *895 - marketplace_purchase: *931 - organization: *896 + enterprise: *892 + installation: *893 + marketplace_purchase: *929 + organization: *894 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -178339,7 +177803,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *897 + repository: *895 sender: *4 required: - action @@ -178420,8 +177884,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 marketplace_purchase: title: Marketplace Purchase type: object @@ -178503,9 +177967,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *896 - previous_marketplace_purchase: *932 - repository: *897 + organization: *894 + previous_marketplace_purchase: *930 + repository: *895 sender: *4 required: - action @@ -178585,12 +178049,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *894 - installation: *895 - marketplace_purchase: *931 - organization: *896 - previous_marketplace_purchase: *932 - repository: *897 + enterprise: *892 + installation: *893 + marketplace_purchase: *929 + organization: *894 + previous_marketplace_purchase: *930 + repository: *895 sender: *4 required: - action @@ -178692,11 +178156,11 @@ x-webhooks: type: string required: - to - enterprise: *894 - installation: *895 - member: *923 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + member: *921 + organization: *894 + repository: *895 sender: *4 required: - action @@ -178796,11 +178260,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *894 - installation: *895 - member: *923 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + member: *921 + organization: *894 + repository: *895 sender: *4 required: - action @@ -178879,11 +178343,11 @@ x-webhooks: type: string enum: - removed - enterprise: *894 - installation: *895 - member: *923 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + member: *921 + organization: *894 + repository: *895 sender: *4 required: - action @@ -178961,11 +178425,11 @@ x-webhooks: type: string enum: - added - enterprise: *894 - installation: *895 - member: *923 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + member: *921 + organization: *894 + repository: *895 scope: description: The scope of the membership. Currently, can only be `team`. @@ -179041,7 +178505,7 @@ x-webhooks: required: - login - id - team: &933 + team: &931 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -179264,11 +178728,11 @@ x-webhooks: type: string enum: - removed - enterprise: *894 - installation: *895 - member: *923 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + member: *921 + organization: *894 + repository: *895 scope: description: The scope of the membership. Currently, can only be `team`. @@ -179345,7 +178809,7 @@ x-webhooks: required: - login - id - team: *933 + team: *931 required: - action - scope @@ -179427,8 +178891,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *895 - merge_group: &935 + installation: *893 + merge_group: &933 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -179447,15 +178911,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *934 + head_commit: *932 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -179541,10 +179005,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *895 - merge_group: *935 - organization: *896 - repository: *897 + installation: *893 + merge_group: *933 + organization: *894 + repository: *895 sender: *4 required: - action @@ -179617,7 +179081,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 + enterprise: *892 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -179726,17 +179190,17 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *895 - organization: *896 + installation: *893 + organization: *894 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *936 - required: *937 - x-github-breaking-changes: *938 + properties: *934 + required: *935 + x-github-breaking-changes: *936 nullable: true sender: *4 required: @@ -179817,11 +179281,11 @@ x-webhooks: type: string enum: - closed - enterprise: *894 - installation: *895 - milestone: *929 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + milestone: *927 + organization: *894 + repository: *895 sender: *4 required: - action @@ -179900,9 +179364,9 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - milestone: &939 + enterprise: *892 + installation: *893 + milestone: &937 title: Milestone description: A collection of related issues and pull requests. type: object @@ -180039,8 +179503,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -180119,11 +179583,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - milestone: *929 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + milestone: *927 + organization: *894 + repository: *895 sender: *4 required: - action @@ -180233,11 +179697,11 @@ x-webhooks: type: string required: - from - enterprise: *894 - installation: *895 - milestone: *929 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + milestone: *927 + organization: *894 + repository: *895 sender: *4 required: - action @@ -180317,11 +179781,11 @@ x-webhooks: type: string enum: - opened - enterprise: *894 - installation: *895 - milestone: *939 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + milestone: *937 + organization: *894 + repository: *895 sender: *4 required: - action @@ -180400,11 +179864,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *923 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + blocked_user: *921 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -180483,11 +179947,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *923 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + blocked_user: *921 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -180563,7 +180027,7 @@ x-webhooks: enum: - created definition: *156 - enterprise: *894 + enterprise: *892 sender: *4 required: - action @@ -180643,8 +180107,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 sender: *4 required: - action @@ -180717,8 +180181,8 @@ x-webhooks: enum: - updated definition: *156 - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 sender: *4 required: - action @@ -180790,9 +180254,9 @@ x-webhooks: type: string enum: - updated - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 sender: *4 new_property_values: type: array @@ -180880,9 +180344,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - membership: &940 + enterprise: *892 + installation: *893 + membership: &938 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -180989,8 +180453,8 @@ x-webhooks: - role - organization_url - user - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 required: - action @@ -181068,11 +180532,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *894 - installation: *895 - membership: *940 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + membership: *938 + organization: *894 + repository: *895 sender: *4 required: - action @@ -181151,8 +180615,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -181268,10 +180732,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 - user: *923 + user: *921 required: - action - invitation @@ -181349,11 +180813,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *894 - installation: *895 - membership: *940 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + membership: *938 + organization: *894 + repository: *895 sender: *4 required: - action @@ -181440,11 +180904,11 @@ x-webhooks: properties: from: type: string - enterprise: *894 - installation: *895 - membership: *940 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + membership: *938 + organization: *894 + repository: *895 sender: *4 required: - action @@ -181522,9 +180986,9 @@ x-webhooks: type: string enum: - published - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 package: description: Information about the package. type: object @@ -182023,7 +181487,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &941 + items: &939 title: Ruby Gems metadata type: object properties: @@ -182118,7 +181582,7 @@ x-webhooks: - owner - package_version - registry - repository: *897 + repository: *895 sender: *4 required: - action @@ -182195,9 +181659,9 @@ x-webhooks: type: string enum: - updated - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 package: description: Information about the package. type: object @@ -182550,7 +182014,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *941 + items: *939 source_url: type: string format: uri @@ -182620,7 +182084,7 @@ x-webhooks: - owner - package_version - registry - repository: *897 + repository: *895 sender: *4 required: - action @@ -182796,12 +182260,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *894 + enterprise: *892 id: type: integer - installation: *895 - organization: *896 - repository: *897 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - id @@ -182878,7 +182342,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &942 + personal_access_token_request: &940 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -183024,10 +182488,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *894 - organization: *896 + enterprise: *892 + organization: *894 sender: *4 - installation: *895 + installation: *893 required: - action - personal_access_token_request @@ -183104,11 +182568,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *942 - enterprise: *894 - organization: *896 + personal_access_token_request: *940 + enterprise: *892 + organization: *894 sender: *4 - installation: *895 + installation: *893 required: - action - personal_access_token_request @@ -183184,11 +182648,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *942 - enterprise: *894 - organization: *896 + personal_access_token_request: *940 + enterprise: *892 + organization: *894 sender: *4 - installation: *895 + installation: *893 required: - action - personal_access_token_request @@ -183263,11 +182727,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *942 - organization: *896 - enterprise: *894 + personal_access_token_request: *940 + organization: *894 + enterprise: *892 sender: *4 - installation: *895 + installation: *893 required: - action - personal_access_token_request @@ -183372,7 +182836,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *943 + last_response: *941 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -183404,8 +182868,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 zen: description: Random string of GitHub zen. @@ -183650,10 +183114,10 @@ x-webhooks: - from required: - note - enterprise: *894 - installation: *895 - organization: *896 - project_card: &944 + enterprise: *892 + installation: *893 + organization: *894 + project_card: &942 title: Project Card type: object properties: @@ -183772,7 +183236,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *897 + repository: *895 sender: *4 required: - action @@ -183853,11 +183317,11 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 - project_card: *944 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + project_card: *942 + repository: *895 sender: *4 required: - action @@ -183937,9 +183401,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 project_card: title: Project Card type: object @@ -184067,9 +183531,9 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *936 - required: *937 - x-github-breaking-changes: *938 + properties: *934 + required: *935 + x-github-breaking-changes: *936 nullable: true sender: *4 required: @@ -184163,11 +183627,11 @@ x-webhooks: - from required: - note - enterprise: *894 - installation: *895 - organization: *896 - project_card: *944 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + project_card: *942 + repository: *895 sender: *4 required: - action @@ -184261,9 +183725,9 @@ x-webhooks: - from required: - column_id - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 project_card: allOf: - title: Project Card @@ -184453,7 +183917,7 @@ x-webhooks: type: string required: - after_id - repository: *897 + repository: *895 sender: *4 required: - action @@ -184533,10 +183997,10 @@ x-webhooks: type: string enum: - closed - enterprise: *894 - installation: *895 - organization: *896 - project: &946 + enterprise: *892 + installation: *893 + organization: *894 + project: &944 title: Project type: object properties: @@ -184660,7 +184124,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *897 + repository: *895 sender: *4 required: - action @@ -184740,10 +184204,10 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 - project_column: &945 + enterprise: *892 + installation: *893 + organization: *894 + project_column: &943 title: Project Column type: object properties: @@ -184782,7 +184246,7 @@ x-webhooks: - name - created_at - updated_at - repository: *897 + repository: *895 sender: *4 required: - action @@ -184861,19 +184325,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - organization: *896 - project_column: *945 + enterprise: *892 + installation: *893 + organization: *894 + project_column: *943 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *936 - required: *937 - x-github-breaking-changes: *938 + properties: *934 + required: *935 + x-github-breaking-changes: *936 nullable: true sender: *4 required: @@ -184963,11 +184427,11 @@ x-webhooks: type: string required: - from - enterprise: *894 - installation: *895 - organization: *896 - project_column: *945 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + project_column: *943 + repository: *895 sender: *4 required: - action @@ -185047,11 +184511,11 @@ x-webhooks: type: string enum: - moved - enterprise: *894 - installation: *895 - organization: *896 - project_column: *945 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + project_column: *943 + repository: *895 sender: *4 required: - action @@ -185131,11 +184595,11 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 - project: *946 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + project: *944 + repository: *895 sender: *4 required: - action @@ -185215,19 +184679,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - organization: *896 - project: *946 + enterprise: *892 + installation: *893 + organization: *894 + project: *944 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *936 - required: *937 - x-github-breaking-changes: *938 + properties: *934 + required: *935 + x-github-breaking-changes: *936 nullable: true sender: *4 required: @@ -185329,11 +184793,11 @@ x-webhooks: type: string required: - from - enterprise: *894 - installation: *895 - organization: *896 - project: *946 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + project: *944 + repository: *895 sender: *4 required: - action @@ -185412,11 +184876,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *894 - installation: *895 - organization: *896 - project: *946 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + project: *944 + repository: *895 sender: *4 required: - action @@ -185497,9 +184961,9 @@ x-webhooks: type: string enum: - closed - installation: *895 - organization: *896 - projects_v2: *436 + installation: *893 + organization: *894 + projects_v2: *433 sender: *4 required: - action @@ -185580,9 +185044,9 @@ x-webhooks: type: string enum: - created - installation: *895 - organization: *896 - projects_v2: *436 + installation: *893 + organization: *894 + projects_v2: *433 sender: *4 required: - action @@ -185663,9 +185127,9 @@ x-webhooks: type: string enum: - deleted - installation: *895 - organization: *896 - projects_v2: *436 + installation: *893 + organization: *894 + projects_v2: *433 sender: *4 required: - action @@ -185782,9 +185246,9 @@ x-webhooks: type: string to: type: string - installation: *895 - organization: *896 - projects_v2: *436 + installation: *893 + organization: *894 + projects_v2: *433 sender: *4 required: - action @@ -185867,7 +185331,7 @@ x-webhooks: type: string enum: - archived - changes: &950 + changes: &948 type: object properties: archived_at: @@ -185881,9 +185345,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *895 - organization: *896 - projects_v2_item: &947 + installation: *893 + organization: *894 + projects_v2_item: &945 title: Projects v2 Item description: An item belonging to a project type: object @@ -185901,7 +185365,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *443 + content_type: *440 creator: *4 created_at: type: string @@ -186018,9 +185482,9 @@ x-webhooks: nullable: true to: type: string - installation: *895 - organization: *896 - projects_v2_item: *947 + installation: *893 + organization: *894 + projects_v2_item: *945 sender: *4 required: - action @@ -186102,9 +185566,9 @@ x-webhooks: type: string enum: - created - installation: *895 - organization: *896 - projects_v2_item: *947 + installation: *893 + organization: *894 + projects_v2_item: *945 sender: *4 required: - action @@ -186185,9 +185649,9 @@ x-webhooks: type: string enum: - deleted - installation: *895 - organization: *896 - projects_v2_item: *947 + installation: *893 + organization: *894 + projects_v2_item: *945 sender: *4 required: - action @@ -186293,7 +185757,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &948 + - &946 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -186315,7 +185779,7 @@ x-webhooks: required: - id - name - - &949 + - &947 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -186349,8 +185813,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *948 - - *949 + - *946 + - *947 required: - field_value - type: object @@ -186366,9 +185830,9 @@ x-webhooks: nullable: true required: - body - installation: *895 - organization: *896 - projects_v2_item: *947 + installation: *893 + organization: *894 + projects_v2_item: *945 sender: *4 required: - action @@ -186463,9 +185927,9 @@ x-webhooks: to: type: string nullable: true - installation: *895 - organization: *896 - projects_v2_item: *947 + installation: *893 + organization: *894 + projects_v2_item: *945 sender: *4 required: - action @@ -186548,10 +186012,10 @@ x-webhooks: type: string enum: - restored - changes: *950 - installation: *895 - organization: *896 - projects_v2_item: *947 + changes: *948 + installation: *893 + organization: *894 + projects_v2_item: *945 sender: *4 required: - action @@ -186633,9 +186097,9 @@ x-webhooks: type: string enum: - reopened - installation: *895 - organization: *896 - projects_v2: *436 + installation: *893 + organization: *894 + projects_v2: *433 sender: *4 required: - action @@ -186716,14 +186180,14 @@ x-webhooks: type: string enum: - created - installation: *895 - organization: *896 - projects_v2_status_update: &953 + installation: *893 + organization: *894 + projects_v2_status_update: &951 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *951 - required: *952 + properties: *949 + required: *950 sender: *4 required: - action @@ -186804,9 +186268,9 @@ x-webhooks: type: string enum: - deleted - installation: *895 - organization: *896 - projects_v2_status_update: *953 + installation: *893 + organization: *894 + projects_v2_status_update: *951 sender: *4 required: - action @@ -186942,9 +186406,9 @@ x-webhooks: type: string format: date nullable: true - installation: *895 - organization: *896 - projects_v2_status_update: *953 + installation: *893 + organization: *894 + projects_v2_status_update: *951 sender: *4 required: - action @@ -187015,10 +186479,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - repository @@ -187095,13 +186559,13 @@ x-webhooks: type: string enum: - assigned - assignee: *923 - enterprise: *894 - installation: *895 - number: &954 + assignee: *921 + enterprise: *892 + installation: *893 + number: &952 description: The pull request number. type: integer - organization: *896 + organization: *894 pull_request: title: Pull Request type: object @@ -189406,7 +188870,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 sender: *4 required: - action @@ -189503,11 +188967,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 number: type: integer - organization: *896 + organization: *894 pull_request: title: Pull Request type: object @@ -191807,7 +191271,7 @@ x-webhooks: - draft reason: type: string - repository: *897 + repository: *895 sender: *4 required: - action @@ -191904,11 +191368,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 number: type: integer - organization: *896 + organization: *894 pull_request: title: Pull Request type: object @@ -194208,7 +193672,7 @@ x-webhooks: - draft reason: type: string - repository: *897 + repository: *895 sender: *4 required: - action @@ -194305,13 +193769,13 @@ x-webhooks: type: string enum: - closed - enterprise: *894 - installation: *895 - number: *954 - organization: *896 - pull_request: &955 + enterprise: *892 + installation: *893 + number: *952 + organization: *894 + pull_request: &953 allOf: - - *741 + - *739 - type: object properties: allow_auto_merge: @@ -194373,7 +193837,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *897 + repository: *895 sender: *4 required: - action @@ -194454,12 +193918,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *894 - installation: *895 - number: *954 - organization: *896 - pull_request: *955 - repository: *897 + enterprise: *892 + installation: *893 + number: *952 + organization: *894 + pull_request: *953 + repository: *895 sender: *4 required: - action @@ -194539,11 +194003,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *894 - milestone: *723 - number: *954 - organization: *896 - pull_request: &956 + enterprise: *892 + milestone: *721 + number: *952 + organization: *894 + pull_request: &954 title: Pull Request type: object properties: @@ -196870,7 +196334,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *897 + repository: *895 sender: *4 required: - action @@ -196949,11 +196413,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 number: type: integer - organization: *896 + organization: *894 pull_request: title: Pull Request type: object @@ -199257,7 +198721,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *897 + repository: *895 sender: *4 required: - action @@ -199389,12 +198853,12 @@ x-webhooks: type: string required: - from - enterprise: *894 - installation: *895 - number: *954 - organization: *896 - pull_request: *955 - repository: *897 + enterprise: *892 + installation: *893 + number: *952 + organization: *894 + pull_request: *953 + repository: *895 sender: *4 required: - action @@ -199474,11 +198938,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 number: type: integer - organization: *896 + organization: *894 pull_request: title: Pull Request type: object @@ -201767,7 +201231,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 sender: *4 required: - action @@ -201855,11 +201319,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *894 - installation: *895 - label: *917 - number: *954 - organization: *896 + enterprise: *892 + installation: *893 + label: *915 + number: *952 + organization: *894 pull_request: title: Pull Request type: object @@ -204163,7 +203627,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 sender: *4 required: - action @@ -204259,10 +203723,10 @@ x-webhooks: type: string enum: - locked - enterprise: *894 - installation: *895 - number: *954 - organization: *896 + enterprise: *892 + installation: *893 + number: *952 + organization: *894 pull_request: title: Pull Request type: object @@ -206564,7 +206028,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 sender: *4 required: - action @@ -206659,12 +206123,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *894 - milestone: *723 - number: *954 - organization: *896 - pull_request: *956 - repository: *897 + enterprise: *892 + milestone: *721 + number: *952 + organization: *894 + pull_request: *954 + repository: *895 sender: *4 required: - action @@ -206743,12 +206207,12 @@ x-webhooks: type: string enum: - opened - enterprise: *894 - installation: *895 - number: *954 - organization: *896 - pull_request: *955 - repository: *897 + enterprise: *892 + installation: *893 + number: *952 + organization: *894 + pull_request: *953 + repository: *895 sender: *4 required: - action @@ -206829,12 +206293,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *894 - installation: *895 - number: *954 - organization: *896 - pull_request: *955 - repository: *897 + enterprise: *892 + installation: *893 + number: *952 + organization: *894 + pull_request: *953 + repository: *895 sender: *4 required: - action @@ -206914,12 +206378,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *894 - installation: *895 - number: *954 - organization: *896 - pull_request: *955 - repository: *897 + enterprise: *892 + installation: *893 + number: *952 + organization: *894 + pull_request: *953 + repository: *895 sender: *4 required: - action @@ -207285,9 +206749,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 pull_request: type: object properties: @@ -209479,7 +208943,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *897 + repository: *895 sender: *4 required: - action @@ -209574,7 +209038,7 @@ x-webhooks: type: string enum: - deleted - comment: &958 + comment: &956 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. @@ -209859,9 +209323,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 pull_request: type: object properties: @@ -212041,7 +211505,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *897 + repository: *895 sender: *4 required: - action @@ -212136,11 +211600,11 @@ x-webhooks: type: string enum: - edited - changes: *957 - comment: *958 - enterprise: *894 - installation: *895 - organization: *896 + changes: *955 + comment: *956 + enterprise: *892 + installation: *893 + organization: *894 pull_request: type: object properties: @@ -214323,7 +213787,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *897 + repository: *895 sender: *4 required: - action @@ -214419,9 +213883,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 pull_request: title: Simple Pull Request type: object @@ -216616,7 +216080,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *897 + repository: *895 review: description: The review that was affected. type: object @@ -216878,9 +216342,9 @@ x-webhooks: type: string required: - from - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 pull_request: title: Simple Pull Request type: object @@ -218934,8 +218398,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *897 - review: &959 + repository: *895 + review: &957 description: The review that was affected. type: object properties: @@ -219176,12 +218640,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 number: description: The pull request number. type: integer - organization: *896 + organization: *894 pull_request: title: Pull Request type: object @@ -221486,7 +220950,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 requested_reviewer: title: User type: object @@ -221570,12 +221034,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 number: description: The pull request number. type: integer - organization: *896 + organization: *894 pull_request: title: Pull Request type: object @@ -223887,7 +223351,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 requested_team: title: Team description: Groups of organization members that gives permissions @@ -224102,12 +223566,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 number: description: The pull request number. type: integer - organization: *896 + organization: *894 pull_request: title: Pull Request type: object @@ -226414,7 +225878,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 requested_reviewer: title: User type: object @@ -226499,12 +225963,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *894 - installation: *895 + enterprise: *892 + installation: *893 number: description: The pull request number. type: integer - organization: *896 + organization: *894 pull_request: title: Pull Request type: object @@ -228802,7 +228266,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 requested_team: title: Team description: Groups of organization members that gives permissions @@ -229006,9 +228470,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 pull_request: title: Simple Pull Request type: object @@ -231205,8 +230669,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *897 - review: *959 + repository: *895 + review: *957 sender: *4 required: - action @@ -231301,9 +230765,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 pull_request: title: Simple Pull Request type: object @@ -233395,7 +232859,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *897 + repository: *895 sender: *4 thread: type: object @@ -233790,9 +233254,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 pull_request: title: Simple Pull Request type: object @@ -235870,7 +235334,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *897 + repository: *895 sender: *4 thread: type: object @@ -236268,10 +235732,10 @@ x-webhooks: type: string before: type: string - enterprise: *894 - installation: *895 - number: *954 - organization: *896 + enterprise: *892 + installation: *893 + number: *952 + organization: *894 pull_request: title: Pull Request type: object @@ -238564,7 +238028,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 sender: *4 required: - action @@ -238661,11 +238125,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *960 - enterprise: *894 - installation: *895 - number: *954 - organization: *896 + assignee: *958 + enterprise: *892 + installation: *893 + number: *952 + organization: *894 pull_request: title: Pull Request type: object @@ -240970,7 +240434,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 sender: *4 required: - action @@ -241064,11 +240528,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *894 - installation: *895 - label: *917 - number: *954 - organization: *896 + enterprise: *892 + installation: *893 + label: *915 + number: *952 + organization: *894 pull_request: title: Pull Request type: object @@ -243363,7 +242827,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 sender: *4 required: - action @@ -243459,10 +242923,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *894 - installation: *895 - number: *954 - organization: *896 + enterprise: *892 + installation: *893 + number: *952 + organization: *894 pull_request: title: Pull Request type: object @@ -245749,7 +245213,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *897 + repository: *895 sender: *4 required: - action @@ -245964,7 +245428,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *894 + enterprise: *892 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -246056,8 +245520,8 @@ x-webhooks: - url - author - committer - installation: *895 - organization: *896 + installation: *893 + organization: *894 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -246643,9 +246107,9 @@ x-webhooks: type: string enum: - published - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 registry_package: type: object properties: @@ -247091,7 +246555,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *941 + items: *939 summary: type: string tag_name: @@ -247145,7 +246609,7 @@ x-webhooks: - owner - package_version - registry - repository: *897 + repository: *895 sender: *4 required: - action @@ -247223,9 +246687,9 @@ x-webhooks: type: string enum: - updated - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 registry_package: type: object properties: @@ -247533,7 +246997,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *941 + items: *939 summary: type: string tag_name: @@ -247582,7 +247046,7 @@ x-webhooks: - owner - package_version - registry - repository: *897 + repository: *895 sender: *4 required: - action @@ -247659,10 +247123,10 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 - release: &961 + enterprise: *892 + installation: *893 + organization: *894 + release: &959 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -247980,7 +247444,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *897 + repository: *895 sender: *4 required: - action @@ -248057,11 +247521,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - organization: *896 - release: *961 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + release: *959 + repository: *895 sender: *4 required: - action @@ -248178,11 +247642,11 @@ x-webhooks: type: boolean required: - to - enterprise: *894 - installation: *895 - organization: *896 - release: *961 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + release: *959 + repository: *895 sender: *4 required: - action @@ -248260,9 +247724,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -248584,7 +248048,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *897 + repository: *895 sender: *4 required: - action @@ -248660,10 +248124,10 @@ x-webhooks: type: string enum: - published - enterprise: *894 - installation: *895 - organization: *896 - release: &962 + enterprise: *892 + installation: *893 + organization: *894 + release: &960 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -248982,7 +248446,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *897 + repository: *895 sender: *4 required: - action @@ -249058,11 +248522,11 @@ x-webhooks: type: string enum: - released - enterprise: *894 - installation: *895 - organization: *896 - release: *961 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + release: *959 + repository: *895 sender: *4 required: - action @@ -249138,11 +248602,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *894 - installation: *895 - organization: *896 - release: *962 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + release: *960 + repository: *895 sender: *4 required: - action @@ -249218,11 +248682,11 @@ x-webhooks: type: string enum: - published - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - repository_advisory: *794 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + repository_advisory: *792 sender: *4 required: - action @@ -249298,11 +248762,11 @@ x-webhooks: type: string enum: - reported - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - repository_advisory: *794 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + repository_advisory: *792 sender: *4 required: - action @@ -249378,10 +248842,10 @@ x-webhooks: type: string enum: - archived - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -249458,10 +248922,10 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -249539,10 +249003,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -249626,10 +249090,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -249741,10 +249205,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -249816,10 +249280,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 status: type: string @@ -249900,10 +249364,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -249980,10 +249444,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -250077,10 +249541,10 @@ x-webhooks: - name required: - repository - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -250160,10 +249624,10 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 repository_ruleset: *195 sender: *4 required: @@ -250242,10 +249706,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 repository_ruleset: *195 sender: *4 required: @@ -250324,10 +249788,10 @@ x-webhooks: type: string enum: - edited - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 repository_ruleset: *195 changes: type: object @@ -250389,16 +249853,16 @@ x-webhooks: properties: added: type: array - items: *761 + items: *759 deleted: type: array - items: *761 + items: *759 updated: type: array items: type: object properties: - rule: *761 + rule: *759 changes: type: object properties: @@ -250632,10 +250096,10 @@ x-webhooks: - from required: - owner - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -250713,10 +250177,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -250794,7 +250258,7 @@ x-webhooks: type: string enum: - create - alert: &963 + alert: &961 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -250916,10 +250380,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -251125,10 +250589,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -251206,11 +250670,11 @@ x-webhooks: type: string enum: - reopen - alert: *963 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + alert: *961 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -251409,10 +250873,10 @@ x-webhooks: enum: - fixed - open - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -251490,7 +250954,7 @@ x-webhooks: type: string enum: - assigned - alert: &964 + alert: &962 type: object properties: number: *131 @@ -251633,10 +251097,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -251714,11 +251178,11 @@ x-webhooks: type: string enum: - created - alert: *964 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + alert: *962 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -251799,11 +251263,11 @@ x-webhooks: type: string enum: - created - alert: *964 - installation: *895 - location: *965 - organization: *896 - repository: *897 + alert: *962 + installation: *893 + location: *963 + organization: *894 + repository: *895 sender: *4 required: - location @@ -252041,11 +251505,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *964 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + alert: *962 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -252123,11 +251587,11 @@ x-webhooks: type: string enum: - reopened - alert: *964 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + alert: *962 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -252205,11 +251669,11 @@ x-webhooks: type: string enum: - resolved - alert: *964 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + alert: *962 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -252287,12 +251751,12 @@ x-webhooks: type: string enum: - unassigned - alert: *964 + alert: *962 assignee: *4 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -252370,11 +251834,11 @@ x-webhooks: type: string enum: - validated - alert: *964 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + alert: *962 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -252500,10 +251964,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *897 - enterprise: *894 - installation: *895 - organization: *896 + repository: *895 + enterprise: *892 + installation: *893 + organization: *894 sender: *4 required: - action @@ -252581,11 +252045,11 @@ x-webhooks: type: string enum: - published - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - security_advisory: &966 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + security_advisory: &964 description: The details of the security advisory, including summary, description, and severity. type: object @@ -252786,11 +252250,11 @@ x-webhooks: type: string enum: - updated - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 - security_advisory: *966 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 + security_advisory: *964 sender: *4 required: - action @@ -252863,10 +252327,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -253058,11 +252522,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *454 - enterprise: *894 - installation: *895 - organization: *896 - repository: *501 + security_and_analysis: *451 + enterprise: *892 + installation: *893 + organization: *894 + repository: *498 sender: *4 required: - changes @@ -253140,12 +252604,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - sponsorship: &967 + sponsorship: &965 type: object properties: created_at: @@ -253446,12 +252910,12 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - sponsorship: *967 + sponsorship: *965 required: - action - sponsorship @@ -253539,12 +253003,12 @@ x-webhooks: type: string required: - from - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - sponsorship: *967 + sponsorship: *965 required: - action - changes @@ -253621,17 +253085,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &968 + effective_date: &966 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: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - sponsorship: *967 + sponsorship: *965 required: - action - sponsorship @@ -253705,7 +253169,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &969 + changes: &967 type: object properties: tier: @@ -253749,13 +253213,13 @@ x-webhooks: - from required: - tier - effective_date: *968 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + effective_date: *966 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - sponsorship: *967 + sponsorship: *965 required: - action - changes @@ -253832,13 +253296,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *969 - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + changes: *967 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - sponsorship: *967 + sponsorship: *965 required: - action - changes @@ -253912,10 +253376,10 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -253998,10 +253462,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -254421,15 +253885,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *894 + enterprise: *892 id: description: The unique identifier of the status. type: integer - installation: *895 + installation: *893 name: type: string - organization: *896 - repository: *897 + organization: *894 + repository: *895 sender: *4 sha: description: The Commit SHA. @@ -254538,15 +254002,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *228 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *895 - organization: *896 - repository: *897 + sub_issue: *228 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -254629,15 +254093,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 + parent_issue: *228 parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 - installation: *895 - organization: *896 - repository: *897 + sub_issue: *228 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -254720,15 +254184,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *228 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *895 - organization: *896 - repository: *897 + parent_issue: *228 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -254811,15 +254275,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *231 + sub_issue: *228 sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *231 - installation: *895 - organization: *896 - repository: *897 + parent_issue: *228 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -254895,12 +254359,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - team: &970 + team: &968 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -255123,9 +254587,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 repository: title: Repository description: A git repository @@ -255583,7 +255047,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *970 + team: *968 required: - action - team @@ -255659,9 +255123,9 @@ x-webhooks: type: string enum: - created - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 repository: title: Repository description: A git repository @@ -256119,7 +255583,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *970 + team: *968 required: - action - team @@ -256196,9 +255660,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 repository: title: Repository description: A git repository @@ -256656,7 +256120,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *970 + team: *968 required: - action - team @@ -256800,9 +256264,9 @@ x-webhooks: - from required: - permissions - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 repository: title: Repository description: A git repository @@ -257260,7 +256724,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *970 + team: *968 required: - action - changes @@ -257338,9 +256802,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *894 - installation: *895 - organization: *896 + enterprise: *892 + installation: *893 + organization: *894 repository: title: Repository description: A git repository @@ -257798,7 +257262,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *970 + team: *968 required: - action - team @@ -257874,10 +257338,10 @@ x-webhooks: type: string enum: - started - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 required: - action @@ -257950,16 +257414,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *894 + enterprise: *892 inputs: type: object nullable: true additionalProperties: true - installation: *895 - organization: *896 + installation: *893 + organization: *894 ref: type: string - repository: *897 + repository: *895 sender: *4 workflow: type: string @@ -258041,10 +257505,10 @@ x-webhooks: type: string enum: - completed - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 workflow_job: allOf: @@ -258281,7 +257745,7 @@ x-webhooks: type: string required: - conclusion - deployment: *642 + deployment: *639 required: - action - repository @@ -258360,10 +257824,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 workflow_job: allOf: @@ -258623,7 +258087,7 @@ x-webhooks: required: - status - steps - deployment: *642 + deployment: *639 required: - action - repository @@ -258702,10 +258166,10 @@ x-webhooks: type: string enum: - queued - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 workflow_job: type: object @@ -258840,7 +258304,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *642 + deployment: *639 required: - action - repository @@ -258919,10 +258383,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 workflow_job: type: object @@ -259058,7 +258522,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *642 + deployment: *639 required: - action - repository @@ -259138,12 +258602,12 @@ x-webhooks: type: string enum: - completed - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - workflow: *913 + workflow: *911 workflow_run: title: Workflow Run type: object @@ -260142,12 +259606,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - workflow: *913 + workflow: *911 workflow_run: title: Workflow Run type: object @@ -261131,12 +260595,12 @@ x-webhooks: type: string enum: - requested - enterprise: *894 - installation: *895 - organization: *896 - repository: *897 + enterprise: *892 + installation: *893 + organization: *894 + repository: *895 sender: *4 - workflow: *913 + workflow: *911 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 7e9d013818..4d0ed047f1 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -13155,93 +13155,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", @@ -18649,96 +18562,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", @@ -30379,7 +30202,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" ], @@ -36789,51 +36612,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": { @@ -36842,19 +36746,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" }, @@ -36863,195 +36767,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": [ { @@ -49756,96 +49492,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", @@ -51190,7 +50836,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" ], @@ -67800,7 +67446,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" } @@ -74639,6 +74285,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", @@ -137906,318 +137727,6 @@ } } }, - "copilot-ide-code-completions": { - "type": "object", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -156765,9 +156274,6 @@ "integration_manifest": { "$ref": "#/components/schemas/rate-limit" }, - "code_scanning_upload": { - "$ref": "#/components/schemas/rate-limit" - }, "actions_runner_registration": { "$ref": "#/components/schemas/rate-limit" }, @@ -156782,6 +156288,9 @@ }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" + }, + "copilot_usage_records": { + "$ref": "#/components/schemas/rate-limit" } }, "required": [ @@ -165075,6 +164584,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" + }, + "example": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, "nullable-issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -323688,161 +323218,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": [ @@ -334225,12 +333600,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -343121,6 +342490,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": [ { @@ -357629,16 +357022,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index bb12895065..a42ad91c7a 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -9694,77 +9694,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 @@ -13630,84 +13559,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 @@ -22265,9 +22116,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 @@ -27104,80 +26955,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 @@ -36440,81 +36217,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 @@ -37529,7 +37231,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)." @@ -49769,6 +49470,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: @@ -54784,6 +54486,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 @@ -100635,287 +100465,6 @@ components: items: type: string description: The path to the file that will be excluded. - copilot-ide-code-completions: - type: object - description: Usage metrics for Copilot editor code completions in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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 @@ -115409,8 +114958,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: @@ -115421,6 +114968,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 @@ -121876,6 +121425,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 + example: + - octocat + - monalisa + required: + - users nullable-issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -241957,105 +241522,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: 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 copilot-usage-metrics-1-day-report: value: download_links: @@ -250776,11 +250242,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 @@ -258260,6 +257721,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 @@ -270909,13 +270390,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" billing_ai_credit_usage_report_ghe: description: Response when getting a billing AI credit usage report content: diff --git a/descriptions/ghec/ghec.2026-03-10.json b/descriptions/ghec/ghec.2026-03-10.json index c62da638a8..0904e727a0 100644 --- a/descriptions/ghec/ghec.2026-03-10.json +++ b/descriptions/ghec/ghec.2026-03-10.json @@ -13155,93 +13155,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", @@ -18649,96 +18562,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", @@ -30360,7 +30183,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" ], @@ -36731,51 +36554,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": { @@ -36784,19 +36688,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" }, @@ -36805,195 +36709,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": [ { @@ -49700,96 +49436,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", @@ -51125,7 +50771,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" ], @@ -67709,7 +67355,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" } @@ -74548,6 +74194,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", @@ -137722,318 +137543,6 @@ } } }, - "copilot-ide-code-completions": { - "type": "object", - "description": "Usage metrics for Copilot editor code completions in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in the IDE.", - "nullable": true, - "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", - "nullable": true, - "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", - "description": "Usage metrics for Copilot Chat in GitHub.com", - "nullable": true, - "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", - "description": "The training date for the custom model (if applicable).", - "nullable": true - }, - "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", - "description": "Usage metrics for Copilot for pull requests.", - "nullable": true, - "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", - "nullable": true, - "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", @@ -156182,9 +155691,6 @@ "integration_manifest": { "$ref": "#/components/schemas/rate-limit" }, - "code_scanning_upload": { - "$ref": "#/components/schemas/rate-limit" - }, "actions_runner_registration": { "$ref": "#/components/schemas/rate-limit" }, @@ -156199,6 +155705,9 @@ }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" + }, + "copilot_usage_records": { + "$ref": "#/components/schemas/rate-limit" } }, "required": [ @@ -164486,6 +163995,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" + }, + "example": [ + "octocat", + "monalisa" + ] + } + }, + "required": [ + "users" + ] + }, "nullable-issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -322926,161 +322456,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": [ @@ -333459,12 +332834,6 @@ "remaining": 99, "reset": 1691591091 }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, "actions_runner_registration": { "limit": 10000, "used": 0, @@ -342348,6 +341717,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": [ { @@ -356766,16 +356159,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/ghec/ghec.2026-03-10.yaml b/descriptions/ghec/ghec.2026-03-10.yaml index 7b5887696f..1d4aabf552 100644 --- a/descriptions/ghec/ghec.2026-03-10.yaml +++ b/descriptions/ghec/ghec.2026-03-10.yaml @@ -9694,77 +9694,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 @@ -13630,84 +13559,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 @@ -22251,9 +22102,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 @@ -27059,80 +26910,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 @@ -36399,81 +36176,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 @@ -37480,7 +37182,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)." @@ -49697,6 +49398,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: @@ -54712,6 +54414,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 @@ -100482,287 +100312,6 @@ components: items: type: string description: The path to the file that will be excluded. - copilot-ide-code-completions: - type: object - description: Usage metrics for Copilot editor code completions in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in the IDE. - nullable: true - 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 - nullable: true - 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 - description: Usage metrics for Copilot Chat in GitHub.com - nullable: true - 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 - description: The training date for the custom model (if applicable). - nullable: true - 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 - description: Usage metrics for Copilot for pull requests. - nullable: true - 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 - nullable: true - 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 @@ -114948,8 +114497,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: @@ -114960,6 +114507,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 @@ -121410,6 +120959,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 + example: + - octocat + - monalisa + required: + - users nullable-issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -241274,105 +240839,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: 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 copilot-usage-metrics-1-day-report: value: download_links: @@ -250089,11 +249555,6 @@ components: used: 1 remaining: 99 reset: 1691591091 - code_scanning_upload: - limit: 500 - used: 1 - remaining: 499 - reset: 16915946{"code":"deadline_exceeded","msg":"operation timed out"}